/* =========================================================
   CONSIDER IT SOLVED
   Operated by Beatriz Vrettos

   Castoro for display, with italics doing the emphasis inside
   a sentence. Onest for everything read or clicked. A handwritten
   face used two or three times on the whole site, never more.

   Colour means something:
     CORAL      = the problem, unsolved
     PERIWINKLE = solved

   House rule: no long dashes as punctuation, anywhere.
   ========================================================= */

:root {
  --bg:         #F6F3EE;
  --paper:      #FFFFFF;
  --soft:       #EFEBE5;
  --ink:        #1E1D1B;
  --ink-2:      #413E3A;
  --muted:      #6F6962;
  --faint:      #A49D95;
  --line:       #E6E1DA;

  --coral:      #C75134;
  --coral-deep: #9E3D23;
  --coral-soft: #F7E7E0;
  --coral-light:#FF8A6E;

  --sand:       #EBE1D1;
  --sand-deep:  #CFBC9F;
  --peri:       #C6CFF8;
  --peri-ink:   #36439E;
  --peri-soft:  #EFF1FD;

  --serif: Castoro, Georgia, "Times New Roman", serif;
  --sans: Onest, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hand: "Nothing You Could Do", cursive;

  --maxw: 1120px;
  --gutter: clamp(1.25rem, 4vw, 1.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(31px, 4.1vw, 48px); }
h3 { font-size: 23px; line-height: 1.22; }

/* The emphasis device: italic serif inside a sentence. */
em, .em { font-family: var(--serif); font-style: italic; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 300;
  background: var(--ink); color: #fff; padding: 14px 20px;
  border-radius: 0 0 12px 12px; text-decoration: none; font-weight: 600; font-size: 15px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- layout ---------- */

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 96px); }
.section--paper { background: var(--paper); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--sand-deep); color: var(--ink); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.kick { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); }
.section--dark .kick { color: var(--coral-deep); }

.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.section--dark .lead { color: #5B5245; }

.hand { font-family: var(--hand); color: var(--coral); font-size: 22px; line-height: 1.3; }
.hand--blue { color: var(--peri-ink); font-size: 19px; }
.hand--ink { color: var(--ink); font-size: 19px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px;
  padding: 16px 26px; min-height: 54px;
  border: 1px solid var(--ink); border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease);
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn--light { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--cream { background: #F3EEE6; color: #1B1A18; border-color: #F3EEE6; }
.btn--cream:hover { background: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--coral-deep); }
.link-arrow::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--ink); }

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

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(246, 243, 238, 0.92); backdrop-filter: saturate(140%) blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.brand { text-decoration: none; display: block; line-height: 1.1; }
.brand-mark { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; }
.brand-mark i { font-style: italic; color: var(--coral); }
.brand-by { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; gap: 26px; align-items: center; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: 14px; color: #fff; min-height: 42px; }
.nav .btn:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); min-height: 44px; min-width: 44px; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; padding: 32px var(--gutter);
    transform: translateX(100%); visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav[data-open="true"] { transform: translateX(0); visibility: visible; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 34px; color: var(--ink); }
  .nav .btn { margin-top: 24px; font-size: 16px; padding: 16px 26px; }
  .nav-close { position: absolute; top: 14px; right: var(--gutter); }
}

.notice-bar { background: var(--coral); color: #fff; font-size: 15px; text-align: center; padding: 12px var(--gutter); }

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

.hero { padding: 32px 0 clamp(64px, 7vw, 86px); }
.hero .grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 { margin: 14px 0 22px; }
.hero .acts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 26px; }

/* The panel: the product, demonstrated. */
.panel-hold { position: relative; }
.panel {
  background: var(--paper); border-radius: 26px; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(30, 29, 27, 0.4);
  overflow: hidden;
}
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-top b { font-size: 14px; font-weight: 600; }
.panel-top span { font-size: 12px; color: var(--muted); }

.seg { margin: 14px 16px 6px; background: var(--soft); border-radius: 10px; padding: 3px; display: grid; grid-template-columns: repeat(3, 1fr); font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.seg span { padding: 7px 0; border-radius: 8px; }
.seg span.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }

