/* Skyfold Labs — site styles
   One stylesheet, no frameworks. Light/dark via prefers-color-scheme. */

/* Metric-matched fallbacks to minimise layout shift while web fonts load */
@font-face { font-family: "Sora Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 500 700; size-adjust: 108.6%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular"); font-weight: 400; size-adjust: 106.7%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 500 700; size-adjust: 101.6%; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --font-display: "Sora", "Sora Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #f6f8fc;
  --bg-alt: #edf1fa;
  --surface: #ffffff;
  --surface-2: #f3f6fd;
  --ink: #0b1433;
  --ink-2: #364163;
  --ink-3: #525c7c;
  --line: #dde3f0;
  --line-strong: #c3cce2;

  --brand: #4338ca;
  --brand-soft: #e7e9fe;
  --sky-ink: #0369a1;
  --sky-soft: #e0f2fe;
  --hl-from: #4338ca;
  --hl-to: #0369a1;

  --btn-bg: linear-gradient(120deg, #4338ca 0%, #3a3fc4 40%, #0369a1 100%);
  --btn-ink: #ffffff;
  --btn-2-bg: #ffffff;
  --btn-2-ink: #0b1433;
  --btn-2-line: #c3cce2;
  --focus: #4338ca;

  --header-bg: rgb(246 248 252 / .82);
  --shadow-sm: 0 1px 2px rgb(11 20 51 / .06);
  --shadow: 0 1px 2px rgb(11 20 51 / .05), 0 10px 30px -12px rgb(11 20 51 / .16);
  --shadow-lg: 0 40px 80px -30px rgb(30 41 110 / .45);

  --glow-1: rgb(99 102 241 / .20);
  --glow-2: rgb(14 165 233 / .20);

  /* illustration tones */
  --fold-1: #eef1ff;
  --fold-2: #a5b4fc;
  --fold-3: #4f46e5;
  --fold-4: #38bdf8;
  --hill-1: #dfe6fb;
  --hill-2: #c4cff3;
  --hill-3: #d6e9fb;
  --hill-4: #b4d5f3;
  --sun-1: #fde7c8;
  --sun-2: rgb(253 231 200 / 0);
  --cloud-1: #ffffff;
  --cloud-2: #d5def7;
  --tile: #e7e9fe;
  --trail: #7c87c9;
  --spark: #6366f1;

  /* mark (logo) tones */
  --mk-a: #a5b4fc;
  --mk-b: #4f46e5;
  --mk-c: #0ea5e9;

  /* phone mockup */
  --ph-frame: #0b1433;
  --ph-screen: #f8faff;
  --ph-card: #ffffff;
  --ph-ink: #0b1433;
  --ph-ink-2: #4a5475;
  --ph-line: #e3e8f4;
  --ph-ai: #eef0ff;
  --ph-ok: #047857;
  --ph-warn: #b45309;
  --ph-warn-bg: #fff6e8;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b1c;
    --bg-alt: #0a1027;
    --surface: #0f1734;
    --surface-2: #121b3d;
    --ink: #edf1ff;
    --ink-2: #bcc5e2;
    --ink-3: #9aa5c9;
    --line: #1e2a55;
    --line-strong: #2c3a6d;

    --brand: #a5b4fc;
    --brand-soft: rgb(99 102 241 / .16);
    --sky-ink: #7dd3fc;
    --sky-soft: rgb(14 165 233 / .14);
    --hl-from: #a5b4fc;
    --hl-to: #7dd3fc;

    --btn-bg: linear-gradient(120deg, #4f46e5 0%, #4338ca 45%, #0369a1 100%);
    --btn-ink: #ffffff;
    --btn-2-bg: rgb(255 255 255 / .04);
    --btn-2-ink: #edf1ff;
    --btn-2-line: #34437a;
    --focus: #a5b4fc;

    --header-bg: rgb(7 11 28 / .78);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 14px 34px -14px rgb(0 0 0 / .6);
    --shadow-lg: 0 40px 90px -30px rgb(0 0 0 / .8);

    --glow-1: rgb(99 102 241 / .22);
    --glow-2: rgb(14 165 233 / .16);

    --fold-1: #e0e7ff;
    --fold-2: #818cf8;
    --fold-3: #4338ca;
    --fold-4: #38bdf8;
    --hill-1: #17214a;
    --hill-2: #111a3c;
    --hill-3: #142a52;
    --hill-4: #0e2042;
    --sun-1: rgb(129 140 248 / .35);
    --sun-2: rgb(129 140 248 / 0);
    --cloud-1: #1f2a5c;
    --cloud-2: #161f4a;
    --tile: #1a2350;
    --trail: #5b67b3;
    --spark: #a5b4fc;

    --mk-a: #c7d2fe;
    --mk-b: #6366f1;
    --mk-c: #38bdf8;

    --ph-frame: #02040d;
    --ph-screen: #0c1430;
    --ph-card: #131d42;
    --ph-ink: #edf1ff;
    --ph-ink-2: #aeb8d8;
    --ph-line: #233063;
    --ph-ai: #1b2556;
    --ph-ok: #6ee7b7;
    --ph-warn: #fcd34d;
    --ph-warn-bg: rgb(252 211 77 / .1);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

::selection { background: var(--brand-soft); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name span { color: var(--ink-3); font-weight: 500; }

.mk-a { fill: var(--mk-a); }
.mk-b { fill: var(--mk-b); }
.mk-c { fill: var(--mk-c); }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch svg { width: 16px; height: 16px; }
.lang-switch:hover { background: var(--surface-2); }

@media (max-width: 899px) {
  .site-header nav { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 10px 24px -10px rgb(67 56 202 / .7);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgb(67 56 202 / .8); }
.btn-secondary {
  background: var(--btn-2-bg);
  color: var(--btn-2-ink);
  border-color: var(--btn-2-line);
}
.btn-secondary:hover { background: var(--surface-2); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 50% at 78% 30%, var(--glow-2), transparent 70%),
    radial-gradient(40% 45% at 15% 10%, var(--glow-1), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: .55;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 500;
}
.eyebrow-dot {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}
.eyebrow-dot svg { width: 12px; height: 12px; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.hl {
  background: linear-gradient(100deg, var(--hl-from), var(--hl-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (forced-colors: active) {
  .hl { color: CanvasText; background: none; }
}

.hero-lede {
  margin-top: 22px;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  color: var(--ink-2);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  color: var(--ink-3);
  font-size: .9375rem;
}
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--sky-ink); flex: none; }

.hero-art { position: relative; max-width: 560px; justify-self: center; width: 100%; }
@media (max-width: 959px) { .hero-art { max-width: 440px; } }
.hero-art svg {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.nowrap { white-space: nowrap; }

/* illustration classes */
.f1 { fill: var(--fold-1); }
.f2 { fill: var(--fold-2); }
.f3 { fill: var(--fold-3); }
.f4 { fill: var(--fold-4); }
.h1f { fill: var(--hill-1); }
.h2f { fill: var(--hill-2); }
.h3f { fill: var(--hill-3); }
.h4f { fill: var(--hill-4); }
.sun-a { stop-color: var(--sun-1); }
.sun-b { stop-color: var(--sun-2); }
.trail { fill: none; stroke: var(--trail); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 11; }
.spark { fill: var(--spark); }
.c1 { fill: var(--cloud-1); }
.c2 { fill: var(--cloud-2); }
.tile-bg { fill: var(--tile); }

@media (prefers-reduced-motion: no-preference) {
  .plane-float { animation: float 7s ease-in-out infinite; transform-origin: 400px 170px; }
  .trail { animation: dash 2.6s linear infinite; }
  .spark-pulse { animation: pulse 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .spark-pulse.d2 { animation-delay: 1.1s; }
  .spark-pulse.d3 { animation-delay: 2.2s; }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6px, -10px) rotate(-1.5deg); }
}
@keyframes dash { to { stroke-dashoffset: -26; } }
@keyframes pulse {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-top: 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--sky-ink);
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-head h2, .product-copy h2, .contact-card h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 700;
}
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }

/* pillars */
.pillars {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { font-size: 1.1875rem; font-weight: 600; margin-top: 20px; letter-spacing: -0.015em; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand-soft), var(--sky-soft));
  color: var(--brand);
  border: 1px solid var(--line);
}
.icon-tile svg { width: 24px; height: 24px; }

/* product */
.product-grid {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 960px) {
  .product-grid { grid-template-columns: 1.05fr .95fr; }
}
.product-copy .status-pill { display: flex; width: fit-content; }
.product-copy > p { margin-top: 18px; color: var(--ink-2); font-size: 1.125rem; max-width: 34rem; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
}
.status-pill svg { width: 18px; height: 18px; color: var(--brand); }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 0 4px rgb(14 165 233 / .2);
}

.features {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.feature .icon-tile { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.feature .icon-tile svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.feature p { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }

.product-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.product-cta small { color: var(--ink-3); font-size: .875rem; }

/* phone mockup */
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  padding: 24px 0;
  isolation: isolate;
}
.phone-stage::before {
  content: "";
  position: absolute;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--glow-1), transparent),
              radial-gradient(closest-side at 70% 70%, var(--glow-2), transparent);
}

.phone {
  position: relative;
  width: min(300px, 82vw);
  aspect-ratio: 300 / 610;
  padding: 12px;
  border-radius: 46px;
  background: var(--ph-frame);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgb(255 255 255 / .08);
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: var(--ph-screen);
  color: var(--ph-ink);
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}
.ph-notch {
  position: absolute;
  top: 9px; left: 50%;
  width: 84px; height: 22px;
  translate: -50% 0;
  border-radius: 999px;
  background: var(--ph-frame);
}
.ph-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 0;
  font-size: 11px;
  font-weight: 600;
}
.ph-status i { display: inline-block; width: 26px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; }
.ph-body { padding: 18px 14px 10px; display: grid; gap: 10px; flex: 1; align-content: start; }
.ph-head { display: flex; align-items: center; justify-content: space-between; padding-inline: 4px; }
.ph-head small { display: block; color: var(--ph-ink-2); font-size: 10.5px; }
.ph-head strong { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.01em; }
.ph-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(140deg, #818cf8, #38bdf8);
}
.ph-card {
  background: var(--ph-card);
  border: 1px solid var(--ph-line);
  border-radius: 16px;
  padding: 11px 12px;
}
.ph-trip {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #075985 100%);
  position: relative;
  overflow: hidden;
}
.ph-trip::after {
  content: "";
  position: absolute;
  right: -18px; bottom: -26px;
  width: 110px; height: 110px;
  background: conic-gradient(from 210deg, rgb(255 255 255 / .18) 0 25%, rgb(255 255 255 / .06) 0 50%, transparent 0);
  clip-path: polygon(0 60%, 100% 0, 60% 100%);
}
.ph-trip small { opacity: .85; font-size: 10.5px; }
.ph-trip strong { display: block; font-family: var(--font-display); font-size: 15px; margin-top: 2px; }
.ph-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ph-tags span {
  padding: 2px 8px; border-radius: 999px;
  background: rgb(255 255 255 / .16);
  font-size: 10px; font-weight: 500;
}
.ph-ai {
  display: flex; gap: 8px; align-items: flex-start;
  background: var(--ph-ai);
  border-color: transparent;
}
.ph-ai svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.ph-ai p { font-size: 11px; }
.ph-title { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ph-ink-2); margin-bottom: 6px; }
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ph-list li { display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.ph-list svg { width: 14px; height: 14px; flex: none; }
.ph-ok { color: var(--ph-ok); }
.ph-warn { color: var(--ph-warn); }
.ph-list .miss { background: var(--ph-warn-bg); margin-inline: -6px; padding: 3px 6px; border-radius: 8px; }
.ph-list .miss em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600; color: var(--ph-warn); }
.ph-day { display: grid; gap: 7px; }
.ph-day div { display: grid; grid-template-columns: 38px 1fr; gap: 6px; align-items: center; font-size: 11.5px; }
.ph-day time { color: var(--ph-ink-2); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.ph-day span { padding-left: 8px; border-left: 2px solid #818cf8; }
.ph-nav {
  display: flex; justify-content: space-around;
  padding: 10px 18px 16px;
  border-top: 1px solid var(--ph-line);
  background: var(--ph-card);
}
.ph-nav i { width: 20px; height: 4px; border-radius: 999px; background: var(--ph-line); }
.ph-nav i:first-child { background: #6366f1; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.float-chip svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.chip-a { top: 14%; left: 0; }
.chip-b { bottom: 7%; right: 0; }
@media (max-width: 520px) {
  .float-chip { display: none; }
}
@media (min-width: 960px) and (max-width: 1139px) {
  .chip-a { left: -4%; }
  .chip-b { right: -4%; }
}
@media (prefers-reduced-motion: no-preference) {
  .chip-a { animation: bob 6s ease-in-out infinite; }
  .chip-b { animation: bob 6s ease-in-out 3s infinite; }
}
@keyframes bob { 50% { translate: 0 -6px; } }

/* more on the way */
.more {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 120% at 100% 0%, var(--glow-2), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, var(--glow-1), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) { .more { grid-template-columns: auto 1fr; gap: 36px; } }
.more h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; }
.more p { margin-top: 10px; color: var(--ink-2); max-width: 44rem; }
.more-art { width: 96px; height: 96px; }

/* principles */
.principles {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: p;
  border-top: 1px solid var(--line-strong);
}
@media (min-width: 760px) {
  .principles { grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 72px); }
}
.principles li {
  counter-increment: p;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-strong);
}
.principles li::before {
  content: counter(p, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--sky-ink);
  padding-top: 3px;
}
.principles h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.principles p { margin-top: 6px; color: var(--ink-2); }

