@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --coral: #d6453d;
  --coral-deep: #bb3730;
  --peach: #fde9e4;
  --select: #fcd5cd;
  --ink: #1e1f21;
  --muted: #5f6063;
  --paper: #fbfaf8;
  --tint: #f4f2ef;
  --line: #e7e4e0;
  --ok: #2e8b6f;
  --out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 "Figtree", system-ui, sans-serif;
}

a { color: var(--coral-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }

/* Header */
.nav-bar { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: rgb(251 250 248 / 0.88); backdrop-filter: blur(10px); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 9px; color: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { width: 26px; height: 26px; }
.top nav { display: flex; align-items: center; gap: 24px; }
.top nav a:not(.cta) { color: var(--ink); font-weight: 500; text-decoration: none; }

/* Buttons */
.cta {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 12px;
  background: var(--coral);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 1px 2px rgb(120 30 25 / 0.35), 0 10px 22px -8px rgb(214 69 61 / 0.6);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.16s var(--out), background 0.16s var(--out);
}
.cta:hover { background: var(--coral-deep); }
.cta:active { transform: scale(0.97); }
.cta-small { padding: 8px 14px; border-radius: 9px; font-size: 0.92rem; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25); }

/* Hero */
.hero { padding-block: 72px 44px; text-align: center; }
.hero h1 {
  max-width: 15em;
  margin: 0 auto;
  font-size: clamp(2.6rem, 6.3vw, 4.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero h1 mark {
  padding: 0 0.14em;
  border-radius: 8px;
  background: linear-gradient(transparent 58%, var(--select) 58%);
  color: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.lead { max-width: 33em; margin: 22px auto 30px; color: var(--muted); font-size: 1.25rem; line-height: 1.45; }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 0.95rem; font-weight: 500; }
.badges li { display: flex; align-items: center; gap: 7px; }

.tick { flex: none; width: 18px; height: 18px; color: var(--ok); }

/* Demo */
.stage { position: relative; margin-top: 40px; }
.note {
  position: absolute;
  top: -38px;
  right: 34px;
  margin: 0;
  color: var(--coral-deep);
  font: 600 1.6rem/1 "Caveat", cursive;
  transform: rotate(-3deg);
}
.window {
  position: relative;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 0 0 7px rgb(30 31 33 / 0.05), 0 0 0 1px var(--line), 0 34px 70px -28px rgb(30 31 33 / 0.32);
}
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.address { flex: 1; min-width: 0; padding: 5px 14px; border-radius: 99px; background: var(--tint); color: var(--muted); font-size: 0.85rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-bar img { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 380px; }
.doc { padding: 34px 44px 28px; }
.doc h2 { margin: 0 0 14px; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.doc p { max-width: 36em; margin: 0 0 14px; color: var(--muted); }
.doc ::selection { background: var(--select); color: var(--ink); }
.line { color: var(--ink); font-weight: 600; cursor: text; }
.line.saved { text-decoration: line-through; text-decoration-color: var(--muted); }

.try { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.keys { display: flex; gap: 5px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform 0.16s var(--out); }
.keys:active { transform: scale(0.97); }
.keys kbd {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  font: 700 0.95rem/1.3 "Figtree", system-ui, sans-serif;
}

.project { padding: 22px 20px; border-left: 1px solid var(--line); border-bottom-right-radius: 16px; background: var(--tint); }
.project h2 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.project > p { margin: 0 0 12px; color: var(--muted); font-size: 0.875rem; }
.project ul { margin: 0; padding: 0; list-style: none; }
.project li { position: relative; padding: 11px 0 11px 28px; border-top: 1px solid var(--line); font-size: 0.93rem; line-height: 1.35; overflow-wrap: anywhere; }
.project li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 15px; height: 15px; border: 1.5px solid var(--muted); border-radius: 50%; }
.project li small { display: block; color: var(--coral-deep); font-size: 0.8rem; font-weight: 600; }
.project li.new { animation: land 0.32s var(--out), glow 1.6s 0.2s ease-out; }

.popup {
  position: absolute;
  top: 56px;
  right: 10px;
  z-index: 2;
  width: min(340px, calc(100% - 20px));
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgb(30 31 33 / 0.1), 0 20px 40px -10px rgb(30 31 33 / 0.35);
  font-size: 0.875rem;
  transform-origin: top right;
  animation: open 0.18s var(--out);
}
.popup[hidden] { display: none; }
.popup-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.popup #task { display: block; width: 100%; margin-bottom: 12px; padding: 3px 0; border: 0; background: none; color: var(--ink); font: 650 1.15rem/1.3 "Figtree", system-ui, sans-serif; letter-spacing: -0.02em; text-overflow: ellipsis; }
.popup #task:focus-visible { outline: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.fields dt { color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.fields dd { margin: 2px 0 0; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who { display: flex; align-items: center; gap: 7px; }
.face { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); color: #ffffff; font-size: 0.6rem; font-weight: 700; }
.fields .tagged { padding-block: 5px; }
.pill { padding: 2px 9px; border-radius: 99px; background: #f6dcee; color: #94276a; font-size: 0.78rem; font-weight: 600; }
.popup-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.popup .left { margin: 0; color: var(--muted); font-size: 0.8rem; }
.popup .create { flex: none; padding: 9px 14px; border: 0; border-radius: 8px; background: var(--coral); color: #ffffff; font: inherit; font-weight: 700; cursor: pointer; transition: transform 0.16s var(--out); }
.popup .create:active { transform: scale(0.97); }
.created { margin: 0; color: var(--ok); font-size: 1rem; font-weight: 700; text-align: center; }

.caption { margin: 22px 0 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

@keyframes open { from { opacity: 0; transform: scale(0.96); } }
@keyframes land { from { opacity: 0; transform: translateY(-10px); } }
@keyframes glow { from { background: var(--select); } }

/* Sections */
.block { padding-block: 104px 0; }
.title {
  max-width: 17em;
  margin: 0 auto 14px;
  font-size: clamp(2.1rem, 4.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
}
.sub { max-width: 34em; margin: 0 auto 44px; color: var(--muted); font-size: 1.15rem; text-align: center; }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.way { padding: 28px 30px 30px; border-radius: 16px; }
.way h3 { margin: 0 0 16px; font-size: 1.2rem; font-weight: 700; }
.way ol { margin: 0; padding: 0; list-style: none; }
.way li { display: flex; align-items: center; gap: 10px; padding-block: 6px; }
.way-slow { background: #fbeeeb; color: #7a2b26; }
.way-fast { background: #e9f5f0; color: #18533f; }
.way-fast li { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.way-fast .result { margin: 18px 0 0; font-size: 1rem; }
.cross { flex: none; width: 16px; height: 16px; color: var(--coral); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #ffffff; }
.plan-paid { border: 2px solid var(--coral); box-shadow: 0 24px 50px -28px rgb(214 69 61 / 0.5); }
.plan h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.plan .price { margin: 8px 0 18px; font-size: 3.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.plan .price small { color: var(--muted); font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
.plan ul { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; }
.plan li { display: flex; gap: 9px; padding-block: 5px; }
.plan li .tick { margin-top: 4px; }
.plan .cta { text-align: center; }
.plan .ghost { display: block; padding: 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 1.05rem; font-weight: 700; text-align: center; text-decoration: none; }
.plan .soon { color: var(--muted); font-weight: 600; cursor: default; }
.pricing-note { max-width: 40em; margin: 24px auto 0; color: var(--muted); font-size: 0.95rem; text-align: center; }

/* Questions */
.faq { max-width: 44rem; margin: 32px auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding-block: 16px; font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Last call */
.closing { margin-top: 104px; padding-block: 84px; background: var(--ink); color: #ffffff; text-align: center; }
.closing .title { margin-bottom: 26px; }
.closing .fine { color: #b9babc; }

/* Polish */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 760px;
  background: radial-gradient(60% 55% at 50% 0%, #fde3dc 0%, rgb(253 227 220 / 0) 70%), radial-gradient(30% 30% at 88% 22%, #fbe8c9 0%, rgb(251 232 201 / 0) 70%), radial-gradient(30% 30% at 10% 28%, #efe3f8 0%, rgb(239 227 248 / 0) 70%);
}
.nav-bar { background: rgb(251 250 248 / 0.72); }
.nudge kbd { animation: nudge 2.4s ease-in-out infinite; }
.nudge kbd:nth-child(2) { animation-delay: 0.12s; }
.nudge kbd:nth-child(3) { animation-delay: 0.24s; }
.bit { position: fixed; z-index: 9; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; }

.card { transition: transform 0.2s var(--out), box-shadow 0.2s var(--out), border-color 0.2s var(--out); }
.card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -22px rgb(30 31 33 / 0.4); }
.ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 11px; }
.ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.coral { background: #fde3dc; color: #c23c34; }
.ico.blue { background: #e1ecfc; color: #2c64bd; }
.ico.pink { background: #fbe1f0; color: #b2317d; }
.ico.teal { background: #d9f3f1; color: #137f79; }
.ico.purple { background: #ece3fa; color: #6d42b5; }
.ico.amber { background: #fdefcf; color: #a66a05; }
.ico.green { background: #dcf2e8; color: #1f7a5a; }

.plan { transition: transform 0.2s var(--out); }
.plan-paid { position: relative; }
.plan-paid:hover { transform: translateY(-3px); }
.badge { margin-left: 10px; padding: 3px 10px; border-radius: 99px; background: var(--peach); color: var(--coral-deep); font-size: 0.78rem; font-weight: 700; vertical-align: 2px; }
.faq summary { transition: color 0.14s var(--out); }
.faq summary:hover { color: var(--coral-deep); }
.closing { background: radial-gradient(60% 120% at 50% 120%, #4a2320 0%, var(--ink) 70%); }

@keyframes nudge { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-3px); } }

/* Micro animations */
:root { interpolate-size: allow-keywords; }
.top nav a:not(.cta) { transition: color 0.14s var(--out); }
.top nav a:not(.cta):hover { color: var(--coral-deep); }
.cta { transition: transform 0.16s var(--out), background 0.16s var(--out), box-shadow 0.16s var(--out); }
.cta:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 1px 2px rgb(120 30 25 / 0.35), 0 14px 26px -8px rgb(214 69 61 / 0.7); }
.cta:active { transform: scale(0.97); }
.ghost { transition: border-color 0.14s var(--out), background 0.14s var(--out); }
.plan .ghost:hover { border-color: var(--muted); background: var(--tint); }
.ico { transition: transform 0.24s var(--out); }
.card:hover .ico { transform: rotate(-6deg) scale(1.08); }
.way li { transition: transform 0.16s var(--out); }
.way li:hover { transform: translateX(3px); }
.badges .tick, .plan .tick { transition: transform 0.2s var(--out); }
.badges li:hover .tick, .plan li:hover .tick { transform: scale(1.18); }
.keys kbd { transition: transform 0.14s var(--out), border-bottom-width 0.14s var(--out); }
.keys:hover kbd { transform: translateY(1px); }
.popup.leaving { opacity: 0; transform: scale(0.97); transition: opacity 0.12s ease-out, transform 0.12s ease-out; }
.created { animation: open 0.2s var(--out); }
.project li { cursor: pointer; transition: color 0.16s var(--out); }
.project li::before { transition: background 0.16s var(--out), border-color 0.16s var(--out), transform 0.2s var(--out); }
.project li:hover::before { border-color: var(--ok); }
.project li.done { color: var(--muted); text-decoration: line-through; }
.project li.done::before { border-color: var(--ok); background: var(--ok); transform: scale(1.1); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--muted); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform 0.2s var(--out), color 0.14s var(--out); }
.faq details[open] summary::after { color: var(--coral); transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.22s var(--out), content-visibility 0.22s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Thank you page */
.key-box { margin-bottom: 28px; padding: 18px 20px; border: 2px solid var(--coral); border-radius: 14px; background: #ffffff; }
.key-box[hidden] { display: none; }
.key-box p { margin: 0 0 8px; font-weight: 700; }
.key-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.key-row code { font-size: 1.05rem; overflow-wrap: anywhere; }
.key-row .cta { border: 0; cursor: pointer; font-family: inherit; }
.next-steps { margin: 0 0 24px; padding-left: 22px; }
.next-steps li { margin-bottom: 10px; }

/* Policy pages */
.policy-head { padding-block: 56px 48px; background: var(--peach); }
.policy-head h1 { max-width: 12em; margin: 0; font-size: clamp(2.4rem, 5.6vw, 3.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.policy-head p { margin: 14px 0 0; color: var(--muted); }
.policy { max-width: 768px; padding-block: 44px 88px; }
.policy h2 { margin: 32px 0 6px; font-size: 1.15rem; font-weight: 700; }
.policy p { margin: 0 0 12px; }

/* Footer */
.foot { padding-block: 34px 44px; background: var(--ink); color: #b9babc; font-size: 0.92rem; }
.foot a { color: #ffffff; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 14px; padding: 0; list-style: none; }
.foot p { margin: 0 0 4px; }
.closing + .foot { border-top: 1px solid #36373a; }

@media (max-width: 860px) {
  .wrap { padding-inline: 18px; }
  .hero { padding-block: 48px 8px; }
  .top nav a:not(.cta) { display: none; }
  .note { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .doc { padding: 24px 20px 20px; }
  .project { border-left: 0; border-top: 1px solid var(--line); border-bottom-left-radius: 16px; }
  .ways, .plans { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .block { padding-top: 76px; }
  .closing { margin-top: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