.task { display: flex; align-items: flex-start; gap: 11px; padding: 11px 20px; }
.task + .task { border-top: 1px solid var(--line); }
.task-box {
  flex: none; width: 20px; height: 20px; margin-top: 2px;
  border: 1.5px solid var(--coral); border-radius: 6px;
  background: no-repeat center/12px 12px;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.task-text {
  font-size: 15px; color: var(--ink-2);
  background-image: linear-gradient(var(--faint), var(--faint));
  background-repeat: no-repeat; background-size: 0% 1px; background-position: 0 58%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: color 0.35s var(--ease), background-size 0.5s var(--ease);
}
.task.is-done .task-box {
  background-color: var(--peri); border-color: var(--peri);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.2 L4.6 9.2 L10.5 2.8' fill='none' stroke='%231E1D1B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.task.is-done .task-text { color: var(--muted); background-size: 100% 1px; }

.panel-add { display: flex; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.panel-add input {
  flex: 1 1 auto; min-width: 0; font-family: var(--sans); font-size: 16px;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 46px;
}
.panel-add input:focus { outline: none; border-color: var(--coral); }
.panel-add input::placeholder { color: var(--faint); }
.panel-add button {
  flex: none; font-size: 14px; font-weight: 600; color: #fff; background: var(--ink);
  border: 0; border-radius: 999px; padding: 0 18px; min-height: 46px; cursor: pointer;
  transition: background 0.2s var(--ease);
}
.panel-add button:hover { background: var(--coral); }

.panel-foot { padding: 0 20px 14px; font-size: 14px; color: var(--peri-ink); min-height: 20px; }
.panel-hand { display: none; padding: 0 20px 18px; }
.panel-hand[data-show="true"] { display: block; }

.float {
  position: absolute; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; font-size: 13px; color: var(--muted);
  box-shadow: 0 12px 30px -12px rgba(30, 29, 27, 0.25); white-space: nowrap;
  pointer-events: none; /* decorative, must never block the controls beneath */
}
.float b { display: block; font-size: 14px; color: var(--ink); }
.f1 { top: -52px; left: -38px; }
.f2 { top: calc(100% - 18px); bottom: auto; right: -20px; left: auto; }

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

.probs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.prob { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.prob .q { font-family: var(--serif); font-size: 25px; line-height: 1.22; margin-bottom: 10px; }
.prob p { color: var(--muted); font-size: 16px; }

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

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 50px; }
.step { border-top: 1px solid var(--ink); padding-top: 22px; }
.step-n { position: relative; display: inline-block; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--coral); margin-bottom: 8px; padding: 10px 17px 12px; }
.step:last-child .step-n { color: var(--peri-ink); }
.step p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* ---------- the three, with a working stage ---------- */

.ways { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: center; margin-top: 46px; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab {
  display: block; width: 100%; text-align: left;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; cursor: pointer; font: inherit; color: inherit;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.tab b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 2px; }
.tab span { color: var(--muted); font-size: 15px; }
.tab[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.stage { background: var(--soft); border-radius: 28px; min-height: 470px; display: flex; align-items: center; justify-content: center; padding: 30px; }
.pane { display: block; width: 100%; }
.pane[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .pane:not([hidden]) { animation: panefade 0.35s var(--ease); }
  @keyframes panefade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* mock artefacts inside the stage */
.mock { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; max-width: 420px; margin-inline: auto; box-shadow: 0 24px 50px -30px rgba(30, 29, 27, 0.4); }
.mock-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-size: 14px; }
.mock-row + .mock-row { border-top: 1px solid var(--line); }
.mock-row .who { flex: 1 1 auto; min-width: 0; }
.mock-row .who b { display: block; font-weight: 600; font-size: 14.5px; }
.mock-row .who small { color: var(--muted); font-size: 12.5px; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pill--bad { background: var(--coral-soft); color: var(--coral-deep); }
.pill--good { background: var(--peri-soft); color: var(--peri-ink); }
.mock-note { padding: 13px 16px; border-top: 1px solid var(--line); background: var(--bg); font-size: 13px; color: var(--muted); }

.flow { display: grid; gap: 8px; max-width: 420px; margin-inline: auto; }
.flow-step { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; font-size: 14.5px; display: flex; align-items: center; gap: 11px; }
.flow-step .n { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.flow-step.gone { opacity: 0.45; }
.flow-step.gone span:not(.n) { text-decoration: line-through; text-decoration-color: var(--coral); }
.flow-step.kept { border-color: var(--peri-ink); background: var(--peri-soft); }
.flow-step.kept .n { background: var(--peri); color: var(--ink); }
.flow-arrow { text-align: center; color: var(--faint); font-size: 18px; line-height: 1; }

.serp { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; max-width: 420px; margin-inline: auto; box-shadow: 0 24px 50px -30px rgba(30, 29, 27, 0.4); }
.serp-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.serp-head .dot { width: 34px; height: 34px; border-radius: 9px; background: var(--peri); flex: none; }
.serp-head b { font-size: 16px; }
.serp-head small { display: block; color: var(--muted); font-size: 12.5px; }
.serp-stars { color: var(--coral); font-size: 14px; letter-spacing: 2px; }
.serp-rows { display: grid; gap: 7px; margin-top: 14px; }
.serp-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 8px 11px; border-radius: 9px; background: var(--bg); }
.serp-rows div span:last-child { color: var(--muted); }
.serp-rows div.ok { background: var(--peri-soft); }
.serp-rows div.ok span:last-child { color: var(--peri-ink); font-weight: 600; }

.stage-cap { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; max-width: 420px; margin-inline: auto; }

/* ---------- feature grid ---------- */

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feat { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.feat .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--coral-soft); color: var(--coral); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat b { display: block; font-size: 17px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- yes and no ---------- */

.fors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 46px; text-align: left; }
.for { border-radius: 22px; padding: 32px; }
.for.yes { background: var(--paper); border: 1px solid var(--line); }
.for.nope { background: transparent; border: 1px dashed #CFC7BC; }
.for ul { margin-top: 16px; }
.for li { padding: 10px 0 10px 30px; position: relative; }
.for li + li { border-top: 1px solid var(--line); }
.for.yes li::before { content: "\2713"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.for.nope li::before { content: "\00D7"; position: absolute; left: 3px; color: var(--muted); font-weight: 700; }

/* ---------- price ---------- */

.price-card { max-width: 560px; margin: 46px auto 0; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 40px; text-align: left; box-shadow: 0 30px 70px -40px rgba(30, 29, 27, 0.35); }
.lab { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.amt { font-family: var(--serif); font-size: 58px; line-height: 1; margin-top: 10px; }
.per { color: var(--muted); font-size: 15px; margin-top: 6px; }
.price-card ul { margin: 24px 0 28px; }
.price-card li { padding: 10px 0 10px 30px; position: relative; }
.price-card li + li { border-top: 1px solid var(--line); }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.price-card .small { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- build weeks ---------- */

.weeks { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 28px; }
.week { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 10px 20px; align-items: center; padding: 15px 20px; }
.week + .week { border-top: 1px solid var(--line); }
.week-date { font-size: 15px; font-weight: 600; }
.week-note { font-size: 14.5px; color: var(--muted); }
.week-status { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 11px; border-radius: 999px; white-space: nowrap; justify-self: end; }
.week-status[data-status="open"] { background: var(--peri-soft); color: var(--peri-ink); }
.week-status[data-status="limited"] { background: var(--coral-soft); color: var(--coral-deep); }
.week-status[data-status="booked"] { background: transparent; color: var(--faint); border: 1px solid var(--line); }
.week[data-status="booked"] .week-date, .week[data-status="booked"] .week-note { color: var(--faint); }
.weeks-foot { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- proof ---------- */

.proof-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; text-align: left; }
.proof-cols h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6B6052; margin-bottom: 14px; }
.ticks li { display: flex; gap: 12px; padding-block: 11px; font-size: 15.5px; line-height: 1.5; }
.ticks li + li { border-top: 1px solid rgba(30, 29, 27, 0.12); }
.ticks li::before { content: ""; flex: none; width: 19px; height: 19px; margin-top: 2px; border-radius: 6px; background: #FFFFFF no-repeat center/12px 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.2 L4.6 9.2 L10.5 2.8' fill='none' stroke='%231E1D1B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks--open li::before { background: transparent; border: 1.5px solid var(--coral); }
.section--dark .ticks li { color: var(--ink-2); }
.section--dark .ticks li::before { background-color: #FFFFFF; }
/* light context */
.section:not(.section--dark) .ticks li { color: var(--ink-2); }
.section:not(.section--dark) .ticks li + li { border-top-color: var(--line); }
.section:not(.section--dark) .ticks li::before { background-color: var(--peri); }
.section:not(.section--dark) .proof-cols h3 { color: var(--muted); }
.section:not(.section--dark) .ticks--open li::before { border-color: var(--coral); }

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

.faq { max-width: 760px; margin: 42px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; line-height: 0.8; color: var(--coral); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 640px; font-size: 16px; }

/* ---------- form ---------- */

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 40px); box-shadow: 0 30px 70px -40px rgba(30, 29, 27, 0.35); text-align: left; }
.form-card h2 { font-size: clamp(27px, 3vw, 36px); margin-bottom: 10px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field .req { color: var(--coral); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; min-height: 50px;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--coral); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field--big textarea { min-height: 140px; line-height: 1.5; resize: vertical; }
.field-error { font-size: 14px; color: var(--coral-deep); font-weight: 500; }
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea, .field[data-invalid="true"] select { border-color: var(--coral-deep); }

.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.radio-chip span { display: flex; align-items: center; font-size: 14.5px; font-weight: 500; padding: 11px 17px; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); transition: all 0.18s var(--ease); }
.radio-chip input:checked + span { background: var(--peri-soft); border-color: var(--peri-ink); }
.radio-chip input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }

.form-fine { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status { margin-top: 14px; font-size: 15px; }
.form-status[data-state="error"] { color: var(--coral-deep); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- images ---------- */

.shot { position: relative; overflow: hidden; background: var(--soft); border: 1px solid var(--line); border-radius: 22px; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--portrait { aspect-ratio: 4 / 5; }
.shot--wide { aspect-ratio: 16 / 10; }
.shot--square { aspect-ratio: 1 / 1; }
.shot-empty { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 5px; height: 100%; padding: 20px; }
.shot-empty svg { width: 24px; height: 24px; opacity: 0.35; margin-bottom: auto; }
.shot-empty strong { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.shot-empty span { font-size: 13px; color: var(--muted); max-width: 30ch; line-height: 1.5; }
.shot-caption { font-size: 13px; color: var(--muted); margin-top: 10px; }

.ba { position: relative; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.ba-frame { position: relative; aspect-ratio: 16 / 10; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--paper); pointer-events: none; }
.ba-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); background: var(--paper); border-radius: 50%; box-shadow: 0 8px 20px -8px rgba(30, 29, 27, 0.5); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input[type="range"]:focus-visible { opacity: 0.001; outline: 2px solid var(--coral); outline-offset: -2px; }
.ba-tags { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 12px; pointer-events: none; }
.ba-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--paper); padding: 5px 10px; border-radius: 999px; }

/* ---------- misc blocks kept from the inner pages ---------- */

.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 14.5px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.crosses li { display: flex; gap: 12px; padding-block: 10px; color: var(--muted); font-size: 15px; }
.crosses li + li { border-top: 1px solid var(--line); }
.crosses li::before { content: ""; flex: none; width: 19px; height: 19px; margin-top: 2px; border: 1px solid var(--line); border-radius: 6px; }
.ticks--detail li { flex-direction: column; gap: 3px; }
.ticks--detail li::before { display: none; }
.ticks--detail strong { font-weight: 600; font-size: 16px; color: var(--ink); }
.ticks--detail span { color: var(--muted); font-size: 15px; }
.pull { font-family: var(--serif); font-size: clamp(27px, 3.2vw, 38px); line-height: 1.18; margin-top: 44px; max-width: 22ch; }
.price-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: clamp(42px, 5vw, 58px); line-height: 1; }
.price-note { font-size: 15px; color: var(--muted); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { margin-top: 16px; }
.label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); }
.placeholder-block { border: 1px solid var(--coral); border-radius: 16px; padding: 22px; color: var(--ink-2); font-size: 15px; background: var(--coral-soft); }
.prose { max-width: 66ch; }
.prose h2 { font-size: 27px; margin: 36px 0 14px; }
.prose h3 { font-size: 21px; margin: 26px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); font-size: 16px; }
.prose ul { margin: 0 0 14px 20px; list-style: disc; }
.prose li { margin-bottom: 6px; color: var(--ink-2); font-size: 16px; }
.prose a { color: var(--coral-deep); }

.timeline { position: relative; max-width: 740px; }
.timeline-rail { position: absolute; left: 9px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.timeline-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--peri); transition: height 0.8s var(--ease); }
.tl-step { position: relative; display: grid; grid-template-columns: 19px 1fr; gap: 0 24px; padding-block: 14px; align-items: start; }
.tl-dot { width: 19px; height: 19px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--paper); margin-top: 3px; transition: background 0.45s var(--ease), border-color 0.45s var(--ease); }
.tl-step.is-in .tl-dot { background: var(--peri); border-color: var(--peri); }
.tl-day { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tl-step.is-in .tl-day { color: var(--peri-ink); }
.tl-what { color: var(--ink-2); font-size: 16px; max-width: 54ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .tl-step { opacity: 0.45; transition: opacity 0.55s var(--ease); }
  .js .tl-step.is-in { opacity: 1; }
}

.rec { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-align: left; }
.rec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px; padding: 28px; border-bottom: 1px solid var(--line); }
.rec-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rec-problem, .rec-name { font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.rec-name span { display: block; font-family: var(--sans); font-size: 14.5px; color: var(--muted); margin-top: 7px; }
.rec-body { padding: 28px; display: grid; gap: 20px; }
.rec-body > p { max-width: 64ch; color: var(--ink-2); font-size: 16px; }
.rec-highlight { background: var(--peri-soft); border-radius: 16px; padding: 20px; display: grid; gap: 10px; }
.rec-highlight p { font-size: 15.5px; color: var(--ink-2); }
.rec-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px; }
.rec-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.rec-facts dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.rec-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px 28px; border-top: 1px solid var(--line); }
.rec-disclosure { font-size: 13px; color: var(--muted); margin-left: auto; max-width: 34ch; line-height: 1.5; }

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

.site-footer { background: #1B1A18; color: #F3EEE6; padding-block: clamp(56px, 7vw, 80px) 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(243, 238, 230, 0.18); }
.footer-statement { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; max-width: 13ch; }
.footer-statement .accent { color: var(--peri); }
.footer-col h3 { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243, 238, 230, 0.5); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 15px; text-decoration: none; color: rgba(243, 238, 230, 0.85); }
.footer-col a:hover { color: #E7A487; }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: space-between; align-items: flex-end; font-size: 13px; color: rgba(243, 238, 230, 0.5); line-height: 1.7; }
.footer-legal { max-width: 46ch; }
.footer-legal strong { color: rgba(243, 238, 230, 0.9); font-weight: 500; }
.footer-placeholder { color: rgba(243, 238, 230, 0.3); }
.footer-partner { margin-top: 20px; font-size: 14px; color: rgba(243, 238, 230, 0.55); }
.footer-partner a { color: rgba(243, 238, 230, 0.9); text-decoration: underline; text-underline-offset: 4px; }
.footer-partner a:hover { color: #E7A487; }

/* ---------- sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 12px var(--gutter);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 243, 238, 0.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
  display: none;
}
.sticky-cta[data-show="true"] { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (max-width: 760px) { .sticky-cta { display: block; } .site-footer { padding-bottom: 92px; } }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero .grid, .ways, .grid-split, .proof-cols, .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .probs, .feats { grid-template-columns: 1fr 1fr; }
  .f1 { left: -6px; } .f2 { right: -6px; left: auto; top: calc(100% - 14px); }
}
@media (max-width: 720px) {
  .probs, .feats, .fors, .footer-top, .rec-head, .rec-facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr auto; }
  .week-note { grid-column: 1 / -1; }
  .stage { min-height: 400px; padding: 20px; }
  .rec-disclosure { margin-left: 0; }
}
@media (max-width: 420px) {
  .float { display: none; }
  .price-card { padding: 26px; }
  .for, .prob, .feat { padding: 24px; }
}

/* =========================================================
   Apps. Real products, playable on the page.
   ========================================================= */

.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 46px; text-align: left; }
@media (max-width: 980px) { .apps { grid-template-columns: 1fr; } }

.app {
  background: var(--paper); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px;
}
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app-name { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.app-name span { display: block; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 6px; }
.app-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--coral-soft); color: var(--coral-deep); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.app-price { font-size: 15px; font-weight: 600; color: var(--ink); }
.app p.desc { color: var(--muted); font-size: 16px; }
.app-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.app-try { font-size: 13px; color: var(--faint); }

/* ---- Reelentless demo: a phone you can tap ---- */

.rl-demo { background: var(--soft); border-radius: 22px; padding: 22px; display: flex; justify-content: center; align-items: center; flex: 1 1 auto; }
.rl-phone { width: 280px; max-width: 100%; background: #151515; border-radius: 38px; padding: 10px; box-shadow: 0 30px 60px -28px rgba(30, 29, 27, 0.5); }
.rl-screen { background: #F6F4F1; border-radius: 30px; overflow: hidden; position: relative; }
.rl-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 78px; height: 20px; background: #151515; border-radius: 20px; z-index: 2; }
.rl-top { padding: 38px 14px 8px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #77716A; }
.rl-top b { font-size: 13px; color: #1E1D1B; }

.rl-seg { margin: 4px 12px 10px; background: #EFEBE7; border-radius: 10px; padding: 3px; display: grid; grid-template-columns: repeat(3, 1fr); }
.rl-seg button {
  padding: 7px 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font-size: 11px; font-weight: 600; color: #77716A; font-family: var(--sans);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.rl-seg button[aria-pressed="true"] { background: #fff; color: #1E1D1B; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }

.rl-date { padding: 4px 14px 2px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: #1E1D1B; }
.rl-time { padding: 0 14px 8px; font-size: 11px; color: #77716A; }
.rl-time b { color: #1E1D1B; }

.rl-ideas { padding: 0 10px 10px; display: grid; gap: 6px; }
.rl-idea {
  width: 100%; text-align: left; background: #fff; border: 1px solid #E8E4DF; border-radius: 13px;
  padding: 9px 10px; display: flex; gap: 8px; cursor: pointer; font-family: var(--sans); color: inherit;
  transition: border-color 0.18s var(--ease);
}
.rl-idea .l { flex: none; width: 19px; height: 19px; border-radius: 50%; background: #EFEBE7; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; color: #77716A; }
.rl-idea b { font-size: 12px; display: block; line-height: 1.25; color: #1E1D1B; }
.rl-idea small { font-size: 10.5px; color: #77716A; line-height: 1.3; display: block; margin-top: 2px; }
.rl-idea[aria-expanded="true"] { border-color: #1E1D1B; }
.rl-idea[aria-expanded="true"] .l { background: #1E1D1B; color: #fff; }
.rl-rec { font-size: 8px; font-weight: 700; color: var(--coral); letter-spacing: 0.05em; display: block; margin-bottom: 1px; }
.rl-fm { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 7px; }
.rl-fm button {
  border: 1px solid #E8E4DF; border-radius: 8px; padding: 5px 6px; font-size: 9.5px; font-weight: 600;
  background: #fff; cursor: pointer; font-family: var(--sans); color: #1E1D1B;
  transition: box-shadow 0.15s var(--ease), border-color 0.15s var(--ease);
}
.rl-fm button[aria-pressed="true"] { border-color: #1E1D1B; box-shadow: inset 0 0 0 1px #1E1D1B; }
.rl-out { margin: 0 10px 12px; background: #1B1A18; color: #F3EEE6; border-radius: 12px; padding: 11px 12px; font-size: 11px; line-height: 1.45; }
.rl-out b { display: block; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #E7A487; margin-bottom: 4px; }

/* ---- Apples with Apples demo: drag the slider ---- */

.aa-demo { background: var(--soft); border-radius: 22px; padding: 22px; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.aa-frame { position: relative; aspect-ratio: 4 / 5; max-width: 300px; margin-inline: auto; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(30, 29, 27, 0.5); }
.aa-img { position: absolute; inset: 0; }
.aa-before { background: linear-gradient(168deg, #CFC6BA 0%, #B3A799 48%, #8F8478 100%); filter: saturate(0.6) brightness(0.92); }
.aa-after { background: linear-gradient(168deg, #F0E6D8 0%, #D9C3A8 46%, #B38F68 100%); clip-path: inset(0 0 0 var(--pos, 50%)); }
.aa-img::after {
  content: ""; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(255,255,255,.5) 0 14%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.3) 100%);
}
.aa-divider { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; pointer-events: none; z-index: 3; }
.aa-divider::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px;
  transform: translate(-50%, -50%); background: #fff; border-radius: 50%;
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5);
}
.aa-frame input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.aa-frame input[type="range"]:focus-visible { opacity: 0.001; outline: 2px solid var(--coral); outline-offset: -2px; }
.aa-tags { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 12px; pointer-events: none; z-index: 3; }
.aa-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(27, 26, 24, 0.82); color: #F3EEE6; padding: 5px 10px; border-radius: 999px; }
.aa-stamp { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; z-index: 3; pointer-events: none; }
.aa-stamp span { font-size: 10px; font-weight: 600; background: rgba(255, 255, 255, 0.9); color: #1E1D1B; padding: 4px 9px; border-radius: 999px; }
.aa-stamp[hidden] { display: none; }

.aa-controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.aa-controls button {
  font-family: var(--sans); font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 9px 16px; min-height: 42px;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.aa-controls button[aria-pressed="true"] { background: var(--peri-soft); border-color: var(--peri-ink); color: var(--peri-ink); }

/* =========================================================
   I do it for you. The differentiator.
   ========================================================= */

.nots { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: center; margin-top: 30px; }
.not {
  position: relative; font-family: var(--serif); color: var(--ink-2);
  font-size: clamp(17px, 1.8vw, 21px); padding: 16px 30px;
}

/* The hand drawn loop, used around a phrase or a number */
.loop { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.loop path, .loop ellipse {
  fill: none; stroke: var(--peri-ink); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
}
/* The three nos are static, so no dash pattern at all. Only the drawn number uses one. */
.nots .loop path, .nots .loop ellipse { stroke-dasharray: none; }
.js [data-write] .loop path, .js .loop[data-write] path { stroke-dashoffset: 100; }
.js [data-written="true"] .loop path {
  stroke-dashoffset: 0; transition: stroke-dashoffset 0.75s cubic-bezier(0.4, 0.5, 0.4, 1);
}
/* The three nos are drawn from the start. Only the number in step four animates. */
@media (prefers-reduced-motion: reduce) {
  .js [data-write] .loop path { stroke-dashoffset: 0; }
}
}
}

/* app cards get a demo button */
.app-foot .btn.light { padding: 14px 22px; min-height: 48px; }

/* =========================================================
   SHARED UTILITIES USED BY THE INNER PAGES
   One system, so nothing is styled twice.
   ========================================================= */

:root {
  --on-ink: #FFFFFF;
  --t-xs: 12px;
  --t-sm: 14px;
  --t-base: 17px;
  --t-lg: 19px;
  --t-2xl: clamp(26px, 3.2vw, 36px);
  --t-3xl: clamp(31px, 4.1vw, 48px);
  --t-4xl: clamp(38px, 5.4vw, 62px);
}

.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--coral-deep); }

.lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.section--dark .lede { color: #5B5245; }

.statement { font-family: var(--serif); font-size: clamp(25px, 3vw, 36px); line-height: 1.2; letter-spacing: -0.015em; max-width: 24ch; }

.wrap--narrow { max-width: 760px; }
.section--alt, .section--soft2 { background: var(--soft); }
.section--line { border-top: 1px solid var(--line); }
.section--peri { background: var(--sand); }
.section-head--wide { max-width: 760px; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.card--peri { background: var(--peri-soft); border-color: #D8DEFA; }

.btn--coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--dark .btn--ghost { color: var(--ink); border-color: var(--ink); }
.section--dark .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.arrow { display: inline-block; transition: transform 0.15s var(--ease); }
a:hover .arrow { transform: translateX(3px); }

.chev { width: 11px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s var(--ease); flex: none; }
[aria-expanded="true"] .chev { transform: rotate(225deg); }

.faq-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; background: none; border: 0; border-top: 1px solid var(--line); padding: 22px 0; font-family: var(--serif); font-size: 21px; color: var(--ink); text-align: left; cursor: pointer; }
.faq-trigger:hover { color: var(--coral); }
.faq-panel { padding: 0 0 22px; color: var(--muted); max-width: 62ch; line-height: 1.65; }
.faq-panel[hidden] { display: none; }

.problems { margin-top: 44px; border-top: 1px solid var(--line); }
.problem { border-bottom: 1px solid var(--line); }
.problem-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; background: none; border: 0; padding: 26px 0; text-align: left; cursor: pointer; color: var(--ink); }
.problem-trigger b { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; }
.problem-quote { display: block; font-size: 15px; color: var(--muted); margin-top: 7px; max-width: 48ch; }
.problem-panel { padding-bottom: 28px; }
.problem-panel[hidden] { display: none; }
.problem-reframe { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--coral-deep); max-width: 34ch; margin-bottom: 16px; }
.problem-more { list-style: none; padding: 0; margin: 0; max-width: 62ch; }
.problem-more li { position: relative; padding-left: 26px; color: var(--ink-2); line-height: 1.6; }
.problem-more li + li { margin-top: 10px; }
.problem-more li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--peri-ink); }
.problem-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.problem-tags span { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; background: var(--peri-soft); color: var(--peri-ink); padding: 6px 12px; border-radius: 999px; }

.case-flow { display: grid; gap: 18px; margin-top: 40px; }
.case-step { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.case-step h3 { margin-bottom: 8px; }
.case-step p { margin: 0; color: var(--muted); line-height: 1.65; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .grid-2, .grid-split { grid-template-columns: 1fr; gap: 32px; } }

/* App cards on the homepage now link out to the full demos */
.app-use { font-size: 15px; color: var(--peri-ink); font-weight: 600; margin: 0 0 18px; }

/* =========================================================
   THE BIGGEST SELLING POINT
   The line writes itself on, then the two ways of working
   sit behind one switch.
   ========================================================= */

.section--peri-soft { background: var(--sand); }

.write-hold { display: inline-block; position: relative; margin-top: 2px; max-width: 100%; }
.write {
  display: inline-block; white-space: nowrap;
  font-family: var(--hand); font-size: clamp(30px, 5.2vw, 56px); line-height: 1.1;
  color: var(--coral-deep); padding-inline: 4px;
}
.js .write { clip-path: inset(0 100% -25% -5%); }
.js [data-written="true"] .write {
  clip-path: inset(0 -6% -25% -5%);
  transition: clip-path 1.6s cubic-bezier(0.37, 0.64, 0.38, 1);
}
.write-rule { display: block; width: 100%; height: 11px; margin-top: -8px; overflow: visible; }
.write-rule path {
  fill: none; stroke: var(--peri-ink); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
}
.js [data-written="true"] .write-rule path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.85s ease-out 1.25s;
}
@media (prefers-reduced-motion: reduce) {
  .js .write { clip-path: none; }
  .js .write-rule path { stroke-dashoffset: 0; }
}

.ways-switch {
  display: inline-flex; gap: 5px; margin-top: 30px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px;
  max-width: 100%; flex-wrap: wrap; justify-content: center;
}
.ways-switch button {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--muted);
  background: transparent; border: 0; border-radius: 999px;
  padding: 13px 22px; min-height: 48px; cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.ways-switch button:hover { color: var(--ink); }
.ways-switch button[aria-selected="true"] { background: var(--peri); color: var(--ink); }
.ways-switch button:focus-visible { outline: 2px solid var(--peri-ink); outline-offset: 2px; }

.way {
  text-align: left; max-width: 720px; margin: 26px auto 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 3.2vw, 38px);
}
.way[hidden] { display: none; }
.way .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--coral-deep); background: var(--coral-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.way h3 { font-size: clamp(25px, 3vw, 33px); margin-bottom: 12px; }
.way > p { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 52ch; }
.way ul { list-style: none; padding: 0; margin: 20px 0 0; }
.way li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.6; }
.way li + li { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.way li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px;
  border-left: 2px solid var(--peri-ink); border-bottom: 2px solid var(--peri-ink);
  transform: rotate(-45deg);
}
.way li + li::before { top: 21px; }

/* =========================================================
   THE APPS, PLAYED WITH IN PLACE
   ========================================================= */

.wrap--wide { max-width: 1280px; }
.appshow + .appshow { margin-top: clamp(56px, 7vw, 86px); }
.appshow-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; text-align: left; margin-bottom: 22px;
}
.appshow-head h3 { font-size: clamp(27px, 3.4vw, 38px); }
.appshow-head p.tag-line { color: var(--muted); font-size: 16px; margin-top: 8px; max-width: 48ch; }
.appshow-head .meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.appshow-why {
  text-align: left; color: var(--ink-2); font-size: 17px; line-height: 1.65;
  max-width: 68ch; margin: 0 0 22px;
}
.appshow-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; text-align: left; margin-top: 20px;
}
.appshow-foot .hint { font-size: 14px; color: var(--faint); }

/* The case study, said in three lines: what I found, what replaced it */
.found { max-width: 880px; margin: 38px auto 0; text-align: left; }
.found-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
  padding: 18px 0; border-top: 1px solid rgba(30, 29, 27, 0.16);
}
.found-row:last-child { border-bottom: 1px solid rgba(30, 29, 27, 0.16); }
.found-a { grid-column: 1; grid-row: 1; color: #6B6052; text-decoration: line-through; text-decoration-color: rgba(159, 61, 35, 0.55); }
.found-b { grid-column: 3; grid-row: 1; color: var(--ink); font-weight: 500; }
.found-a, .found-b { font-size: 16px; line-height: 1.5; }
.found-row::before {
  content: ""; grid-column: 2; grid-row: 1; width: 24px; height: 11px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M0 5h19M15 1l4 4-4 4' fill='none' stroke='%231E1D1B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (max-width: 720px) {
  .found-row { grid-template-columns: 1fr; gap: 6px; }
  .found-a { grid-column: 1; grid-row: 1; }
  .found-row::before { grid-column: 1; grid-row: 2; transform: rotate(90deg); margin: 4px 0; }
  .found-b { grid-column: 1; grid-row: 3; }
}

/* The two app lockups */
.applogo { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
.applogo svg { width: 42px; height: 42px; flex: none; }
.applogo-word { line-height: 1.05; }
.applogo--rl .applogo-word {
  font-family: var(--sans); font-size: clamp(19px, 2.2vw, 24px); font-weight: 600;
  letter-spacing: 0.2em; color: var(--ink);
}
.applogo--rl .applogo-word b { font-weight: 600; color: #C24A1C; }
.applogo--aa .applogo-word { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 31px); color: var(--ink); }
.applogo--aa .applogo-word i { font-size: 0.82em; }
