/* Gestora public site. Colors follow the dashboard (dashboard/src/styles/app.css). */

@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('/assets/fonts/atkinson-hyperlegible-next.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1b2a3a;
  --ink-2: #44566a;
  --ink-3: #5f6f7d;
  --ground: #edf1ee;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --line: #d5ddd8;
  --line-soft: #e5ebe7;
  --mango: #e39a2d;          /* the mark's middle bar */
  --mango-deep: #ad680c;     /* mango for text and hand notes on light grounds */
  --mango-tint: #fbefd9;
  --on-mango: #241500;
  --green: #2e7d5b;
  --green-tint: #e1f0e8;
  --green-line: #cfe0d6;
  --bubble-out: #dcefe3;
  --chat-bg: #efeae2;        /* a chat's wallpaper tone */
  --on-ink: #edf1ee;
  --on-ink-2: #aab7c2;
  --ink-line: #33475a;
  --paper-warm: #fffcf5;
  --rule-blue: #d3dee8;
  --margin-red: #e8aaa2;
  --pen: #2b3f63;
  --postit: #fde7a3;
  --tape: rgba(244, 222, 160, 0.78);

  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --hand: var(--sans);
  --phone: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1160px;
  --gutter: 32px;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(27, 42, 58, 0.14), 0 2px 6px rgba(27, 42, 58, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--mango-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h2, .h3, .hero__title { font-family: var(--serif); font-weight: 420; letter-spacing: -0.015em; }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; }
.h3 { font-size: clamp(25px, 2.3vw, 30px); line-height: 1.18; margin-bottom: 12px; }
.h4 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.35; }
.hand { font-family: var(--hand); font-weight: 500; line-height: 1.1; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 31em; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: var(--radius);
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.btn--s { height: 40px; padding: 0 16px; font-size: 15px; }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: #2a3d50; }
.btn--mango { background: var(--mango); color: var(--on-mango); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn--mango:hover { background: #eaa843; transform: translateY(-1px); }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.arrow-link::after { content: '→'; transition: transform 0.2s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(237, 241, 238, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__row { display: flex; align-items: center; gap: 32px; height: 72px; }
.top__row > .btn { margin-left: auto; }
.top__nav + .btn { margin-left: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -0.02em; }
.top__nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.top__nav a { text-decoration: none; color: var(--ink-2); }
.top__nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { background: var(--ground); padding: 72px 0 104px; overflow: hidden; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: start; }
.hero__copy { padding-top: 24px; }
.hero__title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.022em; font-weight: 400; margin-bottom: 26px; }
.squiggle { position: relative; display: inline-block; }
.squiggle svg { position: absolute; left: -1%; bottom: -0.1em; width: 102%; height: 0.26em; color: var(--mango); overflow: visible; }

.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.stage__side { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; }

/* The phone-like chat */
.phone {
  background: var(--chat-bg); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid var(--ink); display: flex; flex-direction: column;
}
.chat__head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--ink); color: var(--on-ink); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--mango); color: var(--on-mango); font: 600 12.5px/1 var(--sans); letter-spacing: 0.02em;
}
.chat__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.chat__who strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__who small { font-size: 12px; color: var(--on-ink-2); }
.chat__who small.is-typing { color: var(--mango); font-style: italic; }
.chat__body {
  display: flex; flex-direction: column; gap: 7px; padding: 14px 12px 16px;
  height: 452px; overflow-y: auto; scrollbar-width: none; scroll-behavior: smooth;
}
.chat__body::-webkit-scrollbar { display: none; }
.chat__body > :first-child { margin-top: auto; }

