/* Ciabatta landing page: light, quiet, one typeface, the product as the only colour. */
:root {
  --bg: #f5f5f4;
  --card: #ffffff;
  --ink: #171717;
  --ink2: #5c5c5c;
  --ink3: #8f8f8f;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0a6ee6;
  --r: 28px;
  --w: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "InterVariable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.5;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@supports (font-variation-settings: normal) { body { font-family: "InterVariable", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; } }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

/* ---------- nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.nav::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity 0.3s; }
.nav.scrolled::after { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.mark { width: 24px; height: 24px; color: var(--ink); }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--ink2); }
.links a { transition: color 0.2s; }
.links a:hover { color: var(--ink); }
.nav .btn { justify-self: end; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 550; letter-spacing: -0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 6px 18px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-1px); background: #000; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 12px 24px -10px rgba(0, 0, 0, 0.5); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn.small { height: 34px; padding: 0 15px; font-size: 13.5px; box-shadow: none; }
.ghost { font-size: 15px; color: var(--ink2); font-weight: 500; transition: color 0.2s; }
.ghost:hover { color: var(--ink); }
.ghost span { display: inline-block; transition: transform 0.25s var(--ease); }
.ghost:hover span { transform: translateY(2px); }

/* ---------- hero */
.hero { max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 72px 24px 0; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7);
  font-size: 13px; color: var(--ink2); font-weight: 500;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(10, 110, 230, 0.14); }
h1 {
  margin-top: 26px;
  font-size: clamp(40px, 6.6vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 550;
  text-wrap: balance;
}
.lede { margin: 22px auto 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--ink2); letter-spacing: -0.012em; text-wrap: balance; }
.cta { margin-top: 30px; display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
.fine { margin-top: 16px; font-size: 13px; color: var(--ink3); }

/* ---------- screenshots */
.window {
  position: relative; container-type: inline-size;
  border-radius: 1.05cqw; overflow: hidden; background: #0d0d0f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06), 0 30px 60px -20px rgba(0, 0, 0, 0.32), 0 70px 120px -50px rgba(0, 0, 0, 0.3);
}
.window { border-radius: clamp(8px, 1.1vw, 14px); }
.window img { width: 100%; }
.lights { position: absolute; left: 1.25cqw; top: 1.72cqw; display: flex; gap: 0.48cqw; }
.lights i { width: 0.72cqw; height: 0.72cqw; border-radius: 50%; background: #3a3a40; }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.hero-shot { margin-top: 64px; }

/* ---------- the loop and the promise */
.loop { max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 120px 24px 40px; text-align: center; }
.statement {
  margin: 0 auto; max-width: 900px;
  font-size: clamp(28px, 4.1vw, 52px); line-height: 1.1; letter-spacing: -0.038em; font-weight: 550; text-wrap: balance;
}
.statement em { font-style: normal; color: var(--ink3); }

/* ---------- the three aspects */
.aspects { max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 96px 24px 0; display: grid; gap: 20px; }
.section-head { text-align: center; padding-bottom: 36px; }
.eyebrow { font-size: 13px; font-weight: 550; color: var(--ink3); letter-spacing: 0.01em; }
.eyebrow b { display: inline-block; margin-right: 10px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
h2 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.034em; font-weight: 550; text-wrap: balance; }
.card {
  background: var(--card); border-radius: var(--r); border: 1px solid var(--line);
  padding: 56px 56px 0; overflow: hidden; scroll-margin-top: 80px;
}
.card .copy { max-width: 620px; }
.card h3 { margin-top: 14px; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 550; text-wrap: balance; }
.card p:not(.eyebrow) { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--ink2); letter-spacing: -0.008em; max-width: 560px; }

/* 01 skills */
#skills { display: grid; gap: 44px; }
#skills .copy { max-width: none; }
/* expandable points (skills, interface): one hairline list, a title and a plus that turns to a cross */
.folds { margin-top: 30px; max-width: 720px; border-top: 1px solid var(--line); }
.fold { border-bottom: 1px solid var(--line); }
.fold summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 2px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.016em; color: var(--ink); transition: color 0.2s;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary:hover { color: #000; }
.fold summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.fold summary i {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease), background 0.25s, box-shadow 0.25s;
}
.fold summary i::before, .fold summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -0.8px 0 0 -5.5px;
  border-radius: 1px; background: var(--ink); transition: background 0.25s;
}
.fold summary i::after { transform: rotate(90deg); }
.fold summary:hover i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); }
.fold[open]:not(.shut) summary i { transform: rotate(135deg); background: var(--ink); box-shadow: none; }
.fold[open]:not(.shut) summary i::before, .fold[open]:not(.shut) summary i::after { background: #fff; }
.fold-body { overflow: hidden; }
.card .fold-body p:not(.eyebrow) { margin: 0; padding: 0 52px 22px 2px; font-size: 15.5px; line-height: 1.55; max-width: 640px; }
.window.crop { border-bottom-left-radius: 0; border-bottom-right-radius: 0; max-height: 520px; margin-bottom: -1px; }
.window.crop::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to bottom, rgba(13, 13, 15, 0), rgba(13, 13, 15, 0.85)); pointer-events: none; }