/* contact */
.contact-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 32px;
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #0b1433 0%, #1e1b6b 55%, #0c3a63 100%);
  color: #eef2ff;
  box-shadow: var(--shadow-lg);
}
@media (prefers-color-scheme: dark) {
  .contact-card { border: 1px solid var(--line-strong); }
}
@media (min-width: 900px) { .contact-card { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 360px; height: 360px;
  z-index: -1;
  background:
    linear-gradient(135deg, rgb(165 180 252 / .22), rgb(165 180 252 / .04));
  clip-path: polygon(0 55%, 100% 0, 45% 100%);
}
.contact-card .kicker { color: #7dd3fc; }
.contact-card h2 { color: #fff; }
.contact-card p { margin-top: 16px; color: #c9d2f0; font-size: 1.125rem; max-width: 34rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .12);
}
.contact-list svg { width: 22px; height: 22px; color: #7dd3fc; flex: none; }
.contact-list small { display: block; color: #aab6de; font-size: .8125rem; }
.contact-list a, .contact-list strong { color: #fff; font-weight: 600; word-break: break-word; }
.contact-card .btn-light {
  background: #fff;
  color: #1e1b6b;
  margin-top: 28px;
}
.contact-card .btn-light:hover { transform: translateY(-1px); }
.contact-card :focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 40px 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: .9375rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 24px; height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Simple pages (privacy, 404) ---------- */
.page {
  padding-block: clamp(48px, 8vw, 96px);
}
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 700; }
.prose h2 { font-size: 1.375rem; font-weight: 600; margin-top: 40px; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink-2); }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 6px; }
.prose .meta { color: var(--ink-3); font-size: .9375rem; margin-top: 12px; }

.notfound {
  min-height: calc(100vh - 69px - 130px);
  display: grid;
  place-items: center;
  text-align: center;
}
.notfound .nf-art { width: 160px; margin: 0 auto 28px; }
.notfound h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.notfound p { margin-top: 14px; color: var(--ink-2); }
.notfound .hero-ctas { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
