/* Coral-Life — dark, glass, bento. Plain CSS, no build step. */

:root {
  --bg: #07090E;
  --bg-2: #0B0F19;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #F3F4F6;
  --muted: #A1A8B5;
  --faint: #6B7280;
  --coral: #FF7A6E;
  --coral-2: #FF5D7A;
  --aqua: #5FD4C8;
  --violet: #8B8CF6;
  --grad: linear-gradient(100deg, #FF8A7A 0%, #FF5D7A 40%, #5FD4C8 100%);
  --radius: 22px;
  --radius-lg: 28px;
  --header-h: 72px;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text-2: #D7DBE2;
  --surface-hover: rgba(255, 255, 255, 0.05);
  --surface-press: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(7, 9, 14, .62);
  --menu-bg: rgba(11, 15, 25, .96);
  --input-bg: rgba(0, 0, 0, .28);
  --grid-line: rgba(255, 255, 255, .035);
  --pill-text: #FFB3A9;
  --error: #FF9AA8;
  --contrast-bg: #fff;
  --contrast-fg: #0B0F19;
  --glow-strength: 1;
  color-scheme: dark;
}

/* Light theme: used when the device prefers light (unless the visitor chose dark),
   or when the visitor chose light with the toggle. Keep both blocks identical. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F7F5F2; --bg-2: #FFFFFF;
    --surface: rgba(255, 255, 255, .72); --surface-2: rgba(255, 255, 255, .9);
    --surface-hover: rgba(255, 255, 255, .95); --surface-press: rgba(15, 23, 42, .06);
    --line: rgba(15, 23, 42, .09); --line-strong: rgba(15, 23, 42, .16);
    --text: #0F172A; --text-2: #334155; --muted: #526070; --faint: #74808F;
    --coral: #D9483F; --coral-2: #E0457A; --aqua: #0F8A7E; --violet: #5558E3;
    --grad: linear-gradient(100deg, #F0605A 0%, #E0457A 45%, #13A396 100%);
    --header-bg: rgba(247, 245, 242, .72); --menu-bg: rgba(255, 255, 255, .98);
    --input-bg: #FFFFFF; --grid-line: rgba(15, 23, 42, .05);
    --pill-text: #C2413A; --error: #C62F48;
    --contrast-bg: #0F172A; --contrast-fg: #FFFFFF;
    --glow-strength: .7;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F7F5F2; --bg-2: #FFFFFF;
  --surface: rgba(255, 255, 255, .72); --surface-2: rgba(255, 255, 255, .9);
  --surface-hover: rgba(255, 255, 255, .95); --surface-press: rgba(15, 23, 42, .06);
  --line: rgba(15, 23, 42, .09); --line-strong: rgba(15, 23, 42, .16);
  --text: #0F172A; --text-2: #334155; --muted: #526070; --faint: #74808F;
  --coral: #D9483F; --coral-2: #E0457A; --aqua: #0F8A7E; --violet: #5558E3;
  --grad: linear-gradient(100deg, #F0605A 0%, #E0457A 45%, #13A396 100%);
  --header-bg: rgba(247, 245, 242, .72); --menu-bg: rgba(255, 255, 255, .98);
  --input-bg: #FFFFFF; --grid-line: rgba(15, 23, 42, .05);
  --pill-text: #C2413A; --error: #C62F48;
  --contrast-bg: #0F172A; --contrast-fg: #FFFFFF;
  --glow-strength: .7;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background-color .3s ease, color .3s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--coral-2); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); font-size: 1.1rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#top, section[id] { scroll-margin-top: var(--header-h); }

/* ---- Glass surface ---------------------------------------------------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(100deg, var(--coral) 0%, var(--coral-2) 100%);
  box-shadow: 0 10px 30px -10px rgba(255, 93, 122, .6);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 93, 122, .75); }
.btn:active { transform: translateY(0); }
.btn-light { background: var(--contrast-bg); color: var(--contrast-fg); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .45); }
.btn-light:hover { color: var(--contrast-fg); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55); }
.btn-secondary {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line-strong);
  box-shadow: none;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.btn-secondary:hover { color: var(--text); background: var(--surface-press); box-shadow: none; }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: .95rem; border-radius: 12px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav .brand { margin-right: auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand img { border-radius: 11px; box-shadow: 0 0 28px -6px rgba(255, 122, 110, .55); }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Theme toggle */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { background: var(--surface-press); transform: rotate(-12deg); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Show the icon of the theme you'd switch TO: moon in light, sun in dark. */
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 10vw, 120px) clamp(56px, 8vw, 96px);
  overflow: hidden;
  text-align: center;
}
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: var(--glow-strength);
  z-index: 0;
}
.glow-coral { width: 620px; height: 620px; background: rgba(255, 93, 122, .16); top: -220px; left: 50%; transform: translateX(-60%); }
.glow-aqua { width: 460px; height: 460px; background: rgba(95, 212, 200, .13); top: 120px; left: 8%; }
.glow-violet { width: 420px; height: 420px; background: rgba(139, 140, 246, .1); top: 260px; right: 2%; }
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pill-text);
  margin-bottom: 28px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 122, 110, .6);
}
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 2.2s ease-out infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 110, .55); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(255, 122, 110, 0); }
}
.hero h1 { max-width: 15ch; margin-inline: auto; }
.lede {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-block: 36px 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-size: .9rem;
  font-weight: 500;
}
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
}