/* 02 interface, 03 export */
.card.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 56px; align-items: center; }
.card.split.flip { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding-bottom: 56px; }
.panel {
  width: 300px; border-radius: 16px; overflow: hidden; background: #111113;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 24px 50px -20px rgba(0, 0, 0, 0.4);
}
#interface .panel { transform: rotate(1.2deg); }
.window.strip { grid-column: 1 / -1; margin-top: 52px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: -1px; }
#export .panel { transform: rotate(-1.2deg); }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 500; letter-spacing: -0.008em; }
.chips img { width: 18px; height: 18px; flex: none; }
.chips img[src$=".svg"] { width: 22px; height: 22px; margin: -2px -2px -2px -3px; }

/* ---------- final */
.final { max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 140px 24px 130px; text-align: center; }
.mark.big { width: 56px; height: 56px; margin: 0 auto; }
.final h2 { margin-top: 18px; font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -0.045em; line-height: 1; }
.foot {
  max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 22px 24px 36px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--ink3);
}
.foot span:first-child { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }

/* ---------- motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
#interface .panel.reveal { transform: translateY(14px) rotate(1.2deg); }
#interface .panel.reveal.in { transform: rotate(1.2deg); }
#export .panel.reveal { transform: translateY(14px) rotate(-1.2deg); }
#export .panel.reveal.in { transform: rotate(-1.2deg); }
.hero .reveal:nth-child(2) { transition-delay: 0.05s; }
.hero .reveal:nth-child(3) { transition-delay: 0.1s; }
.hero .reveal:nth-child(4) { transition-delay: 0.15s; }
.hero .reveal:nth-child(5) { transition-delay: 0.2s; }
.hero .reveal:nth-child(6) { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- small screens */
@media (max-width: 900px) {
  .card { padding: 40px 32px 0; }
  .card.split, .card.split.flip { grid-template-columns: 1fr; row-gap: 36px; }
  .card.split.flip { padding-bottom: 40px; }
  .card.split.flip .copy { order: -1; }
  .panel { width: min(300px, 78%); margin-inline: auto; }
  .window.strip { margin-top: 8px; }
}
@media (max-width: 640px) {
  .links { display: none; }
  .nav { grid-template-columns: 1fr auto; padding: 12px 18px; }
  .hero { padding: 44px 18px 0; }
  .pill { font-size: 12px; text-align: left; }
  h1 br, h2 br { display: none; }
  .hero-shot { margin-top: 44px; }
  .loop { padding: 84px 18px 24px; }
  .aspects { padding: 64px 14px 0; gap: 14px; }
  .card { padding: 30px 22px 0; border-radius: 22px; }
  .card p:not(.eyebrow) { font-size: 16px; }
  /* the timeline is wide: let it run off the card's right edge at a readable size */
  .folds { margin-top: 24px; }
  .fold summary { padding: 17px 0; font-size: 16px; }
  .card .fold-body p:not(.eyebrow) { padding: 0 8px 20px 0; font-size: 15px; }
  .window.strip { width: 190%; max-width: none; border-top-right-radius: 0; }
  .final { padding: 96px 18px 90px; }
}

