/* =========================================================
   Asuh — Landing page styles
   Brand: cream warm, caramel accent, ink. Dawn / horizon motif.
   ========================================================= */

:root {
  /* Warm light palette */
  --cream: #fffaf5;
  --cream-2: #fdf3e9;
  --cream-3: #f8e8d6;
  --caramel: #c77d4a;
  --caramel-strong: #a8622f;
  --caramel-soft: #e8b98a;
  --sun: #f0a24f;
  --ink: #33271e;
  --ink-2: #6d5c4f;
  --ink-3: #9b897b;
  --line: #efe0cf;
  --card: #ffffff;
  --green: #6ba777;
  --green-soft: #e6f1e6;
  --peach: #d98b6a;
  --peach-soft: #fbe7dd;

  --shadow-sm: 0 2px 8px rgba(122, 84, 45, .07);
  --shadow: 0 14px 40px -14px rgba(122, 84, 45, .28);
  --shadow-lg: 0 40px 80px -30px rgba(90, 58, 25, .38);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  --maxw: 1160px;
  --shell: 28rem;

  --bg: var(--cream);
  --fg: var(--ink);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

/* Night mode */
body.night {
  --cream: #1b1613;
  --cream-2: #221b16;
  --cream-3: #2c231c;
  --ink: #f4e9dd;
  --ink-2: #c8b6a6;
  --ink-3: #93826f;
  --line: #362b22;
  --card: #241d18;
  --caramel-soft: #d79a63;
  --green-soft: #24322a;
  --peach-soft: #37271f;
  --shadow: 0 14px 40px -14px rgba(0, 0, 0, .55);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .7);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
  --bg: var(--cream);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .4s ease, color .4s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--caramel-strong); }
code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .86em;
  background: var(--cream-3);
  padding: .1em .4em;
  border-radius: 6px;
  color: var(--caramel-strong);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: linear-gradient(100deg, var(--sun), var(--caramel));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: .72em 1.3em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: linear-gradient(180deg, var(--sun), var(--caramel));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(199, 125, 74, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(199, 125, 74, .9); }

.btn--soft {
  background: var(--cream-3);
  color: var(--caramel-strong);
  border-color: var(--line);
}
.btn--soft:hover { background: var(--cream-2); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--caramel-soft); color: var(--caramel-strong); }

.btn--lg { padding: .95em 1.7em; font-size: 1.02rem; }
.btn--sm { padding: .5em .95em; font-size: .82rem; }
.btn--block { width: 100%; }

/* ---------- Pills / eyebrow ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: .82rem;
  font-weight: 600;
  padding: .4em .9em;
  border-radius: var(--radius-pill);
  background: var(--cream-3);
  color: var(--caramel-strong);
  border: 1px solid var(--line);
}
.pill--sun { background: linear-gradient(90deg, #fde6cf, #fbdcc0); color: #97531f; border-color: #f4cfa4; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--caramel-soft); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-3);
  border: 1px solid var(--line);
}
.brand__mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -.01em;
}

.nav__links { display: flex; gap: 6px; margin-left: 14px; }
.nav__links a {
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-2);
  padding: .5em .85em;
  border-radius: var(--radius-pill);
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--caramel-strong); background: var(--cream-3); }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.theme-toggle {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--cream-3);
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--caramel-strong);
  display: grid; place-items: center;
  transition: transform .2s var(--ease-out), background .2s ease;
}
.theme-toggle:hover { transform: rotate(-12deg); }
.theme-toggle:active { transform: scale(.9); }
.theme-toggle__ico {
  position: absolute; inset: 0; margin: auto;
  width: 19px; height: 19px;
  transition: opacity .25s ease, transform .4s var(--ease-out);
}
.theme-toggle__ico--sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme-toggle__ico--moon { opacity: 1; transform: none; }
body.night .theme-toggle__ico--moon { opacity: 0; transform: rotate(90deg) scale(.5); }
body.night .theme-toggle__ico--sun { opacity: 1; transform: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--cream-3);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.nav__burger span {
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
}
.nav__mobile a {
  padding: .7em .2em;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a.btn { border: 1px solid transparent; margin-top: 8px; color: #fff; }
.nav__mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -220px; right: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(240, 162, 79, .35), rgba(240, 162, 79, 0) 62%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
body.night .hero__glow { background: radial-gradient(circle at 50% 50%, rgba(240, 162, 79, .22), rgba(240, 162, 79, 0) 62%); }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 3.7rem);
  margin: 20px 0 18px;
}
.hero__lead {
  font-size: 1.12rem;
  color: var(--ink-2);
  max-width: 33ch;
  margin-bottom: 28px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0; margin: 0;
  font-size: .9rem;
  color: var(--ink-2);
}
.hero__badges li { display: flex; align-items: center; gap: .4em; }
.hero__badges li::before { content: "\2713"; color: var(--green); font-weight: 800; }
.hero__badges b { color: var(--ink); }

/* ---------- Phone mockup ---------- */
.hero__device { position: relative; display: grid; place-items: center; }

