/* Numen concept site — Hearth identity · v2 (themed, atmospheric) */
:root {
  --oat: #F7F2E9; --cream: #FFFDF8; --clay: #D9C6AE; --fig: #6B4A3F; --ink: #2E2A26;
  --accent: #C96F4A; --accent-deep: #A8542F; --accent-soft: #F3DDD0;
  --on-accent: #FFF8F2;
  --danger: #A23425;
  --text-2: #57504A; --text-3: #9C8D7C; --border: #EFE7D9;
  --shadow: 0 2px 6px rgba(107,74,63,.05), 0 18px 44px rgba(107,74,63,.08);
  --shadow-deep: 0 6px 14px rgba(107,74,63,.08), 0 30px 70px rgba(107,74,63,.16);
  --toast-bg: #2E2A26; --toast-fg: #F7F2E9;
  --ease: cubic-bezier(.2,.7,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}
body[data-theme="dark"] {
  --oat: #1E1A16; --cream: #2A2520; --clay: #54493D; --fig: #D9C6AE; --ink: #F3EDE2;
  --accent: #D98A66; --accent-deep: #C9694A; --accent-soft: #3A2B20;
  --on-accent: #241410;
  --text-2: #CBBFAF; --text-3: #94887A; --border: #3B342C;
  --shadow: 0 2px 6px rgba(0,0,0,.2), 0 18px 44px rgba(0,0,0,.3);
  --shadow-deep: 0 6px 14px rgba(0,0,0,.25), 0 30px 70px rgba(0,0,0,.45);
  --toast-bg: #F3EDE2; --toast-fg: #2E2A26;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--oat); color: var(--ink);
  font-family: 'Karla', sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* ambient orange light fades, drifting ever so slightly */
.bg-ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-ambient::before, .bg-ambient::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5;
}
.bg-ambient::before {
  width: 60vw; height: 60vw; left: -14vw; top: -12vw;
  background: radial-gradient(circle, rgba(201,111,74,.16), transparent 68%);
  animation: drift1 26s ease-in-out infinite;
}
.bg-ambient::after {
  width: 52vw; height: 52vw; right: -12vw; bottom: -14vw;
  background: radial-gradient(circle, rgba(217,138,102,.12), transparent 70%);
  animation: drift2 32s ease-in-out infinite;
}
body[data-theme="light"] .bg-ambient::before { opacity: .35; }
body[data-theme="light"] .bg-ambient::after { opacity: .3; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,4vw) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5vw,-3vw) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .bg-ambient::before, .bg-ambient::after { animation: none; } }
.screen { position: relative; z-index: 1; }
.tb-bottom { transform-box: fill-box; transform-origin: 50% 100%; }
.tb-center { transform-box: fill-box; transform-origin: 50% 50%; }
.serif { font-family: 'Newsreader', serif; font-weight: 500; }

/* ---------- atmosphere ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 340; pointer-events: none;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .032; mix-blend-mode: multiply;
}
body[data-theme="dark"] .grain { opacity: .05; mix-blend-mode: overlay; }
.vignette {
  position: fixed; inset: 0; z-index: 339; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 38%, transparent 62%, rgba(46,42,38,.055) 100%);
}
body[data-theme="dark"] .vignette { background: radial-gradient(120% 90% at 50% 38%, transparent 60%, rgba(0,0,0,.3) 100%); }

/* ---------- screens ---------- */
.screen { display: none; min-height: 100vh; }
.screen.active { display: block; }

/* ---------- buttons & fields ---------- */
.btn {
  appearance: none; cursor: pointer; border: none; font-family: 'Karla', sans-serif;
  font-weight: 700; font-size: 15px; border-radius: 99px; padding: 14px 28px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap; text-decoration: none;
  transition: transform .22s var(--spring), background .18s, box-shadow .18s, border-color .18s, color .18s, opacity .18s;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0) scale(.965); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--oat), 0 0 0 4px var(--accent); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 8px 22px rgba(169,84,47,.32); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--clay); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-quiet { background: transparent; color: var(--accent-deep); }
.btn-quiet:hover { background: var(--accent-soft); }
.btn.small { font-size: 13px; padding: 9px 18px; }
.btn.big { font-size: 16.5px; padding: 17px 36px; }
.field { margin-bottom: 18px; text-align: left; }
.field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--fig); margin-bottom: 8px; }
.field input {
  width: 100%; font-family: 'Karla', sans-serif; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--clay); border-radius: 13px;
  padding: 14px 17px; outline: none; transition: border-color .18s, box-shadow .18s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3.5px var(--accent-soft); }
