/* SmartTime marketing site. Tokens, base, components, then sections in page order.
   Layout rule: headlines and copy hang from the left edge of the container; the
   how-it-works, toolkit, pricing and closing blocks center on purpose as quiet beats. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-blue: #eaf1fd;
  --surface: #ffffff;
  --ink: #0a1628;
  --ink-2: #1c2a45;
  --muted: #56667f;
  --subtle: #8a98b0;
  --line: #e3e9f2;
  --line-2: #d3dcea;

  --accent: #2563eb;
  --accent-hover: #1d4fd7;
  --accent-soft: #e9f0ff;

  --dark: #0b1220;
  --dark-2: #131c2e;
  --dark-line: #243049;
  --dark-muted: #9aa8c0;

  --font: 'Geist', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', cursive;
  --panel-font: 'Montserrat', 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgb(10 22 40 / 0.04), 0 2px 8px rgb(10 22 40 / 0.04);
  --shadow: 0 1px 2px rgb(10 22 40 / 0.03), 0 8px 24px rgb(10 22 40 / 0.05), 0 24px 64px rgb(37 99 235 / 0.06);
  --shadow-lg: 0 2px 4px rgb(10 22 40 / 0.04), 0 18px 44px rgb(10 22 40 / 0.08), 0 44px 96px rgb(37 99 235 / 0.09);

  --container: 1200px;
  --gutter: 24px;
  --nav-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 300;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
}
.skip:focus { top: 12px; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.icon { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }

/* Type */
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.h-display {
  text-wrap: balance;
  font-family: var(--display); font-optical-sizing: auto;
  font-size: clamp(42px, 5.8vw, 70px); line-height: 1; letter-spacing: -0.03em; font-weight: 800;
}
.h-section {
  text-wrap: balance;
  font-family: var(--display); font-optical-sizing: auto;
  font-size: clamp(32px, 3.8vw, 46px); line-height: 1.04; letter-spacing: -0.028em; font-weight: 800;
}
.accent { color: var(--accent); }
.muted-2 { color: var(--subtle); }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 50ch; }
.lead b { color: var(--ink); }
.lead a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lead + .lead { margin-top: 14px; }
.head-center { text-align: center; max-width: 720px; margin-inline: auto; }
.head-center .lead { margin: 16px auto 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 18px; border-radius: 11px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: transform 0.18s var(--ease-out), background-color 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
}
.btn .icon { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgb(37 99 235 / 0.2), 0 6px 16px rgb(37 99 235 / 0.22); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 2px 4px rgb(37 99 235 / 0.2), 0 10px 24px rgb(37 99 235 / 0.28); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-ghost { color: var(--muted); padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); background: var(--bg-soft); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 13px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }

.microline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; font-size: 13.5px; color: var(--subtle); font-variant-numeric: tabular-nums; }
.microline i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.microline a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.microline a:hover { color: var(--accent); }
/* A line for visitors on one particular system (shown by main.js only to them). */
.os-note { margin-top: 12px; max-width: 52ch; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.os-note[hidden] { display: none; }
.os-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.os-note a:hover { color: var(--accent-hover); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgb(10 22 40 / 0.04); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-logo-text { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button {
  display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.18s, background-color 0.18s;
}
.nav-links a:hover, .nav-links button:hover, .nav-links button[aria-expanded="true"] { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--ink); }
.nav-links .icon { width: 14px; height: 14px; transition: transform 0.2s var(--ease-out); }
.nav-links button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; padding: 6px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.menu.open { opacity: 1; transform: none; pointer-events: auto; }
.menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; height: auto; padding: 9px 10px; border-radius: 9px; }
.menu a small { font-size: 12px; font-weight: 400; color: var(--subtle); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; color: var(--ink); }
.nav-burger:hover { background: var(--bg-soft); }
.nav-burger .icon { width: 22px; height: 22px; }
.nav-burger .x { display: none; }
.nav-burger[aria-expanded="true"] .bars { display: none; }
.nav-burger[aria-expanded="true"] .x { display: block; }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 190; background: var(--bg); padding: 12px 24px 32px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 14px 6px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a small { font-size: 13px; font-weight: 500; color: var(--subtle); }
.mobile-menu .btn { margin-top: 18px; border-bottom: 0; font-size: 15.5px; }

/* Sections */
.section { position: relative; padding: 120px 0; }
.section-soft { background: var(--bg-soft); }
#product, #apps, .hero { overflow-x: clip; }
html { overflow-x: clip; }
.section-blue { background: var(--bg-blue); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* Handwritten notes: one arrow shape, rotated per placement */
.note {
  position: absolute; pointer-events: none; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-hand); font-size: 22px; line-height: 1.1; font-weight: 600; color: var(--accent);
}
.note svg { width: 40px; height: 40px; stroke: var(--accent); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 76px) 0 88px; overflow: clip; }
.hero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 62vw; height: 62vw; max-width: 940px; max-height: 940px; right: -16vw; top: -26vw; border-radius: 50%;
  background: radial-gradient(closest-side, var(--bg-blue), var(--bg-soft) 58%, transparent);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-copy { max-width: 560px; }
