:root {
  --bg: #f3f2ee;
  --bg-deep: #ebe9e3;
  --ink: #151619;
  --muted: #646464;
  --soft: #ddd9cf;
  --surface: rgba(255, 255, 255, .78);
  --surface-strong: #fffefa;
  --line: rgba(21, 22, 25, .12);
  --shadow: 0 20px 54px rgba(21, 22, 25, .12);
  --shadow-soft: 0 12px 30px rgba(21, 22, 25, .08);
  --dark: #1d1e20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfaf6 0%, var(--bg) 52%, var(--bg-deep) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
a {
  overflow-wrap: break-word;
  letter-spacing: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(21, 22, 25, .08);
  background: rgba(243, 242, 238, .92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.navlinks a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  color: #4f5052;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.1;
}

.navlinks a:hover,
.navlinks a:focus-visible,
.navlinks a.is-active {
  border-color: var(--line);
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  outline: none;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(21, 22, 25, .08);
  background: #f7f5ef;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(320px, 1.02fr);
  min-height: min(760px, calc(100svh - 72px));
  align-items: center;
  gap: 52px;
  padding: 76px 0 88px;
}

.hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.hero-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(620px, 72svh);
  border-radius: 24px;
  object-fit: contain;
}

.hero-content {
  width: 100%;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: #535456;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-content h1,
.page-title h1,
.help-hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 900;
  line-height: .98;
}

.lead {
  max-width: 600px;
  margin: 22px 0 0;
  color: #38393b;
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 650;
  line-height: 1.35;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
  box-shadow: 0 14px 30px rgba(21, 22, 25, .22);
}

.button-secondary {
  background: rgba(255, 255, 255, .74);
  color: var(--ink);
}

.button-light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button-dark-outline {
  border-color: rgba(255, 255, 255, .28);
  background: transparent;
  color: #fff;
}

.section {
  padding: 86px 0;
}

.section-tint {
  border-top: 1px solid rgba(21, 22, 25, .08);
  border-bottom: 1px solid rgba(21, 22, 25, .08);
  background: rgba(255, 255, 255, .42);
}

.section-header {
  max-width: 720px;
  margin: 0 0 36px;
}

.section-header h2,
.cta-content h2,
.notes-grid h2,
.legal-copy h2 {
  margin: 0;
  font-weight: 900;
  line-height: 1.08;
}

.section-header h2,
.cta-content h2 {
  font-size: clamp(32px, 5vw, 56px);
}

.section-header p:not(.eyebrow),
.cta-content p,
.notes-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.5;
}

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

.feature-card {
  min-height: 222px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-mark {
  display: inline-flex;
  min-width: 42px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.feature-card h3 {
  margin: 22px 0 8px;
  font-size: 22px;
  font-weight: 880;
  line-height: 1.16;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 560;
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, .88fr);
  gap: 14px;
}

.screen-frame {
  display: flex;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.screen-frame-large {
  grid-row: span 2;
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  background: var(--surface-strong);
}

.screen-frame-large img {
  max-height: 900px;
}

.cta-band {
  background: var(--dark);
  color: #fff;
}

.cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cta-content .eyebrow,
.cta-content p {
  color: rgba(255, 255, 255, .72);
}

.cta-content p {
  max-width: 680px;
}

.cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  padding: 34px 0 50px;
  color: #747474;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.page-main {
  padding-bottom: 78px;
}

.page-title {
  padding: 72px 0 28px;
}

.page-title h1 {
  max-width: 800px;
}

.page-title p:not(.kicker) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 650;
}

.legal-copy {
  width: min(860px, calc(100% - 40px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 42px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.legal-copy h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-copy h2:first-of-type {
  margin-top: 26px;
}

.legal-copy p {
  margin: 0 0 14px;
  color: #444548;
  font-size: 16px;
  font-weight: 520;
}

.legal-copy a {
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-hero {
  padding-top: 78px;
}

.help-hero-grid {
  max-width: 760px;
}

.step-grid {
  display: grid;
  gap: 16px;
}

.step-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.step-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.step-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 560;
}

.help-notes {
  background: #f7f5ef;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.notes-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.notes-grid h2 {
  font-size: 28px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
    padding: 58px 0 70px;
  }

  .hero-media img {
    max-height: min(560px, 70svh);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-frame-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .screen-frame-large img {
    max-height: 760px;
  }

  .cta-content {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .nav {
    min-height: 0;
    align-items: center;
    padding: 10px 0 12px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .navlinks {
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 0 2px;
  }

  .nav.is-open .navlinks {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .navlinks a {
    min-height: 36px;
    width: 100%;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-media img {
    width: auto;
    max-height: min(520px, 68svh);
  }

  .hero-content {
    padding: 0;
  }

  .section {
    padding: 64px 0;
  }

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

  .section-header p:not(.eyebrow),
  .cta-content p,
  .notes-grid p {
    font-size: 16px;
  }

  .help-hero {
    padding-top: 58px;
  }

  .legal-copy {
    width: min(100% - 28px, 860px);
    padding: 30px 22px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(360px, calc(100% - 28px));
    margin-left: 14px;
    margin-right: 14px;
  }

  .hero-content h1,
  .page-title h1,
  .help-hero h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
  }

  .button-row {
    width: 100%;
  }

  .button {
    width: 100%;
    flex: 1 1 100%;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

  .screen-frame img,
  .screen-frame-large img {
    max-height: 560px;
  }

  .step-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .step-copy h3 {
    font-size: 21px;
  }

  .page-title {
    padding-top: 56px;
  }
}

@media (max-width: 420px) {
  .navlinks a {
    flex: 0 0 auto;
    min-width: 0;
  }

  .hero-content h1,
  .page-title h1,
  .help-hero h1 {
    font-size: 38px;
  }
}
