:root {
  --ink: #14161a;
  --ink-soft: #55595f;
  --ink-faint: #8b8f95;
  --paper: #fbfaf7;
  --paper-2: #f3f1ea;
  --line: #e2ded4;
  --card: #ffffff;
  --accent: #ff4d2e;
  --accent-ink: #ffffff;
  --accent-soft: #ffe9e2;
  --ok: #16794a;
  --warn: #a86400;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 22, 26, 0.05), 0 12px 32px rgba(20, 22, 26, 0.06);
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.shell { width: min(var(--maxw), calc(100vw - 96px)); margin: 0 auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 18px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.nav-inner {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px 8px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.wordmark { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.02em; font-size: 19px; }
.wordmark .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; gap: 2px; margin-left: 10px; }
.nav-links a {
  padding: 8px 13px; border-radius: 999px; font-size: 14.5px; color: var(--ink-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px; border: 1px solid transparent;
  padding: 12px 20px; font-size: 15px; font-weight: 550; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px rgba(255, 77, 46, 0.26); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 77, 46, 0.32); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 58px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: end; }
h1.display {
  margin: 0;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 400;
}
h1.display em { font-style: normal; color: var(--accent); }
.hero-side { padding-bottom: 8px; }
.hero-side p { margin: 0 0 18px; color: var(--ink-soft); font-size: 17.5px; max-width: 40ch; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-faint); font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: inline-block; }

/* ---------- collage ---------- */
.collage { display: grid; grid-template-columns: 0.9fr 1.15fr 0.95fr; gap: 18px; align-items: stretch; }
.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-brand {
  position: relative; padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 90% at 50% 18%, #ff8a63 0%, #ff5b31 46%, #e33c14 100%);
  color: #fff; min-height: 470px;
}
.panel-brand::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 4px 4px; opacity: 0.5; pointer-events: none;
}
.brand-tabs { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.brand-tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); font-size: 12.5px; font-weight: 500;
}
.brand-tab.on { background: #fff; color: var(--ink); }
.brand-tab b { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.brand-tab.on b { background: var(--accent); }
.orb {
  position: relative; z-index: 1; margin: 26px auto; width: 232px; height: 232px; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.55) 0deg 2deg, transparent 2deg 4deg),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35) 0 3px, transparent 3px 7px),
    radial-gradient(circle at 36% 30%, #ffd7c4 0%, #ff7a4d 45%, #d2330d 100%);
  box-shadow: inset -18px -22px 46px rgba(120, 26, 0, 0.5), inset 16px 16px 40px rgba(255, 236, 226, 0.55);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.brand-foot { position: relative; z-index: 1; }
.brand-foot h3 { margin: 0 0 4px; font-size: 27px; font-weight: 500; letter-spacing: -0.02em; }
.brand-foot p { margin: 0; font-size: 13px; opacity: 0.82; }

.panel-steps { padding: 14px; background: linear-gradient(180deg, #fbfaf8, #f5f3ee); display: grid; gap: 10px; align-content: start; }
.step-card {
  border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 13px 14px;
  box-shadow: 0 1px 2px rgba(20, 22, 26, 0.04);
}
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.step-head .idx { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--ink-faint); letter-spacing: 0.1em; }
.step-card h4 { margin: 2px 0 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.pill {
  font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
}
.pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill-done { background: #e7f4ec; color: var(--ok); }
.pill-work { background: var(--accent-soft); color: #c33614; }
.pill-wait { background: #f0eee8; color: var(--ink-faint); }
.step-body { margin: 9px 0 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.chip-row { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.chip {
  font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.06em;
  padding: 4px 8px; border-radius: 6px; background: var(--paper-2); color: var(--ink-soft);
}
.thumb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 11px; }
.thumb {
  aspect-ratio: 9 / 16; border-radius: 9px; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: linear-gradient(160deg, #d8d3c7, #b5ae9f);
}
.thumb::after {
  content: attr(data-t); position: absolute; left: 6px; right: 6px; bottom: 6px;
  font-family: "JetBrains Mono", monospace; font-size: 8.5px; color: #fff; letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.thumb.v2 { background: linear-gradient(160deg, #cfd7cf, #94a893); }
.thumb.v3 { background: linear-gradient(160deg, #d9cbd0, #a98e98); }

.panel-stats { padding: 18px; }
.panel-stats h3 { margin: 6px 0 2px; font-size: 25px; font-weight: 500; letter-spacing: -0.025em; }
.panel-stats .sub { margin: 0 0 14px; font-size: 12.5px; color: var(--ink-soft); }
.bars { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; font-size: 12.5px; }
.bar-track { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--accent); }
.bar-fill.dark { background: #2b2f36; }
.stat-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); }

/* ---------- sections ---------- */
section { padding: 104px 0; }
section.tight { padding: 74px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.eyebrow b { width: 22px; height: 1px; background: var(--accent); display: inline-block; }
h2.display {
  margin: 0 0 18px; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.06;
  letter-spacing: -0.03em; font-weight: 400; max-width: 22ch;
}
.lead { margin: 0; color: var(--ink-soft); font-size: 18px; max-width: 54ch; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.step-lg {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start;
}
.step-lg .n { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.12em; }
.step-lg h3 { margin: 0; font-size: 21px; font-weight: 550; letter-spacing: -0.02em; }
.step-lg p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.feature {
  padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
  display: grid; gap: 8px; align-content: start;
}
.feature .ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: #c33614; margin-bottom: 4px;
}
.feature h3 { margin: 0; font-size: 17.5px; font-weight: 600; letter-spacing: -0.015em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- app preview ---------- */
.app-preview {
  border-radius: 26px; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 70px rgba(20, 22, 26, 0.1);
  overflow: hidden;
}
.app-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: var(--paper); font-size: 12.5px; color: var(--ink-faint);
}
.app-dots { display: flex; gap: 5px; }
.app-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d8d4c9; }
.app-body { padding: 18px; display: grid; gap: 14px; }
.drop {
  border: 1.5px dashed #d2cec3; border-radius: 16px; padding: 22px; display: grid; gap: 12px;
  background: linear-gradient(180deg, #fdfcfa, #f8f6f1);
}
.drop-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.field {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--ink-faint);
}
.field b { color: var(--ink); font-weight: 500; }
.job-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.job-table th {
  text-align: left; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.job-table td { padding: 12px 10px; border-bottom: 1px solid #f0ece3; vertical-align: middle; }
.job-table tr:last-child td { border-bottom: 0; }
.job-title { font-weight: 550; letter-spacing: -0.01em; }
.job-sub { color: var(--ink-faint); font-size: 12px; }
.clip-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.clip {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff;
}
.clip-thumb { aspect-ratio: 9 / 16; background: linear-gradient(165deg, #d7d2c4, #a9a291); position: relative; }
.clip-thumb span {
  position: absolute; left: 7px; top: 7px; font-family: "JetBrains Mono", monospace; font-size: 9px;
  color: #fff; background: rgba(0, 0, 0, 0.42); padding: 3px 6px; border-radius: 4px; letter-spacing: 0.06em;
}
.clip-meta { padding: 9px 10px; display: grid; gap: 3px; }
.clip-meta strong { font-size: 12.5px; font-weight: 550; }
.clip-meta em { font-style: normal; font-size: 11px; color: var(--ink-faint); }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.plan {
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
}
.plan.hot { border-color: #ffb8a5; box-shadow: 0 18px 44px rgba(255, 77, 46, 0.16); }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; }
.plan h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.plan .price { font-size: 40px; font-weight: 400; letter-spacing: -0.035em; line-height: 1; }
.plan .price small { font-size: 14px; color: var(--ink-faint); letter-spacing: 0; }
.plan p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14px; }
.plan li { display: flex; gap: 9px; align-items: start; color: var(--ink-soft); }
.plan li svg { flex: none; margin-top: 3px; color: var(--ok); }
.plan .btn { margin-top: auto; justify-content: center; }
.tag {
  font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent-soft); color: #c33614; padding: 4px 8px; border-radius: 6px;
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  font-size: 17px; font-weight: 550; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); max-width: 76ch; }

/* ---------- closing footer ---------- */
.footer { background: var(--ink); color: #f4f2ec; padding: 84px 0 40px; }
.footer .close-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.footer h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 58px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 400; }
.footer h2 em { font-style: normal; color: #ff8f74; }
.footer .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.footer .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.foot-links h4 { margin: 0 0 10px; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 242, 236, 0.5); font-weight: 500; }
.foot-links a { display: block; padding: 4px 0; color: rgba(244, 242, 236, 0.82); font-size: 14px; }
.foot-links a:hover { color: #fff; }
.legal-line { margin-top: 34px; font-size: 12px; color: rgba(244, 242, 236, 0.5); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero h1, .hero-side > * { animation: rise 0.8s var(--ease) both; }
.hero-side > * { animation-delay: 0.12s; }
.collage > * { animation: rise 0.9s var(--ease) both; }
.collage > :nth-child(2) { animation-delay: 0.1s; }
.collage > :nth-child(3) { animation-delay: 0.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 34px; }
  .collage { grid-template-columns: 1fr 1fr; }
  .panel-brand { grid-column: 1 / -1; min-height: 380px; }
  .steps, .features, .pricing { grid-template-columns: 1fr 1fr; }
  .clip-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .shell { width: calc(100vw - 40px); }
  .nav { top: 12px; }
  .nav-inner { padding: 7px 8px 7px 14px; gap: 6px; }
  .nav-links { display: none; }
  .hero { padding: 54px 0 34px; }
  h1.display { font-size: clamp(36px, 10vw, 46px); }
  .collage { grid-template-columns: 1fr; }
  .panel-brand { min-height: 330px; }
  .orb { width: 168px; height: 168px; margin: 18px auto; }
  section { padding: 66px 0; }
  .steps, .features, .pricing { grid-template-columns: 1fr; }
  .clip-strip { grid-template-columns: repeat(2, 1fr); }
  .footer .close-grid { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .job-table th:nth-child(4), .job-table td:nth-child(4) { display: none; }
}

/* ---------- brand mark + billing term toggle ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; letter-spacing: -0.02em; font-size: 16.5px; color: var(--ink); text-decoration: none; }
.logo svg { width: 27px; height: 27px; display: block; border-radius: 8px; }
.app-top .logo svg, footer .logo svg { width: 24px; height: 24px; }
.logo .dot { color: var(--accent); }

.billing { display: inline-flex; gap: 4px; padding: 5px; margin: 20px 0 30px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.billing button { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 550; color: var(--ink); padding: 9px 16px; border-radius: 999px; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.billing button em { font-style: normal; color: var(--accent); font-weight: 600; }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing button[aria-pressed="true"] em { color: #ffb3a4; }
.billing-note { margin-top: 22px; font-size: 13px; color: var(--muted); max-width: 60ch; }
.plan .price-note { margin: 6px 0 14px; font-size: 12.5px; color: var(--muted); }
.plan .price .amount { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .billing { width: 100%; justify-content: space-between; }
  .billing button { padding: 9px 10px; font-size: 12.5px; }
}
