@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-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: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dmsans-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: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dmsans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #f3eee4;
  --paper: #faf6ee;
  --sand: #ebe3d4;
  --ink: #1d1613;
  --soft: #6a5c52;
  --red: #962e2b;
  --red-deep: #7a2421;
  --line: rgba(29, 22, 19, 0.12);
  --dark: #151110;
  --dark-soft: #b7a99b;
  --green: #0f6e52;
  --max: 1240px;
  --header: 76px;
  --space: clamp(80px, 10vw, 136px);
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--paper); padding: 10px 14px; }
.section { padding-block: var(--space); }

.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.92; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--soft); margin: 0; max-width: 34em; }
.red { color: var(--red); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; height: var(--header); background: rgba(243, 238, 228, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
.brand img { width: 30px; height: auto; }
.top nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; color: var(--soft); transition: color 0.15s; }
.top nav a:hover { color: var(--ink); }
.top nav .btn { color: #fff; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 700 15px/1 var(--body); letter-spacing: 0.01em; text-decoration: none; border: 1.5px solid transparent; transition: background 0.15s, border-color 0.15s, transform 0.15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(29, 22, 19, 0.28); color: var(--ink); background: transparent; }
.btn-soon { cursor: default; color: var(--soft); }
.btn-soon svg { color: var(--red); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.note { margin: 16px 0 0; font-size: 14px; color: var(--soft); }

/* Device frame: the same bezel for every screenshot. */
.device { position: relative; padding: 9px; border-radius: 46px; background: #100d0c; box-shadow: 0 50px 90px -45px rgba(21, 17, 16, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06) inset; }
.device img { width: 100%; border-radius: 38px; }

/* Hero */
.hero { min-height: min(calc(100svh - var(--header)), 960px); display: flex; align-items: center; padding-block: 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(60px, min(8.4vw, 13svh), 132px); margin-bottom: 28px; }
.hero h1 span { display: block; }
.hero .lead { margin-bottom: 34px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before { content: ""; position: absolute; top: 8%; bottom: 6%; left: 12%; right: -40%; border-radius: 40px; background: var(--red); }
.hero-art .device { width: min(100%, 300px, calc((min(100svh, 1036px) - var(--header) - 110px) / 2.12)); }
.float-card { position: absolute; z-index: 2; width: min(270px, 62%); left: -6%; bottom: 14%; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(21, 17, 16, 0.55); }

/* Statement and numbers */
.intro .wrap:not(.numbers) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.intro h2 { font-size: clamp(40px, 4.6vw, 66px); }
.intro h2 em { font-style: normal; color: var(--red); }
.intro .copy p { margin: 0 0 18px; color: var(--soft); max-width: 32em; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.numbers div { padding: 32px 24px 0 0; }
.numbers b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 5.4vw, 76px); line-height: 1; color: var(--red); }
.numbers span { display: block; margin-top: 10px; font-size: 15px; color: var(--soft); max-width: 15em; }

/* Section heading row */
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(44px, 5.4vw, 76px); }
.head p { margin: 0; max-width: 26em; color: var(--soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; display: flex; flex-direction: column; border-radius: 32px; padding: 34px 32px 0; height: 640px; overflow: hidden; background: var(--sand); }
.step:nth-child(1) { background: var(--dark); color: #f6efe4; }
.step:nth-child(2) { background: var(--red); color: #fff; }
.step .num { font-family: var(--display); font-size: 18px; letter-spacing: 0.08em; opacity: 0.7; margin: 0 0 18px; }
.step h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: 1; margin: 0 0 14px; }
.step p { margin: 0; font-size: 16px; opacity: 0.86; }
.step .device { position: absolute; left: 50%; top: 250px; width: 78%; max-width: 300px; transform: translateX(-50%); }

/* Feature rows */
.feature-row { padding-block: calc(var(--space) * 0.6); }
#how { padding-bottom: calc(var(--space) * 0.6); }
.feature-row .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.feature-row.flip .copy { order: 2; }
.feature-row h2 { font-size: clamp(44px, 5.2vw, 74px); margin-bottom: 26px; }
.feature-row .copy p { margin: 0 0 18px; color: var(--soft); max-width: 30em; }
.stage { position: relative; display: flex; justify-content: center; padding: clamp(40px, 6vw, 72px) 0; border-radius: 36px; background: var(--sand); }
.stage .device { width: min(64%, 300px); }
.stage .float-card { left: 4%; bottom: 10%; width: min(250px, 52%); }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 9px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }

/* Feature grid */
.features { background: var(--paper); }
.grid6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.grid6 article { background: var(--paper); padding: 40px 36px; }
.grid6 svg { width: 42px; height: 42px; margin-bottom: 26px; }
.grid6 h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.grid6 p { margin: 0; font-size: 16px; color: var(--soft); }

/* Night band */
.night { background: var(--dark); color: #f6efe4; overflow: hidden; }
.night .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.night h2 { font-size: clamp(44px, 5.2vw, 74px); margin-bottom: 26px; }
.night p { color: var(--dark-soft); margin: 0 0 18px; max-width: 30em; }
.night .device { width: min(70%, 300px); margin-inline: auto; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.langs li { padding: 9px 16px; border: 1px solid rgba(246, 239, 228, 0.22); border-radius: 999px; font-size: 14px; }

/* Privacy */
.privacy .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); }
.privacy h2 { font-size: clamp(44px, 5.2vw, 74px); }
.privacy p { margin: 0 0 18px; color: var(--soft); max-width: 34em; }
.links { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; font-weight: 700; font-size: 15px; }
.links a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* FAQ */
.faq { background: var(--paper); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); }
.faq h2 { font-size: clamp(44px, 5.2vw, 74px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--red); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 24px; color: var(--soft); max-width: 40em; }

/* Download band */
.download .panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; padding: clamp(48px, 6vw, 88px); border-radius: 40px; background: var(--red); color: #fff; overflow: hidden; }
.download h2 { font-size: clamp(54px, 7vw, 108px); margin-bottom: 22px; }
.download p { margin: 0 0 28px; color: rgba(255, 255, 255, 0.82); max-width: 30em; }
.download .btn-primary { background: #fff; color: var(--red); }
.download .btn-primary:hover { background: var(--paper); }
.download .btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.download .btn-soon svg { color: #fff; }
.download .note { color: rgba(255, 255, 255, 0.75); }
.download .mark { width: min(240px, 70%); justify-self: center; }

/* Footer */
.footer { background: var(--dark); color: #f6efe4; padding-block: 72px 36px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #f6efe4; margin-bottom: 18px; }
.footer p { margin: 0; color: var(--dark-soft); font-size: 15px; max-width: 24em; }
.footer h3 { margin: 0 0 16px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark-soft); font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .legal { grid-column: 1 / -1; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(246, 239, 228, 0.12); display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; font-size: 13px; color: var(--dark-soft); }

/* Text pages */
.page main.wrap { max-width: 760px; padding-block: 72px 104px; }
.page h1 { font-size: clamp(54px, 8vw, 100px); margin-bottom: 18px; }
.page h2 { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin: 48px 0 12px; }
.page p, .page li { color: #3d322b; }
.page .updated { color: var(--soft); font-size: 15px; margin-bottom: 32px; }
.page .footer { padding-block: 36px; }
.page .footer .wrap { display: block; }
.page .footer .legal { margin-top: 0; padding-top: 0; border-top: 0; }
form.delete { display: grid; gap: 18px; margin-top: 20px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
form.delete label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
form.delete input[type="text"], form.delete input[type="password"] { font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
form.delete input:focus { border-color: var(--ink); outline: none; }
form.delete .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
form.delete .check input { margin-top: 5px; accent-color: var(--red); }
form.delete button { justify-self: start; cursor: pointer; }
form.delete button[disabled] { opacity: 0.6; cursor: wait; }
.status { min-height: 1.5em; margin: 0; font-weight: 700; }
.status.ok { color: var(--green); }
.status.error { color: var(--red); }

@media (max-width: 1080px) {
  .top nav a:not(.btn) { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .step { height: 620px; }
  .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 40px, var(--max)); }
  .hero { min-height: 0; padding-block: 36px 64px; }
  .hero .wrap, .intro .wrap:not(.numbers), .feature-row .wrap, .night .wrap, .privacy .wrap, .faq .wrap, .download .panel { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(56px, 16vw, 92px); margin-bottom: 20px; }
  .hero .lead { margin-bottom: 26px; }
  .hero-art { margin-top: 16px; }
  .hero-art::before { left: 18%; right: -10%; }
  .hero-art .device { width: min(72%, 300px); }
  .float-card { left: 0; width: 58%; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head { flex-direction: column; align-items: start; }
  .step { height: 600px; padding: 30px 26px 0; }
  .step .device { top: 230px; width: 72%; }
  .feature-row.flip .copy { order: 0; }
  .grid6 { grid-template-columns: 1fr; }
  .grid6 article { padding: 32px 26px; }
  .download .mark { display: none; }
  .footer .wrap { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
}
@media (max-width: 560px) {
  /* The hero's own apply button is on the first screen. */
  .top nav .btn { display: none; }
}
@media (max-width: 420px) {
  .brand { font-size: 19px; }
  .btn { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Tester application dialog */
dialog.apply { width: min(560px, 100% - 32px); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(21, 17, 16, 0.6); }
dialog.apply::backdrop { background: rgba(21, 17, 16, 0.55); backdrop-filter: blur(4px); }
dialog.apply form, dialog.apply .done { display: grid; gap: 18px; padding: clamp(28px, 5vw, 40px); position: relative; }
dialog.apply [hidden] { display: none; }
dialog.apply h2 { font-size: clamp(38px, 6vw, 52px); padding-right: 40px; }
dialog.apply .intro-text, dialog.apply .done p { margin: 0; color: var(--soft); }
dialog.apply label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
dialog.apply input[type="text"], dialog.apply input[type="email"], dialog.apply input[type="tel"] { font: inherit; font-weight: 400; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
dialog.apply input:focus { border-color: var(--ink); outline: none; }
dialog.apply .hint { font-weight: 400; font-size: 13px; color: var(--soft); }
dialog.apply fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
dialog.apply legend { width: 100%; margin-bottom: 8px; font-weight: 700; font-size: 15px; padding: 0; }
dialog.apply .choice { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; cursor: pointer; }
dialog.apply .choice:has(input:checked) { border-color: var(--red); background: rgba(150, 46, 43, 0.06); }
dialog.apply .choice input { accent-color: var(--red); margin: 0; }
dialog.apply .consent { margin: 0; font-size: 13px; color: var(--soft); }
dialog.apply .consent a { color: var(--ink); }
dialog.apply .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
dialog.apply button[type="submit"], dialog.apply .done .btn { justify-self: start; cursor: pointer; }
dialog.apply button[disabled] { opacity: 0.6; cursor: wait; }
dialog.apply .close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
dialog.apply .close svg { width: 18px; height: 18px; }
.top nav button.btn { cursor: pointer; }
button.btn { cursor: pointer; font-family: var(--body); }

/* Macedonian pages: Anton and DM Sans have no Cyrillic. */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/oswald-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/oswald-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: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope-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; }
html:lang(mk) { --display: "Oswald", "Arial Narrow", sans-serif; --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
html:lang(mk) .display { font-weight: 600; letter-spacing: -0.01em; line-height: 1.02; }
html:lang(mk) .hero h1 { font-size: clamp(54px, min(7.4vw, 11.5svh), 118px); }
html:lang(mk) .step h3 { font-weight: 600; }

/* Language switch */
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; }
.lang a { padding: 6px 11px; border-radius: 999px; text-decoration: none; color: var(--soft); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 1080px) { .top nav .lang a { display: inline-block; } }
