/* Arka Glycan website: dark navy with an amber accent. Plain CSS, system fonts, no framework. */
:root {
  --navy-950: #070f22;
  --navy-900: #0b1730;
  --navy-800: #12224a;
  --navy-700: #1b3062;
  --line: #26396b;
  --text: #e8edf7;
  --muted: #a9b5cf;
  --amber: #f5a524;
  --amber-soft: #ffc768;
  --on-amber: #1a1205;
  --good: #57c785;
  --radius: 10px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--amber-soft); }
a:hover { color: var(--amber); }
img, svg { max-width: 100%; }
code { background: var(--navy-800); padding: 0 5px; border-radius: 4px; font-size: 0.92em; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); margin: 0 0 16px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* header and footer */
.site-header { background: var(--navy-950); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--amber); }
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); margin-top: 64px; padding: 32px 0; color: var(--muted); font-size: 0.9rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer h4 { color: var(--text); margin: 0 0 8px; font-size: 0.95rem; }

/* sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 400px at 20% -10%, var(--navy-700), transparent); }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--navy-800); cursor: pointer; font-size: 1rem; }
.button:hover { border-color: var(--amber); color: var(--text); }
.button.primary { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.button.primary:hover { background: var(--amber-soft); color: var(--on-amber); }
.pill { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--on-amber); background: var(--amber); border-radius: 999px; padding: 2px 10px; margin-bottom: 14px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { color: var(--text); }
.step-number { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--amber); color: var(--on-amber); font-weight: 700; margin-bottom: 10px; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 24px; position: relative; margin: 6px 0; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }

/* tables scroll inside their box on narrow screens, never the page */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy-800); color: var(--text); font-weight: 600; }
tr:last-child td { border-bottom: none; }
td.num { white-space: nowrap; font-weight: 600; color: var(--amber-soft); }
.yes { color: var(--good); font-weight: 600; }

/* pricing */
.price { font-size: 1.6rem; font-weight: 700; color: var(--text); margin: 6px 0 2px; }
.price small { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan .or { color: var(--muted); font-size: 0.85rem; }
.note { border-left: 3px solid var(--amber); padding: 10px 14px; background: var(--navy-800); border-radius: 0 var(--radius) var(--radius) 0; }

/* forms */
form.beta { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
form.beta .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 0.95rem; }
input, select, textarea { font: inherit; color: var(--text); background: var(--navy-950); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }

/* long-form pages: policies and the user guide */
.prose { max-width: 820px; }
.prose h2 { margin-top: 36px; font-size: 1.4rem; }
.prose h3 { margin-top: 24px; }
.prose li { margin: 4px 0; }
.prose table { min-width: 480px; }
.placeholder { background: var(--amber); color: var(--on-amber); padding: 0 6px; border-radius: 4px; font-weight: 600; }

@media (max-width: 640px) {
  section { padding: 40px 0; }
  .hero { padding: 48px 0 40px; }
  .site-header { position: static; }
}

/* demo video */
.video-frame { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; }
