:root {
  /* Financial Times Origami core palette, o-colors 6.7.1 */
  --ft-paper: #fff1e5;
  --ft-black: #000000;
  --ft-white: #ffffff;
  --ft-claret: #990f3d;
  --ft-teal: #0d7680;
  --ft-teal-30: #08474c;
  --ft-oxford: #0f5499;
  --ft-slate: #262a33;
  --ft-wheat: #f2dfce;
  --ft-sky: #cce6ff;
  --ft-velvet: #593380;
  --ft-candy: #ff7faa;
  --ft-wasabi: #96cc28;
  --ft-jade: #00994d;
  --ft-lemon: #ffec1a;
  --ft-mandarin: #ff8833;
  --ft-crimson: #cc0000;
  --ft-pink: #fcd0b1;
  --ft-grey: #333333;
  --ft-black-80: #33302e;
  --ft-black-70: #4d4845;
  --ft-black-50: #807872;
  --ft-black-20: #ccc1b7;
  --ink: var(--ft-black);
  --muted: var(--ft-black-70);
  --salt: var(--ft-paper);
  --foam: var(--ft-paper);
  --paper: var(--ft-wheat);
  --lagoon: var(--ft-teal);
  --lagoon-dark: var(--ft-teal-30);
  --line: var(--ft-black-20);
  --wa: var(--ft-black);
  --wa-dark: var(--ft-slate);
  --focus: var(--ft-black-50);
  --danger: var(--ft-claret);
  --radius: 0;
  --max: 1220px;
  --font-display: FinancierDisplayWeb, Georgia, serif;
  --font-body: MetricWeb, Arial, sans-serif;
  --font-mono: MetricWeb, Arial, sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ft-paper);
  color: var(--ft-black-80);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 20px;
}

body.has-bar { padding-bottom: 4.5rem; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ft-teal); text-underline-offset: 0.12em; }
a:hover { color: var(--ft-teal-30); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--foam);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: var(--salt);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
}

.ticker {
  display: flex;
  align-items: stretch;
  background: var(--ft-black);
  color: var(--ft-paper);
  overflow: hidden;
  min-height: 40px;
  font-size: 14px;
  line-height: 16px;
}
.ticker-label {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--ft-claret);
  color: var(--ft-white);
  font-weight: 600;
  z-index: 1;
}
.ticker-viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-track {
  display: flex;
  gap: 2.5rem;
  padding-left: 1.5rem;
  white-space: nowrap;
  animation: ticker 48s linear infinite;
}
.ticker-set { display: flex; gap: 2.5rem; }
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker a {
  color: var(--ft-paper);
  text-decoration: none;
  font-weight: 600;
}
.ticker a:hover { color: var(--ft-white); }
.ticker a span { font-weight: 400; color: var(--ft-wheat); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.1rem;
}
.news article {
  background: var(--ft-wheat);
  border-top: 4px solid var(--ft-claret);
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.news-meta {
  margin: 0 0 0.45rem;
  font-size: 14px;
  line-height: 16px;
  color: var(--ft-claret);
  font-weight: 600;
}
.news article h3 { font-size: 22px; line-height: 26px; }
.news article p { margin: 0 0 0.8rem; font-size: 16px; line-height: 22px; flex: 1; }
.news article a { font-weight: 600; }

.header-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand phone"
    "nav nav";
  align-items: end;
  gap: 0.2rem 1.5rem;
  padding-top: 0.85rem;
}

.brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  margin: 0;
  padding-bottom: 0.75rem;
}
.brand strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: 0;
}
.brand span {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 0.28rem;
  line-height: 1.25;
}

.nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  border-top: 1px solid var(--ink);
  padding: 0.65rem 0 0.75rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
}
.nav a[aria-current="page"] { color: var(--ft-claret); text-decoration: underline; text-underline-offset: 0.2em; }

.header-call {
  grid-area: phone;
  align-self: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  margin-bottom: 0.75rem;
}

.menu-btn {
  display: none;
  grid-area: phone;
  justify-self: end;
  align-self: center;
  min-height: 44px;
  min-width: 44px;
  margin-bottom: 0.55rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius);
  font: inherit;
}

.hero-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 241, 229, 0.94) 0%, rgba(255, 241, 229, 0.86) 42%, rgba(255, 241, 229, 0.62) 100%);
}
.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 3rem;
  padding: 2.5rem 0 1.25rem;
  align-items: center;
}
.hero-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
  margin: 1.6rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ink);
}
.hero-points b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ft-black);
}
.hero-points span {
  display: block;
  margin-top: 0.15rem;
  font-size: 14px;
  line-height: 18px;
  color: var(--ft-black-70);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ft-black);
  margin: 0 0 12px;
}