/* ---------- plans: annual first and lifted, monthly beside it */
.plans {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch;
  width: min(100%, 820px); margin: 44px auto 0; text-align: left;
}
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 30px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
}
.plan.featured {
  background: #141416; color: #f5f5f4; border-color: #141416;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 80px -40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(10, 110, 230, 0.0);
}
.plan.featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(120, 180, 255, 0.75), rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.02));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.plan h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.badge {
  padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em;
  color: #0b1a2e; background: linear-gradient(135deg, #bcdcff, #7fb6ff);
}
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.price .per { font-size: 16px; color: var(--ink3); font-weight: 500; }
.plan.featured .price .per, .plan.featured .billed, .plan.featured .note { color: rgba(245, 245, 244, 0.62); }
.billed { margin-top: 8px; font-size: 14.5px; color: var(--ink2); }
.trial {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin-top: 18px;
  padding: 7px 13px 7px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  color: #9ed0ff; background: rgba(10, 110, 230, 0.2); box-shadow: inset 0 0 0 1px rgba(120, 180, 255, 0.28);
}
.trial svg { width: 17px; height: 17px; }
.trial.muted { color: var(--ink3); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.features { margin: 22px 0 26px; display: grid; gap: 11px; font-size: 15px; letter-spacing: -0.008em; color: var(--ink2); }
.plan.featured .features { color: rgba(245, 245, 244, 0.86); }
.features li { position: relative; padding-left: 28px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23171717' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.plan.featured .features li::before {
  background-color: rgba(120, 180, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.4' fill='none' stroke='%239ed0ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.btn.wide { width: 100%; height: 52px; margin-top: auto; border: 0; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.plan.featured .btn.wide { background: #fff; color: #111; box-shadow: 0 10px 30px -12px rgba(120, 180, 255, 0.55); }
.plan.featured .btn.wide:hover { background: #f1f6ff; }
.btn.light { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); }
.btn.light:hover { background: #fafafa; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28); }
.btn:focus-visible, .access input:focus-visible, .access summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn.wide[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.note { display: block; min-height: 2.9em; margin-top: 12px; font-size: 13px; color: var(--ink3); text-align: center; text-wrap: balance; }
.secure { margin: 26px auto 0; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); text-wrap: balance; }
.secure svg { width: 16px; height: 16px; flex: none; }
.access { width: min(100%, 520px); margin: 34px auto 0; text-align: left; border-top: 1px solid var(--line); padding-top: 18px; scroll-margin-top: 90px; }
.access summary { cursor: pointer; list-style: none; text-align: center; font-size: 14.5px; font-weight: 550; color: var(--ink2); }
.access summary::-webkit-details-marker { display: none; }
.access summary::after { content: " +"; color: var(--ink3); }
.access[open] summary::after { content: " \2212"; }
.access form { margin-top: 16px; display: flex; gap: 10px; }
.access input {
  flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, 0.16); background: var(--card);
  font: 500 14.5px ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink);
}
.access p { margin-top: 10px; font-size: 13px; color: var(--ink3); text-align: center; }
.final .fine { max-width: 520px; margin-inline: auto; margin-top: 22px; text-wrap: balance; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .plan { padding: 26px 22px 22px; border-radius: 22px; }
  .price .amount { font-size: 50px; }
  .access form { flex-direction: column; }
  .access .btn { width: 100%; }
}
