:root {
  --ink: #02050c;
  --navy: #0b1426;
  --glass: rgba(6, 18, 34, 0.55);
  --glass-strong: rgba(4, 14, 28, 0.9);
  --line: rgba(56, 212, 255, 0.28);
  --line-soft: rgba(120, 220, 255, 0.10);
  --gold: #38d4ff;
  --gold-hi: #bdf1ff;
  --gold-deep: #1784b8;
  --ivory: #e8f7ff;
  --muted: #8fb0c4;
  --faint: #5a7488;
  --ice: #9fd4ff;
  --red: #ff8a7a;
  --green: #8fdcb0;
  --amber: #ffae42;
  --serif: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 16px;
  --nav-h: 78px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(120% 75% at 50% 18%, #061a33 0%, #030a17 50%, #010309 100%) fixed var(--ink);
  color: var(--ivory);
  font: 400 15px/1.5 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--gold-hi); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

#core { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; transition: opacity .8s var(--ease); }
body[data-view="mail"] #core, body[data-view="settings"] #core { opacity: .28; }
#core.no-webgl { background: radial-gradient(circle at 50% 28%, rgba(56,212,255,.35), transparent 30%); }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(1,3,9,.0) 34%, rgba(1,3,9,.6) 68%, rgba(1,3,9,.92) 100%); }

/* ---------- splash ---------- */
.splash { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; padding: 24px 16px calc(48px + var(--safe-b)); background: linear-gradient(180deg, transparent 35%, rgba(4,6,12,.85) 75%); animation: fade .8s var(--ease); }
.splash-inner { width: min(420px, 100%); text-align: center; }
.eyebrow { margin: 0; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.wordmark { margin: 6px 0 4px; font: 500 clamp(54px, 16vw, 84px)/1 var(--serif); letter-spacing: .28em; padding-left: .28em; background: linear-gradient(180deg, #ffffff, #38d4ff 70%, #1784b8); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise 1.1s var(--ease) both .15s; }
.splash-line { font: 500 20px/1.3 var(--serif); letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); opacity: .9; margin: 0 0 26px; animation: rise 1.1s var(--ease) both .35s; }
.pair { text-align: left; margin: 0 0 18px; animation: rise .8s var(--ease) both; }
.pair label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hint { margin: 6px 0 0; color: var(--faint); font-size: 13px; }
.error { margin: 6px 0 0; color: var(--red); font-size: 13px; min-height: 1em; }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 999px; padding: 10px 18px; font-weight: 500; font-size: 14px; letter-spacing: .02em; cursor: pointer; text-decoration: none; color: var(--ivory); transition: transform .25s var(--spring), background .2s, border-color .2s; }
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(180deg, #7fe6ff, #19a6dc); color: #021422; border-color: transparent; box-shadow: 0 8px 30px -10px rgba(56,212,255,.6), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-lg { padding: 15px 34px; font-size: 16px; letter-spacing: .08em; min-width: 200px; animation: rise 1.1s var(--ease) both .55s; }
.btn-ghost { background: transparent; }
.btn-danger { color: var(--red); border-color: rgba(255,138,122,.3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-soft); background: rgba(10,16,30,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ivory); cursor: pointer; transition: transform .25s var(--spring); }
.icon-btn:active { transform: scale(.9); }
#mute .cross { display: none; }
#mute[aria-pressed="true"] .cross { display: block; }
#mute[aria-pressed="true"] .wave { display: none; }

input, select, textarea { width: 100%; background: rgba(4,8,18,.6); border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: rgba(56,212,255,.55); box-shadow: 0 0 0 3px rgba(56,212,255,.12); }
textarea { resize: vertical; min-height: 80px; }
label.field { display: block; margin: 0 0 14px; }
label.field > span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.field-error { color: var(--red); font-size: 13px; margin: 6px 0 0; }
.invalid { border-color: rgba(255,138,122,.6) !important; }

/* ---------- top bar ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: calc(10px + var(--safe-t)) 16px 10px; }
.top-date { margin: 0; font: 500 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.top-state { margin: 2px 0 0; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gold); }
.top-state .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: breathe 2.4s ease-in-out infinite; }
body[data-state="listening"] .top-state { color: var(--ice); }
body[data-state="listening"] .top-state .dot { background: var(--ice); box-shadow: 0 0 10px var(--ice); animation-duration: .8s; }
body[data-state="thinking"] .top-state .dot { animation-duration: .6s; }
.top-actions { display: flex; gap: 8px; }

/* ---------- views ---------- */
.view { position: relative; z-index: 5; min-height: 100vh; padding: calc(70px + var(--safe-t)) 16px calc(var(--nav-h) + 28px + var(--safe-b)); max-width: 640px; margin: 0 auto; outline: none; }
body.talking .view { padding-bottom: calc(var(--nav-h) + 150px + var(--safe-b)); }
.view > * { animation: rise .6s var(--ease) both; }
.view > *:nth-child(2) { animation-delay: .05s; } .view > *:nth-child(3) { animation-delay: .1s; } .view > *:nth-child(4) { animation-delay: .15s; }
.view > *:nth-child(5) { animation-delay: .2s; } .view > *:nth-child(6) { animation-delay: .25s; } .view > *:nth-child(n+7) { animation-delay: .3s; }

.hero-space { height: 34vh; min-height: 220px; }
.greeting { font: 600 clamp(32px, 8.6vw, 44px)/1.02 var(--serif); margin: 0; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 0 24px rgba(56,212,255,.35); }
.greeting em { font-style: normal; color: var(--gold); }
.says { font: 500 18px/1.45 var(--serif); color: rgba(232,247,255,.82); margin: 10px 0 16px; min-height: 1.4em; }
.h2 { font: 600 28px/1.1 var(--serif); margin: 0 0 4px; letter-spacing: .06em; text-transform: uppercase; }
.sub { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 10px; }
.section-title h3 { margin: 0; font: 600 13px var(--serif); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); text-shadow: 0 0 10px rgba(56,212,255,.5); }
.section-title a, .section-title button { font-size: 13px; color: var(--muted); background: none; border: 0; text-decoration: none; cursor: pointer; }

.card { position: relative; background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px; backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 20px 50px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04); overflow: hidden; transform-style: preserve-3d; transition: transform .35s var(--ease); }
.card + .card { margin-top: 12px; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, rgba(56,212,255,.10), transparent 35%, transparent 70%, rgba(255,174,66,.04)); }
.card::after { content: ''; position: absolute; inset: 6px; pointer-events: none; border-radius: calc(var(--radius) - 6px);
  background: linear-gradient(var(--gold), var(--gold)) top left / 14px 1px, linear-gradient(var(--gold), var(--gold)) top left / 1px 14px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 14px 1px, linear-gradient(var(--gold), var(--gold)) bottom right / 1px 14px; background-repeat: no-repeat; opacity: .55; }
