/* ── Akriva Board — product site ──────────────────────────────────────────
   Product identity: restrained, precise, teal accent. The canvas is the hero;
   chrome disappears. Inter throughout. Numbers over adjectives. */

:root {
  --ink:      #1B2733;   /* Ink Black — pen, primary text */
  --slate:    #5A6B7C;   /* secondary text */
  --mist:     #DCE3EA;   /* lines, borders */
  --mist-2:   #EDF1F5;
  --paper:    #FAFBFC;   /* canvas */
  --board:    #1E3A32;   /* blackboard green */
  --board-2:  #14252E;
  --teal:     #0E7C7B;   /* accent */
  --teal-2:   #0C6C6B;
  --teal-soft:#E3F1F1;
  --amber:    #C77800;
  --card:     #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(20, 34, 46, 0.05);
  --shadow-md: 0 14px 34px -14px rgba(15, 52, 51, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(11, 46, 45, 0.40);
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI Variable", "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--teal-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--teal-soft); color: var(--teal-2); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
code { font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace; font-size: 0.88em;
  background: rgba(14,124,123,0.10); color: var(--teal-2); padding: 1px 6px; border-radius: 5px; }
.band code { background: rgba(95,211,207,0.16); color: #BFEFED; }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--mist);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; max-width: var(--max); margin: 0 auto; }
.brandmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.brandmark:hover { text-decoration: none; }
.brandmark .glyph { width: 26px; height: 26px; border-radius: 7px; display: block; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right a.link { color: var(--slate); font-weight: 500; font-size: 14px; }
.nav-right a.link:hover { color: var(--ink); text-decoration: none; }
.btn-sm {
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: 9px; transition: transform .25s var(--ease), background .25s var(--ease);
}
.btn-sm:hover { text-decoration: none; background: #0f1a22; transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; color: #EAF1F0;
  background:
    radial-gradient(900px 460px at 82% -10%, rgba(14,124,123,0.34), transparent 60%),
    linear-gradient(165deg, var(--board-2), var(--board));
}
.hero::after { /* faint graph-paper, like a board */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(180deg, transparent, #000 22%, #000 72%, transparent);
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 92px 24px 84px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #6FD6D2;
  background: rgba(14,124,123,0.18); border: 1px solid rgba(111,214,210,0.28);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #3FE0A6; box-shadow: 0 0 0 4px rgba(63,224,166,0.18); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; max-width: 15ch; color: #fff; }
.hero h1 .teal { color: #5FD3CF; }
.hero .sub { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: #B9CAC9; max-width: 620px; line-height: 1.6; }

/* download row */
.dl-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.dl {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  background: #fff; color: var(--ink); border-radius: 12px; padding: 11px 18px 11px 15px;
  border: 1px solid transparent; box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dl:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dl svg { width: 24px; height: 24px; flex: none; }
.dl .l1 { display: block; font-size: 11px; color: var(--slate); font-weight: 500; letter-spacing: 0.02em; }
.dl .l2 { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.dl .l2 small { font-weight: 600; color: var(--teal-2); font-size: 11px; letter-spacing: 0.03em; text-transform: uppercase; margin-left: 2px; }

.hero .assurances { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: #A9BEBC; }
.hero .assurances span { display: inline-flex; align-items: center; gap: 7px; }
.hero .assurances span::before { content: ""; width: 15px; height: 15px; flex: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235FD3CF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.hero .preview-link { margin-top: 20px; }
.hero .preview-link a { color: #9AD8D5; font-weight: 600; font-size: 14.5px; }

/* ── Metrics strip ── */
.metrics { border-bottom: 1px solid var(--mist); background: var(--card); }
.metrics .grid { max-width: var(--max); margin: 0 auto; padding: 28px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric .n { font-size: clamp(24px, 3vw, 31px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.metric .n span { color: var(--teal); font-size: 0.55em; font-weight: 600; margin-left: 2px; }
.metric .k { font-size: 13px; color: var(--slate); margin-top: 3px; }

/* ── Sections ── */
section.block { max-width: var(--max); margin: 0 auto; padding: 76px 24px; }
.sec-head { max-width: 660px; margin-bottom: 40px; }
.sec-head .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal-2); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }
.sec-head p { margin-top: 12px; color: var(--slate); font-size: 17px; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; background: var(--card); border: 1px solid var(--mist); border-radius: 16px; padding: 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--teal) 32%, var(--mist)); }
.feature .ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-soft); margin-bottom: 16px; }
.feature .ico svg { width: 23px; height: 23px; stroke: var(--teal-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--slate); }
.feature .plat { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.feature .plat b { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); background: var(--mist-2); border-radius: 6px; padding: 3px 8px; }

/* highlight band (palm erase / offline) */
.band { background: linear-gradient(165deg, var(--board-2), var(--board)); color: #E6EFEE; }
.band .inner { max-width: var(--max); margin: 0 auto; padding: 68px 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.band .tag { color: #6FD6D2; font-size: 12px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.band h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.02em; line-height: 1.14; margin: 12px 0 14px; color: #fff; font-weight: 700; }
.band p { color: #B4C7C5; font-size: 16.5px; }
.band ul { list-style: none; display: grid; gap: 14px; }
.band ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #DCE8E7; }
.band ul li svg { width: 22px; height: 22px; flex: none; margin-top: 1px; stroke: #5FD3CF; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.band ul li b { color: #fff; font-weight: 700; }

/* ── Download section ── */
.download { background: var(--mist-2); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.download .inner { max-width: var(--max); margin: 0 auto; padding: 76px 24px; }
.download .sec-head { margin: 0 auto 40px; text-align: center; }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plat-card {
  background: var(--card); border: 1px solid var(--mist); border-radius: 16px; padding: 26px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.plat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--teal) 30%, var(--mist)); text-decoration: none; }
.plat-card svg.pico { width: 40px; height: 40px; margin-bottom: 10px; fill: var(--ink); }
.plat-card .name { font-size: 17px; font-weight: 700; color: var(--ink); }
.plat-card .meta { font-size: 13px; color: var(--slate); }
.plat-card .avail { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plat-card .avail.ready { color: var(--teal-2); background: var(--teal-soft); }
.plat-card .avail.soon { color: var(--amber); background: #FCF1DE; }
.download .foot-note { margin-top: 30px; text-align: center; color: var(--slate); font-size: 14.5px; }
.download .foot-note b { color: var(--ink); }

/* ── Footer ── */
footer.site { background: var(--ink); color: #AFC0C7; }
footer.site .inner { max-width: var(--max); margin: 0 auto; padding: 52px 24px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
footer.site .co { font-weight: 700; color: #fff; font-size: 15px; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 9px; }
footer.site .co .glyph { width: 24px; height: 24px; border-radius: 6px; }
footer.site p.desc { font-size: 14px; max-width: 42ch; color: #90A4AC; }
footer.site .col-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: #7A8F97; margin-bottom: 14px; }
footer.site ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
footer.site a { color: #AFC0C7; }
footer.site a:hover { color: #fff; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,0.08); }
footer.site .bottom .row { max-width: var(--max); margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #7A8F97; }

/* ── Motion / responsive ── */
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 940px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .band .inner { grid-template-columns: 1fr; gap: 30px; }
  footer.site .inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .nav-right a.link { display: none; }
  .dl { flex: 1 1 100%; }
}
