/* Naka AI Browser site. Colours are the app's own (NakaDesign `NK`): navy gradient, Naka blue. */
:root {
  color-scheme: dark;
  --bg-top: #37438e;
  --bg: #14193a;
  --bg-deep: #0d1129;
  --text: #ffffff;
  --text-2: rgba(214, 221, 250, 0.78);
  --text-3: rgba(214, 221, 250, 0.56);
  --surface: rgba(255, 255, 255, 0.07);
  --surface-2: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #3c93f7;
  --accent-2: #5ba8ff;
  --ok: #72cd66;
  --warn: #ffb74d;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(120% 70% at 50% -10%, var(--bg-top) 0%, var(--bg) 62%, var(--bg-deep) 100%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  min-height: 100vh;
}
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--warn); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 14px; font-weight: 650; text-decoration: none; color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; font-weight: 600; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 64px); margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--accent-2); }
.lead { font-size: 19px; color: var(--text-2); max-width: 560px; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--text-3); font-size: 14px; margin-top: 16px; }

/* The Naka panel, drawn in CSS (an example request, as the app shows it) */
.panel { background: rgba(13, 17, 41, 0.72); border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(91, 168, 255, 0.08) inset; max-width: 420px; justify-self: end; width: 100%; }
.panel-head { display: flex; align-items: center; justify-content: space-between; color: var(--text-2); font-size: 14px; font-weight: 600; padding: 2px 4px 14px; }
.panel-head b { color: var(--text); font-size: 16px; }
.ask { margin-left: auto; width: fit-content; max-width: 88%; background: var(--accent); border-radius: 18px 18px 6px 18px; padding: 10px 14px; font-size: 15px; line-height: 1.4; }
.steps { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.steps li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--surface); border-radius: 12px; }
.steps li span:last-child { color: var(--ok); font-variant-numeric: tabular-nums; }
.result { background: var(--surface-2); border-radius: 16px; padding: 14px; }
.result-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price { font-size: 28px; font-weight: 750; letter-spacing: -0.02em; }
.tag { font-size: 12px; font-weight: 700; color: #0d1129; background: var(--ok); border-radius: 6px; padding: 2px 7px; }
.result p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; }
.result .seen { color: var(--text-3); font-size: 13px; margin-top: 8px; }
.handoff { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--warn); }
.caption { color: var(--text-3); font-size: 13px; text-align: center; margin: 12px 0 0; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
.kicker { color: var(--accent-2); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 10px; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-lead { color: var(--text-2); max-width: 640px; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 20px; margin: 14px 0 8px; }
.card p { color: var(--text-2); margin: 0; font-size: 16px; }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); font-size: 16px; }
.card li { margin-bottom: 6px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(60, 147, 247, 0.18); color: var(--accent-2); font-size: 22px; }
.list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; padding: 0; margin: 0; list-style: none; }
.list li { position: relative; padding-left: 30px; color: var(--text-2); }
.list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.list li b { color: var(--text); font-weight: 650; }
.join { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; margin-bottom: 28px; }
.join .card { counter-increment: step; }
.join .card::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); font-weight: 750; }
.cta { text-align: center; }
.cta .actions { justify-content: center; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 0; font-weight: 650; font-size: 18px; list-style-position: outside; }
details p { color: var(--text-2); margin: 0 0 18px; }

/* Long-form pages (privacy, support) */
.doc { max-width: 760px; padding: 32px 0 64px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 8px 0 12px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc li { margin-bottom: 8px; }
.doc b, .doc strong { color: var(--text); }
.updated { color: var(--text-3); font-size: 15px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 12px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.table th { color: var(--text); font-weight: 650; }
.table td:first-child { color: var(--text); font-weight: 600; min-width: 130px; }
.table-scroll { overflow-x: auto; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.note p { margin: 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--text-3); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 28px 0 56px; }
  .panel { justify-self: center; }
  .grid, .join { grid-template-columns: 1fr; }
  .list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .actions .btn { width: 100%; }
  .top .btn { display: none; }
  .card { padding: 20px; }
  section { padding: 44px 0; }
  .table { font-size: 14px; }
}
