/* ==========================================================================
   iLurna Technologies — site stylesheet (v16, dark premium)
   Every page except /privacy-policy and /terms-conditions, which carry their
   own inline styles. Near-black canvas, one green accent, grid lines and
   cards whose border lights up under the pointer. Dark only.
   ========================================================================== */

:root {
  --bg: #07090c;
  --bg-2: #0b0e13;
  --card: rgba(255, 255, 255, 0.025);
  --card-hover: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f6f8;
  --text-2: #b4bcc6;
  --muted: #7c8693;
  --accent: #34d399;
  --accent-2: #10b981;
  --accent-soft: rgba(52, 211, 153, 0.14);

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #04110b; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.kicker {
  display: inline-block;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}

/* Headings: white fading to grey, accent word in green */
h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #fff 30%, #a9b2bd);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(180deg, #6ee7b7, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--text); color: #07090c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 30px -10px rgba(52, 211, 153, 0.45);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 40px -10px rgba(52, 211, 153, 0.7); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.24); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.text-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo img { width: 34px; height: 34px; filter: drop-shadow(0 0 14px rgba(52, 211, 153, 0.35)); }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo b { font: 700 21px/1 var(--display); letter-spacing: -0.03em; }
.logo small { margin-top: 3px; font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* Scroll reveal — content stays visible when scripts do not run */
.js .rv { opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-stuck {
  background: rgba(7, 9, 12, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-color: var(--line);
}
.nav-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-links {
  display: flex; gap: 4px; margin: 0 auto;
  padding: 4px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.nav-links a {
  padding: 7px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.08); }

.menu-btn {
  display: none; place-items: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: none; border: 1px solid var(--line-2);
}
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease); }
.menu-btn span + span { margin-top: 5px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; margin-top: -72px; padding: 152px 0 112px; isolation: isolate; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.hero-beam {
  position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-30%);
  background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.22), transparent 62%);
  filter: blur(10px);
}
.hero-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 48px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 12px var(--accent); }