h1 { font-size: 40px; line-height: 40px; max-width: 16ch; }
h2 { font-size: 28px; line-height: 32px; }
h3 { font-size: 24px; line-height: 28px; }

.lede {
  font-size: 20px;
  line-height: 24px;
  max-width: 36rem;
  margin: 0 0 16px;
  color: var(--ft-black-80);
}
.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  color: var(--ft-claret);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.6rem 0 0;
}
.hero-actions .btn-wa,
.hero-actions .btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.hero-actions .btn-wa:hover,
.hero-actions .btn-ghost:hover {
  background: var(--ink);
  color: var(--foam);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}
.btn { font-size: 16px; line-height: 20px; font-weight: 600; transition: background-color 160ms ease, color 160ms ease, scale 160ms ease; }
.btn:active { scale: 0.96; }
.btn-primary { background: var(--ft-black); color: var(--ft-white); }
.btn-primary:hover { background: var(--ft-slate); color: var(--ft-white); }
.btn-wa { background: var(--ft-black); color: var(--ft-white); }
.btn-wa:hover { background: var(--ft-slate); color: var(--ft-white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--foam); }

.panel {
  background: var(--ft-wheat);
  border-top: 4px solid var(--ft-claret);
  border-right: 1px solid var(--ft-black-20);
  border-bottom: 1px solid var(--ft-black-20);
  border-left: 1px solid var(--ft-black-20);
  border-radius: var(--radius);
  padding: 0;
}

.panel > h2 {
  font-size: 24px;
  line-height: 28px;
  text-wrap: balance;
  margin: 0;
  padding: 1.15rem 1.2rem 0.2rem;
}
.panel > .form-note {
  margin: 0;
  padding: 0 1.2rem 0.85rem;
}
.panel .btn { width: 100%; }

.panel form,
form.lead {
  background: transparent;
  border: 0;
  padding: 0.15rem 1.2rem 1.15rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 0.65rem;
}
form.lead > :nth-child(n + 3) { grid-column: 1 / -1; }

.panel-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 1.2rem 0.9rem;
  background: var(--ft-paper);
  border-top: 1px solid var(--ft-black-20);
}
.panel-next p { margin: 0; }
.panel-next b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 20px;
  font-weight: 600;
  color: var(--ft-claret);
}
.panel-next span {
  display: block;
  margin-top: 0.15rem;
  font-size: 14px;
  line-height: 16px;
  color: var(--ft-black-80);
}

.form-note, .fine {
  color: var(--ft-black-70);
  font-size: 14px;
  line-height: 16px;
  margin: 0.35rem 0 0.8rem;
}

.guarantee {
  margin: 0;
  padding: 0.75rem 1.2rem;
  background: var(--ft-paper);
  border-left: 0;
  border-top: 1px solid var(--ft-black-20);
  border-bottom: 1px solid var(--ft-black-20);
}
.guarantee strong {
  display: block;
  font-family: FinancierDisplayWeb, Georgia, serif;
  font-size: 18px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
}
.guarantee span {
  display: block;
  margin-top: 0.25rem;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: var(--ft-black-80);
}

form { display: grid; gap: 0.75rem; }
label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 14px; line-height: 16px; color: var(--ft-black-80); }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ft-black-20);
  border-radius: var(--radius);
  background: var(--ft-white);
  font-size: 16px;
  line-height: 20px;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  padding: 0.55rem 0.7rem;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--ft-black);
  outline: 2px solid var(--ft-black);
  outline-offset: 1px;
}
textarea { min-height: 5.5rem; resize: vertical; }
.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.45;
}
.consent input { width: 1.15rem; height: 1.15rem; min-height: 0; margin-top: 0.2rem; }
.error { color: var(--danger); font-size: 0.92rem; min-height: 1.2em; margin: 0; }
.thanks { display: none; }
.thanks.show { display: block; }
.panel > .thanks { padding: 0.4rem 1.2rem 1.1rem; }
form.is-done { display: none; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0 0.4rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--ink);
}
.fact {
  background: transparent;
  padding: 0.15rem 1.1rem 0.2rem 0;
}
.fact + .fact {
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}
.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ft-black);
}
.fact span { color: var(--muted); font-size: 0.92rem; }

section { padding: 2.4rem 0; border-top: 1px solid var(--line); }

.prose { max-width: 40rem; }
.prose p, .prose li { margin: 0 0 12px; font-size: 20px; line-height: 24px; }
.prose ul, .prose ol { padding-left: 1.2rem; }

