/* mcp-cms: warm editorial. Paper, ink, one vermilion accent and a highlighter. */

:root {
  --paper: oklch(96.6% 0.014 85);
  --paper-2: oklch(93.2% 0.022 82);
  --paper-3: oklch(89% 0.03 80);
  --ink: oklch(22% 0.022 55);
  --ink-2: oklch(30% 0.024 55);
  --ink-soft: oklch(45% 0.025 60);
  --on-ink: oklch(94% 0.016 85);
  --on-ink-soft: oklch(78% 0.02 80);
  --accent: oklch(62% 0.2 34);
  --accent-deep: oklch(50% 0.18 34);
  --marker: oklch(89% 0.14 96);
  --line: oklch(86% 0.022 78);
  --line-ink: oklch(36% 0.02 55);

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section: clamp(88px, 12vw, 168px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.0625rem) / 1.6 var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--marker); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1.02; }
h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }

/* Emphasis in headings: italic, with a highlighter stroke drawn in */
h1 em, h2 em {
  font-style: italic;
  background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.06em;
}
.hero h1 em { animation: marker 1.1s 0.5s var(--ease) both; }
@keyframes marker { from { background-size: 0% 100%; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 8px; }


/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.button:hover { background: var(--accent-deep); transform: translateY(-2px); }
.button__arrow { transition: transform 0.4s var(--ease); }
.button:hover .button__arrow { transform: translateX(4px); }
.button--small { padding: 10px 18px; font-size: 0.9375rem; }
.button--light { background: var(--on-ink); color: var(--ink); }
.button--light:hover { background: var(--marker); }
.button--ink:hover { background: var(--ink-2); }

.link {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  text-decoration-color: var(--accent);
  transition: text-underline-offset 0.3s var(--ease);
}
.link:hover { text-underline-offset: 9px; }

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px max(var(--gutter), calc((100% - var(--wrap)) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.caret {
  width: 2px;
  height: 0.85em;
  margin-left: 3px;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a, .lang { text-decoration: none; font-size: 0.9375rem; color: var(--ink-soft); transition: color 0.2s; }
.top__nav a:hover, .lang:hover { color: var(--ink); }
.top__nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.top__end { display: flex; align-items: center; gap: 20px; }
.lang { font-weight: 500; letter-spacing: 0.04em; }

/* ---------- sections ---------- */

main > section {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head__lead { margin-top: 24px; font-size: 1.1875rem; color: var(--ink-soft); max-width: 600px; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(40px, 5.5vw, 80px) !important;
  padding-bottom: clamp(72px, 9vw, 128px) !important;
}
.hero__title {
  font-size: clamp(3rem, 1.4rem + 4.6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
.hero__lead { margin-top: 28px; font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem); line-height: 1.55; color: var(--ink-soft); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 36px; }
.hero__note { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9375rem; color: var(--ink-soft); }
.hero__note li { display: flex; align-items: center; gap: 8px; }
.hero__note li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero__copy > * { animation: rise 0.9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.06s; }
.hero__copy > :nth-child(3) { animation-delay: 0.14s; }
.hero__copy > :nth-child(4) { animation-delay: 0.22s; }
.hero__copy > :nth-child(5) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* The demo: a small site in a window, and a chat that changes it. One 12s loop. */
.demo { position: relative; margin: 0; padding: 0 0 56px 28px; animation: rise 1.1s 0.25s var(--ease) both; }
.demo__window {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotate(1.6deg);
  box-shadow: 0 1px 0 var(--paper-3), 0 30px 60px -30px oklch(30% 0.05 50 / 0.35);
}
.demo__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.demo__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); }
.demo__bar span { margin-left: 12px; font-size: 0.75rem; color: var(--ink-soft); background: var(--paper); padding: 4px 12px; border-radius: 999px; }
.demo__site { padding: clamp(22px, 3vw, 34px); background: var(--paper); }
.demo__nav { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.demo__nav b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin-right: auto; }
.demo__nav span { width: 34px; height: 6px; border-radius: 3px; background: var(--paper-3); }
.demo__head { display: grid; min-height: 3.3em; font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.35rem); line-height: 1.08; }
.demo__head p { grid-area: 1 / 1; }
.demo__before { animation: demo-before 12s var(--ease) infinite; }
.demo__after { animation: demo-after 12s var(--ease) infinite; }
.demo__after::after { content: ''; display: block; height: 0.34em; margin-top: -0.3em; background: var(--marker); transform-origin: left; animation: demo-mark 12s var(--ease) infinite; position: relative; z-index: -1; width: 100%; }
.demo__shapes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-top: clamp(24px, 3vw, 36px); }
.demo__shapes span { height: clamp(64px, 9vw, 104px); border-radius: 12px; background: var(--paper-3); }
.demo__shapes span:first-child { background: color-mix(in oklch, var(--accent) 22%, var(--paper-2)); }

.demo__chat { position: absolute; left: 0; bottom: 0; width: min(78%, 340px); display: grid; gap: 8px; }
.demo__chat p { margin: 0; padding: 12px 16px; border-radius: 18px; font-size: 0.9375rem; line-height: 1.4; box-shadow: 0 14px 30px -18px oklch(30% 0.05 50 / 0.45); }
.demo__prompt { background: var(--ink); color: var(--on-ink); border-bottom-left-radius: 6px; animation: demo-prompt 12s var(--ease) infinite; }
.demo__prompt span { display: block; animation: demo-type 12s linear infinite; }
.demo__reply { justify-self: end; background: var(--marker); color: var(--ink); border-bottom-right-radius: 6px; animation: demo-reply 12s var(--ease) infinite; }

@keyframes demo-prompt { 0%, 6% { opacity: 0; transform: translateY(10px); } 10%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes demo-type { 0%, 10% { clip-path: inset(0 100% 0 0); } 30%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes demo-reply { 0%, 36% { opacity: 0; transform: translateY(10px); } 40%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes demo-before { 0%, 42% { opacity: 1; transform: none; filter: none; } 47%, 95% { opacity: 0; transform: translateY(-14px); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes demo-after { 0%, 44% { opacity: 0; transform: translateY(14px); } 50%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes demo-mark { 0%, 50% { transform: scaleX(0); } 58%, 92% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }

/* ---------- made with ---------- */

.made { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px 40px; padding-top: 28px !important; padding-bottom: 28px !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
main > .made { max-width: calc(var(--wrap)); padding-left: 0 !important; padding-right: 0 !important; width: calc(100% - 2 * var(--gutter)); }
.made__label { font-size: 0.9375rem; color: var(--ink-soft); }
.made ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 40px; }
.made a { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.made b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; transition: color 0.2s; }
.made a:hover b { color: var(--accent-deep); }
.made span { font-size: 0.875rem; color: var(--ink-soft); }

/* ---------- problem ---------- */

.problem { padding-top: var(--section) !important; padding-bottom: var(--section) !important; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 48px; }
.problem__title { grid-column: 1 / span 9; }
.problem__struck { grid-column: 4 / -1; list-style: none; margin: 0; padding: 0; }
.problem__struck li { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.2; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.problem__struck s {
  text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 58% / 100% 2px;
}
.problem__answer { grid-column: 4 / -1; font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.05; }
.problem__answer em { color: var(--accent-deep); }

/* ---------- steps ---------- */

.steps { padding-bottom: var(--section) !important; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.steps__list li { border-top: 1.5px solid var(--ink); padding-top: 28px; }
.steps__list li:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.steps__list li:nth-child(3) { margin-top: clamp(0px, 10vw, 144px); }
.steps__num { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(3.5rem, 2.6rem + 3vw, 5.5rem); line-height: 0.9; color: var(--accent); margin-bottom: 24px; }
.steps__when { font-size: 0.9375rem; font-weight: 500; color: var(--accent-deep); margin: 8px 0 12px; }
.steps__list p:last-child { color: var(--ink-soft); }

/* ---------- editing (dark) ---------- */

main > .editing {
  max-width: none;
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--section) max(var(--gutter), calc((100% - var(--wrap)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.editing em { background-image: linear-gradient(transparent 58%, oklch(45% 0.1 80 / 0.7) 58%, oklch(45% 0.1 80 / 0.7) 92%, transparent 92%); }
.editing__lead { margin-top: 28px; font-size: 1.1875rem; color: var(--on-ink-soft); max-width: 560px; }
.editing__features { margin: clamp(48px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.editing__features div { border-top: 1px solid var(--line-ink); padding-top: 18px; }
.editing__features dt { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; margin-bottom: 8px; }
.editing__features dd { margin: 0; color: var(--on-ink-soft); font-size: 0.96875rem; }

.chat {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  background: var(--ink-2);
  border: 1px solid var(--line-ink);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px oklch(10% 0.02 50 / 0.8);
}
.chat__top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-ink); }
.chat__top b { display: block; font-weight: 500; font-size: 0.96875rem; }
.chat__top small { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--on-ink-soft); }
.chat__top small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: oklch(72% 0.15 150); }
.chat__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--marker);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
}
.chat__avatar--small { width: 26px; height: 26px; font-size: 0.9375rem; }
.chat__log { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 18px; }
.msg { display: flex; max-width: 88%; font-size: 0.9375rem; line-height: 1.4; }
.msg p { margin: 0; padding: 10px 14px; border-radius: 18px; }
.msg--me { align-self: flex-end; flex-direction: column; align-items: flex-end; margin-top: 10px; }
.msg--me:first-child { margin-top: 0; }
.msg--me p { background: var(--on-ink); color: var(--ink); border-bottom-right-radius: 6px; }
.msg__meta { margin-top: 4px; font-size: 0.6875rem; color: var(--on-ink-soft); }
.msg__meta i { font-style: normal; color: var(--marker); letter-spacing: -0.2em; margin-left: 2px; }
.msg--site { align-self: flex-start; align-items: flex-end; gap: 8px; }
.msg--site p { background: oklch(38% 0.025 55); color: var(--on-ink); border-bottom-left-radius: 6px; }
/* Playing (main.js): a fixed-height log where new messages come in at the bottom */
.chat.is-playing .chat__log { height: 470px; justify-content: flex-end; overflow: hidden; mask-image: linear-gradient(transparent, #000 56px); }
.msg.is-pending { display: none; }
.msg.is-new { animation: msg-in 0.45s var(--ease) both; }
.msg--me.is-new { transform-origin: bottom right; }
.msg--site.is-new { transform-origin: bottom left; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.typing { display: flex; gap: 5px; padding: 14px 16px !important; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--on-ink-soft); animation: dot 1.2s var(--ease) infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
.chat__input { display: flex; align-items: center; gap: 12px; margin: 0 14px 14px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); border: 1px solid var(--line-ink); color: var(--on-ink-soft); font-size: 0.9375rem; }
.chat__input span { flex: 1; }
.chat__input i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-ink); }

/* ---------- security ---------- */

main > .security {
  max-width: none;
  background: var(--paper-2);
  padding: var(--section) max(var(--gutter), calc((100% - var(--wrap)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(48px, 6vw, 96px) clamp(48px, 7vw, 112px);
  align-items: end;
}
.security__absent > p { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--ink-soft); margin-bottom: 8px; }
.security__absent ul { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.security__absent li { font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem); line-height: 1.2; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.security__absent s { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 58% / 100% 2px; }
.security__points { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 44px); }
.security__points div { border-top: 1px solid var(--ink-soft); padding-top: 18px; }
.security__points dt { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; margin-bottom: 8px; }
.security__points dd { margin: 0; color: var(--ink-soft); font-size: 0.96875rem; }

/* ---------- pricing ---------- */

.pricing { padding-top: var(--section) !important; }
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px; align-items: stretch; }
.plan { background: var(--ink); color: var(--on-ink); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; }
.plan__name { font-size: 1.75rem; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 18px 0 32px; }
.plan__price span { font-family: var(--serif); font-size: clamp(4.5rem, 3rem + 6vw, 8rem); line-height: 0.9; letter-spacing: -0.03em; }
.plan__price small, .monthly__price small { font-size: 0.9375rem; color: var(--on-ink-soft); }
.plan__list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96875rem; }
.plan__list .tick { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--marker); }
.plan .button { align-self: flex-start; margin-top: auto; }

.monthly { display: flex; flex-direction: column; position: relative; border: 1.5px dashed var(--ink-soft); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 4vw, 48px); background: var(--paper-2); }
.monthly__plus { position: absolute; top: 50%; left: -10px; translate: -50% -50%; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--marker); font-size: 1.6rem; font-weight: 300; margin: 0; }
.monthly h3 { font-size: 1.75rem; }
.monthly__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 18px 0 28px; }
.monthly__price span { font-family: var(--serif); font-size: clamp(3.5rem, 2.6rem + 3vw, 5rem); line-height: 0.9; }
.monthly__price small { color: var(--ink-soft); }
.monthly ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.monthly li { padding-left: 22px; position: relative; font-size: 0.96875rem; }
.monthly li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 10px; height: 1.5px; background: var(--accent); }

.extras { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(64px, 8vw, 104px); }
.extras__head h3 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); }
.extras__head p { margin-top: 16px; color: var(--ink-soft); max-width: 400px; }
.extras__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.extras__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.extras__list b { display: block; font-weight: 500; font-size: 1.0625rem; margin-bottom: 4px; }
.extras__list span { color: var(--ink-soft); font-size: 0.96875rem; }
.extras__list li > p { font-family: var(--serif); font-size: 1.75rem; white-space: nowrap; }
.pricing__compare { margin-top: auto; padding-top: 28px; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.monthly ul { margin-bottom: 32px !important; }
.monthly .pricing__compare { border-top: 1px solid var(--line); }

/* ---------- faq ---------- */

.faq { padding-top: var(--section) !important; padding-bottom: var(--section) !important; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq .section-head { position: sticky; top: 120px; margin: 0; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--accent); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 28px 0; color: var(--ink-soft); max-width: 640px; }
.faq details[open] p { animation: rise 0.5s var(--ease) both; }

/* ---------- closing ---------- */

main > .closing {
  max-width: none;
  background: var(--marker);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(88px, 11vw, 152px) max(var(--gutter), calc((100% - var(--wrap)) / 2));
  text-align: left;
}
.closing > :not(.closing__typing) { grid-column: 1; justify-self: start; }
.closing__typing {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  padding: clamp(28px, 3.5vw, 44px) clamp(36px, 4.5vw, 56px);
  border-radius: 999px 999px 999px 24px;
  background: var(--ink);
  rotate: -4deg;
}
.closing__typing span { width: clamp(14px, 1.8vw, 22px); aspect-ratio: 1; border-radius: 50%; background: var(--marker); animation: dot 1.4s var(--ease) infinite; }
.closing__typing span:nth-child(2) { animation-delay: 0.16s; }
.closing__typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.45; } 30% { transform: translateY(-40%); opacity: 1; } }
.closing h2 { font-size: clamp(2.8rem, 1.6rem + 5vw, 6rem); line-height: 0.98; max-width: 980px; }
.closing h2 em { background: none; padding: 0; }
.closing > p:not(.closing__note) { margin: 28px 0 40px; font-size: 1.1875rem; max-width: 560px; color: var(--ink-2); }
.closing__note { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-2); }