.hero h1 {
  margin: 28px 0 24px;
  font-size: clamp(2.9rem, 6vw, 5.1rem);
  line-height: 1.02;
}
.hero-lead { font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Orbit — the four apps circling the iLurna mark */
.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-left: auto; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); }
.ring-1 { inset: 31%; border-color: rgba(52, 211, 153, 0.35); box-shadow: 0 0 60px -10px rgba(52, 211, 153, 0.35) inset; }
.ring-2 { inset: 13%; border-style: dashed; }
.ring-3 { inset: 0; border-color: var(--line); }
.core {
  position: absolute; inset: 40%;
  display: grid; place-items: center;
  border-radius: 28%;
  background: linear-gradient(180deg, #121821, #0b0f15);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 10px rgba(52, 211, 153, 0.05), 0 0 80px rgba(52, 211, 153, 0.35);
}
.core img { width: 58%; height: auto; }
.spin { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.sat {
  position: absolute;
  left: calc(50% + 37% * cos(var(--a)));
  top: calc(50% + 37% * sin(var(--a)));
  width: 0; height: 0;
}
.sat-in {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: max-content;
  transform: translate(-50%, -50%);
  animation: spin 60s linear infinite reverse;
}
.sat-in img {
  flex: none; max-width: none;
  width: 68px; height: 68px; border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 40px -8px rgba(0, 0, 0, 0.8);
}
.sat-in span {
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  background: rgba(7, 9, 12, 0.8); border: 1px solid var(--line);
  white-space: nowrap;
}
@keyframes spin { to { rotate: 360deg; } }
.orbit:hover .spin, .orbit:hover .sat-in { animation-play-state: paused; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: 112px 0; border-top: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; margin-bottom: 56px; }
.head h2 { margin-top: 16px; font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1.08; }
.head-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 380px; }
.head-side p { font-size: 15.5px; line-height: 1.7; color: var(--text-2); }

/* Cards — a border that lights up where the pointer is */
.cards { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.card:hover { background: var(--card-hover); }
.spot::before, .spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.35s;
}
.spot::before {
  padding: 1px;
  background: radial-gradient(320px circle at var(--x, 50%) var(--y, 0%), rgba(52, 211, 153, 0.75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.spot::after { background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(52, 211, 153, 0.07), transparent 50%); }
.spot:hover::before, .spot:hover::after { opacity: 1; }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.14), rgba(52, 211, 153, 0.04));
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.card-icon svg { width: 26px; height: 26px; }
.card-num { font: 500 13px/1 var(--body); color: var(--muted); font-variant-numeric: tabular-nums; }
.card h3 { font: 600 20px/1.3 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.65; color: var(--text-2); }

/* App cards */
.app { display: flex; flex-direction: column; min-height: 320px; }
.app:hover { transform: translateY(-4px); }
.app-glow {
  position: absolute; left: -10%; top: -30%; width: 120%; height: 70%; z-index: -1;
  background-size: cover; background-position: center;
  filter: blur(60px) saturate(1.4);
  opacity: 0.22;
  transition: opacity 0.4s;
}
.app { isolation: isolate; }
.app:hover .app-glow { opacity: 0.38; }
.app-icon { width: 72px; height: 72px; border-radius: 20px; margin-bottom: auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 16px 40px -10px rgba(0, 0, 0, 0.9); }
.app-cat { margin-top: 40px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.app h3 { margin: 8px 0 6px; font-size: 22px; }
.app p { font-size: 14.5px; }
.app-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  transition: color 0.2s;
}
.app-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.app:hover .app-link { color: var(--accent); }
.app:hover .app-link svg { transform: translate(2px, -2px); }

/* ==========================================================================
   CTA
   ========================================================================== */
.section-cta { padding-top: 40px; border-top: 0; }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 8vw, 104px) 32px;
  border-radius: 28px;
  text-align: center;
  border: 1px solid var(--line-2);
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(52, 211, 153, 0.2), transparent 70%), var(--bg-2);
}
.cta-grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 75%);
}
.cta h2 { margin: 18px auto 0; font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.06; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot { border-top: 1px solid var(--line); padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 56px; align-items: start; padding-bottom: 56px; }
.foot-brand p { margin-top: 20px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.foot-contact { margin-top: 16px; font-style: normal; font-size: 14px; line-height: 1.8; color: var(--muted); }
.foot-contact a { color: var(--text-2); }
.foot-contact a:hover { color: var(--accent); }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 48px; padding-right: 56px; border-right: 1px solid var(--line); }
.foot-links a { font-size: 14.5px; color: var(--text-2); transition: color 0.2s; }
.foot-links a:hover { color: var(--text); }
.foot-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.social { display: flex; gap: 8px; }
.social a {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); color: var(--text-2);
  transition: color 0.2s, border-color 0.2s;
}
.social a:hover { color: var(--accent); border-color: rgba(52, 211, 153, 0.4); }
.social svg { width: 18px; height: 18px; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px;
  padding: 24px 0 32px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.foot-bottom nav { display: flex; gap: 28px; }
.foot-bottom a:hover { color: var(--text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 18px;
    border-radius: 0; border: 0; border-bottom: 1px solid var(--line);
    background: rgba(7, 9, 12, 0.96);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a.is-active { background: none; color: var(--accent); }
  .nav-row > .btn { margin-left: auto; }
  .menu-btn { display: grid; }

  .hero { padding: 128px 0 80px; }
  .hero-row { grid-template-columns: 1fr; gap: 64px; }
  .orbit { margin: 0 auto; width: min(100%, 440px); }
  .cards-3 { grid-template-columns: 1fr; }
  .section { padding: 88px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-links { padding-right: 0; border-right: 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .nav-row { height: 64px; gap: 10px; }
  .hero { margin-top: -64px; padding: 112px 0 64px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.1rem); }
  .hero-lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .sat-in img { width: 52px; height: 52px; border-radius: 14px; }
  .sat-in span { font-size: 11px; }
  .cards-4 { grid-template-columns: 1fr; }
  .app { min-height: 0; }
  .card-top { margin-bottom: 32px; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 40px; }
  .cta { border-radius: 22px; padding: 56px 20px; }
  .cta-actions .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; filter: none; transition: none; }
  .spin, .sat-in { animation: none; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* Page header — the home hero's grid and beam, shorter */
.page-hero { position: relative; overflow: hidden; margin-top: -72px; padding: 168px 0 88px; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .hero-beam { transform: translateX(-50%); left: 50%; }
.page-hero h1 { margin: 24px 0 0; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; max-width: 15em; }
.page-hero p { margin-top: 22px; font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 36em; }
.crumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span { opacity: 0.5; }

/* Two columns: heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.split h2 { margin-top: 16px; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; }
.split-side { position: sticky; top: 112px; }
.prose p { font-size: 17px; line-height: 1.8; color: var(--text-2); }
.prose p + p { margin-top: 20px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }

/* Fact tiles */
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 72px; }
.fact { padding: 26px 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.fact b { display: block; font: 600 28px/1.1 var(--display); letter-spacing: -0.03em; color: var(--text); }
.fact span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Plain cards with an icon (values, feature details) */
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile .card-icon { margin-bottom: 32px; }
.tile-tag { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* Feature rows (Learn page) — artwork one side, copy the other */
.rows { display: grid; gap: 24px; }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 40px;
  border-radius: 28px;
}
.row:nth-child(even) .row-media { order: 2; }
.row-media {
  position: relative; display: flex; justify-content: center; gap: 16px;
  padding: 28px; border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(52, 211, 153, 0.12), transparent 70%), rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}
.row-media img { border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9); }
.row-media--phones img { width: 44%; border: 5px solid #000; border-radius: 22px; }
.row-media--phones img:last-child { transform: translateY(24px); }
.row-id { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.row-id img { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.row-id b { display: block; font: 600 22px/1.1 var(--display); letter-spacing: -0.02em; }
.row-id span { display: block; margin-top: 5px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.card.row h2 { font: 600 clamp(1.7rem, 2.8vw, 2.3rem)/1.15 var(--display); letter-spacing: -0.03em; margin-bottom: 14px; }
.row-desc { font-size: 16px; line-height: 1.75; color: var(--text-2); }

.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.checks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
.checks strong { color: var(--text); font-weight: 600; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.meta { font-size: 13px; color: var(--muted); }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Pricing plans */
.plan { display: flex; flex-direction: column; padding: 32px; }
.plan .row-id { margin-bottom: 28px; }
.card .row-id .plan-name { margin: 0; font: 600 22px/1.1 var(--display); }
.price { display: flex; align-items: baseline; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.price b { font: 600 44px/1 var(--display); letter-spacing: -0.04em; }
.price span { font-size: 14px; color: var(--muted); }
.plan .checks { margin-bottom: 28px; }
.plan .row-actions { margin-top: auto; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font: 600 17px/1.4 var(--display); letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 52px 24px 0; font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.faq .faq-a a { color: var(--accent); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.form-card { padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field .req { color: var(--accent); }
.input {
  width: 100%; padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit; font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder { color: #5b6470; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: rgba(255, 255, 255, 0.05); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4bcc6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
select.input option { background: #0b0e13; color: var(--text); }
textarea.input { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 24px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.form-alert { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.form-alert.show { display: block; }
.form-alert--success { background: var(--accent-soft); border: 1px solid rgba(52, 211, 153, 0.35); color: #a7f3d0; }
.form-alert--error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: #fecaca; }
.info-list { display: grid; gap: 16px; }
.info { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 24px; }
.info .card-icon { width: 52px; height: 52px; }
.info h3 { font-size: 17px; margin-bottom: 6px; }
.info p { font-size: 14.5px; }
.info a { color: var(--accent); }

/* Account deletion steps */
.steps { list-style: none; counter-reset: step; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center;
  font-size: 15px; color: var(--text-2);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  font: 600 14px/1 var(--display); color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(52, 211, 153, 0.25);
}
.steps strong, .card strong { color: var(--text); font-weight: 600; }
.card h2 { font: 600 22px/1.25 var(--display); letter-spacing: -0.02em; margin-bottom: 8px; background: none; color: var(--text); }
.card-wide { grid-column: 1 / -1; }
.warn { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; color: #fde68a; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.25); }
.card .checks { margin-top: 16px; }
.card a:not(.btn) { color: var(--accent); }

/* Error pages */
.error { position: relative; overflow: hidden; margin-top: -72px; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; isolation: isolate; }
.error .hero-beam { left: 50%; transform: translateX(-50%); }
.error-code { font: 700 clamp(6rem, 18vw, 11rem)/0.9 var(--display); letter-spacing: -0.06em; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.08)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error h1 { margin-top: 18px; font-size: clamp(2rem, 4vw, 2.8rem); }
.error p { margin: 16px auto 0; max-width: 30em; color: var(--text-2); }
.error .cta-actions { margin-top: 36px; }

@media (max-width: 960px) {
  .page-hero { padding: 136px 0 64px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-side { position: static; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .row { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .row:nth-child(even) .row-media { order: 0; }
  .cards-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page-hero { margin-top: -64px; padding: 116px 0 52px; }
  .page-hero p { font-size: 16.5px; }
  .row { padding: 20px; border-radius: 22px; }
  .row-media { padding: 18px; }
  .form-card { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .plan { padding: 24px; }
  .faq .faq-a { padding-right: 0; }
  .error { margin-top: -64px; }
}
