/* Brakely website (F011). Tokens from the design system "Brakely" (tokens.json), light and dark. */
:root {
  --paper: #eef2ef; --surface: #ffffff; --sunken: #e3eae6; --line: #d6ded9; --line-strong: #7a8983;
  --ink: #13201b; --ink-muted: #4f5e58; --on-ink: #f1f6f3;
  --deep: #103a2f; --deep-glow: #165042; --deep-track: #2b584c; --on-deep: #f1f6f3; --on-deep-muted: #b7cfc4;
  --brand: #1f7a5e; --on-brand: #ffffff; --brand-text: #17634c; --brand-soft: #dcefe6;
  --amber: #f2b23f; --attention: #a14a06;
  --rule-1: #1f7a5e; --rule-2: #4b56a6;
  --shadow-1: 0 1px 2px #13201b0f, 0 4px 14px #13201b12;
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px;
  --font-display: "Barlow Semi Condensed", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #08120f; --surface: #111c18; --sunken: #1a2622; --line: #22302b; --line-strong: #62756d;
    --ink: #eaf3ef; --ink-muted: #9db2aa; --on-ink: #08120f;
    --deep: #0f3328; --deep-glow: #17493a; --deep-track: #24493d; --on-deep: #eaf3ef; --on-deep-muted: #a9c6ba;
    --brand: #6fd3b0; --on-brand: #06231b; --brand-text: #6fd3b0; --brand-soft: #12352b;
    --amber: #f0b45a; --attention: #ffad70;
    --rule-1: #5cc79f; --rule-2: #8f98ea;
    --shadow-1: 0 1px 2px #00000066, 0 4px 14px #0000004d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--font-text); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-text); }
a:hover { color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 760px; }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.muted { color: var(--ink-muted); }
.small { font-size: 13px; line-height: 18px; }
.placeholder { color: var(--attention); font-weight: 600; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 9px; }
.brand span { font-size: 28px; line-height: 32px; }
.top nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border: 1.5px solid var(--line-strong); border-radius: 9999px; font-size: 15px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; z-index: 2; margin: 6px 0 0; padding: 6px; list-style: none; min-width: 180px;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-1); }
.lang li a { display: flex; min-height: 44px; align-items: center; padding: 0 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.lang li a[aria-current] { font-weight: 700; color: var(--brand-text); }

/* Hero */
.hero { background: radial-gradient(120% 90% at 20% 0%, var(--deep-glow) 0%, var(--deep) 60%); color: var(--on-deep); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 64px 72px; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--amber); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.05; }
.hero .lead { font-size: 20px; line-height: 30px; color: var(--on-deep-muted); max-width: 32em; }
.track { position: relative; height: 22px; border-radius: 6px; background: var(--deep-track); max-width: 440px; }
.track span { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.track .now { top: -5px; bottom: -5px; width: 3px; border-radius: 2px; background: var(--amber); }
.ticks { display: flex; justify-content: space-between; max-width: 440px; color: var(--on-deep-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 12px;
  background: var(--on-deep); color: var(--deep); font-weight: 600; text-decoration: none; }
.store[aria-disabled="true"] { opacity: 0.7; cursor: default; }
.shot { flex: 0 1 300px; max-width: 100%; }
.shot img { display: block; width: 100%; height: auto; border-radius: 36px; box-shadow: 0 20px 60px #00000055; }

/* Pillars, steps, privacy band */
.band { background: var(--sunken); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-block: 64px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-1); }
.card h2 { font-family: var(--font-display); font-size: 22px; line-height: 28px; }
.icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); }
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.how { display: flex; flex-direction: column; gap: 32px; padding-block: 72px; }
.how h2 { font-family: var(--font-display); font-size: 32px; line-height: 36px; }
.how ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.how li { display: flex; flex-direction: column; gap: 8px; }
.how b { font-family: var(--font-display); font-size: 40px; line-height: 40px; font-weight: 600; color: var(--brand-text); }
.how strong { font-weight: 600; }
.dark-band { background: var(--ink); color: var(--on-ink); }
.dark-band .wrap { display: flex; align-items: center; gap: 24px; padding-block: 48px; flex-wrap: wrap; }
.dark-band p { flex: 1 1 400px; font-family: var(--font-display); font-size: 22px; line-height: 30px; font-weight: 700; }

/* Text pages */
main.page { display: flex; flex-direction: column; gap: 28px; padding-block: 40px 64px; }
main.page h1 { font-size: clamp(30px, 8.5vw, 44px); line-height: 1.1; hyphens: auto; overflow-wrap: break-word; }
main.page, .hero-text, .card { hyphens: auto; overflow-wrap: break-word; }
main.page h2 { font-size: 20px; line-height: 26px; font-weight: 600; margin-top: 8px; }
details { border-bottom: 1px solid var(--line); }
summary.q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer; list-style: none; font-weight: 600; }
summary.q::-webkit-details-marker { display: none; }
summary.q::after { content: "+"; font-size: 22px; color: var(--ink-muted); }
details[open] summary.q::after { content: "–"; }
details p { margin: 0 0 20px; color: var(--ink-muted); }
.contact { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-1); }

/* Footer */
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px 48px; font-size: 13px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--ink-muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
