/* The landing page. Colours are the app's semantic tokens (assets/tokens.css, generated by build.mjs). */

@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url("fonts/be-vietnam-pro-400.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap; src: url("fonts/be-vietnam-pro-600.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-display: swap; src: url("fonts/be-vietnam-pro-700.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font: 400 17px/1.55 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--accent-action); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
@media (min-width: 600px) { .wrap { width: min(1120px, 100% - 48px); } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg-surface); padding: 8px 12px; border-radius: 12px; }

/* Header */

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-primary); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.mark-night { display: none; }
@media (prefers-color-scheme: dark) { .mark-day { display: none; } .mark-night { display: block; } }
.lang { font-size: 15px; font-weight: 600; color: var(--text-secondary); text-decoration: none; padding: 10px 14px; border-radius: 999px; background: var(--bg-sunken); }
.lang:hover { color: var(--text-primary); }

/* Hero */

.hero { display: grid; gap: 40px; align-items: center; padding-block: 32px 72px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr 0.85fr; gap: 64px; padding-block: 48px 96px; } }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--text-lunar); }
.hero .lead { margin-top: 20px; font-size: clamp(18px, 2.2vw, 21px); color: var(--text-secondary); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 14px;
  background: var(--text-primary); color: var(--bg-canvas); font-weight: 600; font-size: 16px; text-decoration: none;
}
.store-soon { background: var(--bg-sunken); color: var(--text-secondary); }
.actions a:not(.store) { font-weight: 600; font-size: 16px; }
.nots { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.nots li { font-size: 14px; font-weight: 600; color: var(--text-secondary); background: var(--bg-surface); padding: 6px 12px; border-radius: 999px; }

.phone { justify-self: center; width: min(320px, 78vw); }
.phone img { border-radius: 40px; box-shadow: 0 0 0 1px var(--border-hairline), 0 24px 60px var(--shadow); }

/* Sections */

section { padding-block: 56px; }
.section-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.section-lead { margin-top: 12px; color: var(--text-secondary); max-width: 40em; }

.feature { display: grid; gap: 32px; align-items: center; padding-block: 40px; }
@media (min-width: 800px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature:nth-of-type(even) .shot { order: -1; }
}
.feature .eyebrow { font-size: 14px; font-weight: 600; color: var(--text-lunar); }
.feature h3 { margin-top: 8px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.feature p { margin-top: 12px; color: var(--text-secondary); }
.feature .shot { justify-self: center; width: min(300px, 74vw); }
.feature .shot img { border-radius: 36px; box-shadow: 0 0 0 1px var(--border-hairline), 0 16px 40px var(--shadowSoft); }

.cards { display: grid; gap: 16px; margin-top: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--bg-surface); border-radius: 18px; padding: 24px; }
.card h3 { font-size: 18px; font-weight: 600; }
.card p { margin-top: 8px; font-size: 15px; color: var(--text-secondary); }

.facts { background: var(--bg-surface); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.facts dl { display: grid; gap: 16px 32px; margin: 24px 0 0; }
@media (min-width: 700px) { .facts dl { grid-template-columns: max-content 1fr; } }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--text-secondary); }

/* FAQ */

.faq { margin-top: 24px; display: grid; gap: 12px; }
.faq details { background: var(--bg-surface); border-radius: 18px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 24px; font-weight: 400; color: var(--text-tertiary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--text-secondary); }

/* Footer */

.site-footer { padding-block: 48px 64px; color: var(--text-tertiary); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--text-secondary); }