/* ---------- text pages ---------- */

.page { max-width: 760px; margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gutter) var(--section); }
.page__head { margin-bottom: clamp(40px, 5vw, 64px); }
.page h1 { font-size: clamp(3rem, 2rem + 4vw, 5.25rem); line-height: 0.98; letter-spacing: -0.02em; }
.page__intro { margin-top: 24px; font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); line-height: 1.5; color: var(--ink-soft); }
.page__body > * + * { margin-top: 20px; }
.page__body h2 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); line-height: 1.08; margin-top: clamp(48px, 6vw, 72px); }
.page__body h2 + * { margin-top: 16px; }
.page__body p, .page__body li { font-size: 1.0625rem; line-height: 1.7; }
.page__body ul { padding-left: 0; list-style: none; }
.page__body li { position: relative; padding-left: 26px; }
.page__body li + li { margin-top: 8px; }
.page__body li::before { content: ''; position: absolute; left: 0; top: calc(0.85em - 1px); width: 12px; height: 2px; background: var(--accent); }
.page__body a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.page__figure { margin: clamp(36px, 5vw, 56px) 0; }
.page__figure img { width: 100%; border-radius: var(--radius); background: var(--paper-2); }
.page__figure--wide { margin-left: calc(-1 * min(12vw, 160px)); margin-right: calc(-1 * min(12vw, 160px)); }
.page__figure figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-soft); }
.page__body blockquote { margin: clamp(40px, 5vw, 56px) 0; padding: 0; }
.page__body blockquote::before { content: '“'; display: block; height: 0.5em; font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--accent); }
.page__body blockquote p { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.2; }
.page__body cite { display: block; margin-top: 14px; font-style: normal; color: var(--ink-soft); font-size: 0.9375rem; }
.page__cta { margin-top: clamp(48px, 6vw, 72px) !important; padding: clamp(32px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); background: var(--ink); color: var(--on-ink); }
.page__cta h2 { margin-top: 0 !important; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); }
.page__cta p { margin: 14px 0 28px; color: var(--on-ink-soft); }
.page__cta h2 + .button { margin-top: 28px; }