.field .help { font-size: 12.5px; color: var(--text-3); margin: 7px 2px 0; }
.field.error input { border-color: var(--danger); }
.field.error .help { color: var(--danger); font-weight: 600; }
body[data-theme="dark"] .field.error .help { color: #E0846F; }

/* theme toggle */
.theme-toggle {
  appearance: none; cursor: pointer; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--clay); background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0;
  transition: border-color .18s, transform .22s var(--spring);
}
.theme-toggle:hover { border-color: var(--accent); transform: translateY(-1px); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.theme-toggle .tt-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); box-shadow: inset -3px -2px 0 0 var(--oat);
}
body[data-theme="dark"] .theme-toggle .tt-dot { background: #F3EDE2; box-shadow: none; }

/* ---------- nav ---------- */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 30px; height: 76px; padding: 0 40px;
  transition: background .35s, border-color .35s, height .35s;
  border-bottom: 1px solid transparent;
}
body[data-motion="1"]:not(.nav-in) nav.site-nav { opacity: 0; pointer-events: none; }
nav.site-nav.scrolled {
  background: color-mix(in srgb, var(--cream) 86%, transparent); border-bottom-color: var(--border); height: 64px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-nav .n-logo { width: 104px; cursor: pointer; }
.site-nav .n-logo svg { width: 100%; height: auto; display: block; }
.site-nav .n-links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.site-nav .n-links a {
  text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 600;
  white-space: nowrap; position: relative; transition: color .15s;
}
.site-nav .n-links a:not(.btn)::after {
  content: ''; position: absolute; left: 50%; bottom: -7px; width: 4.5px; height: 4.5px;
  border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0);
  transition: transform .25s var(--spring);
}
.site-nav .n-links a:not(.btn):hover { color: var(--ink); }
.site-nav .n-links a:not(.btn):hover::after { transform: translateX(-50%) scale(1); }
.site-nav .n-links a:focus-visible { outline: none; border-radius: 6px; box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 120px 32px 80px; position: relative;
  overflow: hidden;
  background: transparent;
}
#hero-morph { width: min(520px, 82vw); margin: 0 auto 8px; }
#hero-morph svg { width: 100%; height: auto; display: block; }
body[data-motion="1"] .hero:not(.hero-in) .hero-copy > * { opacity: 0; }
.hero-copy h1 { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(44px, 6.2vw, 78px); line-height: 1.04; letter-spacing: -.014em; margin: 18px 0 20px; }
.hero-copy h1 em { font-style: italic; color: var(--accent-deep); }
.hero-copy .sub { font-size: 18.5px; line-height: 1.6; color: var(--text-2); max-width: 54ch; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-def { font-size: 13.5px; color: var(--text-3); font-style: italic; font-family: 'Newsreader', serif; }
.hero-def b { font-style: normal; font-weight: 500; }

/* ---------- sections ---------- */
section.band { padding: 130px 40px; position: relative; }
.band-inner { max-width: 1120px; margin: 0 auto; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 18px; }
h2.band-title { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 18px; }
.band-sub { font-size: 17.5px; color: var(--text-2); max-width: 52ch; margin: 0; }
body[data-motion="1"] .reveal:not(.in) { opacity: 0; }

/* ---------- product: iMessage phone (iPhone 17 Pro · cosmic orange) ---------- */
.demo { display: grid; grid-template-columns: 1fr .95fr; gap: 70px; align-items: center; }
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; will-change: transform; }
.iphone {
  width: 332px; aspect-ratio: 71.9 / 150; border-radius: 56px; padding: 5px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.5), rgba(255,255,255,0) 18%, rgba(0,0,0,.12) 55%, rgba(255,255,255,.28) 92%),
    linear-gradient(155deg, #F09A60 0%, #E0813F 26%, #D97E3E 48%, #E68A48 74%, #CE6E32 100%);
  box-shadow: var(--shadow-deep);
  position: relative; display: flex;
}
.ip-bezel { flex: 1; border-radius: 51px; background: #060606; padding: 9px; display: flex; }
.ip-screen {
  flex: 1; border-radius: 42px; background: #FFFFFF; overflow: hidden;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, sans-serif;
}
/* status bar */
.ip-status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 30px 0; }
.ip-time { font-size: 14px; font-weight: 600; color: #000; letter-spacing: -.2px; padding-left: 6px; }
.ip-island { width: 100px; height: 29px; border-radius: 18px; background: #060606; justify-self: center; }
.ip-sicons { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: #000; }
.ip-sicons svg { display: block; fill: currentColor; }
.ic-cell { width: 17px; height: 11px; }
.ic-wifi { width: 15px; height: 11px; }
.ic-batt { width: 25px; height: 12px; }
/* messages nav bar */
.ip-nav {
  display: grid; grid-template-columns: 34px 1fr 34px; align-items: center;
  padding: 4px 16px 8px;
  background: linear-gradient(rgba(248,248,248,.94), rgba(248,248,248,.86));
  border-bottom: .5px solid rgba(60,60,67,.29);
}
.ip-back { width: 11px; height: 19px; color: #007AFF; justify-self: start; }
.ip-video { width: 26px; height: 17px; fill: #007AFF; justify-self: end; }
.ip-contact { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ip-avatar {
  display: inline-flex; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(180deg, #FBF0E3, #EBD9C3); color: #2E2A26;
  align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 .5px rgba(0,0,0,.06);
}
.ip-avatar svg { width: 29px; height: 29px; }
.ip-cname { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: #000; font-weight: 400; letter-spacing: -.1px; }
.ip-cname svg { width: 7px; height: 11px; color: #B5B5BA; }
/* thread */
.ip-thread { padding: 12px 16px 4px; flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.ip-track { display: flex; flex-direction: column; gap: 2.5px; }
.ip-day { text-align: center; font-size: 11px; color: #8E8E93; margin: 4px 0 8px; font-weight: 500; }
.ip-day b { font-weight: 600; }
.msg {
  max-width: 74%; padding: 8px 13px 9px; font-size: 15.5px; line-height: 1.33;
  letter-spacing: -.15px; border-radius: 18px; position: relative;
}
.msg + .msg { margin-top: 1.5px; }
.msg.out + .msg.in, .msg.in + .msg.out { margin-top: 9px; }
.msg.in { background: #E9E9EB; color: #000; align-self: flex-start; }
.msg.out { background: #007AFF; color: #FFF; align-self: flex-end; }
/* authentic tail on the last bubble of each group */
.msg.last::before, .msg.out::before {
  content: ''; position: absolute; bottom: 0; width: 13px; height: 14px;
  background: inherit;
}
.msg.last::before { left: -5.5px; clip-path: path('M13 0 C13 8 8 13 0 14 C5 14 11 11.5 13 5 Z'); }
.msg.out::before { right: -5.5px; clip-path: path('M0 0 C0 8 5 13 13 14 C8 14 2 11.5 0 5 Z'); }
/* typing indicator — the iMessage thought bubble: dots bubble + two trailing circles */
.msg.typing {
  display: inline-flex; gap: 5px; align-items: center; padding: 12px 16px;
  align-self: flex-start; margin: 6px 0 12px 7px; position: relative;
  border-radius: 20px; overflow: visible; background: #E9E9EB;
}
.msg.typing::before {
  content: ''; position: absolute; left: -3px; bottom: -4px;
  width: 11px; height: 11px; border-radius: 50%; background: inherit;
}
.msg.typing::after {
  content: ''; position: absolute; left: -9px; bottom: -10px;
  width: 5px; height: 5px; border-radius: 50%; background: inherit;
}
.msg.typing i { width: 9px; height: 9px; border-radius: 50%; background: #98989F; }
.ip-delivered { align-self: flex-end; font-size: 10.5px; font-weight: 500; color: #8E8E93; padding-right: 5px; margin-top: 3px; }
/* group threads */
.grp-row { display: flex; gap: 7px; align-items: flex-end; max-width: 84%; align-self: flex-start; margin-top: 7px; }
.g-ava {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-bottom: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #FFF;
  background: linear-gradient(180deg, #A6ACB4, #818790);
}
.g-ava.is-numen { background: linear-gradient(180deg, #FBF0E3, #EBD9C3); color: #2E2A26; }
.g-ava.is-numen svg { width: 16px; height: 16px; }
.g-col { display: flex; flex-direction: column; align-items: flex-start; }
.g-name { font-size: 10.5px; color: #8E8E93; margin: 0 0 2px 13px; font-weight: 500; }
.grp-row .msg { max-width: 100%; }
.grp-row .msg.typing { margin: 0 0 0 7px; }
/* nav avatar stack for groups */
.ip-avastack { display: inline-flex; }
.ip-avastack .ip-avatar { width: 38px; height: 38px; }
.ip-avastack .ip-avatar svg { width: 23px; height: 23px; }
.ip-avastack .ip-avatar + .ip-avatar { margin-left: -12px; }
.ip-avastack .g-ava2 {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: 16px; font-weight: 600; color: #FFF;
  background: linear-gradient(180deg, #A6ACB4, #818790); border: 2px solid #FFF; margin-left: -12px;
}
body[data-theme="dark"] .ip-avastack .g-ava2 { border-color: #000; }
/* chat toggle (brand chrome, outside the phone) */
.chat-toggle { display: inline-flex; gap: 4px; background: var(--cream); border: 1.5px solid var(--clay); border-radius: 99px; padding: 4px; }
.ct-btn {
  appearance: none; border: none; cursor: pointer; font-family: 'Karla', sans-serif;
  font-weight: 700; font-size: 13px; color: var(--text-2); background: transparent;
  border-radius: 99px; padding: 8px 18px; transition: color .18s, background .25s, transform .22s var(--spring);
}
.ct-btn:hover { color: var(--ink); }
.ct-btn:active { transform: scale(.95); }
.ct-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.ct-btn.on { background: var(--accent); color: var(--on-accent); }
/* input bar */
.ip-inputbar { display: flex; align-items: center; gap: 10px; padding: 8px 14px 6px; }
.ip-plus {
  width: 32px; height: 32px; border-radius: 50%; background: #E9E9EB; color: #7C7C82;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.ip-plus svg { width: 13px; height: 13px; }
.ip-field {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(60,60,67,.22); border-radius: 17px; padding: 6.5px 12px;
  font-size: 15px; color: #B5B5BA;
}
.ip-field i { font-style: normal; }
.ip-mic { width: 11px; height: 16px; fill: #B5B5BA; color: #B5B5BA; }
.ip-home { height: 22px; display: grid; place-items: center; }
.ip-home::after { content: ''; width: 130px; height: 4.5px; border-radius: 3px; background: #000; opacity: .85; }
/* dark mode — true iOS dark */
body[data-theme="dark"] .ip-screen { background: #000000; }
body[data-theme="dark"] .ip-time, body[data-theme="dark"] .ip-sicons { color: #FFF; }
body[data-theme="dark"] .ip-cname { color: #F2F2F7; }
body[data-theme="dark"] .ip-cname svg { color: #5A5A5F; }
body[data-theme="dark"] .ip-nav { background: linear-gradient(rgba(22,22,24,.96), rgba(22,22,24,.9)); border-bottom-color: rgba(84,84,88,.65); }
body[data-theme="dark"] .msg.in { background: #26252A; color: #F2F2F7; }
body[data-theme="dark"] .msg.typing { background: #26252A; }
body[data-theme="dark"] .msg.typing i { background: #5A5A5F; }
body[data-theme="dark"] .ip-avatar { background: linear-gradient(180deg, #4A3A2C, #33271D); color: #F3EDE2; }
body[data-theme="dark"] .ip-plus { background: #1C1C1E; color: #98989F; }
body[data-theme="dark"] .ip-field { border-color: rgba(84,84,88,.65); color: #5A5A5F; }
body[data-theme="dark"] .ip-mic { fill: #5A5A5F; color: #5A5A5F; }
body[data-theme="dark"] .ip-home::after { background: #FFF; }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--clay); }
.principle { padding: 38px 36px 10px; border-left: 1px solid var(--clay); }
.principle:first-child { border-left: none; padding-left: 0; }
.principle .p-num { font-family: 'Newsreader', serif; font-size: 15px; color: var(--text-3); display: block; margin-bottom: 26px; }
.principle h3 { font-family: 'Newsreader', serif; font-weight: 500; font-size: 27px; margin: 0 0 12px; }
.principle p { font-size: 15.5px; line-height: 1.65; color: var(--text-2); margin: 0; }
.principle .p-mark { width: 46px; height: 28px; margin-bottom: 18px; }
.principle .p-mark svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ---------- watcher band (pinned ink, both themes) ---------- */
section.watcher { background: #2E2A26; color: #F7F2E9; padding: 150px 40px; overflow: hidden; }
.watcher .band-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
#watch-glyph { width: min(300px, 60vw); margin: 0 auto; }
#watch-glyph svg { width: 100%; height: auto; display: block; overflow: visible; }
.watcher .eyebrow { color: #D98A66; }
.watcher h2.band-title { color: #F7F2E9; }
.watcher .band-sub { color: #CBBFAF; }
.watcher .w-quiet { margin-top: 30px; font-family: 'Newsreader', serif; font-style: italic; font-size: 15.5px; color: #94887A; }

/* ---------- pricing ---------- */
.price-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.price-card {
  margin-top: 60px; background: var(--cream); border: 1px solid var(--border); border-radius: 28px;
  box-shadow: var(--shadow-deep); padding: 52px 64px 44px; max-width: 520px; width: 100%;
}
.price-card .pc-arc { width: 56px; margin: 0 auto 6px; }
.price-card .pc-arc svg { width: 100%; height: auto; display: block; overflow: visible; }
.price-card .pc-amount { font-family: 'Newsreader', serif; font-weight: 500; font-size: 62px; line-height: 1; letter-spacing: -.015em; }
.price-card .pc-amount small { font-size: 19px; color: var(--text-3); letter-spacing: 0; font-family: 'Karla', sans-serif; font-weight: 600; }
.price-card .pc-per { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin: 10px 0 18px; }
.price-card .pc-then {
  display: flex; gap: 8px; align-items: baseline; justify-content: center; flex-wrap: wrap;
  padding: 13px 0 15px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 24px; font-size: 14px; color: var(--text-2);
}
.price-card .pc-then b { font-family: 'Newsreader', serif; font-weight: 500; font-size: 26px; color: var(--ink); }
.price-card ul { list-style: none; margin: 0 0 30px; padding: 0; text-align: left; }
.price-card li { padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-2); display: flex; gap: 12px; align-items: baseline; }
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.price-card .btn { width: 100%; }
.price-card .pc-note { margin: 18px 0 0; font-family: 'Newsreader', serif; font-style: italic; font-size: 13.5px; color: var(--text-3); }
/* inquiry card */
.inquire-card { text-align: left; }
.inquire-card .pc-arc { margin: 0 auto 16px; }
.inq-title { font-family: 'Newsreader', serif; font-weight: 500; font-size: 30px; letter-spacing: -.01em; margin: 0 0 10px; text-align: center; }
.inq-sub { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0 0 26px; text-align: center; }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquire-card .field { margin-bottom: 16px; }
.inquire-card .btn { width: 100%; margin-top: 4px; }
.inq-done { display: none; text-align: center; padding: 8px 0 4px; }
.inq-glyph { width: 72px; margin: 0 auto 18px; }
.inq-glyph svg { width: 100%; height: auto; display: block; overflow: visible; }
.inquire-card .pc-note { text-align: center; }
.price-teams { margin-top: 26px; font-size: 14px; color: var(--text-3); }
.price-teams a { color: var(--accent-deep); font-weight: 600; text-decoration: none; white-space: nowrap; }
.price-teams a:hover { text-decoration: underline; }

/* ---------- capabilities (dashboard preview) ---------- */
.caps-head { max-width: 660px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 56px; }
.tile {
  background: var(--cream); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: var(--shadow); padding: 24px 26px;
}
.t-today { grid-column: span 7; }
.t-skills { grid-column: span 5; }
.t-vault, .t-behave, .t-usage { grid-column: span 4; }
.tile-k { margin: 0 0 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.tdot { width: 6.5px; height: 6.5px; border-radius: 50%; background: var(--accent); }
body[data-motion="1"] .tdot { animation: breathe 3.2s ease-in-out infinite; }
.tl-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--border); }
.tl-row:first-of-type { border-top: none; }
.tl-t { font-size: 12px; color: var(--text-3); font-weight: 600; }
.tl-w { font-size: 14.5px; color: var(--text-2); }
.tl-w b { color: var(--accent-deep); font-weight: 600; }
.tl-s { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--text-3); white-space: nowrap; }
.tl-s.done { color: var(--accent-deep); }
.tl-s.hold { color: var(--fig); }
.tl-approve { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px 15px; background: var(--oat); border-radius: 14px; }
.ta-x { flex: 1; min-width: 0; font-family: 'Newsreader', serif; font-style: italic; font-size: 14px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-btn { flex: none; font-size: 12.5px; font-weight: 700; color: var(--on-accent); background: var(--accent); border-radius: 99px; padding: 8px 16px; white-space: nowrap; }
.sk-chip { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.sk-chip:first-of-type { border-top: none; }
.sk-chip b { font-size: 14.5px; font-weight: 600; color: var(--ink); flex: 1; }
.sk-chip i { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.b-you { background: var(--accent-soft); color: var(--accent-deep); margin-top: 1px; }
.b-lib { border: 1px solid var(--clay); color: var(--text-3); margin-top: 1px; }
.sk-lib { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); font-family: 'Newsreader', serif; font-style: italic; font-size: 13.5px; color: var(--text-3); }
.vr { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.vr:first-of-type { border-top: none; }
.mini-sw { width: 38px; height: 23px; border-radius: 99px; background: var(--accent); padding: 2.5px; display: inline-flex; align-items: center; flex: none; }
.mini-sw i { width: 18px; height: 18px; border-radius: 50%; background: #FFFDF8; box-shadow: 0 1px 3px rgba(46,42,38,.3); margin-left: 15px; }
.bh-pill { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); }
.bh-pill:first-of-type { border-top: none; }
.bh-pill small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.bh-pill b { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.t-usage .us { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border); }
.t-usage .us:first-of-type { border-top: none; }
.t-usage .us b { font-family: 'Newsreader', serif; font-weight: 500; font-size: 26px; }
.t-usage .us small { font-size: 12px; color: var(--text-3); }
.caps-cta { margin-top: 42px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 920px) {
  .inq-grid { grid-template-columns: 1fr; }
  .t-today, .t-skills, .t-vault, .t-behave, .t-usage { grid-column: span 12; }
}

/* ---------- footer ---------- */
footer.site-footer { padding: 90px 40px 110px; text-align: center; border-top: 1px solid var(--border); }
.site-footer .f-logo { width: 158px; margin: 0 auto 22px; }
.site-footer .f-logo svg { width: 100%; height: auto; display: block; }
.site-footer .f-line { font-family: 'Newsreader', serif; font-style: italic; font-size: 15px; color: var(--text-3); margin: 0 0 26px; }
.site-footer .f-links { display: flex; gap: 26px; justify-content: center; font-size: 13px; }
.site-footer .f-links a { color: var(--text-3); text-decoration: none; }
.site-footer .f-links a:hover { color: var(--accent-deep); }

/* ---------- scroll guide (the dot accompanies you down the page) ---------- */
.scroll-guide {
  position: fixed; right: 26px; bottom: 24px; width: 58px; z-index: 90;
  color: var(--text-3); opacity: 0; pointer-events: none; transition: opacity .4s;
}
.scroll-guide.show { opacity: .9; }
.scroll-guide svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ---------- auth ---------- */
#screen-auth { display: none; align-items: center; justify-content: center; padding: 60px 24px; position: relative; }
#screen-auth.active { display: flex; }
#screen-auth.dark { background: #221D18; }
.auth-home { position: absolute; top: 30px; left: 36px; width: 100px; cursor: pointer; z-index: 5; }
.auth-home svg { width: 100%; height: auto; display: block; }
#screen-auth.dark .auth-home { opacity: .4; }
.auth-card { width: 100%; max-width: 470px; text-align: center; position: relative; }
.auth-step { display: none; }
.auth-step.active { display: block; }
.auth-step .a-mark { width: 64px; margin: 0 auto 26px; }
.auth-step .a-mark svg { width: 100%; height: auto; display: block; }
.auth-step h2 { font-family: 'Newsreader', serif; font-weight: 500; font-size: 34px; line-height: 1.15; margin: 0 0 10px; letter-spacing: -.01em; }
.auth-step .a-sub { font-size: 15.5px; color: var(--text-2); margin: 0 0 32px; }
.auth-step .btn { width: 100%; margin-top: 6px; }
.auth-alt { margin-top: 22px; font-size: 14px; color: var(--text-3); }
.auth-alt a { color: var(--accent-deep); font-weight: 600; text-decoration: none; cursor: pointer; }
.auth-progress { display: flex; gap: 10px; justify-content: center; margin-bottom: 38px; }
.auth-progress i { width: 26px; height: 3px; border-radius: 2px; background: var(--clay); opacity: .5; }
.auth-progress i.on { background: var(--accent); opacity: 1; }
.auth-back { position: absolute; top: -54px; left: 0; }
.tone-grid { display: grid; gap: 14px; margin-bottom: 10px; }
.tone-card {
  text-align: left; cursor: pointer; background: var(--cream); border: 1.5px solid var(--clay);
  border-radius: 16px; padding: 18px 20px; font-family: 'Karla', sans-serif; color: var(--ink);
  transition: border-color .18s, transform .22s var(--spring), box-shadow .18s;
}
.tone-card:hover { border-color: var(--accent); transform: translateY(-1.5px); }
.tone-card:active { transform: scale(.98); }
.tone-card:focus-visible { outline: none; box-shadow: 0 0 0 3.5px var(--accent-soft); }
.tone-card.sel { border-color: var(--accent); box-shadow: 0 0 0 3.5px var(--accent-soft); }
.tone-card b { display: block; font-size: 15px; margin-bottom: 5px; }
.tone-card span { font-family: 'Newsreader', serif; font-size: 15.5px; color: var(--text-2); font-style: italic; }
#st-ceremony h2, #st-ceremony .cer-lines { color: #F7F2E9; }
#st-ceremony .cer-glyph { width: 130px; margin: 0 auto 38px; }
#st-ceremony .cer-glyph svg { width: 100%; height: auto; display: block; overflow: visible; }
.cer-lines { min-height: 96px; font-family: 'Newsreader', serif; font-size: 26px; line-height: 1.45; }
.cer-lines .l2 { color: #D98A66 !important; font-style: italic; }
.cer-lines .caret::after {
  content: ''; display: inline-block; width: 2.5px; height: 1em; background: #D98A66;
  vertical-align: -2px; margin-left: 3px; animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
#cer-enter { opacity: 0; pointer-events: none; margin-top: 34px; width: auto !important; padding: 15px 44px; }
#cer-enter.show { opacity: 1; pointer-events: auto; }

/* typing caret for demo (kept for compat) */
.caret::after {
  content: ''; display: inline-block; width: 2.5px; height: 1.05em; background: var(--accent);
  vertical-align: -2px; margin-left: 2px; animation: caret-blink 1s steps(1) infinite;
}

/* ---------- wipe + toast ---------- */
#wipe {
  position: fixed; inset: 0; z-index: 500; background: var(--accent-soft);
  opacity: 0; pointer-events: none; display: grid; place-items: center;
}
#wipe .wipe-mark { width: 72px; }
#wipe .wipe-mark svg { width: 100%; height: auto; display: block; }
#toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(8px); z-index: 600;
  background: var(--toast-bg); color: var(--toast-fg); font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 99px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  section.band { padding: 90px 24px; }
  .demo, .watcher .band-inner { grid-template-columns: 1fr; gap: 44px; }
  .principles { grid-template-columns: 1fr; border-top: none; }
  .principle { border-left: none; border-top: 1px solid var(--clay); padding: 30px 0 8px; }
  nav.site-nav { padding: 0 20px; gap: 16px; }
  .site-nav .n-links { gap: 16px; }
  .site-nav .n-links a.hide-m { display: none; }
  .scroll-guide { display: none; }
  .price-card { padding: 40px 28px 36px; }
}
@media (max-width: 600px) {
  section.band { padding: 64px 20px; }
  .hero { padding: 104px 20px 64px; min-height: auto; }
  #hero-morph { width: min(420px, 88vw); }
  .hero-copy h1 { font-size: clamp(34px, 11vw, 48px); margin: 14px 0 16px; }
  .hero-copy .sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 340px; margin: 0 auto 24px; }
  .hero-ctas .btn { width: 100%; }
  h2.band-title { font-size: clamp(28px, 8vw, 38px); }
  .band-sub { font-size: 16px; }
  /* iMessage phone scales down to fit the viewport */
  .iphone { width: min(300px, 84vw); }
  .ip-screen { min-height: 0; }
  .chat-toggle { width: 100%; max-width: 320px; }
  .ct-btn { flex: 1; padding: 9px 10px; }
  .demo { gap: 32px; }
  /* inquiry form full width */
  .inquire-card { padding: 32px 22px 28px; }
  .price-teams { padding: 0 10px; }
  /* footer */
  footer.site-footer { padding: 70px 24px 90px; }
  .site-footer .f-links { flex-wrap: wrap; gap: 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-motion="1"] .reveal:not(.in) { opacity: 1; }
  body[data-motion="1"] .hero:not(.hero-in) .hero-copy > * { opacity: 1; }
  body[data-motion="1"]:not(.nav-in) nav.site-nav { opacity: 1; pointer-events: auto; }
}