.card.tilt:active { transform: perspective(700px) rotateX(2deg) scale(.99); }
.card.accent { border-color: var(--line); }

/* weather */
.weather { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
.weather .temp { font: 400 64px/1 var(--serif); letter-spacing: -.02em; }
.weather .temp sup { font-size: 24px; vertical-align: top; position: relative; top: 8px; color: var(--gold); }
.weather .cond { font: 500 20px/1.2 var(--serif); }
.weather .meta { color: var(--muted); font-size: 13px; }
.hours { grid-column: 1 / -1; display: flex; gap: 14px; overflow-x: auto; padding: 12px 2px 2px; scrollbar-width: none; }
.hours::-webkit-scrollbar { display: none; }
.hour { flex: 0 0 auto; text-align: center; font-size: 12px; color: var(--muted); }
.hour b { display: block; font: 500 16px var(--sans); color: var(--ivory); margin: 2px 0; }
.hour i { font-style: normal; color: var(--ice); font-size: 11px; }

/* appointments */
.appt { display: grid; grid-template-columns: 58px 1fr; gap: 12px; }
.appt + .appt { margin-top: 10px; }
.appt-time { text-align: right; font: 500 17px/1.2 var(--sans); }
.appt-time small { display: block; color: var(--faint); font-size: 12px; font-weight: 400; }
.appt-body { border-left: 2px solid var(--kind, var(--gold)); padding-left: 12px; min-width: 0; }
.appt-title { margin: 0; font-weight: 500; font-size: 16px; }
.appt-meta { margin: 3px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.appt-meta a { color: var(--gold-hi); text-decoration: none; }
.kind-chip { display: inline-block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; color: var(--kind, var(--gold)); margin-bottom: 4px; }
.k-meeting { --kind: #e3c27e; } .k-call { --kind: #9fd4ff; } .k-site-visit { --kind: #f0a25c; } .k-personal { --kind: #c7a7f2; }
.gap-warn { margin: 8px 0 0; padding: 8px 10px; border-radius: 12px; background: rgba(240,180,92,.12); color: var(--amber); font-size: 13px; }
.countdown { font: 600 38px/1 var(--serif); color: var(--amber); text-shadow: 0 0 18px rgba(255,174,66,.45); }
.next .appt-title { font: 500 22px/1.2 var(--serif); }

.day-strip { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px; scrollbar-width: none; }
.day-strip::-webkit-scrollbar { display: none; }
.day { flex: 0 0 auto; width: 54px; padding: 8px 0; text-align: center; border-radius: 16px; border: 1px solid var(--line-soft); background: rgba(10,16,30,.5); cursor: pointer; transition: transform .25s var(--spring), background .2s; }
.day small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.day b { font: 500 20px var(--serif); }
.day.on { background: linear-gradient(180deg, rgba(56,212,255,.28), rgba(56,212,255,.08)); border-color: var(--line); }
.day.has::after { content: ''; display: block; width: 4px; height: 4px; margin: 3px auto 0; border-radius: 50%; background: var(--gold); }
.day-group { margin: 18px 2px 8px; font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 22px 8px; font: 500 17px var(--serif); }

.fab { position: fixed; right: 18px; bottom: calc(var(--nav-h) + 22px + var(--safe-b)); z-index: 15; width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; background: linear-gradient(180deg, #7fe6ff, #19a6dc); color: #021422; box-shadow: 0 14px 30px -10px rgba(56,212,255,.7); cursor: pointer; animation: pop .5s var(--spring) both .2s; }
.fab svg { width: 26px; height: 26px; stroke-width: 2; }

/* mail */
.tabs { display: flex; padding: 4px; gap: 4px; border-radius: 999px; background: rgba(8,12,24,.6); border: 1px solid var(--line-soft); margin: 0 0 14px; }
.tabs button { flex: 1; border: 0; background: none; padding: 9px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 500; transition: background .25s, color .25s; }
.tabs button.on { background: rgba(56,212,255,.16); color: var(--gold-hi); }
.mail { display: block; text-decoration: none; color: inherit; }
.mail + .mail { margin-top: 10px; }
.mail-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.mail-from { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-time { color: var(--faint); font-size: 12px; flex: 0 0 auto; }
.mail-subj { margin: 2px 0 6px; color: var(--ivory); opacity: .9; font-size: 14px; overflow-wrap: anywhere; }
.mail-sum { margin: 0; color: var(--muted); font: 500 16px/1.35 var(--serif); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); }
.tag.hi { background: rgba(255,138,122,.14); color: var(--red); }
.tag.reply { background: rgba(159,212,255,.12); color: var(--ice); }
.unread .mail-from::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* news */
.news-item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; text-decoration: none; color: inherit; padding: 10px 0; }
.news-item + .news-item { border-top: 1px solid var(--line-soft); }
.news-n { font: 500 24px/1 var(--serif); color: var(--gold); }
.news-h { margin: 0; font: 500 18px/1.25 var(--serif); }
.news-s { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.news-src { font-size: 11px; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }

/* talk */
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 20px; animation: pop .4s var(--spring) both; overflow-wrap: anywhere; }
.bubble.me { align-self: flex-end; background: rgba(56,212,255,.16); border: 1px solid var(--line); border-bottom-right-radius: 6px; }
.bubble.jarvis { align-self: flex-start; background: var(--glass); border: 1px solid var(--line); border-bottom-left-radius: 6px; font: 500 17px/1.4 var(--serif); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bubble.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .2s; } .bubble.typing span:nth-child(3) { animation-delay: .4s; }
.bubble .acts { margin-top: 8px; }
.dock { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + var(--safe-b)); z-index: 18; padding: 8px 16px 10px; background: linear-gradient(180deg, transparent, rgba(4,6,12,.9) 35%); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; max-width: 640px; margin: 0 auto; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: rgba(10,16,30,.7); border-radius: 999px; padding: 7px 13px; font-size: 13px; cursor: pointer; color: var(--gold-hi); }
.ask { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.ask input { border-radius: 999px; padding-left: 18px; background: rgba(10,16,30,.85); }
.ask .send { flex: 0 0 auto; width: 46px; height: 46px; color: var(--gold); }

/* nav */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; height: calc(var(--nav-h) + var(--safe-b)); padding: 8px 10px var(--safe-b); display: grid; grid-template-columns: repeat(2, 1fr) 84px repeat(2, 1fr); align-items: center; background: rgba(6,10,20,.78); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); border-top: 1px solid var(--line-soft); }
.nav a { position: relative; display: grid; justify-items: center; gap: 3px; color: var(--faint); text-decoration: none; font-size: 11px; letter-spacing: .06em; transition: color .25s; }
.nav a.on { color: var(--gold-hi); }
.nav a.on svg { filter: drop-shadow(0 0 6px rgba(56,212,255,.6)); }
.badge { position: absolute; top: -4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #200; font: 600 11px/18px var(--sans); text-align: center; animation: pop .4s var(--spring); }
.mic { position: relative; justify-self: center; top: -18px; width: 68px; height: 68px; border-radius: 50%; border: 0; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #e6fbff, #3fcaf5 55%, #0b6f9e); color: #021422; box-shadow: 0 12px 34px -8px rgba(56,212,255,.75), inset 0 2px 0 rgba(255,255,255,.5); cursor: pointer; transition: transform .3s var(--spring); }
.mic svg { width: 28px; height: 28px; stroke-width: 1.9; }
.mic:active { transform: scale(.92); }
.mic-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(56,212,255,.5); animation: ring 2.8s ease-out infinite; }
body[data-state="listening"] .mic { background: radial-gradient(circle at 35% 30%, #e6f5ff, #8cc6f0 60%, #4b7fae); }
body[data-state="listening"] .mic-ring { border-color: var(--ice); animation-duration: 1s; }

/* listening overlay */
.listen { position: fixed; left: 16px; right: 16px; bottom: calc(var(--nav-h) + 30px + var(--safe-b)); z-index: 30; text-align: center; padding: 18px; border-radius: var(--radius); background: var(--glass-strong); border: 1px solid rgba(159,212,255,.25); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: rise .35s var(--spring); max-width: 560px; margin: 0 auto; }
.listen-label { margin: 0; color: var(--ice); letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
.listen-text { font: 500 21px/1.3 var(--serif); min-height: 1.3em; margin: 8px 0 12px; }

/* hands-free conversation */
.convo { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; padding: 0 16px calc(48px + var(--safe-b)); text-align: center; cursor: pointer; animation: fade .5s var(--ease); }
.convo-state { margin: 0; font: 600 30px/1 var(--serif); letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; color: var(--gold); text-shadow: 0 0 24px rgba(56,212,255,.6); }
body[data-state="speaking"] .convo-state { color: var(--ivory); }
body[data-state="thinking"] .convo-state { animation: breathe 1.2s ease-in-out infinite; }
.convo-hint { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.convo-end { cursor: pointer; }
body.conversing .view, body.conversing .dock, body.conversing .nav, body.conversing .top-actions { opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }

/* toasts (appointment pop-ups) */
.toasts { position: fixed; top: calc(12px + var(--safe-t)); left: 12px; right: 12px; z-index: 60; display: grid; gap: 10px; pointer-events: none; max-width: 560px; margin: 0 auto; }
.toast { pointer-events: auto; padding: 14px 16px; border-radius: 20px; background: var(--glass-strong); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(56,212,255,.08), 0 0 40px -10px rgba(56,212,255,.35); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); animation: drop .55s var(--spring) both; }
.toast.out { animation: lift .35s var(--ease) forwards; }
.toast-k { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.toast-t { margin: 3px 0 2px; font: 500 19px/1.25 var(--serif); }
.toast-b { margin: 0; color: var(--muted); font-size: 14px; }
.toast .btn-row { margin-top: 10px; }
.toast .btn { padding: 8px 14px; font-size: 13px; }

/* sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(2,4,10,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 92vh; overflow-y: auto; padding: 10px 16px calc(24px + var(--safe-b)); border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #111c33, #0a1222); border-top: 1px solid var(--line); animation: sheet .5s var(--spring); max-width: 640px; margin: 0 auto; }
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.18); margin: 0 auto 14px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seg button { padding: 10px 4px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(4,8,18,.5); cursor: pointer; font-size: 13px; color: var(--muted); }
.seg button.on { border-color: var(--kind, var(--gold)); color: var(--ivory); background: rgba(56,212,255,.10); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr 38px; gap: 8px; margin-bottom: 8px; }
.contact-row .icon-btn { width: 38px; height: 46px; border-radius: 12px; }
.site-box { border: 1px solid rgba(240,162,92,.35); background: rgba(240,162,92,.06); border-radius: 18px; padding: 14px; margin: 0 0 14px; animation: rise .4s var(--ease); }
.site-box h4 { margin: 0 0 10px; font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #f0a25c; }
.reminder-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.reminder-opts label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-soft); font-size: 13px; cursor: pointer; }
.reminder-opts input { width: auto; margin: 0; accent-color: var(--gold); }

/* settings */
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.set-row + .set-row { border-top: 1px solid var(--line-soft); }
.set-row p { margin: 0; }
.set-row small { display: block; color: var(--muted); font-size: 13px; }
.status { font-size: 12px; padding: 3px 10px; border-radius: 999px; flex: 0 0 auto; }
.status.ok { background: rgba(143,220,176,.12); color: var(--green); }
.status.no { background: rgba(240,180,92,.12); color: var(--amber); }

/* animations */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lift { to { opacity: 0; transform: translateY(-20px) scale(.97); } }
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes breathe { 50% { opacity: .35; } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (min-width: 700px) { .hero-space { height: 38vh; } }
