/* ============================================================
   Paraphrase — marketing site
   Brand language: dark canvas · orange #ff6600 · sharp corners
   Display: Archivo Black · Body: Archivo · Mono: IBM Plex Mono
   ============================================================ */

:root {
  --bg: #161616;
  --bg-raise: #1a1a1a;
  --panel: #191919;
  --panel-2: #141414;
  --line: #2a2a2a;
  --line-soft: #232323;
  --fg: #ececec;
  --muted: #a3a3a3;
  --dim: #8a8a8a;

  --orange: #ff6600;
  --orange-hi: #ff8a3d;
  --orange-soft: #ffb020;
  --cyan: #45d0ec;
  --emerald: #34d399;
  --amber: #fbbf24;
  --red: #f87171;

  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, var(--cjk), sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, var(--cjk), monospace;
  /* CJK fallback — Noto Sans JP webfont + system CJK fonts, so 日本語 never hits tofu */
  --cjk: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP";

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--orange); color: #16100a; }

a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #444; }

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 36px);
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 3000;
  background: var(--orange);
  color: #16100a;
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .idx { color: var(--orange); }
.eyebrow .tick {
  width: 8px;
  height: 8px;
  background: var(--orange);
  flex: none;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.7rem, 7.4vw, 5.9rem);
  line-height: 0.98;
  margin: 28px 0 0;
}
h1 em {
  font-style: normal;
  color: var(--orange);
}

h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.02;
  margin-top: 22px;
}

.section-sub {
  color: var(--muted);
  max-width: 580px;
  margin-top: 20px;
  font-size: 17px;
}
.section-sub code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--cyan);
}