.phone {
  position: relative;
  width: 300px;
  background: var(--card);
  border: 10px solid #2a221c;
  border-radius: 42px;
  padding: 14px 12px;
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
body.night .phone { border-color: #0e0b09; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone__notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 20px;
  background: #2a221c;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
body.night .phone__notch { background: #0e0b09; }

.phone__screen {
  position: relative;
  background: var(--cream);
  border-radius: 30px;
  overflow: hidden;
  line-height: 0;
}
.phone__screen picture { display: contents; }
.phone__shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}
.phone__shot--dark { display: none; }
body.night .phone__shot--light { display: none; }
body.night .phone__shot--dark { display: block; }

.appbar { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 14px; }
.appbar__hi { display: flex; flex-direction: column; }
.appbar__hello { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.appbar__baby { font-size: .74rem; color: var(--ink-3); }
.appbar__ava {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--caramel-soft), var(--sun));
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.mood {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(120deg, #3a2f4d, #4d3b52);
  color: #fff;
  border-radius: 20px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.mood__art { font-size: 2rem; }
.mood__meta { display: flex; flex-direction: column; }
.mood__meta b { font-family: var(--font-display); font-size: 1.05rem; }
.mood__meta span { font-size: .76rem; opacity: .82; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}
.stat__k { display: block; font-size: .68rem; color: var(--ink-3); margin-bottom: 2px; }
.stat b { font-size: .95rem; color: var(--ink); }

.asicard {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, var(--green-soft), var(--card));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.asicard__k { display: block; font-size: .72rem; color: var(--ink-3); }
.asicard__v { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.chip {
  font-size: .72rem; font-weight: 600;
  padding: .3em .7em; border-radius: var(--radius-pill);
}
.chip--up { background: var(--green); color: #fff; }

.loglist { display: flex; flex-direction: column; gap: 8px; }
.logitem {
  display: flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 11px;
}
.logitem__t { font-size: .72rem; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 34px; }
.logitem__i {
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center; font-size: .95rem;
  background: var(--cream-3);
}
.logitem__i--feed { background: #fbe7dd; }
.logitem__i--diaper { background: #e7eefb; }
.logitem__i--pump { background: var(--green-soft); }
.logitem__b { display: flex; flex-direction: column; line-height: 1.25; }
.logitem__b b { font-size: .82rem; color: var(--ink); }
.logitem__b span { font-size: .7rem; color: var(--ink-3); }

.fab {
  position: absolute;
  right: 20px; bottom: 22px;
  width: 52px; height: 52px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(180deg, var(--sun), var(--caramel));
  color: #fff;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px -8px rgba(199, 125, 74, .8);
}

.device-toast {
  position: absolute;
  top: 14%; left: -18px;
  background: var(--ink);
  color: var(--cream);
  font-size: .8rem;
  padding: .6em 1.05em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: toastPulse 5s ease-in-out infinite;
}
.device-toast u { color: var(--caramel-soft); text-decoration: none; border-bottom: 1px dashed currentColor; }
@keyframes toastPulse {
  0%, 12%, 100% { opacity: 0; transform: translateY(10px); }
  20%, 55% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(-6px); }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--cream-2); }
.trust__row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 18px 24px;
  font-size: .88rem; color: var(--ink-2);
}
.trust__roles { display: flex; flex-wrap: wrap; gap: 8px; }
.trust__roles span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .35em .8em;
  font-weight: 600;
  color: var(--ink);
  font-size: .82rem;
}
.trust__tag { margin-left: auto; font-style: italic; color: var(--caramel-strong); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--cream-2); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section__head p { color: var(--ink-2); font-size: 1.06rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Problem cards ---------- */
.card {
  background: linear-gradient(158deg, var(--card) 55%, var(--cream-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--caramel-strong);
  background: linear-gradient(145deg, var(--cream-3), color-mix(in srgb, var(--caramel-soft) 45%, var(--cream-2)));
  border: 1px solid color-mix(in srgb, var(--caramel-soft) 60%, var(--line));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  margin-bottom: 16px;
  transition: transform .25s ease;
}
.card__ico svg { width: 24px; height: 24px; display: block; }
.card:hover .card__ico { transform: translateY(-2px) rotate(-4deg); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Feature cards ---------- */
.feature {
  position: relative;
  background: linear-gradient(158deg, var(--card) 55%, var(--cream-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--sun), var(--caramel));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--caramel-soft); }
.feature:hover::before { transform: scaleX(1); }
.feature__ico {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  color: var(--caramel-strong);
  background: linear-gradient(145deg, var(--cream-3), color-mix(in srgb, var(--caramel-soft) 45%, var(--cream-2)));
  border: 1px solid color-mix(in srgb, var(--caramel-soft) 60%, var(--line));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  margin-bottom: 18px;
  transition: transform .25s ease;
}
.feature__ico svg { width: 26px; height: 26px; display: block; }
.feature:hover .feature__ico { transform: translateY(-2px) rotate(-4deg); }
.feature h3 { font-size: 1.22rem; margin-bottom: 10px; }
.feature p { color: var(--ink-2); font-size: .96rem; }

/* ---------- Tour ---------- */
.tour {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.tour__tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 92px; }
.tour__tab {
  display: flex; align-items: center; gap: 12px;
  text-align: left;
  font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.tour__tabico {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  color: var(--caramel-strong);
  background: linear-gradient(145deg, var(--cream-3), color-mix(in srgb, var(--caramel-soft) 45%, var(--cream-2)));
  border: 1px solid color-mix(in srgb, var(--caramel-soft) 60%, var(--line));
  transition: background .2s ease, color .2s ease;
}
.tour__tabico svg { width: 20px; height: 20px; display: block; }
.tour__tab:hover { transform: translateX(3px); border-color: var(--caramel-soft); }
.tour__tab:active { transform: translateX(3px) scale(.98); }
.tour__tab.is-active {
  color: var(--caramel-strong);
  border-color: var(--caramel);
  background: linear-gradient(120deg, var(--cream-3), var(--card));
  box-shadow: var(--shadow-sm);
}
.tour__tab.is-active .tour__tabico { background: linear-gradient(180deg, var(--sun), var(--caramel)); border-color: transparent; color: #fff; }

.tour__panels {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  min-height: 300px;
}
.tour__panel { display: none; animation: fadeUp .35s ease; }
.tour__panel.is-active { display: block; }
.tour__pill {
  display: inline-block; font-size: .78rem; font-weight: 600;
  color: var(--ink-3); margin-bottom: 14px;
}
.tour__panel h3 { font-size: 1.5rem; margin-bottom: 12px; }
.tour__panel > p { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 20px; max-width: 52ch; }

.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  font-size: .98rem;
}
.ticks li::before {
  content: "\2713";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, var(--sun), var(--caramel));
}
.ticks b { color: var(--ink); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Split (family / alarm) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--rev .split__visual { order: -1; }
.split__copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.split__copy > p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 22px; }
.split__note { font-size: .95rem; color: var(--ink-2); margin-top: 20px; }

.rolechips { display: flex; flex-wrap: wrap; gap: 9px; }
.rolechip {
  font-size: .85rem; font-weight: 600;
  padding: .4em .9em; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--ink);
}
.rolechip--parent { background: linear-gradient(90deg, var(--sun), var(--caramel)); color: #fff; border-color: transparent; }

/* Permission table */
.permtable {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.permtable__head, .permrow {
  display: grid;
  grid-template-columns: 1fr 84px 84px;
  align-items: center;
}
.permtable__head {
  background: var(--cream-3);
  font-weight: 700; font-size: .82rem;
  color: var(--ink); text-transform: uppercase; letter-spacing: .04em;
  padding: 14px 18px;
}
.permtable__head span:not(:first-child), .permrow span:not(:first-child) { text-align: center; }
.permrow {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--ink-2);
}
.permrow .ok { color: var(--green); font-weight: 800; }
.permrow .no { color: var(--ink-3); font-weight: 700; }
.permtable__cap { text-align: center; font-size: .85rem; color: var(--ink-3); margin-top: 14px; }

/* ---------- Dark section ---------- */
.section--dark {
  background: linear-gradient(150deg, #2c2238, #3a2f4d 55%, #4a3838);
  color: #f4e9dd;
}
.section--dark h2 { color: #fff; }
.section--dark .split__copy > p, .section--dark .split__note { color: #d8c9be; }
.section--dark .rolechip { color: #f4e9dd; }

/* ---------- Alarm card ---------- */
.alarmcard {
  position: relative;
  max-width: 340px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.alarmcard__ring {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--caramel-soft);
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0% { opacity: .7; transform: translateX(-50%) scale(.9); }
  100% { opacity: 0; transform: translateX(-50%) scale(1.9); }
}
.alarmcard__ico {
  position: relative;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem;
  background: linear-gradient(180deg, var(--sun), var(--caramel));
  margin: 0 auto 16px;
  animation: shake 2.4s ease-in-out infinite;
}
@keyframes shake {
  0%, 88%, 100% { transform: rotate(0); }
  90%, 94% { transform: rotate(-12deg); }
  92%, 96% { transform: rotate(12deg); }
}
.alarmcard b { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.alarmcard__sub { display: block; font-size: .9rem; color: var(--ink-2); margin: 6px 0 20px; }
.alarmcard__actions { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; }
.alarmcard__meta { font-size: .76rem; color: var(--ink-3); }

/* ---------- Status ---------- */
.statusgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.statuscol {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.statuscol h3 { font-size: 1.2rem; margin-bottom: 18px; }
.statuscol--go { border-top: 4px solid var(--green); }
.statuscol--wait { border-top: 4px solid var(--caramel-soft); }
.statuscol ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.statuscol li { color: var(--ink-2); font-size: .98rem; padding-left: 4px; }

/* ---------- CTA ---------- */
.cta__inner {
  text-align: center;
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(150deg, var(--cream-2), var(--cream-3));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  box-shadow: var(--shadow);
}
.cta__inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 18px 0 14px; }
.cta__inner p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 28px; }
.cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--cream-2); border-top: 1px solid var(--line); padding: 56px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer__brand p { color: var(--ink-2); font-size: .95rem; max-width: 30ch; margin-top: 12px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--ink-2); font-size: .94rem; padding: 5px 0; transition: color .2s ease; }
.footer__cols a:hover { color: var(--caramel-strong); }
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-3);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tour { grid-template-columns: 1fr; }
  .tour__tabs { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 4px; }
  .tour__tab { flex: 1 0 auto; }
  .split, .split--rev .split__visual { grid-template-columns: 1fr; order: 0; }
  .split { gap: 32px; }
  .statusgrid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: none; }
  .nav__actions { margin-left: auto; }
  .section { padding: 60px 0; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .trust__tag { margin-left: 0; }
  .cta__inner { padding: 44px 24px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }

  /* Compact cards on mobile */
  .grid--4, .grid--3 { gap: 12px; }
  .feature, .card { padding: 18px 16px; }
  .feature__ico, .card__ico {
    width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  }
  .feature__ico svg, .card__ico svg { width: 22px; height: 22px; }
  .feature h3, .card h3 { font-size: 1.06rem; margin-bottom: 6px; }
  .feature p, .card p { font-size: .9rem; line-height: 1.5; }

  /* Icon beside content on mobile (feature + problem cards) */
  .features .feature,
  .grid--4 .card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: start;
  }
  .features .feature__ico,
  .grid--4 .card__ico {
    grid-column: 1; grid-row: 1 / span 2;
    align-self: center;
    margin-bottom: 0;
  }
  .features .feature h3,
  .grid--4 .card h3 { grid-column: 2; grid-row: 1; }
  .features .feature p,
  .grid--4 .card p { grid-column: 2; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .theme-toggle__ico { transform: none !important; transition: opacity .2s ease; }
}
