:root {
  color-scheme: light;
  --page: #f4f5f2;
  --surface: #ffffff;
  --ink: #191b1f;
  --muted: #6c716d;
  --line: #d9ddd8;
  --violet: #6f55d9;
  --green: #1f9d68;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.brand-name,
.brand-section,
.availability,
.eyebrow,
footer {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-section {
  padding-left: 10px;
  color: var(--muted);
  border-left: 1px solid var(--line);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 157, 104, 0.12);
}

main {
  padding: 72px 0 56px;
}

.section-heading {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
}

h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 14px;
}

.service-card {
  min-height: 150px;
  padding: 22px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: 1fr auto;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: #aeb4ad;
  box-shadow: 0 12px 30px rgba(25, 27, 31, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--violet);
}

.service-icon img {
  width: 31px;
  height: 31px;
}

.service-icon.file-icon {
  background: #455a64;
}

.service-icon.file-icon img {
  width: 42px;
  height: 42px;
}

.service-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.service-copy strong {
  font-size: 17px;
  line-height: 1.3;
}

.service-copy span,
.service-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.service-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #eceeeb;
}

.service-meta > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.open-icon {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .topbar {
    min-height: 64px;
  }

  .brand-name {
    display: none;
  }

  .brand-section {
    padding-left: 0;
    border-left: 0;
  }

  main {
    padding: 48px 0 40px;
  }

  h1 {
    font-size: 28px;
  }

  .service-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }
}
