/* NoctO2 website: one stylesheet for all pages. Night blue like the app icon; light content, dark mode supported. */

:root {
  color-scheme: light;
  --night-1: #0a1240;
  --night-2: #1b2a7a;
  --blue: #3f8cff;
  --cyan: #8ff6ff;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --border: #e2e5ef;
  --text: #0d1230;
  --text-2: #4a5170;
  --muted: #7a809b;
  --warn-bg: #fff6e8;
  --warn-border: #f2d7a6;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0f24;
    --surface: #141a38;
    --border: #262e57;
    --text: #eef1ff;
    --text-2: #b9c0e0;
    --muted: #8a92b8;
    --warn-bg: #2a2412;
    --warn-border: #5a4a22;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgb(10 18 64 / 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: rgb(255 255 255 / 0.8); }
.nav a:hover { color: #fff; text-decoration: none; }


/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 15% -10%, rgb(90 124 255 / 0.35), transparent 60%),
    radial-gradient(700px 500px at 85% 110%, rgb(63 140 255 / 0.25), transparent 60%),
    linear-gradient(135deg, var(--night-1), var(--night-2));
}
.hero::before { /* faint stars */
  content: ""; position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 22%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 30% 70%, #fff, transparent),
    radial-gradient(2px 2px at 48% 12%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 66% 40%, #fff, transparent),
    radial-gradient(2px 2px at 82% 18%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 62%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 6% 86%, #fff, transparent);
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding-top: 72px; padding-bottom: 72px;
}
.hero .app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 12px 40px rgb(0 0 0 / 0.45); margin-bottom: 26px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, #ffffff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 18px; font-size: 20px; color: rgb(255 255 255 / 0.82); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px;
  background: #fff; color: #0a1240; font-weight: 700; font-size: 16px;
}
.store:hover { text-decoration: none; }
.store.soon { background: rgb(255 255 255 / 0.12); color: #fff; border: 1px solid rgb(255 255 255 / 0.25); cursor: default; }
.store svg { width: 22px; height: 22px; }
.free { color: rgb(255 255 255 / 0.7); font-size: 15px; }
.hero .phones { position: relative; height: 560px; }
.hero .phones .phone { position: absolute; width: 250px; }
.hero .phones .phone:nth-child(1) { left: 0; top: 40px; transform: rotate(-5deg); }
.hero .phones .phone:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; text-align: center; }
  .hero .app-icon, .hero .lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero .phones { height: 430px; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero .phones .phone { width: 200px; }
}

/* ---------- phone frame ---------- */
.phone {
  border-radius: 38px; padding: 9px; background: #0c0f1e;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.45), inset 0 0 0 1.5px rgb(255 255 255 / 0.12);
}
.phone img { border-radius: 30px; width: 100%; height: auto; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 10px; font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 19px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; font-weight: 700; }
.feature p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* alternating screenshot rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 96px; }
.row.flip .text { order: 2; }
.row .shot { display: flex; justify-content: center; }
.row .shot .phone { width: 290px; }
.row h3 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; margin-top: 10px; }
.row .text p { margin-top: 14px; color: var(--text-2); font-size: 18px; }
.row ul { margin: 18px 0 0; padding: 0; list-style: none; }
.row li { position: relative; padding-left: 30px; margin-top: 10px; color: var(--text-2); }
.row li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 36px; }
  .row.flip .text { order: 0; }
  .row .shot .phone { width: 250px; }
}

