:root {
  --ink: #17212b;
  --muted: #52606d;
  --line: #d9e2ec;
  --soft: #f6f8fa;
  --teal: #25636b;
  --teal-dark: #16484e;
  --teal-soft: #e7f5f3;
  --gold: #f2c94c;
  --coral: #d96c52;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(246, 248, 250, 0.94);
  border-bottom: 1px solid rgba(217, 226, 236, 0.7);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 5vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 15px;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  padding: 8px 10px;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--teal-soft);
  color: var(--teal-dark);
  outline: none;
}

.hero {
  background-color: #102126;
  background-image:
    linear-gradient(90deg, rgba(16, 33, 38, 0.86) 0%, rgba(16, 33, 38, 0.62) 42%, rgba(16, 33, 38, 0.12) 74%),
    url("shared-lists-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
  min-height: min(720px, 78vh);
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 56px);
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 8vw, 82px);
  max-width: 760px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.4vw, 23px);
  margin: 18px 0 0;
  max-width: 620px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: #2f2503;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.invite-banner {
  background: rgba(16, 33, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  margin-top: 30px;
  max-width: 560px;
  padding: 20px;
}

.invite-banner h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
}

.invite-banner p {
  font-size: 17px;
  margin-top: 12px;
}

.invite-banner strong {
  color: var(--gold);
}

.hidden {
  display: none;
}

.button-light {
  background: var(--teal);
  color: var(--white);
}

.section {
  padding: clamp(46px, 7vw, 82px) clamp(18px, 5vw, 56px);
}

.section-white {
  background: var(--white);
}

.section-muted {
  background: var(--soft);
}

.section-teal {
  background: var(--teal-dark);
  color: var(--white);
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
}

.section-heading {
  max-width: 780px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  margin: 14px 0 0;
}

.section-teal .section-heading p,
.section-teal .plain-list li {
  color: rgba(255, 255, 255, 0.82);
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.category-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.category-band span {
  background: var(--teal-soft);
  border: 1px solid #b8ddd8;
  border-radius: 8px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
}

.metric-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.metric {
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 2px;
}

.app-preview {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.05fr 0.95fr;
}

.app-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: auto;
  width: 100%;
}

.plain-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.plain-list li {
  border-top: 1px solid rgba(217, 226, 236, 0.9);
  color: var(--muted);
  padding: 13px 0;
}

.section-teal .plain-list li {
  border-color: rgba(255, 255, 255, 0.18);
}

.content-page {
  background: var(--white);
  min-height: 70vh;
  padding: clamp(38px, 6vw, 72px) clamp(18px, 5vw, 56px);
}

.content {
  margin: 0 auto;
  max-width: 860px;
}

.content h1 {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 58px);
}

.content h2 {
  border-top: 1px solid var(--line);
  font-size: 25px;
  margin-top: 34px;
  padding-top: 28px;
}

.content p,
.content li {
  color: var(--muted);
  font-size: 16px;
}

.content a {
  color: var(--teal);
  font-weight: 750;
}

.notice-box {
  background: var(--teal-soft);
  border: 1px solid #b8ddd8;
  border-radius: 8px;
  margin: 24px 0;
  padding: 18px;
}

.site-footer {
  background: #101820;
  color: rgba(255, 255, 255, 0.82);
  padding: 26px clamp(18px, 5vw, 56px);
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(16, 33, 38, 0.84) 0%, rgba(16, 33, 38, 0.62) 58%, rgba(16, 33, 38, 0.14) 100%),
      url("shared-lists-hero.png");
    min-height: 680px;
  }

  .grid,
  .metric-row,
  .app-preview {
    grid-template-columns: 1fr;
  }

  .metric-row {
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 620px;
  }

  .button {
    width: 100%;
  }
}