.chat { display: flex; flex-direction: column; gap: 8px; }
.msg { display: flex; flex-direction: column; max-width: 86%; }
.msg p {
  font-family: var(--phone); font-size: 14.5px; line-height: 1.42; padding: 7px 11px 8px; border-radius: 12px;
  background: var(--surface); box-shadow: 0 1px 0.5px rgba(27, 42, 58, 0.13);
}
.msg time { font-family: var(--phone); font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.msg--in { align-self: flex-start; }
.msg--in p { border-top-left-radius: 3px; }
.msg--out { align-self: flex-end; align-items: flex-end; }
.msg--out p { background: var(--bubble-out); border-top-right-radius: 3px; }
.msg__buttons { display: grid; grid-auto-flow: column; gap: 4px; margin-top: 4px; width: 100%; }
.msg__buttons span {
  font-family: var(--phone); font-size: 13.5px; font-weight: 600; text-align: center; color: var(--green);
  background: var(--surface); border-radius: 9px; padding: 7px 8px; box-shadow: 0 1px 0.5px rgba(27, 42, 58, 0.13);
}
.msg__buttons span.is-picked { background: var(--green-tint); }

/* Hand notes */
.hand-note {
  font-family: var(--hand); font-weight: 500; font-size: 23px; line-height: 1.12; color: var(--mango-deep);
  display: flex; align-items: flex-start; gap: 6px;
}
.hand-note svg { width: 52px; height: 38px; flex: none; color: var(--mango-deep); }
.hand-note--hero { transform: rotate(-2.5deg); max-width: 270px; }
.hand-note--hero svg { margin-top: 30px; }

/* Agenda slice, in the dashboard's style */
.slice { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid rgba(27, 42, 58, 0.06); overflow: hidden; }
.slice__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.slice__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.slice__grid {
  --h: 64px;
  position: relative; display: grid; grid-auto-rows: var(--h);
  background-image: linear-gradient(to bottom, transparent calc(var(--h) / 2), var(--line-soft) calc(var(--h) / 2), var(--line-soft) calc(var(--h) / 2 + 1px), transparent calc(var(--h) / 2 + 1px));
  background-size: 100% var(--h);
  height: calc(var(--h) * 4);
}
.slice__hour { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); padding: 3px 0 0 10px; }
.slice__hour:first-child { border-top-color: transparent; }
.card {
  position: absolute; left: 50px; right: 8px;
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 7px;
  padding: 5px 8px 5px 9px; border-radius: 5px; font-size: 12px; line-height: 1.35;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green); overflow: hidden;
}
.card b { font-weight: 600; font-variant-numeric: tabular-nums; }
.card span { color: var(--ink-2); }
.card i { font-style: normal; margin-left: auto; font-size: 11px; color: var(--green); font-weight: 600; }
.card--confirmed { background: var(--green-tint); border-color: var(--green-line); border-left-color: var(--green); }
.card--free { border: 1px dashed var(--line); border-left: 1px dashed var(--line); background: transparent; }
.card--free span { color: var(--ink-3); font-style: italic; }
.card--a { top: 2px; height: calc(var(--h) / 2 - 4px); flex-wrap: nowrap; white-space: nowrap; }
.card--b { top: calc(var(--h) + 2px); height: calc(var(--h) - 4px); align-items: center; }
.card--c { top: calc(var(--h) * 2 + 2px); height: calc(var(--h) * 0.75 - 4px); flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
.card--stack { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
.card--at-0 { top: 2px; } .card--at-15 { top: calc(var(--h) * 0.25 + 2px); } .card--at-30 { top: calc(var(--h) * 0.5 + 2px); } .card--at-45 { top: calc(var(--h) * 0.75 + 2px); }
.card--len-30 { height: calc(var(--h) * 0.5 - 4px); } .card--len-45 { height: calc(var(--h) * 0.75 - 4px); } .card--len-60 { height: calc(var(--h) - 4px); } .card--len-90 { height: calc(var(--h) * 1.5 - 4px); } .card--len-120 { height: calc(var(--h) * 2 - 4px); }
.card--row2 { top: calc(var(--h) * 2 + 2px); height: calc(var(--h) / 2 - 4px); flex-wrap: nowrap; white-space: nowrap; }
.card--row3 { top: calc(var(--h) * 3 + 2px); height: calc(var(--h) - 4px); align-items: center; }
.card .tag { position: absolute; top: 5px; right: 6px; margin: 0; font-size: 10.5px; color: var(--on-mango); background: var(--mango); padding: 1px 6px; border-radius: 3px; }
.card--inline { position: relative; left: auto; right: auto; margin-top: 18px; max-width: 320px; align-self: flex-end; flex-wrap: nowrap; white-space: nowrap; }

/* Hero animation (only with JS, never with reduced motion) */
.js [data-step]:not(.is-shown) { display: none; }
.js [data-step].is-shown { animation: pop 0.35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.js [data-newcard] { opacity: 0; transform: translateY(-6px) scale(0.97); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js [data-newcard].is-shown { opacity: 1; transform: none; animation: ring 1.6s 0.2s var(--ease); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(227, 154, 45, 0.6); } 100% { box-shadow: 0 0 0 14px rgba(227, 154, 45, 0); } }

/* ---------- Who it is for ---------- */
.who { padding: 104px 0 96px; }
.who__line { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; letter-spacing: -0.01em; max-width: 26em; }
.kinds { display: flex; flex-wrap: wrap; gap: 10px 10px; margin-top: 40px; max-width: 980px; }
.kinds li {
  font-size: 15.5px; color: var(--ink-2); padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
}
.kinds li:nth-child(3n+1) { transform: rotate(-1deg); }
.kinds li:nth-child(4n+2) { transform: rotate(1.2deg); }

/* ---------- Paper ---------- */
.paper { position: relative; background: var(--paper-warm); border-radius: 3px; box-shadow: 0 1px 1px rgba(27, 42, 58, 0.06), 0 10px 26px rgba(27, 42, 58, 0.1); }
.paper--tape::before {
  content: ''; position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; margin-left: -46px;
  background: var(--tape); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(27, 42, 58, 0.08);
}
.tilt-l { transform: rotate(-1.1deg); }
.tilt-r { transform: rotate(0.9deg); }
.tilt-s { transform: rotate(-0.4deg); }

/* ---------- Scenes ---------- */
.scenes { padding: 104px 0 112px; background: var(--paper); }
.scenes .h2 { max-width: 16em; }
.scenes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; margin-top: 56px; }
.scene { padding: 30px 30px 32px; }
.scene:nth-child(2) { margin-top: 36px; }
.scene:nth-child(3) { margin-top: -20px; }
.scene__when { font-size: 27px; color: var(--mango-deep); }
.scene__who { font-weight: 600; margin: 4px 0 10px; }
.scene p:last-child { color: var(--ink-2); }
.scenes__after { margin-top: 64px; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45; max-width: 30em; }

/* ---------- What it does ---------- */
.does { padding: 112px 0 64px; }
.does__head { max-width: 40em; margin-bottom: 40px; }
.does__head p { color: var(--ink-2); font-size: 19px; margin-top: 18px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--line);
}
.feature--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.feature--flip .feature__text { order: 2; }
.feature__text > p { color: var(--ink-2); max-width: 28em; }
.feature__wip { font-size: 25px; color: var(--mango-deep) !important; margin-top: 14px; transform: rotate(-1.5deg); transform-origin: left; }
.feature__art { background: var(--chat-bg); border-radius: 20px; padding: 26px clamp(18px, 4vw, 40px) 34px; display: flex; flex-direction: column; }
.art__label { font-size: 22px; color: var(--ink-2); margin-bottom: 14px; }
.chat--mini .msg { max-width: 82%; }

.js [data-reveal] .msg, .js [data-reveal] .card--inline { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js [data-reveal].is-in .msg, .js [data-reveal].is-in .card--inline { opacity: 1; transform: none; }
.js [data-reveal] .msg:nth-child(2) { transition-delay: 0.5s; }
.js [data-reveal] .msg:nth-child(3) { transition-delay: 1s; }
.js [data-reveal] .msg:nth-child(4) { transition-delay: 1.5s; }
.js [data-reveal] .card--inline { transition-delay: 1.6s; }

/* ---------- Panel ---------- */
.panel { padding: 112px 0 120px; background: var(--ground); }
.panel__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.panel__lede { color: var(--ink-2); font-size: 19px; margin-top: 18px; max-width: 28em; }
.panel__points { display: grid; gap: 20px; margin-top: 36px; }
.panel__points div { border-top: 1px solid var(--line); padding-top: 14px; }
.panel__points dt { font-weight: 600; }
.panel__points dd { color: var(--ink-2); margin-top: 2px; }
.panel__art { position: relative; padding: 10px 0 40px; }

.libreta {
  position: relative; padding: 26px 24px 30px 74px; max-width: 470px;
  background:
    linear-gradient(to right, transparent 56px, var(--margin-red) 56px, var(--margin-red) 58px, transparent 58px),
    repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule-blue) 35px 36px),
    var(--paper-warm);
  background-position: 0 0, 0 26px, 0 0;
  font-family: var(--hand); font-size: 25px; line-height: 36px; color: var(--pen);
}
.libreta__day { font-size: 29px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.libreta li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.libreta li b { font-weight: 700; margin-right: 10px; }
.libreta s { text-decoration-thickness: 2px; }
.libreta .ink-red { color: #b23a33; }
.libreta__holes { position: absolute; left: 18px; top: 24px; bottom: 24px; display: flex; flex-direction: column; justify-content: space-around; }
.libreta__holes span { width: 14px; height: 14px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 1px 2px rgba(27, 42, 58, 0.25); }
.postit {
  position: absolute; right: -26px; bottom: -34px; width: 168px; padding: 16px 16px 20px;
  background: var(--postit); font-family: var(--hand); font-size: 23px; line-height: 1.15; color: #3d3000;
  transform: rotate(5deg); box-shadow: 0 8px 18px rgba(27, 42, 58, 0.16);
}
.hand-note--panel { margin: 50px 0 0 8px; max-width: 380px; transform: rotate(-1.5deg); }
.hand-note--panel svg { margin-top: -18px; }

/* ---------- Persona ---------- */
.persona { padding: 112px 0; }
.persona__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.persona__text p { color: var(--ink-2); margin-top: 20px; max-width: 30em; font-size: 18px; }
.chat--quote { background: var(--chat-bg); border-radius: 20px; padding: 30px clamp(18px, 3vw, 32px); gap: 10px; }
.chat--quote .msg p { font-size: 17px; padding: 10px 14px; }

/* ---------- Founders ---------- */
.founders { padding: 56px 0 128px; }
.letter { max-width: 700px; margin: 0 auto; padding: clamp(32px, 5vw, 60px); }
.letter__title { font-size: 36px; color: var(--mango-deep); margin-bottom: 18px; }
.letter p { font-family: var(--serif); font-size: clamp(19px, 2vw, 21px); line-height: 1.6; }
.letter p + p { margin-top: 16px; }
.letter .letter__sign { margin-top: 30px; font-family: var(--hand); font-size: 36px; line-height: 1.1; }
.letter__sign small { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-3); margin-top: 6px; }

/* ---------- Pilot (dark) ---------- */
.pilot { background: var(--ink); color: var(--on-ink); padding: 120px 0 0; }
.pilot__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.pilot__text p { color: var(--on-ink-2); margin-top: 22px; font-size: 18px; max-width: 28em; }
.pilot__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-content: start; padding-top: 12px; }
.pilot__lists .h4 { color: var(--on-ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink-line); }
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 26px; color: var(--on-ink-2); font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 14px; height: 5px; border-radius: 3px; background: var(--mango); }
.contact { margin-top: 96px; padding: 60px 0 112px; border-top: 1px solid var(--ink-line); display: grid; gap: 22px; }
.contact__lead { color: var(--on-ink-2); font-size: 19px; }
.contact__hand { display: inline-block; font-size: 27px; color: var(--mango); margin-left: 6px; transform: rotate(-2deg); }
.contact__mail {
  justify-self: start; font-family: var(--serif); font-size: clamp(30px, 5.4vw, 70px); line-height: 1.05; letter-spacing: -0.02em;
  text-decoration: underline; text-decoration-color: var(--mango); text-decoration-thickness: 3px; text-underline-offset: 0.16em;
  overflow-wrap: anywhere; transition: color 0.2s;
}
.contact__mail:hover { color: var(--mango); }
.pilot :focus-visible { outline-color: var(--mango); }