/* family notification mock-up */
.family-visual {
  width: 100%; max-width: 400px; border-radius: 32px; padding: 34px 22px;
  background: linear-gradient(160deg, #2b3a8f, #6b3f8f 70%, #a8507a);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.3);
}
.family-visual .clock { color: #fff; text-align: center; font-size: 62px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.family-visual .date { color: rgb(255 255 255 / 0.85); text-align: center; font-size: 15px; margin: 6px 0 26px; }
.notif {
  display: flex; gap: 12px; padding: 14px; border-radius: 22px;
  background: rgb(255 255 255 / 0.78); backdrop-filter: blur(10px); color: #111;
}
.notif + .notif { margin-top: 10px; }
.notif img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.notif .meta { display: flex; justify-content: space-between; font-size: 13px; color: #555; }
.notif b { display: block; font-size: 15px; margin-top: 1px; }
.notif span { font-size: 14px; color: #333; }

/* devices */
.makers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.maker { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.maker h3 { font-size: 19px; }
.maker ul { list-style: none; margin: 14px 0 0; padding: 0; }
.maker li { padding: 10px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 10px; font-size: 16px; }
.tag { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; align-self: center; }
.tag.ok { background: rgb(52 199 89 / 0.15); color: #1f9d4a; }
.tag.new { background: rgb(63 140 255 / 0.15); color: var(--blue); }
.tag.exp { background: rgb(255 159 10 / 0.18); color: #b26a00; }
@media (max-width: 860px) { .makers { grid-template-columns: 1fr; } }
.small-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* privacy band */
.band { background: linear-gradient(135deg, var(--night-1), var(--night-2)); color: #fff; }
.band .section-head p { color: rgb(255 255 255 / 0.8); }
.band .eyebrow { color: var(--cyan); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill { padding: 12px 18px; border-radius: 999px; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.18); font-weight: 600; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--text-2); }

/* notice */
.notice { max-width: 860px; margin: 0 auto; background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: var(--radius); padding: 22px 26px; color: var(--text-2); font-size: 16px; }
.notice b { color: var(--text); }

/* ---------- document pages (privacy, support) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 800; }
.doc .date { margin-top: 8px; color: var(--muted); }
.doc h2 { font-size: 22px; margin-top: 38px; }
.doc p, .doc li { color: var(--text-2); }
.doc p { margin-top: 10px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li { margin-top: 6px; }
.doc .box { margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer nav { display: flex; gap: 20px; }
footer nav a { color: var(--text-2); }
footer p + p { margin-top: 6px; }

/* ---------- shared bits for the guide pages ---------- */
.nav a.on { color: #fff; font-weight: 600; }
@media (max-width: 480px) { .nav { gap: 14px; font-size: 14px; } }
.more { margin-top: 18px; font-weight: 600; }

/* Get started */
.start { padding: 72px 0 0; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps3 li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.steps3 .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps3 h3 { font-size: 20px; }
.steps3 p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

/* page hero (sub-pages) */
.page-hero { color: #fff; background: radial-gradient(800px 400px at 20% -20%, rgb(90 124 255 / 0.35), transparent 60%), linear-gradient(135deg, var(--night-1), var(--night-2)); }
.page-hero .wrap { padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; max-width: 820px; }
.page-hero p { margin-top: 16px; font-size: 19px; color: rgb(255 255 255 / 0.82); max-width: 720px; }
.page-hero .eyebrow { color: var(--cyan); margin-bottom: 12px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.jump a { padding: 9px 16px; border-radius: 999px; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.2); color: #fff; font-size: 15px; font-weight: 600; }
.jump a:hover { background: rgb(255 255 255 / 0.18); text-decoration: none; }

/* ---------- annotated screenshots ---------- */
.phone.sm { width: 240px; border-radius: 32px; padding: 7px; }
.phone.sm img, .phone.sm .ph, .phone.sm .ios { border-radius: 26px; }
.screen { position: relative; }
.screen > img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; background: #f2f3f7; }
/* Shown until the real screenshot is added (site.js swaps a missing image for this). */
.ph { aspect-ratio: 1 / 2; display: grid; place-items: center; text-align: center; padding: 24px; background: repeating-linear-gradient(135deg, #eef1f8 0 14px, #e6eaf4 14px 28px); color: #6b7393; font-size: 14px; font-weight: 600; }
.ph b { display: block; font-size: 30px; color: var(--blue); margin-bottom: 6px; }

/* pulsing ring on the thing to tap, with an optional label */
.spot { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid #ff3b6b; box-shadow: 0 0 0 3px rgb(255 255 255 / 0.85); animation: spot 1.6s ease-out infinite; pointer-events: none; }
.spot.wide { width: 86%; height: 44px; margin: -22px 0 0 0; border-radius: 14px; left: 7% !important; }
.spot::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 3px solid #ff3b6b; animation: ripple 1.6s ease-out infinite; }
.spot[data-label]::before { content: attr(data-label); position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; background: #ff3b6b; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgb(0 0 0 / 0.25); animation: bob 0.9s ease-in-out infinite alternate; }
.spot.below[data-label]::before { bottom: auto; top: calc(100% + 12px); }
@keyframes spot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .spot, .spot::after, .spot::before, .ios .switch.anim, .ios .switch.anim i { animation: none !important; } }

/* step guides: numbered steps, each with a picture */
.guide { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 22px; }
.guide > li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.guide .cap { margin-top: 18px; max-width: 280px; }
.guide .cap .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.guide .cap h4 { margin: 0; font-size: 17px; }
.guide .cap p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.track-head { display: flex; align-items: center; gap: 14px; margin: 0 0 32px; }
.track-head .badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; }
.track-head .badge svg { width: 28px; height: 28px; }
.track-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.track-head p { color: var(--text-2); margin-top: 4px; }
.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 26px 64px; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.timeline .t { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.timeline h4 { margin: 2px 0 0; font-size: 18px; }
.timeline p { margin-top: 4px; color: var(--text-2); font-size: 16px; }

/* ---------- iPhone Settings mock-ups ---------- */
.ios { aspect-ratio: 1 / 2; background: #f2f2f7; color: #000; font: 13px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; padding: 20px 10px; text-align: left; overflow: hidden; position: relative; }
.ios .back { color: #007aff; font-size: 14px; }
.ios .title { font-size: 22px; font-weight: 700; margin: 8px 4px 12px; }
.ios .hdr { font-size: 11px; color: #6d6d72; text-transform: uppercase; margin: 14px 12px 6px; }
.ios .group { background: #fff; border-radius: 10px; }
.ios .r { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-top: 0.5px solid #d1d1d6; min-height: 40px; }
.ios .r:first-child { border-top: 0; }
.ios .r .v { color: #8e8e93; white-space: nowrap; }
.ios .r .chev::after { content: "›"; color: #c7c7cc; font-size: 18px; margin-left: 6px; }
.ios .foot { font-size: 10.5px; color: #6d6d72; margin: 6px 12px 0; }
.ios .app { display: flex; align-items: center; gap: 8px; }
.ios .app img, .ios .app i { width: 26px; height: 26px; border-radius: 6px; display: inline-block; flex: none; }
.ios .switch { width: 44px; height: 26px; border-radius: 13px; background: #34c759; position: relative; flex: none; }
.ios .switch i { position: absolute; top: 2px; left: 20px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / 0.25); }
.ios .switch.off { background: #e9e9ea; }
.ios .switch.off i { left: 2px; }
/* a switch that flips on again and again, to show what to do */
.ios .switch.anim { animation: sw-bg 3s infinite; }
.ios .switch.anim i { animation: sw-knob 3s infinite; }
@keyframes sw-bg { 0%, 35% { background: #e9e9ea; } 50%, 100% { background: #34c759; } }
@keyframes sw-knob { 0%, 35% { left: 2px; } 50%, 100% { left: 20px; } }
.ios .opts { display: flex; justify-content: space-around; padding: 12px 6px; }
.ios .opts div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; }
.ios .opts .mini { width: 30px; height: 50px; border-radius: 6px; background: #e5e5ea; border: 1.5px solid #c7c7cc; }
.ios .opts .tick { width: 14px; height: 14px; border-radius: 50%; background: #007aff; }
.ios .lock { position: absolute; inset: 0; background: linear-gradient(160deg, #2b3a8f, #6b3f8f 70%, #a8507a); padding: 30px 10px; color: #fff; }
.ios .lock .clock { text-align: center; font-size: 52px; font-weight: 300; line-height: 1; }
.ios .lock .date { text-align: center; font-size: 13px; margin: 4px 0 22px; opacity: 0.85; }
.ios .lock .notif { padding: 10px; border-radius: 16px; gap: 8px; }
.ios .lock .notif img { width: 30px; height: 30px; border-radius: 7px; }
.ios .lock .notif b { font-size: 13px; }
.ios .lock .notif span, .ios .lock .notif .meta { font-size: 11.5px; }

/* ---------- support topics ---------- */
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.topic { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; color: var(--text); font-weight: 700; }
.topic:hover { text-decoration: none; border-color: var(--blue); }
.topic .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.topic .ic svg { width: 22px; height: 22px; }
.help { scroll-margin-top: 70px; }
.help + .help { border-top: 1px solid var(--border); }
.help .lead2 { color: var(--text-2); font-size: 18px; margin: -18px 0 36px; max-width: 760px; }
.tips { margin: 36px 0 0; padding: 18px 22px 18px 44px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; color: var(--text-2); }
.tips li + li { margin-top: 6px; }
.tips b { color: var(--text); }

/* ---------- devices ---------- */
.dev-group + .dev-group { margin-top: 64px; }
.dev-group-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.dev-group-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.dev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.dev { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.dev .art { height: 170px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgb(63 140 255 / 0.18), transparent 70%), linear-gradient(160deg, #eef3ff, #e3e9fb); }
.dev .art svg { width: 130px; height: 130px; }
.dev .art img { width: 100%; height: 100%; object-fit: cover; }
.dev .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dev h3 { font-size: 20px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.dev .kind { color: var(--muted); font-size: 14px; margin-top: 2px; }
.dev ul.feat { list-style: none; margin: 14px 0 0; padding: 0; font-size: 15px; }
.dev ul.feat li { display: flex; gap: 8px; padding: 3px 0; color: var(--text-2); }
.dev ul.feat li::before { content: "✓"; color: #1f9d4a; font-weight: 800; }
.dev ul.feat li.no::before { content: "–"; color: var(--muted); }
.dev .tip { margin-top: 12px; font-size: 14px; color: var(--muted); }
.dev .links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid var(--border); color: var(--text); background: var(--bg); }
.btn:hover { text-decoration: none; border-color: var(--blue); }
.btn.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dev .art { background: radial-gradient(circle at 50% 40%, rgb(63 140 255 / 0.25), transparent 70%), linear-gradient(160deg, #1b2350, #141a38); } }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
table.compare { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 15px; }
table.compare th, table.compare td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--border); white-space: nowrap; }
table.compare thead th { border-top: 0; background: var(--bg); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
table.compare td.y { color: #1f9d4a; font-weight: 700; }
table.compare td.n { color: var(--muted); }

/* ---------- about / contact ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 22px; }
.card p { margin-top: 10px; color: var(--text-2); }
.prose p { color: var(--text-2); font-size: 18px; margin-top: 14px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.isnt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.isnt div { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.isnt h4 { margin: 0 0 8px; font-size: 16px; }
.isnt ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 15px; }
@media (max-width: 600px) { .isnt { grid-template-columns: 1fr; } }

form.fb { display: grid; gap: 16px; }
form.fb label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
form.fb .opt { color: var(--muted); font-weight: 400; }
form.fb input, form.fb select, form.fb textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); color: var(--text); width: 100%; }
form.fb textarea { min-height: 140px; resize: vertical; }
form.fb input:focus, form.fb select:focus, form.fb textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
form.fb fieldset { border: 0; padding: 0; margin: 0; }
form.fb legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
form.fb .kinds { display: flex; flex-wrap: wrap; gap: 8px; }
form.fb .kinds label { position: relative; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); cursor: pointer; font-size: 14px; }
form.fb .kinds input { position: absolute; opacity: 0; pointer-events: none; width: auto; }
form.fb .kinds label:has(input:checked) { background: var(--blue); border-color: var(--blue); color: #fff; }
form.fb .kinds label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
form.fb .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.fb button { font: inherit; font-weight: 700; font-size: 16px; padding: 13px 22px; border-radius: 12px; border: 0; background: var(--blue); color: #fff; cursor: pointer; justify-self: start; }
form.fb button[disabled] { opacity: 0.6; cursor: default; }
form.fb .status { font-weight: 600; min-height: 1.6em; }
form.fb .status.ok { color: #1f9d4a; }
form.fb .status.err { color: #d93025; }
form.fb .fine { font-size: 13px; color: var(--muted); }

/* Spots placed inside a mock-up row or button follow it exactly. */
.ios .r, .ios .notif, .ios .tap { position: relative; }
.spot.in-row { left: -6px; right: -6px; top: 50%; width: auto; height: calc(100% + 6px); margin: 0; transform-origin: center; translate: 0 -50%; border-radius: 12px; }
.spot.on-switch { left: auto; right: 9px; top: 50%; margin: -23px 0 0 0; }
.spot.on-btn { left: 50%; top: 50%; }
