/* Nudge public website. System fonts and local assets; no external dependencies. */
:root {
  color-scheme: light;
  --bg: #f8f8f6;
  --surface: #ffffff;
  --panel: #eeede9;
  --ink: #35251f;
  --muted: #716963;
  --accent: #ac492b;
  --brand-dot: #d2603a;
  --line: #dedbd6;
  --button-bg: #3a211a;
  --button-ink: #fffaf7;
  --screen-edge: #e5e2dd;
  --screen-shadow: 0 24px 50px -22px rgb(46 33 25 / 30%), 0 3px 8px rgb(46 33 25 / 7%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-underline-offset: .25em; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: anywhere; }
p { text-wrap: pretty; }
picture, img { display: block; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 20px; color: var(--button-ink); background: var(--button-bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { display: block; width: 34px; height: 30px; }
.brand-shell, .mark-shell { fill: var(--ink); }
.brand-dot { fill: var(--brand-dot); }
.brand-name { font-size: 1.5rem; line-height: 1; font-weight: 750; letter-spacing: -.055em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; font-weight: 550; text-decoration: none; }
.main-nav a:hover { color: var(--ink); }
.main-nav .nav-cta { gap: 18px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.main-nav .nav-cta:hover { background: var(--panel); }

.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 72px; padding-block: 64px 88px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: .875rem; font-weight: 600; letter-spacing: .025em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-dot); flex: none; }
.hero h1 { margin-top: 23px; font-size: clamp(2.8rem, 4.7vw, 4.3rem); font-weight: 650; line-height: 1.055; letter-spacing: -.06em; }
.hero-copy { max-width: 455px; margin-top: 25px; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; gap: 22px; padding: 12px 23px; border: 1px solid transparent; border-radius: 999px; font-size: .9375rem; line-height: 1.5; font-weight: 600; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.button-primary { background: var(--button-bg); color: var(--button-ink); }
.button-primary:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: .9375rem; font-weight: 550; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero-note { margin-top: 19px; color: var(--muted); font-size: .875rem; }

.product-preview { min-width: 0; padding: 21px 24px 20px; border-radius: 28px; background: var(--panel); }
.preview-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; font-size: .8125rem; font-weight: 600; }
.preview-label { color: var(--muted); font-weight: 400; }
.screen-frame { overflow: hidden; isolation: isolate; border: 5px solid var(--screen-edge); border-radius: 33px; background: var(--surface); box-shadow: var(--screen-shadow); }
.screen-frame picture, .screen-frame img { display: block; width: 100%; height: auto; }
/* Keep intrinsic screenshot proportions. No fixed height, absolute image or cover crop. */
.hero-screen { width: min(100%, 244px); margin-inline: auto; }
figcaption { margin-top: 21px; text-align: center; color: var(--muted); font-size: .8125rem; line-height: 1.5; }

.section { padding-block: 78px; }
.section-heading { margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 13px; }
h2 { font-size: clamp(2rem, 3.1vw, 2.9rem); line-height: 1.13; font-weight: 620; letter-spacing: -.045em; }
.features-section { border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.feature { padding-top: 23px; border-top: 1px solid var(--line); }
.feature-index { color: var(--accent); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.feature h3, .step h3 { margin-top: 19px; font-size: 1.1875rem; line-height: 1.3; font-weight: 620; letter-spacing: -.025em; }
.feature p, .step p { margin-top: 11px; color: var(--muted); }

.group-showcase { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 52px 62px; border-radius: 28px; background: var(--panel); }
.group-copy .eyebrow { margin-bottom: 21px; }
.group-copy h2 { font-size: clamp(2.3rem, 3.5vw, 3.25rem); }
.group-copy > p:not(.eyebrow) { max-width: 350px; margin-top: 22px; color: var(--muted); font-size: 1.0625rem; }
.group-details { list-style: none; margin: 28px 0 0; padding: 0; }
.group-details li { display: flex; align-items: baseline; gap: 13px; padding-block: 13px; border-top: 1px solid var(--line); font-size: .9375rem; }
.group-details li span { width: 16px; color: var(--accent); flex: none; }
.group-preview { min-width: 0; }
.group-screen { width: min(100%, 254px); margin-inline: auto; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.step { border-top: 1px solid var(--line); padding-top: 23px; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.beta-section { padding-block: 44px 84px; }
.beta-card { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 44px 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.beta-card .eyebrow { margin-bottom: 12px; }
.beta-card h2 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.beta-card p:not(.eyebrow) { max-width: 430px; margin-top: 13px; color: var(--muted); }
.beta-action { display: grid; justify-items: center; gap: 11px; flex: none; }
.beta-action > span { color: var(--muted); font-size: .8125rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 29px 40px; }
.footer-brand a { font-size: 1.25rem; font-weight: 650; letter-spacing: -.045em; text-decoration: none; }
.footer-brand p { margin-top: 3px; color: var(--muted); font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Support and legal pages share the website theme; their content is unchanged. */
.document-main { width: min(760px, calc(100% - 48px)); margin: auto; padding-bottom: 64px; }
.document-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 100px; border-bottom: 1px solid var(--line); }
.document-header > a:last-child { padding-block: 12px; color: var(--muted); font-size: .875rem; text-decoration: none; }
.document-content { padding-block: 52px 40px; overflow-wrap: anywhere; }
.document-content h1 { margin-bottom: 20px; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; letter-spacing: -.05em; font-weight: 650; }
.document-content h2 { margin: 36px 0 10px; font-size: 1.375rem; letter-spacing: -.025em; }
.document-content h3 { margin: 26px 0 8px; font-size: 1.125rem; }
.document-content p, .document-content li, .document-content address { color: var(--muted); }
.document-content p + p { margin-top: 15px; }
.document-content address { font-style: normal; }
.document-content a { color: var(--accent); }
.document-content .meta { margin-bottom: 20px; font-size: .875rem; }
.document-content ul { padding-left: 22px; }
.document-content li + li { margin-top: 8px; }
.legal-nav { padding-top: 18px; border-top: 1px solid var(--line); }
.legal-nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 36px; }
  .main-nav { gap: 22px; }
  .group-showcase { padding: 40px; gap: 32px; }
  .beta-card { padding: 36px; gap: 28px; }
  .feature-grid, .steps { gap: 24px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 84px; flex-wrap: wrap; padding-block: 16px; }
  .nav-detail { display: none !important; }
  .hero { grid-template-columns: 1fr; padding-block: 50px 64px; gap: 40px; }
  .hero h1 { font-size: clamp(2.7rem, 8vw, 3.8rem); }
  .hero-copy { max-width: 510px; }
  .product-preview { width: 100%; max-width: 460px; justify-self: center; }
  .section { padding-block: 54px; }
  .feature-grid, .steps { grid-template-columns: 1fr; gap: 26px; }
  .feature h3, .step h3 { margin-top: 12px; }
  .feature p, .step p { max-width: 540px; }
  .group-showcase { grid-template-columns: 1fr; gap: 36px; padding: 34px; }
  .group-copy > p:not(.eyebrow) { max-width: 480px; }
  .group-preview { width: 100%; }
  .group-screen { width: min(100%, 254px); }
  .beta-card { flex-direction: column; align-items: flex-start; gap: 25px; }
  .beta-action { justify-items: start; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
  .document-header { flex-wrap: wrap; padding-block: 16px; }
}
@media (max-width: 400px) {
  .shell { width: calc(100% - 36px); }
  .hero h1 { font-size: 2.45rem; }
  .main-nav .nav-cta { padding-inline: 12px; gap: 10px; }
  .hero .actions { gap: 12px 20px; }
  .product-preview { padding-inline: 17px; border-radius: 22px; }
  .group-showcase { padding: 28px 20px; border-radius: 22px; }
  .beta-card { padding: 28px 22px; }
  .button { gap: 14px; padding-inline: 20px; }
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #141211; --surface: #1a1715; --panel: #211d1a; --ink: #f4efeb; --muted: #b9b0a9; --accent: #ec9979; --brand-dot: #df7c58; --line: #3b342e; --button-bg: #f2e9e2; --button-ink: #35251f; --screen-edge: #39312b; --screen-shadow: 0 24px 50px -22px rgb(0 0 0 / 65%), 0 3px 8px rgb(0 0 0 / 20%); }
  .button-primary:hover { background: #e1c5b5; color: #35251f; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button-primary:hover { transform: none; }
}