.hero-copy .lead { margin-top: 26px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-visual { position: relative; }
.hero-pedestal {
  position: absolute; inset: 8% -6% -10% 6%; z-index: 0;
  background: linear-gradient(160deg, var(--bg-blue), var(--bg-soft));
  border-radius: 32px; border: 1px solid rgb(37 99 235 / 0.06);
}
.note-hero { right: 8px; bottom: -64px; flex-direction: column; align-items: flex-start; gap: 0; }
.note-hero svg { transform: scaleX(-1) rotate(8deg); }

/* Protected hero app panel. Copied verbatim from the previous site; only var(--font) became var(--panel-font). */
    .win-wrap { perspective: 1300px; position: relative; z-index: 1; }
    .win-3d {
      transform: rotateY(-4deg) rotateX(2deg);
      animation: float3d 7s ease-in-out infinite;
      transform-style: preserve-3d;
    }
    @keyframes float3d {
      0%,100% { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
      50%      { transform: rotateY(-4deg) rotateX(2deg) translateY(-10px); }
    }

    .app-window {
      width: 100%; max-width: 580px; border-radius: 12px;
      background: #F8FAFC; overflow: hidden;
      border: 1px solid rgba(255,255,255,0.72);
      position: relative; z-index: 1;
      box-shadow:
        0 0 0 1px rgba(0,0,0,0.07),
        0 2px 8px rgba(0,0,0,0.07),
        0 16px 40px rgba(37,99,235,0.15),
        0 40px 90px rgba(0,0,0,0.14),
        0 64px 120px rgba(10,22,40,0.10);
    }
    .win-titlebar {
      display: flex; align-items: center; gap: 6px;
      padding: 10px 14px;
      background: #F1F5F9; border-bottom: 1px solid #E2E8F0;
    }
    .win-dot { width: 10px; height: 10px; border-radius: 50%; }
    .win-title { flex: 1; text-align: center; font-size: 11px; font-weight: 600; color: #64748B; font-family: var(--panel-font); }

    .win-body { display: flex; height: 390px; }

    /* ── SIDEBAR ──────────────── */
    .win-sidebar {
      width: 142px; min-width: 142px;
      background: #F1F5F9; border-right: 1px solid #E2E8F0;
      display: flex; flex-direction: column; padding: 0;
    }
    .sb-brand {
      display: flex; align-items: center; gap: 7px;
      padding: 11px 12px 10px; border-bottom: 1px solid #E2E8F0;
    }
    .sb-brand img { width: 18px; height: 18px; border-radius: 5px; }
    .sb-brand-text { font-size: 11px; font-weight: 700; color: #0A1628; font-family: var(--panel-font); }
    .sb-nav { flex: 1; padding: 6px 6px; display: flex; flex-direction: column; gap: 1px; }
    .sb-item {
      display: flex; align-items: center; gap: 6px;
      padding: 5px 8px; border-radius: 7px;
      font-size: 9.5px; font-weight: 500; color: #64748B;
      font-family: var(--panel-font); cursor: default;
    }
    .sb-item.active { background: rgba(37,99,235,0.12); color: #2563EB; font-weight: 700; }
    .sb-item-icon { font-size: 10px; width: 14px; text-align: center; flex-shrink: 0; }
    .sb-sep { height: 1px; background: #E2E8F0; margin: 5px 8px; }
    .sb-footer { border-top: 1px solid #E2E8F0; padding: 8px 10px; }
    .sb-user { display: flex; align-items: center; gap: 7px; }
    .sb-avatar {
      width: 22px; height: 22px; border-radius: 50%;
      background: #2563EB; color: #fff;
      font-size: 9px; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--panel-font); flex-shrink: 0;
    }
    .sb-uname { font-size: 9.5px; font-weight: 600; color: #0A1628; flex: 1; font-family: var(--panel-font); }
    .sb-logout { font-size: 9px; color: #94A3B8; }

    /* ── MAIN CONTENT ─────────── */
    .win-main {
      flex: 1; background: #F8FAFC; overflow: hidden;
      display: flex; flex-direction: column; padding: 10px 12px; gap: 7px;
    }

    .dash-tabs-row { display: flex; align-items: center; gap: 3px; flex-wrap: nowrap; }
    .dash-tab {
      font-size: 9px; font-weight: 500; color: #94A3B8;
      padding: 3px 8px; border-radius: 100px;
      border: 1px solid transparent; cursor: default; font-family: var(--panel-font); white-space: nowrap;
    }
    .dash-tab.on { border-color: #2563EB; color: #2563EB; background: rgba(37,99,235,0.07); font-weight: 700; }
    .dash-arrows { margin-left: auto; font-size: 11px; color: #94A3B8; }

    .dash-card {
      background: #fff; border: 1px solid #E2E8F0; border-radius: 10px;
      padding: 10px 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
    }
    .dash-big-time { font-size: 22px; font-weight: 800; color: #0A1628; letter-spacing: -0.8px; line-height: 1; margin-bottom: 2px; font-family: var(--panel-font); }
    .dash-time-meta { font-size: 7.5px; color: #94A3B8; margin-bottom: 2px; font-family: var(--panel-font); }
    .dash-time-trend { font-size: 7.5px; color: #94A3B8; margin-bottom: 6px; font-family: var(--panel-font); }
    .dash-time-trend span { color: #f43f5e; font-weight: 600; }
    .dash-what {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 8px; color: #2563EB; border: 1px solid #E2E8F0;
      border-radius: 5px; padding: 3px 7px; cursor: default; font-family: var(--panel-font);
    }
    .dash-card-stats { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex-shrink: 0; }
    .ds-label { font-size: 7px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.07em; font-family: var(--panel-font); }
    .ds-value { font-size: 10px; font-weight: 700; color: #0A1628; font-family: var(--panel-font); }
    .ds-value.purple { color: #2563EB; }

    .dash-section { font-size: 8px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--panel-font); display: flex; align-items: center; gap: 4px; }

    .dash-prod {
      background: #fff; border: 1px solid #E2E8F0; border-radius: 10px;
      padding: 9px 11px; display: flex; gap: 10px; align-items: center;
    }
    .prod-ring-wrap { flex-shrink: 0; }
    .prod-info { flex: 1; min-width: 0; }
    .prod-score-lbl { font-size: 9px; font-weight: 700; color: #0A1628; margin-bottom: 1px; font-family: var(--panel-font); }
    .prod-score-sub { font-size: 7px; color: #94A3B8; margin-bottom: 5px; font-family: var(--panel-font); }
    .prod-bar { display: flex; height: 5px; border-radius: 3px; overflow: hidden; gap: 1px; margin-bottom: 4px; }
    .prod-legend { display: flex; gap: 6px; flex-wrap: wrap; }
    .prod-legend-item { font-size: 6.5px; color: #94A3B8; display: flex; align-items: center; gap: 3px; font-family: var(--panel-font); }
    .prod-legend-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

    .dash-app-list { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; flex: 1; }
    .dash-app-filters { display: flex; gap: 4px; padding: 6px 8px 4px; border-bottom: 1px solid #F1F5F9; }
    .dash-filter { font-size: 7.5px; padding: 2px 7px; border-radius: 4px; border: 1px solid #E2E8F0; color: #94A3B8; cursor: default; font-family: var(--panel-font); }
    .dash-filter.on { background: rgba(37,99,235,0.08); color: #2563EB; border-color: rgba(37,99,235,0.2); font-weight: 600; }
    .dash-app { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-bottom: 1px solid #F8FAFC; }
    .dash-app:last-child { border-bottom: none; }
    .da-icon { width: 22px; height: 22px; border-radius: 6px; color: #fff; font-size: 7px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--panel-font); }
    .da-name { font-size: 9px; font-weight: 600; color: #0A1628; flex: 1; font-family: var(--panel-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .da-badge { font-size: 6px; padding: 1px 4px; border-radius: 3px; background: rgba(37,99,235,0.09); color: #2563EB; font-weight: 600; flex-shrink: 0; font-family: var(--panel-font); }
    .da-sess { font-size: 6.5px; color: #CBD5E1; flex-shrink: 0; width: 34px; text-align: right; font-family: var(--panel-font); }
    .da-time { font-size: 9px; font-weight: 700; color: #0A1628; flex-shrink: 0; width: 28px; text-align: right; font-family: var(--panel-font); }
    .da-pct { font-size: 7.5px; color: #94A3B8; flex-shrink: 0; width: 30px; text-align: right; font-family: var(--panel-font); }


/* Proof row */
.proof { padding: 36px 0 44px; border-bottom: 1px solid var(--line); }
.proof-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.proof-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); flex-basis: 100%; }
.proof-list { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.proof-list li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.proof-list img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.25s, opacity 0.25s; }
.proof-list li:hover img { filter: none; opacity: 1; }
.proof-more { font-size: 14px; color: var(--subtle); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; counter-reset: none; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 26px; box-shadow: var(--shadow-sm); }
.step-vis { height: 176px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; gap: 10px; padding: 18px; margin-bottom: 22px; overflow: hidden; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; margin: 0 12px 12px; }
.step h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 12px 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0 12px; line-height: 1.55; }

.installer { width: 100%; max-width: 280px; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.installer img { border-radius: 9px; }
.installer-body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.installer-body b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.installer-body small { font-size: 11.5px; color: var(--subtle); }
.installer-bar { height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.installer-bar i { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: 99px; transform-origin: left; transform: scaleX(0.68); }
html.js .in .installer-bar i { animation: install 2.4s var(--ease-out) 0.3s both; }
@keyframes install { from { transform: scaleX(0.08); } to { transform: scaleX(0.92); } }

.tray { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 12px; background: var(--dark); color: #e6ecf6; font-size: 13px; font-weight: 500; box-shadow: var(--shadow); }
.tray img { border-radius: 5px; }
.tray em { font-style: normal; font-size: 11.5px; font-weight: 600; color: #86efac; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; background: rgb(34 197 94 / 0.14); }
.tray em i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: live 1.8s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.35; } }
.tray-sub { font-size: 12.5px; color: var(--muted); }
.tray-sub span { color: var(--subtle); }

.mini-day { width: 100%; max-width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); }
.mini-day b { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.mini-day small { display: block; font-size: 11.5px; color: var(--subtle); margin: 4px 0 12px; }
.mini-bar { display: flex; gap: 2px; height: 10px; border-radius: 99px; overflow: hidden; background: var(--bg-soft); }
.mini-bar i { flex: 0 0 var(--w); background: var(--c); }
.mini-ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: var(--subtle); }

/* Feature rows */
.row { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.row + .row { margin-top: 140px; }
.row-flip { grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr); }
.row-copy .h-section { font-size: clamp(32px, 3.3vw, 42px); }
.row-flip .row-copy { order: 2; }
.row-copy .h-section { margin-bottom: 22px; }
.row-vis { position: relative; }
.crop-right { margin-right: calc((100vw - min(var(--container), 100vw - var(--gutter) * 2)) / -2 + 0px); padding-right: 0; }
.crop-right > .card:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; }
.crop-left { margin-left: calc((100vw - min(var(--container), 100vw - var(--gutter) * 2)) / -2); }
.crop-left > .card:first-child { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 0; }

/* Day card */
.day-card { padding: 22px 28px 18px 22px; max-width: 760px; }
.crop-left .day-card, .crop-left .proj-card { margin-left: auto; }
.day-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.day-head h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.day-head h3 small { display: block; font-size: 12.5px; font-weight: 500; color: var(--subtle); margin-top: 2px; }
.day-nav { display: inline-flex; align-items: center; gap: 4px; }
.day-nav span, .day-nav i { display: grid; place-items: center; height: 32px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); font-style: normal; }
.day-nav i { width: 32px; color: var(--subtle); }
.day-nav i .icon { width: 14px; height: 14px; }
.day-nav span { padding: 0 12px; }
.day-strip { position: relative; margin-bottom: 8px; }
.day-strip-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--bg-blue); }
.day-strip-bar i { display: block; height: 100%; flex: 0 0 var(--w); transform-origin: left; }
.day-strip-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--subtle); font-variant-numeric: tabular-nums; }
.day-now { position: absolute; top: -6px; bottom: 16px; left: var(--x, 50%); width: 2px; background: var(--ink); border-radius: 2px; opacity: 0; transition: opacity 0.4s; }
.day-now::after { content: 'now'; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; }
.day-now.show { opacity: 1; }
.day-list { margin-top: 20px; display: grid; gap: 8px; }
.day-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; }
.day-row time { font-size: 13px; color: var(--subtle); font-variant-numeric: tabular-nums; font-weight: 500; }
.day-entry { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; border-radius: 12px; background: var(--c-bg); transition: transform 0.18s var(--ease-out); }
@media (hover: hover) { .day-entry:hover { transform: translateX(3px); } }
.day-entry .tile { width: 30px; height: 30px; display: grid; place-items: center; }
.day-entry .tile img { width: 24px; height: 24px; object-fit: contain; }
.day-entry .tile-idle { background: var(--c); color: #fff; border-radius: 8px; }
.day-entry .tile-idle .icon { width: 15px; height: 15px; }
.day-entry .e-name { font-size: 14.5px; font-weight: 600; }
.day-entry .e-sub { font-size: 12.5px; color: var(--muted); }
.day-entry .e-dur { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.day-entry .e-tag { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--c-ink); }
.note-day { left: 36px; bottom: -60px; align-items: flex-end; }
.note-day svg { transform: rotate(-6deg); margin-bottom: 4px; }

/* Projects card + overlapping sequence card */
.proj-card { padding: 24px 24px 48px 28px; max-width: 640px; }
.proj-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.proj-head h3 { font-size: 17px; font-weight: 700; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-soft); }
.seg span { padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg span.on { background: var(--accent); color: #fff; }
.proj-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 70px; align-items: center; gap: 14px; padding: 11px 0; }
.proj-row + .proj-row { border-top: 1px solid var(--line); }
.proj-row .tile { width: 26px; height: 26px; display: grid; place-items: center; }
.proj-row .tile img { width: 24px; height: 24px; object-fit: contain; }
.proj-name { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.proj-name small { font-size: 12px; font-weight: 500; color: var(--subtle); white-space: nowrap; }
.bar { display: block; height: 6px; border-radius: 999px; background: var(--bg-blue); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; transform-origin: left; transform: scaleX(var(--w)); transition: transform 1s var(--ease-out); }
.proj-time { text-align: right; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-flip .row-vis { padding-bottom: 150px; }
.seq-card { position: absolute; right: 28px; bottom: 0; width: min(300px, 70%); padding: 16px 18px; box-shadow: var(--shadow-lg); }
.seq-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.seq-head b { font-size: 13px; }
.seq-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--line); }
.seq-row em { font-style: normal; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
/* Claude Code card: same Projects card, a terminal tile instead of an app logo
   (no third-party mark), plus the live "Now" line the app shows. */
.tile-term { border-radius: 7px; background: var(--ink); color: #fff; }
.tile-term svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.now-strip { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 12px; margin-bottom: 6px; border-radius: 10px; background: var(--accent-soft); font-size: 13px; }
.now-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: now-pulse 2.4s ease-in-out infinite; }
.now-strip b { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); flex-shrink: 0; }
.now-strip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-weight: 500; }
@keyframes now-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }
@media (prefers-reduced-motion: reduce) { .now-strip i { animation: none; } }
.proj-row--muted .proj-name, .proj-row--muted .proj-time { color: var(--subtle); font-weight: 500; }
.pro-chip.chip-free { background: #e7f6ee; color: #15803d; }
/* Marks something that ships in the next app update. main.js removes it once that version is out. */
.pro-chip.chip-next { margin-left: 6px; }
.pro-chip.chip-dark { background: rgb(127 166 255 / 0.16); color: #a9c4ff; }

.pro-chip {display: inline-flex; align-items: center; font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; vertical-align: middle; }

/* Insight stat card */
.stat-card { padding: 26px 28px 22px 26px; max-width: 760px; }
.stat-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stat-big { display: block; font-family: var(--display); font-size: clamp(48px, 6vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.stat-label { display: block; font-size: 13px; color: var(--subtle); margin-top: 8px; }
.delta { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.delta .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.delta.up { background: #e2f5ea; color: #1a7f4b; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.stat-grid div { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.stat-grid span { font-size: 12px; color: var(--subtle); }
.stat-grid b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-grid em { font-style: normal; font-size: 12px; color: var(--muted); }
.stat-grid em.up { color: #1a7f4b; font-weight: 600; }
.hours { display: flex; align-items: flex-end; gap: 6px; height: 88px; margin-top: 22px; }
.hours i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: #c9d8f7; transform-origin: bottom; }
.hours i.peak { background: var(--accent); }
.hours-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--subtle); }
.insight { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #fff4dd; }
.insight-ico { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #a86a0c; display: grid; place-items: center; }
.insight-ico .icon { width: 17px; height: 17px; }
.insight p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* Creative-app orbit */
.orbit-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgb(37 99 235 / 0.22); }
.ring.r2 { inset: 22%; border-style: solid; border-color: rgb(37 99 235 / 0.12); }
.orbit-core { position: absolute; inset: 38%; border-radius: 28%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.orbit-core img { width: 58%; height: 58%; }
.o { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.o img { object-fit: contain; }
.o1 { left: 50%; top: 0; }
.o2 { left: 93%; top: 25%; animation-delay: -1s; }
.o3 { left: 93%; top: 75%; animation-delay: -2s; }
.o4 { left: 50%; top: 100%; animation-delay: -3s; }
.o5 { left: 7%; top: 75%; animation-delay: -4s; }
.o6 { left: 7%; top: 25%; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.orbit-copy .h-section { margin-bottom: 20px; }
.app-facts { margin-top: 28px; display: grid; gap: 10px; }
.app-facts li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; background: rgb(255 255 255 / 0.7); border: 1px solid rgb(37 99 235 / 0.08); border-radius: 14px; }
.app-facts img { object-fit: contain; }
.app-facts b { display: block; font-size: 15px; }
.app-facts span { font-size: 14px; color: var(--muted); }

/* Toolkit bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.tile-card { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 12px 24px; box-shadow: var(--shadow-sm); transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), border-color 0.22s; }
.tile-card.t-wide { grid-column: span 4; }
/* Closing tile: runs the full width with its picture beside the words. */
.tile-card.t-full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px; }
.tile-card.t-full .tv { margin-bottom: 0; height: 100%; min-height: 150px; }
.tile-card.t-full .tile-text { padding: 12px 8px 12px 12px; }
.tile-card.t-full h3 { font-size: 19px; margin-bottom: 8px; }
/* A second full-width tile mirrors the first: words on the left, picture on the right. */
.tile-card.t-full.t-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.tile-card.t-full.t-flip .tv { order: 2; }
.tile-card.t-full.t-flip .tile-text { padding: 12px 12px 12px 12px; }
@media (hover: hover) { .tile-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); } }
.tv { height: 150px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; gap: 12px; padding: 16px; margin-bottom: 20px; overflow: hidden; }
.tile-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 0 12px 6px; }
.tile-card p { font-size: 14.5px; color: var(--muted); margin: 0 12px; line-height: 1.55; }
.tray-lg { font-size: 14px; padding: 11px 14px; }
.pause-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pause-row span { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.pause-row .dim { color: var(--subtle); }
.devs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.dev { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow-sm); }
.dev .icon { width: 16px; height: 16px; color: var(--subtle); }
.dev-on { background: var(--accent-soft); border-color: rgb(37 99 235 / 0.35); color: var(--accent); }
.dev-on .icon { color: var(--accent); }
.devs-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.devs-lock .icon { width: 14px; height: 14px; color: #16a34a; }
.toast { display: flex; gap: 10px; align-items: flex-start; max-width: 270px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.toast img { border-radius: 5px; margin-top: 2px; }
.toast b { display: block; font-size: 13px; }
.toast span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.toast .ok { width: 22px; height: 22px; border-radius: 50%; background: #e2f5ea; color: #1a7f4b; display: grid; place-items: center; flex-shrink: 0; }
.toast .ok .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.catbar { display: flex; gap: 3px; width: 100%; max-width: 250px; height: 12px; border-radius: 99px; overflow: hidden; }
.catbar i { flex: 0 0 calc(var(--w) - 2px); background: var(--c); }
.catlegend { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 12px; color: var(--muted); }
.catlegend span { display: inline-flex; align-items: center; gap: 5px; }
.catlegend i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.files { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.file { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 12.5px; color: var(--ink-2); }
.file b { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; padding: 3px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.file-backup b { background: #e2f5ea; color: #1a7f4b; }
.swatches { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.swatches i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.5); }
.swatches i.on { box-shadow: 0 0 0 3px var(--bg-soft), 0 0 0 5px var(--c); }
.theme-toggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); margin-left: 6px; }
.theme-toggle em { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; color: var(--muted); }
.theme-toggle em.on { background: var(--dark); color: #fff; }
.gauge { width: 100%; max-width: 260px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gauge-bar { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: #d8e0ec; overflow: hidden; }
.gauge-bar i { display: block; height: 100%; width: 82%; background: #22c55e; border-radius: 99px; }
.gauge-l, .gauge-r { font-size: 12px; color: var(--muted); }
.gauge-r { text-align: right; }
.gauge b { color: var(--ink); font-size: 13px; }

/* Privacy dark band */
.section-dark { background: var(--dark); color: #e8edf6; }
.section-dark .lead { color: var(--dark-muted); }
.eyebrow-dark { color: #7fa6ff; }
.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.privacy .h-section { margin-bottom: 20px; color: #fff; }
.keeps { margin-top: 28px; display: grid; gap: 12px; }
.keeps li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: #d6deeb; }
.keeps .icon { width: 18px; height: 18px; color: #7fa6ff; }
.mail { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 22px 22px 18px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.45); }
.mail-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mail-head img { border-radius: 8px; }
.mail-head b { display: block; font-size: 15px; }
.mail-head span { font-size: 12.5px; color: var(--subtle); }
.mail-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.mail-table th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); padding: 10px 0 8px; }
.mail-table th:last-child, .mail-table td:last-child { text-align: right; }
.mail-table td { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mail-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.mail-table td img { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.mail-table td:last-child { font-weight: 700; color: var(--ink); }
.mail-foot { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }

/* Pricing strip */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 20px; margin-top: 52px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 28px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan-pro { border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.plan h3 { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.plan-price b { font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-size: 14px; color: var(--subtle); }
.plan-note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan ul { display: grid; gap: 10px; margin: 22px 0 28px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.plan li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan .btn { width: 100%; }
.plans-foot { text-align: center; margin-top: 24px; font-size: 14.5px; color: var(--muted); }
.plans-foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Final CTA */
.cta { padding: 130px 0 120px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-icon { width: clamp(120px, 12vw, 156px); aspect-ratio: 1; border-radius: 27%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin-bottom: 36px; }
.cta-icon img { width: 64%; height: 64%; }
.cta .lead { margin: 18px auto 30px; }
.cta .microline { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 0; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { border-radius: 7px; }
.footer-brand span { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.footer-tag { font-size: 14px; color: var(--muted); max-width: 30ch; line-height: 1.55; }
.footer h3 { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--subtle); }
.footer-bottom a:hover { color: var(--ink); }
.wordmark {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.05em; line-height: 0.86;
  font-size: clamp(64px, 17.4vw, 250px); color: var(--bg-blue); text-align: center;
  margin: 32px 0 0; padding-bottom: 0.06em; user-select: none; white-space: nowrap;
}

/* Reveals: visible without JS; the js class arms them */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
html.js .row .row-vis.reveal { transform: translateX(24px); }
html.js .row-flip .row-vis.reveal { transform: translateX(-24px); }
html.js .reveal.in, html.js .row .row-vis.reveal.in { opacity: 1; transform: none; }
html.js .proj-card .bar i { transform: scaleX(0); }
html.js .in .proj-card .bar i { transform: scaleX(var(--w)); }
html.js .hours i { transform: scaleY(0); transition: transform 0.8s var(--ease-out); }
html.js .in .hours i { transform: scaleY(1); }
html.js .in .hours i:nth-child(2n) { transition-delay: 0.05s; }
html.js .in .hours i:nth-child(3n) { transition-delay: 0.1s; }
html.js .day-strip-bar i { transform: scaleX(0); transition: transform 0.9s var(--ease-out); }
html.js .in .day-strip-bar i { transform: scaleX(1); }
html.js .hero-copy > * { animation: rise 0.8s var(--ease-out) both; }
html.js .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
html.js .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
html.js .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
html.js .hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
html.js .hero-visual { animation: rise 0.9s var(--ease-out) 0.25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 640px; }
  .row, .row-flip { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .row-flip .row-copy { order: 0; }
  .crop-right, .crop-left { margin: 0; }
  .crop-right > .card:first-child, .crop-left > .card:first-child { border-radius: var(--r-lg); border: 1px solid var(--line); }
  .day-card, .proj-card, .stat-card { max-width: none; margin: 0; }
  .seq-card { right: 16px; }
  .orbit-wrap, .privacy { grid-template-columns: minmax(0, 1fr); }
  .orbit { width: min(380px, 100%); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-card, .tile-card.t-wide { grid-column: span 1; }
  .tile-card.t-full { grid-column: span 1; display: block; padding: 12px 12px 24px; }
  .tile-card.t-full .tv { margin-bottom: 20px; height: 150px; min-height: 0; }
  .tile-card.t-full .tile-text { padding: 0; }
  .tile-card.t-full h3 { font-size: 17px; margin-bottom: 6px; }
  /* Nine tiles in two columns would leave the last one beside a hole. */
  .tile-card.t-full.t-flip { grid-column: 1 / -1; }
  .tile-card.t-full.t-flip .tile-text { padding: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
  .section { padding: 92px 0; }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .note-hero, .note-day { display: none; }
  .plans { grid-template-columns: minmax(0, 480px); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav-actions .btn-primary { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .nav-actions .btn-primary .icon { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 64px; }
  .hero-copy .lead, .lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-pedestal { inset: 6% -4% -6% 4%; border-radius: 22px; }
  .section { padding: 76px 0; }
  .row + .row { margin-top: 96px; }
  .proof-list { gap: 10px 20px; }
  .proof-list li { font-size: 14px; }
  .bento { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .day-card, .proj-card, .stat-card { padding: 18px 16px; }
  .day-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .day-entry { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .day-entry .e-tag { display: none; }
  .day-entry .e-sub { display: block; }
  .proj-row { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .proj-name { flex-direction: column; gap: 2px; }
  .row-flip .row-vis { padding-bottom: 0; }
  .proj-card { padding-bottom: 18px; }
  .seq-card { position: relative; right: auto; bottom: auto; width: auto; margin: 14px 0 0; }
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-grid div { grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; }
  .stat-grid span { grid-column: 1 / -1; }
  .o { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 15px; }
  .o img { width: 26px; height: 26px; }
  .mail { padding: 18px 16px 14px; }
  .mail-table th:nth-child(2), .mail-table td:nth-child(2) { display: none; }
  .cta { padding: 88px 0 80px; }
  .cta .btn { width: 100%; }
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}

/* Protected hero app panel, mobile rules as shipped */
@media (max-width: 640px) {
  .win-3d { transform: none; animation: float3dMobile 6s ease-in-out infinite; }
  @keyframes float3dMobile { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
@media (max-width: 540px) { .win-wrap { zoom: 0.78; } }
@media (max-width: 420px) { .win-wrap { zoom: 0.64; } }

@media (hover: none) { .btn:hover, .tile-card:hover { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .proj-card .bar i { transform: scaleX(var(--w)); }
  html.js .hours i, html.js .day-strip-bar i { transform: none; }
  .win-3d { animation: none; }
}

@media print {
  .nav, .mobile-menu, .skip, .note, .orbit { display: none; }
  .section { padding: 32px 0; }
  .section-dark { background: #fff; color: var(--ink); }
}