kbd {
  font-family: var(--mono);
  font-size: 0.82em;
  background: #222;
  border: 1px solid #383838;
  border-bottom-width: 3px;
  padding: 1px 7px;
  border-radius: 0;
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn-lg { padding: 18px 34px; font-size: 14px; }
.btn-solid {
  background: var(--orange);
  color: #16100a;
}
.btn-solid:hover {
  background: var(--orange-hi);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 66px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mark { width: 28px; height: 28px; flex: none; }
.nav-word {
  font-family: var(--display);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-cta { padding: 10px 20px; font-size: 12px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(90px, 13vh, 150px) 0 clamp(70px, 9vh, 110px);
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 0%, black 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 0%, black 25%, transparent 78%);
}
.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-a {
  top: -220px;
  left: -160px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.13), transparent 65%);
}
.hero-glow-b {
  bottom: -260px;
  right: -180px;
  background: radial-gradient(circle, rgba(69, 208, 236, 0.09), transparent 65%);
}
.hero-inner { position: relative; }
.hero-sub {
  max-width: 640px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(16.5px, 1.6vw, 19px);
}
.hero-sub strong { color: var(--fg); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.rise { animation: rise-in 0.9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* scroll reveals (only when JS is on) */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- ticker ---------- */

.ticker {
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker-group span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.ticker-group i {
  width: 5px;
  height: 5px;
  background: var(--orange);
  margin: 0 22px;
  flex: none;
}
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section { padding: clamp(84px, 11vw, 128px) 0; }
.section-alt {
  background: var(--bg-raise);
  border-block: 1px solid var(--line-soft);
}
.section-head { max-width: 760px; }

/* ---------- app mock / demo ---------- */

.app-mock {
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.app-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
}
.tb-dots { display: inline-flex; gap: 7px; }
.tb-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.tb-dots i:first-child { background: #4a4a4a; }
.tb-title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.tb-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
}
.dot-live {
  background: var(--emerald);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.app-toolbar {
  display: flex;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #212121;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}
.seg-btn {
  border-radius: 999px;
  padding: 9px 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.seg-btn:hover { color: var(--fg); }
.seg-btn.is-active {
  background: var(--orange);
  color: #16100a;
  font-weight: 600;
}

.app-body { padding: 26px; min-height: 380px; }
.mode-pane[hidden] { display: none; }

.pane-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.lang-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #1e1e1e;
  padding: 9px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--fg);
}
.lang-select svg { width: 11px; height: 11px; color: var(--dim); }
.swap {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--orange);
  transition: border-color 0.2s, transform 0.3s var(--ease);
}
.swap svg { width: 15px; height: 15px; }
.swap:hover { border-color: var(--orange); transform: rotate(180deg); }

.pane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.io-pane {
  border: 1px solid var(--line-soft);
  background: var(--panel-2);
  padding: 18px 20px;
  min-height: 148px;
}
.io-out { border-color: #3d2a17; }
.io-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.io-text {
  font-size: 16.5px;
  line-height: 1.55;
  min-height: 1.6em;
}

.pill {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  color: var(--dim);
}
.pill-emerald { border-color: color-mix(in srgb, var(--emerald) 45%, transparent); color: var(--emerald); }
.pill-cyan { border-color: color-mix(in srgb, var(--cyan) 45%, transparent); color: var(--cyan); }

.caret {
  display: inline-block;
  width: 3px;
  height: 1.05em;
  background: var(--orange);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.rephrase {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.chip:hover { color: var(--amber); border-color: var(--amber); }
.chip.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: #16100a;
  font-weight: 600;
}
.rephrase-out {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--amber);
  font-size: 15.5px;
  color: var(--fg);
  min-height: 1.6em;
}

/* grammar */
.fix-emerald {
  background: color-mix(in srgb, var(--emerald) 16%, transparent);
  color: var(--emerald);
  padding: 1px 4px;
}
.issues {
  list-style: none;
  margin-top: 18px;
  border: 1px solid var(--line-soft);
}
.issues li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 16px;
}
.issues li + li { border-top: 1px solid var(--line-soft); }
.issues code {
  font-family: var(--mono);
  font-size: 13px;
  background: #222;
  padding: 2px 9px;
}
.issues li code:first-child { color: var(--red); }
.issues li code:nth-of-type(2) { color: var(--emerald); }
.issue-arrow { color: var(--dim); }
.issue-why {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--dim);
}

/* tutor */
.chat-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.chat-head .io-label { margin: 0; }
.chat-title { font-weight: 600; font-size: 14.5px; }
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg {
  max-width: 82%;
  padding: 13px 17px;
  font-size: 15.5px;
  line-height: 1.6;
}
.msg-user {
  align-self: flex-end;
  background: var(--orange);
  color: #16100a;
  border-radius: 14px 14px 3px 14px;
}
.msg-ai {
  align-self: flex-start;
  background: #212121;
  border: 1px solid var(--line-soft);
  border-radius: 14px 14px 14px 3px;
}
.mono { font-family: var(--mono); font-size: 0.88em; }
.fix-cyan { color: var(--cyan); font-weight: 600; }
.chat-foot {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

/* demo notes */
.demo-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line-soft);
}
.demo-notes p {
  padding: 18px 26px 18px 0;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.demo-notes p + p {
  border-left: 1px solid var(--line-soft);
  padding-left: 26px;
}
.demo-notes p::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
  flex: none;
  transform: translateY(-1px);
}

/* ---------- features ---------- */

.feature-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.feature {
  background: var(--bg-raise);
  padding: 30px 28px 34px;
  transition: background 0.25s;
}
.feature:hover { background: #1f1f1f; }
.feature-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--tag, var(--orange));
  border: 1px solid color-mix(in srgb, var(--tag, var(--orange)) 40%, transparent);
  padding: 4px 9px;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature p {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- model / settings ---------- */

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.provider-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.provider-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 17px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.provider-list code {
  font-family: inherit;
  color: var(--orange);
  text-transform: none;
}

.settings-mock {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.settings-title {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--dim);
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.setting-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 13px 20px;
}
.setting-row + .setting-row { border-top: 1px solid var(--line-soft); }
.setting-row label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.setting-row input {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 13px;
}
.setting-row input[readonly] { cursor: default; }
.setting-row input:focus { outline: none; border-color: var(--orange); }
.key-wrap { position: relative; }
.key-note {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid color-mix(in srgb, var(--orange) 45%, transparent);
  padding: 2px 8px;
  pointer-events: none;
}
#m-key { padding-right: 96px; }
.model-wrap { position: relative; }
.model-wrap svg {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  color: var(--dim);
  pointer-events: none;
}
.settings-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
}
.settings-foot .btn { padding: 10px 18px; font-size: 11.5px; }
.test-result {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.test-result.ok { color: var(--emerald); }

/* ---------- privacy ---------- */

.privacy-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.privacy-card {
  background: var(--bg);
  padding: 30px 28px 34px;
}
.privacy-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 12px;
}
.privacy-card .dot {
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: var(--orange);
  flex: none;
}
.privacy-card p { font-size: 15px; color: var(--muted); }
.privacy-card em { color: var(--fg); font-style: normal; }

.privacy-stat {
  margin-top: 26px;
  background: var(--orange);
  color: #16100a;
  padding: clamp(30px, 5vw, 48px) clamp(26px, 4vw, 44px);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.privacy-stat-num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
}
.privacy-stat-txt {
  font-family: var(--mono);
  font-size: clamp(12px, 1.6vw, 15px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- specs ---------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 56px;
}
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table tr:first-child { border-top: 1px solid var(--line-soft); }
.spec-table th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  vertical-align: top;
  padding: 19px 24px 19px 0;
  width: 190px;
  white-space: nowrap;
}
.spec-table td {
  padding: 19px 0;
  font-size: 16px;
  color: var(--fg);
}

/* ---------- download ---------- */

.download { padding-bottom: clamp(90px, 12vw, 140px); }
.dl-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  padding: 30px 28px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.dl-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -30px rgba(255, 102, 0, 0.35);
}
.dl-os {
  font-family: var(--display);
  font-size: 27px;
  text-transform: uppercase;
}
.dl-file {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.dl-cta {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.dl-cta span {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.dl-card:hover .dl-cta span { transform: translateY(3px); }
.dl-note {
  margin-top: 30px;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 60px 0 44px;
  background: var(--bg-raise);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
}
.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer-brand .mark { width: 34px; height: 34px; }
.footer-word {
  font-family: var(--display);
  font-size: 19px;
  text-transform: uppercase;
}
.footer-brand p {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }
.footer-fine {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .model-grid { grid-template-columns: 1fr; }
  .feature-grid, .privacy-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .demo-notes { grid-template-columns: 1fr; border-bottom: 0; }
  .demo-notes p { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
  .demo-notes p + p { border-left: 0; padding-left: 0; }
  .feature-grid, .privacy-grid, .dl-grid { grid-template-columns: 1fr; }
  .pane-grid { grid-template-columns: 1fr; }
  .io-pane { min-height: 0; }
  .issue-why { margin-left: 0; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .spec-table th { display: block; width: 100%; padding-bottom: 4px; }
  .spec-table td { display: block; padding-top: 4px; padding-bottom: 19px; }
  .app-body { padding: 18px; }
  .msg { max-width: 94%; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .caret { animation: none; }
  .dot-live { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