/* ---------- FAQ ---------- */
.faq { padding: 112px 0; }
.faq__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.faq .h2 { position: sticky; top: 112px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font-size: 18.5px; font-weight: 500; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ''; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; border-radius: 1px; background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: var(--ink-2); }
.faq details p { color: var(--ink-2); padding: 0 48px 24px 0; max-width: 40em; }

/* ---------- Footer ---------- */
.foot { background: var(--ground); padding: 48px 0 40px; font-size: 14.5px; color: var(--ink-2); }
.foot__row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; }
.brand--foot .brand__name { font-size: 22px; color: var(--ink); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { color: var(--ink); text-decoration: underline; }
.foot__legal { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; }

/* ---------- Legal and 404 pages ---------- */
.doc { padding: 72px 0 120px; }
.doc__inner { max-width: 44em; }
.doc h1 { font-family: var(--serif); font-weight: 420; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.doc .meta { color: var(--ink-3); font-size: 15px; margin-top: 16px; }
.doc .draft { margin-top: 28px; padding: 14px 18px; border-radius: 8px; background: var(--mango-tint); border: 1px solid #f0d7a9; font-size: 15px; color: #7a4a05; }
.doc h2 { font-family: var(--serif); font-weight: 450; font-size: 28px; line-height: 1.2; margin: 56px 0 14px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 14px; }
.doc ul { display: grid; gap: 8px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 10px; height: 4px; border-radius: 2px; background: var(--mango); }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; }

.notfound { min-height: 70vh; display: grid; align-content: center; padding: 96px 0; background: var(--ground); }
.notfound h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.02em; }
.notfound .hand { font-size: 28px; color: var(--mango-deep); margin-bottom: 14px; transform: rotate(-2deg); transform-origin: left; }
.notfound p:not(.hand) { color: var(--ink-2); font-size: 19px; margin: 20px 0 32px; max-width: 30em; }


/* ---------- Try it (scripted demo) ---------- */
.demo { padding: 112px 0; background: var(--paper); }
.demo__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 80px; align-items: start; }
.demo__lede { color: var(--ink-2); font-size: 19px; margin-top: 18px; max-width: 26em; }
.demo__pick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.demo__fine { color: var(--ink-3); font-size: 14.5px; margin-top: 22px; max-width: 30em; }
.demo__card { margin-top: 40px; padding: 18px 20px 22px; max-width: 360px; }
.demo__card[hidden] { display: none; }
.demo__card-label { font-size: 23px; color: var(--mango-deep); margin-bottom: 10px; }
.demo__booking { max-width: none; margin: 0; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; white-space: normal; padding: 8px 64px 9px 12px; font-size: 13.5px; }
.demo__booking .tag { top: 8px; right: 8px; }
.phone--demo .chat__body { height: 430px; }
.demo__replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: var(--chat-bg); border-top: 1px solid rgba(27, 42, 58, 0.08); min-height: 64px; }
.chip {
  font: 600 14.5px/1.2 var(--sans); color: var(--ink); background: var(--surface); cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; transition: background-color 0.15s, border-color 0.15s;
}
.chip:hover { border-color: var(--ink-3); }
.chip--quiet { font-weight: 500; color: var(--ink-2); background: transparent; }
.chip--pick[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.demo__nojs { padding: 14px; font-size: 14px; color: var(--ink-2); background: var(--surface); }
.js .demo__nojs { display: none; }
.kinds a { text-decoration: none; color: var(--ink); }
.kinds li:has(a) { border-color: var(--ink-3); }
.kinds a:hover { text-decoration: underline; }

/* ---------- Business pages ---------- */
.hero__eyebrow { font-size: 27px; color: var(--mango-deep); margin-bottom: 14px; transform: rotate(-2deg); transform-origin: left; }
.fit { padding: 112px 0; }
.fit__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.fit__caption { color: var(--ink-2); font-size: 15.5px; margin-top: 14px; }
.others { padding: 72px 0; border-top: 1px solid var(--line); }
.others__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.others__row .h4 { margin-right: 8px; }
.others a { font-family: var(--serif); font-size: 24px; }
.faq__more { margin-top: 24px; }
.scenes__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
.scenes__grid--three .scene:nth-child(n) { margin-top: 0; }
.scenes__grid--three .scene:nth-child(2) { margin-top: 28px; }
.pilot .h2 { max-width: 18em; }
.pilot__short { color: var(--on-ink-2); font-size: 18px; margin-top: 18px; max-width: 34em; }
.pilot__short a { color: var(--on-ink); }


/* ---------- Professional look (the founders, 2026-11-09) ---------- */
/* Menu: a navy bar with a mango stripe on top. */
.top { background: var(--ink); border-top: 4px solid var(--mango); border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top.is-scrolled { box-shadow: 0 6px 20px rgba(27, 42, 58, 0.18); }
.top .brand__name { color: #f3f5f4; }
.top .brand__mark rect:first-child { fill: #2b4158; }
.top__nav a { color: #c9d3db; }
.top__nav a:hover { color: #ffffff; }
.top .btn--ink { background: var(--mango); color: var(--on-mango); }
.top .btn--ink:hover { background: #eaa843; }
.top :focus-visible { outline-color: var(--mango); }

/* Neat type in place of handwriting; no tape, no tilt. */
.mark { text-decoration: underline; text-decoration-color: var(--mango); text-decoration-thickness: 0.07em; text-underline-offset: 0.14em; text-decoration-skip-ink: none; }
.hand { font-family: var(--sans); }
.hand-note {
  font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--ink-2);
  background: var(--surface); border-left: 3px solid var(--mango); border-radius: 6px; padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(27, 42, 58, 0.06);
}
.hand-note svg { display: none; }
.hand-note--hero, .hand-note--panel { transform: none; max-width: none; }
.hero__eyebrow { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--mango-deep); transform: none; }
.paper { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(27, 42, 58, 0.04); }
.paper--tape::before { display: none; }
.tilt-l, .tilt-r, .tilt-s { transform: none; }
.scenes__grid .scene { margin-top: 0; border-top: 3px solid var(--mango); }
.scene__when { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--mango-deep); }
.art__label { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.feature__wip {
  display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 600; color: #7a4a05 !important;
  background: var(--mango-tint); border: 1px solid #f0d7a9; border-radius: 999px; padding: 4px 12px; transform: none;
}
.contact__hand { font-family: var(--sans); font-size: 18px; font-weight: 600; transform: none; margin-left: 4px; }
.demo__card-label { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.notfound .hand { font-family: var(--sans); font-size: 15px; font-weight: 600; transform: none; }
.kinds li:nth-child(n) { transform: none; }

/* Cards in the agenda drawings. */
.card--oneline { flex-direction: row; flex-wrap: nowrap; white-space: nowrap; align-items: center; }
.card--block { border-left-color: var(--ink-2); color: var(--ink-2); background: repeating-linear-gradient(135deg, rgba(27, 42, 58, 0.06) 0 2px, transparent 2px 8px), var(--paper); }
.slice__dot--blue { background: #3d6f9e; }
.mock--blue { border-left-color: #3d6f9e; }

/* The panel illustration (home page). */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.mock__bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.mock__bar span { color: var(--ink-3); font-size: 13px; }
.mock__grid { display: grid; grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr); padding: 0 10px 12px 0; }
.mock__rail { padding-top: 38px; display: grid; grid-auto-rows: 64px; }
.mock__rail span { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; padding: 3px 0 0 10px; border-top: 1px solid var(--line); }
.mock__col { border-left: 1px solid var(--line-soft); min-width: 0; }
.mock__who { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 10px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.mock__lane {
  --h: 64px; position: relative; height: calc(var(--h) * 4);
  background-image:
    linear-gradient(to bottom, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, transparent calc(var(--h) / 2), var(--line-soft) calc(var(--h) / 2), var(--line-soft) calc(var(--h) / 2 + 1px), transparent calc(var(--h) / 2 + 1px));
  background-size: 100% var(--h);
}
.mock .card { left: 5px; right: 5px; top: calc((var(--row, 0) + var(--min, 0) / 60) * var(--h) + 2px); }
.r0 { --row: 0; } .r1 { --row: 1; } .r2 { --row: 2; } .r3 { --row: 3; }
.m0 { --min: 0; } .m30 { --min: 30; }
.mock .mock__in { position: absolute; top: 5px; right: 7px; margin: 0; color: var(--green); }
.mock figcaption { padding: 12px 18px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__row { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { padding-top: 0; max-width: 40em; }
  .stage { max-width: 720px; }
  .feature, .persona__row, .panel__row, .pilot__row, .demo__row, .fit__row { gap: 56px; }
}
@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .top__nav { display: none; }
  .top__nav + .btn { margin-left: auto; }
  .top__row { height: 64px; }
  .feature, .feature--flip, .persona__row, .panel__row, .pilot__row, .faq__row, .demo__row, .fit__row { grid-template-columns: 1fr; }
  .feature { gap: 28px; padding: 44px 0; }
  .feature--flip .feature__text { order: 0; }
  .scenes__grid { grid-template-columns: 1fr; gap: 36px; }
  .scene:nth-child(n) { margin-top: 0; }
  .scenes__grid--three { grid-template-columns: 1fr; }
  .scenes__grid--three .scene:nth-child(n) { margin-top: 0; }
  .faq .h2 { position: static; }
  .faq__row { gap: 28px; }
  .who, .scenes, .does, .panel, .persona, .faq, .demo, .fit { padding-top: 80px; padding-bottom: 80px; }
  .phone--demo { max-width: 460px; }
  .founders { padding-bottom: 96px; }
  .pilot { padding-top: 88px; }
  .contact { margin-top: 64px; padding-bottom: 88px; }
  .panel__art { max-width: 480px; }
  .foot__row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 40px 0 72px; }
  .lede { font-size: 17px; }
  .stage { grid-template-columns: 1fr; }
  .stage__side { padding-top: 0; flex-direction: column-reverse; }
  .hand-note--hero { max-width: none; align-self: flex-end; transform: rotate(-1.5deg); }
  .hand-note--hero svg { display: none; }
  .chat__body { height: 420px; }
  .pilot__lists { grid-template-columns: 1fr; }
  .feature__art { border-radius: 16px; }
  .chat--quote .msg p { font-size: 16px; }
  .faq summary { font-size: 17px; padding-right: 40px; }
  .btn--s { height: 38px; padding: 0 14px; }
  .libreta { font-size: 22px; padding-left: 64px; background-position: 0 0, 0 26px, 0 0; background-image: linear-gradient(to right, transparent 48px, var(--margin-red) 48px, var(--margin-red) 50px, transparent 50px), repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule-blue) 35px 36px); }
  .libreta__holes { left: 14px; }
  .postit { right: -6px; width: 150px; font-size: 21px; }
  .hand-note--panel { margin-left: 4px; }
  .letter { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
}