/* ---------- footer ---------- */

.foot {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.foot nav { margin-left: auto; display: flex; gap: 24px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.brand--foot { font-size: 1.35rem; color: var(--ink); }

/* ---------- reveal on scroll, where the browser can tie it to scrolling ---------- */

@supports (animation-timeline: view()) {
  .section-head, .security__head, .security__absent li, .security__points div, .steps__list li, .problem__struck li, .problem__answer, .plan, .monthly, .extras, .faq__list, .closing > * {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  .problem__struck s, .security__absent s { animation: strike linear both; animation-timeline: view(); animation-range: entry 60% cover 40%; }
  @keyframes strike { from { background-size: 0% 2px; } }
}

/* ---------- smaller screens ---------- */

@media (max-width: 1020px) {
  .top__nav { display: none; }
  .top__end { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .demo { max-width: 560px; }
  main > .editing { grid-template-columns: 1fr; }
  .chat { position: static; }
  .pricing__grid, .extras, .faq { grid-template-columns: 1fr; }
  .monthly__plus { top: -10px; left: 50%; }
  .faq .section-head { position: static; }
  main > .security { grid-template-columns: 1fr; }
  .security__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main > .closing { grid-template-columns: 1fr; }
  .closing__typing { display: none; }
}
@media (max-width: 720px) {
  .problem { display: block; }
  .problem__struck, .problem__answer { margin-top: 40px; }
  .steps__list { grid-template-columns: 1fr; }
  .steps__list li:nth-child(n) { margin-top: 0; }
  .editing__features, .plan__list, .security__points { grid-template-columns: 1fr; }
  .demo { padding-left: 12px; }
  .demo__window { transform: none; }
  .extras__list li { flex-direction: column; gap: 6px; }
  .made { flex-direction: column; gap: 10px; }
  .page__figure--wide { margin-left: 0; margin-right: 0; }
  .top { gap: 16px; }
  .brand { font-size: 1.4rem; }
}

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