/* Hero device mockup */
.device {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: clamp(56px, 8vw, 88px) auto 0;
  padding: 14px;
  border-radius: 34px;
  box-shadow: 0 40px 120px -40px rgba(255, 93, 122, .35), 0 0 0 1px rgba(255, 255, 255, .04) inset;
}
.device-screen {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0E1320;
  aspect-ratio: 16 / 9.4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.pane { position: relative; display: flex; align-items: center; justify-content: center; }
.pane-before { background: radial-gradient(ellipse at 50% 40%, #2A2230 0%, #141823 75%); }
.pane-after { background: radial-gradient(ellipse at 50% 40%, #233038 0%, #121A22 75%); }
.pane svg { width: 58%; height: auto; }
.pane-label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #F3F4F6;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
}
.pane-after .pane-label { left: auto; right: 14px; }
.guide {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(95, 212, 200, .35);
  pointer-events: none;
}
.guide-eyes { top: 41%; }
.guide-chin { top: 71%; }
.split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .85) 20%, rgba(255, 255, 255, .85) 80%, transparent);
}
.split-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0F19' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
}
.device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px 2px;
  font-size: .85rem;
  color: var(--muted);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip.is-on { color: #0B0F19; background: var(--aqua); border-color: transparent; }

/* ---- Bento ------------------------------------------------------------ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}
.tile:hover { border-color: rgba(255, 122, 110, .38); background: var(--surface-hover); transform: translateY(-3px); }
.tile-wide { grid-column: span 2; }
.tile p { color: var(--muted); margin: 0; max-width: 48ch; }
.tile-art {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(4px);
  transition: transform .5s ease;
}
.tile:hover .tile-art { transform: scale(1.08); }
.art-coral { width: 360px; height: 360px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(255, 93, 122, .2), transparent 65%); }
.art-aqua { width: 360px; height: 360px; right: -120px; bottom: -160px; background: radial-gradient(circle, rgba(95, 212, 200, .18), transparent 65%); }
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid;
}
.icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ib-coral { color: var(--coral); background: rgba(255, 122, 110, .1); border-color: rgba(255, 122, 110, .25); }
.ib-aqua { color: var(--aqua); background: rgba(95, 212, 200, .1); border-color: rgba(95, 212, 200, .25); }
.ib-violet { color: var(--violet); background: rgba(139, 140, 246, .1); border-color: rgba(139, 140, 246, .25); }
.ib-pink { color: #FF8FB1; background: rgba(255, 143, 177, .1); border-color: rgba(255, 143, 177, .25); }
.tile-foot {
  margin-top: auto;
  padding-top: 26px;
  font-size: .85rem;
  font-weight: 600;
}
.tile-foot.coral { color: var(--coral); }
.tile-foot.aqua { color: var(--aqua); }
.tile-foot.violet { color: var(--violet); }
.tile-foot.pink { color: #FF8FB1; }
.tile .chips { margin-top: 24px; }

.timeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 26px;
}
.timeline span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 14px rgba(139, 140, 246, .6);
  flex: none;
}
.timeline i { flex: 1; height: 2px; background: linear-gradient(90deg, rgba(139, 140, 246, .6), rgba(139, 140, 246, .15)); }

.fade-demo {
  margin-top: 26px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3A2F3A, var(--coral-2) 50%, var(--aqua));
  position: relative;
}
.fade-demo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 62%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .5);
}

/* ---- Privacy ---------------------------------------------------------- */
.privacy-panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.privacy-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 122, 110, .5), rgba(255, 255, 255, .04) 40%, rgba(95, 212, 200, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.privacy-panel p { color: var(--muted); margin: 0; }
.privacy-panel .eyebrow { color: var(--coral); margin-bottom: 14px; }
.assurances {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.assurances li {
  padding: 20px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.35;
}
.assurances li::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: rgba(95, 212, 200, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235FD4C8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---- Plans ------------------------------------------------------------ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan--featured {
  background: linear-gradient(180deg, rgba(255, 93, 122, .12), rgba(255, 255, 255, .03) 55%);
  border-color: rgba(255, 122, 110, .45);
  box-shadow: 0 30px 80px -40px rgba(255, 93, 122, .6);
}
.plan--featured:hover { border-color: rgba(255, 122, 110, .7); }
.badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(100deg, var(--coral), var(--coral-2));
}
.plan h3 { font-size: 1.5rem; margin-bottom: .25em; }
.plan-for { color: var(--muted); }
.plan ul { list-style: none; margin: 8px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--line); flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; color: var(--text-2); }
.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(255, 122, 110, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7A6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan .btn { width: 100%; }

/* ---- Contact ---------------------------------------------------------- */
.contact-panel {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 32px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 8px; min-width: 0; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--text-2); }
input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background-color: var(--input-bg);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A1A8B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
select option { background: var(--bg-2); color: var(--text); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(95, 212, 200, .15); }
[aria-invalid="true"] { border-color: var(--coral-2); box-shadow: 0 0 0 4px rgba(255, 93, 122, .12); }
.field-error { color: var(--error); font-size: .85rem; min-height: 1.4em; margin: 6px 0 0; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-panel .btn[type="submit"] { width: 100%; margin-top: 10px; }
#form-status { margin-top: 18px; }
#form-status:empty { display: none; }
#form-status.success, #form-status.error, #form-status.info {
  padding: 14px 18px;
  border-radius: 14px;
}
#form-status.success { background: rgba(95, 212, 200, .1); border: 1px solid rgba(95, 212, 200, .4); }
#form-status.info { background: var(--surface-2); border: 1px solid var(--line-strong); }
#form-status.error { background: rgba(255, 93, 122, .1); border: 1px solid rgba(255, 93, 122, .45); }
.mail-fallback { margin: 26px 0 0; text-align: center; color: var(--muted); overflow-wrap: anywhere; }

/* ---- Prose (privacy page) -------------------------------------------- */
.prose .container { max-width: 760px; }
.prose-card { padding: clamp(28px, 5vw, 56px); border-radius: 32px; }
.h1-page { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p { color: var(--text-2); }
.meta { color: var(--faint); font-size: .95rem; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 36px;
  background: linear-gradient(180deg, transparent, rgba(255, 93, 122, .04));
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-line { color: var(--muted); max-width: 42ch; margin: 14px 0 0; }
.footer-links { display: flex; gap: 28px; align-items: flex-start; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--text); }
.copyright { color: var(--faint); font-size: .9rem; margin: 40px 0 0; }

/* ---- Scroll reveal (only when JS is running) -------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .privacy-panel { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .theme-toggle { order: -1; }
  .nav .brand { order: -2; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--header-h) - 4px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 20px;
    background: var(--menu-bg);
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-size: 1rem; color: var(--text); }
  .nav-links a:not(.btn):hover { background: var(--surface-2); }
  .nav-links .btn { margin-top: 6px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile { padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .assurances { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .device { padding: 8px; border-radius: 22px; }
  .device-screen { border-radius: 16px; aspect-ratio: 4 / 3.2; }
  .device-bar { flex-direction: column; align-items: flex-start; }
  .split-handle::after { width: 30px; height: 30px; background-size: 16px; }
}
