/* goldstraw.app: the home page, the Android tester page and the 404 page.
   Mobile first. The site CSP allows no inline styles, so everything lives here.
   Colours come from customer-tokens.css (the app's own palette). */
.site {
  --site-width: 1080px;
  --site-gutter: 20px;
  --site-line: #e3e8e1;
  --site-wash: #f4f6f2;
  --site-panel: #e7eee3;
  --site-bezel: #1d2622;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Paper, the app's own page colour (customer-tokens.css), never plain white. */
body { margin: 0; background: #f8f5ee; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--customer-green); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--customer-green-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--customer-green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; color: var(--customer-green-deep); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 10; padding: 12px 16px; border-radius: 8px; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Page frame: full-width bands with content held to one column width. */
.site-header, .hero, .benefits, .steps, .faq, .site-footer, .tester, .not-found {
  padding-inline: max(var(--site-gutter), calc((100% - var(--site-width)) / 2));
}
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-block: 12px; border-bottom: 1px solid var(--site-line); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; min-width: 0; color: var(--customer-green-deep); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.brand img { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; }
.brand:hover { color: var(--customer-green-deep); }
.header-link { display: inline-flex; align-items: center; min-height: 48px; font-size: .9375rem; font-weight: 600; white-space: nowrap; }

/* Buttons and links. Every target is at least 48px tall. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; max-width: 100%; padding: 14px 28px; border-radius: 12px; background: var(--customer-green); color: #fff; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.button:hover { background: var(--customer-green-deep); color: #fff; }
.button:focus-visible { outline-color: var(--customer-green-deep); }
.quiet-link, .text-link { display: inline-flex; align-items: center; min-height: 48px; font-size: .9375rem; font-weight: 600; }
.quiet-link::after { content: "\2192"; content: "\2192" / ""; display: inline-block; margin-left: 6px; }

/* Hero: the promise, one button, and the real app. Headings grow with the
   screen but stay narrow enough that no word splits at 320px with 200% text. */
.hero { display: grid; gap: 40px; padding-top: 40px; border-bottom: 1px solid var(--site-line); }
.hero h1, .not-found h1 { font-size: min(calc(1rem + 7.5vw), 3.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; }
.lead { margin-top: 16px; max-width: 30ch; color: var(--customer-muted); font-size: 1.25rem; line-height: 1.45; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; }
.hero-actions .button, .steps .button { width: 100%; max-width: 380px; }
.hero-note { color: var(--customer-muted); font-size: .9375rem; }
.nowrap { white-space: nowrap; }
.hero-shot { display: flex; justify-content: center; margin: 0; padding: 28px 24px 0; overflow: hidden; border-radius: 24px 24px 0 0; background: var(--site-panel); }
.phone { width: min(100%, 290px); padding: 9px 9px 0; border-radius: 44px 44px 0 0; background: var(--site-bezel); box-shadow: 0 18px 40px #123f2c26; }
.phone img { width: 100%; border-radius: 35px 35px 0 0; }

/* Three short reasons. */
.benefits { padding-block: 56px; }
.benefit-list { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.benefit-list li + li { padding-top: 28px; border-top: 1px solid var(--site-line); }
.benefit-list h3 { font-size: 1.375rem; font-weight: 700; }
.benefit-list p { margin-top: 6px; color: var(--customer-muted); }

/* How it works: three numbered steps, each a number and a few words on one row.
   The numbers sit in Goldstraw Green: gold is for the tick only (Brand Book v2). */
.steps { padding-block: 56px; background: var(--site-wash); }
.steps h2, .faq h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); font-weight: 700; letter-spacing: -.025em; }
.step-list { display: grid; gap: 16px; margin: 28px 0 32px; padding: 0; list-style: none; counter-reset: step; }
.step-list li { display: flex; align-items: center; gap: 14px; color: var(--customer-green-deep); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; counter-increment: step; }
.step-list li::before { content: counter(step); display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--customer-green); color: #fff; font-size: 1rem; font-weight: 700; }

/* Questions, answered in a line or two. */
.faq { padding-block: 56px 64px; }
.faq-list { display: grid; gap: 28px; max-width: 40rem; margin-top: 28px; }
.faq-list h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }
.faq-list p { margin-top: 4px; color: var(--customer-muted); }

/* Footer: legal and contact links. */
.site-footer { padding-block: 28px max(36px, env(safe-area-inset-bottom)); border-top: 1px solid var(--site-line); background: var(--site-wash); font-size: .9375rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 48px; color: var(--customer-green-deep); font-weight: 600; }
.site-footer p { margin-top: 10px; color: var(--customer-muted); font-size: .9375rem; }
/* Every small link is at least 44px wide to tap, short ones too ("Help" is
   32px of words): 6px either side of the words, with the gap cut to match, so
   the words sit exactly where they did and line up with the text above. Help
   pages keep their own (help-v2.css). (12 Nov 2026.) */
body:not([data-help-page]) .site-footer nav[aria-label="Footer"] { gap: 0 10px; margin-inline: -6px; }
body:not([data-help-page]) .site-footer nav[aria-label="Footer"] a { box-sizing: border-box; min-width: 44px; padding-inline: 6px; justify-content: center; }

/* Android tester page: two big steps, each with the button to tap on Google's page. */
.tester { padding-block: 40px 64px; }
.tester > * { max-width: 560px; }
.tester h1 { font-size: min(calc(.875rem + 6.5vw), 3.25rem); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; }
.tester-tip { margin-top: 24px; font-size: 1.0625rem; }
.tester-actions { display: grid; gap: 20px; margin-top: 16px; }
.button-big { justify-content: flex-start; width: 100%; min-height: 72px; padding: 18px 24px; border-radius: 14px; font-size: 1.25rem; }
.tester-hint { margin-top: 8px; color: var(--customer-muted); font-size: .9375rem; }
.tester-hint strong { color: var(--customer-ink); font-weight: 700; }
.tester-note { margin-top: 10px; color: var(--customer-muted); font-size: .9375rem; }

/* 404 page. */
.not-found { padding-block: 48px 72px; }
.not-found p { margin-top: 16px; max-width: 36rem; }
.not-found .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.not-found .hero-actions .button { width: auto; }

@media (min-width: 640px) {
  .site { --site-gutter: 32px; }
  .hero-actions .button, .steps .button { width: auto; }
  .benefit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .benefit-list li + li { padding-top: 0; border-top: 0; }
  .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .button-big { justify-content: center; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 64px; padding-top: 56px; }
  .hero-copy { align-self: center; padding-bottom: 56px; }
  .hero-shot { padding-top: 44px; }
  .phone { width: 300px; }
  .benefits { padding-block: 72px; }
  .steps { padding-block: 72px; }
  .faq { padding-block: 72px 88px; }
  .tester { padding-block: 72px 96px; }
}