.essay-grid,
.faq-grid,
.close-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  gap: 2.5rem 3rem;
  align-items: start;
}
.essay-grid h2,
.faq-grid h2,
.close-grid h2 { margin-top: 0; }

.kinds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.kind {
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 1.15rem 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--ft-black-80);
  background: var(--ft-wheat);
  border-top: 4px solid var(--ft-claret);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.kind:hover { color: var(--ink); border-top-color: var(--ink); }
.kind h3 { font-size: 1.7rem; margin-bottom: 0.55rem; }
.kind p { margin: 0 0 1rem; flex: 1; }
.kind span { font-weight: 600; font-size: 16px; line-height: 20px; color: var(--ft-claret); }

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.reason {
  padding: 1.35rem 1.4rem 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.reason:nth-child(odd) { padding-right: 1.6rem; border-right: 1px solid var(--line); }
.reason:nth-child(even) { padding-left: 1.6rem; }
.reason h3 { font-size: 1.65rem; margin-bottom: 0.4rem; }
.reason p { margin: 0; }

.plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 1.25rem 0 0.4rem;
  border-top: 1px solid var(--ink);
}
.plan div {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.z-res, .z-mix, .z-ind, .z-log, .z-know, .z-sun {
  grid-row: auto;
  grid-column: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: 1rem;
}
th, td {
  text-align: left;
  padding: 0.75rem 0.7rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
th { font-size: 0.82rem; letter-spacing: 0.02em; color: var(--muted); font-weight: 700; }
td a { font-weight: 700; }

.steps { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps li {
  background: transparent;
  padding: 0.85rem 0.2rem 0.2rem;
  border-left: 0;
  border-top: 4px solid var(--ft-claret);
}
.steps h3 { margin-bottom: 0.3rem; }

details {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}
summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
details p { margin: 0.6rem 0 0.2rem; }

.close {
  background: var(--ink);
  color: var(--salt);
  padding: 3rem 0 3.2rem;
  border-top: 0;
}
.close h2, .close p { color: var(--salt); }
.close a { color: var(--salt); }
.close .btn-primary { background: var(--ft-claret); color: var(--ft-white); }
.close .btn-primary:hover { background: #4c071f; color: var(--ft-white); }
.close .btn-wa { background: var(--ft-paper); color: var(--ft-black); }
.close .btn-wa:hover { background: var(--ft-white); color: var(--ft-black); }
.close .btn-ghost { color: var(--salt); border-color: var(--salt); }
.close .btn-ghost:hover { background: var(--salt); color: var(--ink); }
.close .hero-actions { flex-direction: column; align-items: stretch; justify-content: center; }
.close .btn { width: 100%; }

.site-footer {
  background: var(--ft-slate);
  color: var(--ft-white);
  padding: 1.6rem 0 1.2rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--ft-white); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
}
.site-footer h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ft-white);
}
.legal {
  margin-top: 1rem;
  color: var(--ft-wheat);
  font-size: 0.86rem;
}

.crumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1rem 0 0;
}
.crumb a { color: var(--muted); }

.bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  background: var(--foam);
  border-top: 1px solid var(--line);
  padding: 0.45rem;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 0.4rem;
}
.bar a, .bar button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
}
.bar .go { background: var(--ft-black); color: var(--ft-white); border-color: var(--ft-black); }
.bar { background: var(--salt); border-top: 2px solid var(--ink); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .header-call { display: none; }
  .header-row { padding-top: 0.65rem; }
  .brand { padding-bottom: 0.65rem; }
  .brand span { max-width: 14rem; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--salt);
    border-bottom: 1px solid var(--ink);
    border-top: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.35rem 1rem 0.7rem;
    margin: 0;
  }
  .nav.open { display: flex; }
  .nav a { min-height: 44px; display: flex; align-items: center; }
  .hero, .facts, .foot-grid, .steps, .kinds, .reasons, .news,
  .essay-grid, .faq-grid, .close-grid, .hero-points, form.lead { grid-template-columns: 1fr; }
  form.lead > :nth-child(n + 3) { grid-column: auto; }
  .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 0.8rem; }
  .reason:nth-child(odd),
  .reason:nth-child(even) { padding: 1.1rem 0; border-right: 0; }
  .kind { min-height: 0; }
  .panel { position: static; }
  .plan { grid-template-columns: 1fr 1fr; }
  .bar { display: grid; }
  h1 { font-size: 32px; line-height: 32px; max-width: 14ch; }
  table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; flex-wrap: wrap; white-space: normal; transform: none; }
  .btn { transition: none; }
}
