/* Beirada landing page. Colours and scales come from tokens.css (generated from
   replica/design/tokens.json); nothing here hard-codes a colour. */

*, *::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; line-height: 1.5; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: rgb(var(--color-accent)); text-underline-offset: 3px; }
a:hover { color: rgb(var(--color-accent-strong)); }
:focus-visible { outline: 3px solid rgb(var(--color-focus)); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

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

header.top { border-bottom: 1px solid rgb(var(--color-border)); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: rgb(var(--color-text)); text-decoration: none; }
.brand svg { width: 32px; height: 32px; flex: none; }
nav.links { display: flex; gap: 20px; font-size: 15px; }
nav.links a { color: rgb(var(--color-text-muted)); text-decoration: none; }
nav.links a:hover { color: rgb(var(--color-text)); }
@media (max-width: 560px) { nav.links .opt { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-md); font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: rgb(var(--color-accent)); color: rgb(var(--color-on-accent)); }
.btn-primary:hover { background: rgb(var(--color-accent-strong)); color: rgb(var(--color-on-accent)); }
.btn[disabled] { opacity: var(--opacity-disabled); cursor: default; }

section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 80px 0; } }
section.alt { background: rgb(var(--color-surface)); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 7vw, 60px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 12px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: rgb(var(--color-text-muted)); max-width: 40em; }
.muted { color: rgb(var(--color-text-muted)); }
.small { font-size: 14px; }

.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; } }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.phones { display: flex; gap: 16px; justify-content: center; }
.phones figure { margin: 0; }
.phone { border-radius: 28px; border: 6px solid rgb(var(--color-text)); overflow: hidden; background: rgb(var(--color-bg)); box-shadow: var(--shadow-pop); width: min(240px, 44vw); }
.phones figure:nth-child(2) { margin-top: 48px; }
.caption { text-align: center; margin-top: 12px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: rgb(var(--color-surface-raised)); border: 1px solid rgb(var(--color-border)); border-radius: var(--radius-lg); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.step-n { display: inline-flex; width: 36px; height: 36px; border-radius: var(--radius-pill); align-items: center; justify-content: center; background: rgb(var(--color-accent-subtle)); color: rgb(var(--color-accent-strong)); font-weight: 800; margin-bottom: 12px; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: var(--radius-pill); background: rgb(var(--color-accent-subtle)); color: rgb(var(--color-accent-strong)); margin-bottom: 10px; }
.tag.soon { background: rgb(var(--color-surface)); color: rgb(var(--color-text-muted)); border: 1px solid rgb(var(--color-border)); }

.feature-shots { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .feature-shots { grid-template-columns: 1fr 260px; } }
.feature-shots .phone { width: 260px; margin: 0 auto; }

table.prices { width: 100%; border-collapse: collapse; font-size: 16px; }
table.prices th, table.prices td { text-align: left; padding: 12px; border-bottom: 1px solid rgb(var(--color-border)); vertical-align: top; }
table.prices thead th { font-size: 18px; }
table.prices td.y { color: rgb(var(--color-success)); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.plans { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan b { display: block; font-size: 24px; }

details { border-bottom: 1px solid rgb(var(--color-border)); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style-position: outside; }
details p { margin: 12px 0 0; color: rgb(var(--color-text-muted)); }

form.waitlist { display: grid; gap: 16px; max-width: 520px; }
label { font-weight: 700; display: block; margin-bottom: 6px; }
input[type=email] { width: 100%; min-height: 48px; padding: 0 14px; font: inherit; color: rgb(var(--color-text)); background: rgb(var(--color-bg)); border: 1px solid rgb(var(--color-border-input)); border-radius: var(--radius-md); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { font-weight: 400; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgb(var(--color-border-input)); border-radius: var(--radius-pill); margin: 0; cursor: pointer; }
.radios input { accent-color: rgb(var(--color-accent)); width: 18px; height: 18px; }
.status { min-height: 1.5em; font-weight: 700; }
.status.ok { color: rgb(var(--color-success)); }
.status.err { color: rgb(var(--color-danger)); }

footer { border-top: 1px solid rgb(var(--color-border)); padding: 32px 0; font-size: 14px; color: rgb(var(--color-text-muted)); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; }
footer a { color: rgb(var(--color-text-muted)); }

.doc { max-width: 760px; }
.doc h2 { font-size: 24px; margin-top: 32px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.draft { background: rgb(var(--color-warning-subtle)); color: rgb(var(--color-warning)); border-radius: var(--radius-md); padding: 12px 16px; font-weight: 700; margin-bottom: 24px; }
