/* nokos.tech design system v0 (11 Okt 2026).
   Cool off-white + white surfaces, deep navy ink, indigo primary, lime accent
   for OTP codes and highlights. Plus Jakarta Sans for UI, Geist Mono for
   numbers, codes, phone numbers and timers. Rounded (10/16/24px), pill buttons. */

:root {
  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --surface-2: #EEF0F6;
  --ink: #0A0F1E;
  --ink-2: #283044;
  --muted: #5D667A;
  --line: #E3E6EF;
  --line-2: #D3D8E4;
  --primary: #5246F2;
  --primary-600: #4236D8;
  --primary-50: #EEEDFE;
  --primary-100: #DCD9FD;
  --lime: #C8F04A;
  --lime-50: #F1FBD6;
  --lime-ink: #3F5A00;
  --dark: #0B1021;
  --dark-2: #141A33;
  --dark-line: #262E50;
  --dark-muted: #9CA5C2;
  --ok: #119D55;
  --danger: #E5484D;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 30, .05);
  --shadow: 0 1px 2px rgba(10, 15, 30, .05), 0 12px 32px -14px rgba(10, 15, 30, .2);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1160px;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 24px; } }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--primary-100); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn .ico { width: 18px; height: 18px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #D6F76A; }

/* ------------------------------------------------------------ build bar + header */
.build-bar { background: var(--ink); color: #E8EBF5; font-size: 13px; }
.build-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.build-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 240, 74, .18); flex: none; }

.site-head { position: sticky; top: 0; z-index: 20; background: rgba(245, 246, 250, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-head > .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.035em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-tld { color: var(--primary); }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.head-actions { display: none; gap: 8px; }
.menu-btn { margin-left: auto; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--surface); padding: 8px var(--gutter) 20px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav > a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.mobile-nav-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
@media (min-width: 900px) {
  .nav, .head-actions { display: flex; }
  .head-actions { margin-left: 8px; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 44px 0 64px; }
.hero::before { content: ""; position: absolute; inset: -160px -10% auto; height: 640px; pointer-events: none;
  background: radial-gradient(42% 55% at 18% 35%, rgba(82, 70, 242, .16), transparent 70%),
              radial-gradient(30% 45% at 88% 25%, rgba(200, 240, 74, .28), transparent 70%); }
.hero > .wrap { position: relative; display: grid; gap: 44px; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 64px; }
  .hero > .wrap { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.eyebrow b { background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 11px; letter-spacing: .02em; }
.hero h1 { margin-top: 20px; font-size: clamp(2.2rem, 3.6vw + 1.2rem, 3.9rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after { content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .04em; height: .34em; background: var(--lime); border-radius: 6px; }
.hero-lead { margin-top: 20px; max-width: 34em; font-size: clamp(1.03rem, .3vw + .98rem, 1.16rem); color: var(--muted); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ico { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--lime-50); color: var(--lime-ink); stroke-width: 2.6; }
@media (max-width: 479px) { .hero-cta .btn { flex: 1 1 100%; } }

/* OTP order illustration */
.otp-demo { position: relative; max-width: 460px; width: 100%; justify-self: center; padding: 22px; border-radius: var(--r-lg); background: var(--dark); color: #fff; border: 1px solid var(--dark-line); box-shadow: 0 40px 80px -30px rgba(11, 16, 33, .55); }
.otp-demo-tag { position: absolute; top: -12px; right: 22px; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; }
.od-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--dark-muted); }
.od-live { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; }
.od-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: od-pulse 1.6s ease-out infinite; }
@keyframes od-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 240, 74, .55); } 100% { box-shadow: 0 0 0 10px rgba(200, 240, 74, 0); } }
.od-order { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--dark-2); border: 1px solid var(--dark-line); }
.od-app { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--primary); font-weight: 600; font-size: 15px; }
.od-meta { flex: 1; min-width: 0; }
.od-meta b { display: block; font-size: 15px; }
.od-meta span { font-size: 13px; color: var(--dark-muted); }
.od-id { font-size: 12px; color: var(--dark-muted); }
.od-number { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: clamp(17px, 1.2vw + 12px, 20px); letter-spacing: .02em; }
.od-timer { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dark-muted); }
.od-timer .ico { width: 15px; height: 15px; }
.od-bar { margin-top: 10px; height: 6px; border-radius: 99px; background: var(--dark-2); overflow: hidden; }
.od-bar i { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--lime)); animation: od-bar 7s ease-in-out infinite alternate; }
@keyframes od-bar { from { width: 72%; } to { width: 48%; } }
.od-sms { margin-top: 18px; padding: 16px; border-radius: var(--r); background: var(--surface); color: var(--ink); }
.od-sms small { display: block; font-size: 12px; color: var(--muted); }
.od-sms p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.od-code { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.od-code b { padding: 2px 12px; border-radius: 8px; background: var(--lime); font-size: clamp(24px, 2vw + 16px, 30px); font-weight: 600; letter-spacing: .08em; }
.od-copy { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--primary); }
.od-copy .ico { width: 17px; height: 17px; }

