/* Self-hosted fonts — drops the fonts.googleapis.com / fonts.gstatic.com dependency.
   Subsets: latin + latin-ext (English-only marketing site). */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* VoiceStores marketing site — Storefront v3.1 design tokens.
   Light + dark mode via @media (prefers-color-scheme). */

:root {
  --paper:        #F7F3EC;
  --paper-raised: #FFFFFF;
  --ink:          #1A1A1A;
  --ink-soft:     #555555;
  --ink-faint:    #9C9087;
  --accent:       #D97706;
  --hairline:     rgba(26, 26, 26, 0.08);
  --on-dark:      #FFFFFF;
  --on-ink:       #FFFFFF;
  --danger:       #B42318;

  --xs:   4px;
  --sm:   8px;
  --md:  16px;
  --lg:  24px;
  --xl:  40px;
  --xxl: 64px;

  --r-sm:  8px;
  --r-lg: 20px;

  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --motion: 200ms ease-out;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:        #111111;
    --paper-raised: #1A1A1A;
    --ink:          #F2EDE3;
    --ink-soft:     #A8A29E;
    --ink-faint:    #706A62;
    --accent:       #E8841A;
    --hairline:     rgba(242, 237, 227, 0.10);
    --on-ink:       #1A1A1A;
    --danger:       #F07A6A;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:not(.btn):hover { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: var(--md);
  top: var(--md);
  background: var(--paper-raised);
  color: var(--ink);
  padding: var(--sm) var(--md);
  border-radius: var(--r-sm);
  z-index: 100;
}

/* Layout primitives */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--lg);
}

main {
  padding-top: var(--xl);
  padding-bottom: var(--xxl);
}

main > * + * { margin-top: var(--xl); }

/* Typography utility classes — 7 variants, matches src/design/tokens.ts */
.t-display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
  margin: 0;
  letter-spacing: -0.5px;
}

.t-displaySm {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  margin: 0;
}

.t-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  margin: 0;
}

.t-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.t-meta {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-soft);
  margin: 0;
}

.t-caption {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

.c-ink-soft  { color: var(--ink-soft); }
.c-ink-faint { color: var(--ink-faint); }
.c-accent    { color: var(--accent); }

/* Section — wraps a content group. Top dual-rule divider rendered with .rule-double. */
.section {
  display: flex;
  flex-direction: column;
  gap: var(--md);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--sm);
}

.section-number {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.accent-bar {
  width: 24px;
  height: 2px;
  background: var(--accent);
  border: 0;
  margin: 0;
}

.rule-double {
  border: 0;
  height: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-top: 1px;
  margin: 0;
}

/* Buttons — only ONE .btn-lg per page. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sm);
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity var(--motion);
  font-family: var(--sans);
}
.btn:hover  { opacity: 0.92; }
.btn:active { opacity: 0.85; }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-lg {
  width: 100%;
  height: 60px;
  padding: 0 var(--lg);
  background: var(--accent);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.2px;
}

.btn-md {
  height: 48px;
  padding: 0 var(--lg);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: var(--sm) 0;
  height: auto;
}
.btn-secondary:hover { color: var(--accent); }

/* List row — title + meta + optional leading slot */
.list-row {
  display: flex;
  gap: var(--md);
  align-items: flex-start;
  padding: var(--md) 0;
  border-bottom: 1px solid var(--hairline);
}
.list-row:last-child { border-bottom: 0; }
.list-row__leading {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.list-row__body {
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  flex: 1;
}

/* Form input */
.field { display: flex; flex-direction: column; gap: var(--xs); }
.field label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-soft);
}
.field .hint {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field .error {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--danger);
}
.input {
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 12px var(--md);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  height: 48px;
  transition: border-color var(--motion);
}
.input:focus {
  outline: none;
  border-color: var(--ink);
}
.input.is-error { border-color: var(--danger); }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* FAQ — native disclosure */
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: var(--md) 0;
}
.faq-item summary {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--sans);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item[open] summary { color: var(--accent); }
.faq-item__body {
  padding-top: var(--md);
  color: var(--ink-soft);
}

/* Device mockup — pure CSS phone frame */
.device-mock {
  width: 280px;
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--paper-raised);
  overflow: hidden;
  font-family: var(--sans);
}
.device-mock__bar {
  height: 8px;
  background: var(--accent);
}
.device-mock__shop-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  padding: var(--md) var(--md) var(--xs);
  color: var(--ink);
}
.device-mock__caption {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0 var(--md) var(--md);
}
.device-mock__product {
  display: flex;
  justify-content: space-between;
  padding: var(--sm) var(--md);
  border-top: 1px solid var(--hairline);
}
.device-mock__product strong {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}
.device-mock__product span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 21px;
}
.device-mock__cta {
  display: block;
  text-align: center;
  padding: var(--md);
  border-top: 1px solid var(--hairline);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: var(--xl) var(--lg);
  display: flex;
  flex-direction: column;
  gap: var(--md);
  align-items: center;
  text-align: center;
}
.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--md);
  justify-content: center;
}
.site-footer .links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer .links a:hover { color: var(--accent); }

/* Hero kicker spacing */
.hero { display: flex; flex-direction: column; gap: var(--md); }
.hero h1 { margin-top: var(--sm); }

/* Helpers used on email-confirmed.html and centered cards */
.center-card-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--xl) var(--lg);
}
.center-card {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: var(--lg);
}
.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark);
}

/* Tablet+ */
@media (min-width: 600px) {
  .container { max-width: 600px; }
  main { padding-top: var(--xxl); }
}