/* ------------------------------------------------------------ sections */
.section { padding: 64px 0; }
.section-tight { padding-top: 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } .section-tight { padding-top: 0; } }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 36px; }
.kicker { display: inline-block; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.section-head h2 { margin-top: 14px; font-size: clamp(1.75rem, 1.8vw + 1.1rem, 2.6rem); font-weight: 800; letter-spacing: -.035em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.tile-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--primary-50); color: var(--primary); }
.tile-ico .ico { width: 22px; height: 22px; }

.steps { display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 26px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { font-size: 14px; font-weight: 500; color: var(--muted); }
.step h3 { margin-top: 22px; font-size: 19px; font-weight: 700; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.svc { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.svc i { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; font-size: 13px; font-weight: 600; font-style: normal; background: var(--primary-50); color: var(--primary); }
.svc:nth-child(3n+2) i { background: var(--lime-50); color: var(--lime-ink); }
.svc:nth-child(3n) i { background: var(--surface-2); color: var(--ink-2); }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }

.feats { display: grid; gap: 16px; }
@media (min-width: 760px) { .feats { grid-template-columns: repeat(2, 1fr); } }
.feat { display: flex; gap: 18px; padding: 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feat h3 { font-size: 18px; font-weight: 700; }
.feat p { margin-top: 6px; font-size: 15px; color: var(--muted); }

.cta-band { position: relative; overflow: hidden; display: grid; gap: 24px; padding: 40px 24px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 240, 74, .26), transparent 65%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.4rem); font-weight: 800; letter-spacing: -.035em; }
.cta-band p { margin-top: 10px; color: var(--dark-muted); max-width: 36em; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 56px; } }
@media (max-width: 479px) { .cta-band .btn { width: 100%; } }

.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; } }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 24px/1 var(--mono); color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-ans { padding: 0 20px 20px; color: var(--muted); }

/* ------------------------------------------------------------ notice pages (segera, 404) */
.page-narrow { padding: 56px 0 96px; }
.notice-card { max-width: 540px; margin: 0 auto; padding: 40px 28px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.notice-card h1 { margin-top: 20px; font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem); font-weight: 800; }
.notice-card p { margin: 12px 0 28px; color: var(--muted); }
.notice-ico { width: 60px; height: 60px; margin: 0 auto; display: grid; place-items: center; border-radius: 18px; background: var(--primary-50); color: var(--primary); }
.notice-ico .ico { width: 28px; height: 28px; }
.notice-code { display: inline-block; padding: 4px 14px; border-radius: 10px; background: var(--lime); font-size: 28px; font-weight: 600; letter-spacing: .06em; }

/* ------------------------------------------------------------ footer */
.site-foot { padding: 48px 0 28px; background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.foot-desc { margin-top: 14px; max-width: 30em; font-size: 15px; color: var(--muted); }
.foot-title { margin-bottom: 14px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { display: grid; gap: 10px; }
.foot-grid ul a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot-grid ul a:hover { color: var(--primary); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--muted); }
