[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.home-top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-inline: max(20px, calc((100% - 1080px) / 2));
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(10px);
}

.home-top { gap: 16px; }
.home-top .brand { flex: none; white-space: nowrap; }
.home-actions { flex: none; }

.home-nav { display: flex; gap: 4px; min-width: 0; }

.home-nav a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}

.home-nav a:hover { background: #efe8df; }

.home-actions { display: flex; align-items: center; gap: 8px; }

.portal-menu { position: relative; }

[data-portal-toggle] { gap: 8px; cursor: pointer; font: inherit; font-size: 15px; }

[data-portal-toggle]::after {
  content: "";
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%232b2621' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
  transition: transform 0.15s ease;
}

[data-portal-toggle][aria-expanded="true"] { border-color: var(--ink); }
[data-portal-toggle][aria-expanded="true"]::after { transform: rotate(180deg); }

.portal-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  width: 290px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 18px 40px -20px rgba(43, 38, 33, 0.35);
}

.portal-list a {
  display: grid;
  gap: 2px;
  padding: 12px 14px 12px 58px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  background-position: 14px center;
  background-size: 32px;
  background-repeat: no-repeat;
}

.portal-list a:first-child { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='9' fill='%23e5f0ea'/%3E%3Ccircle cx='16' cy='13' r='4' fill='none' stroke='%231f4d3a' stroke-width='1.6'/%3E%3Cpath d='M9.5 23.5c.9-3.3 3.5-5 6.5-5s5.6 1.7 6.5 5' fill='none' stroke='%231f4d3a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.portal-list a:last-child { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='9' fill='%23e5f0ea'/%3E%3Crect x='9' y='10' width='14' height='13' rx='2' fill='none' stroke='%231f4d3a' stroke-width='1.6'/%3E%3Cpath d='M13 10V8.5h6V10M9 15h14' fill='none' stroke='%231f4d3a' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.portal-list a:hover, .portal-list a:focus-visible { background-color: var(--paper); outline: none; }
.portal-list a:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.portal-list strong { font-size: 15px; }
.portal-list span { color: var(--muted); font-size: 13px; line-height: 1.35; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { background: #173b2c; border-color: #173b2c; }

.btn.ghost-btn { border-color: var(--line); background: transparent; color: var(--ink); }
.btn.ghost-btn:hover { border-color: var(--ink); background: transparent; }

.btn.big { padding: 14px 22px; font-size: 16px; }

.btn.light { border-color: #fff; background: #fff; color: var(--accent); }
.btn.light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

.btn:focus-visible, .home-nav a:focus-visible, .faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

main.home { width: auto; padding: 0; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

.home h2 {
  margin: 0;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.home section[id] { scroll-margin-top: 80px; }

.hero { padding: 56px 0 72px; }

.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.hero .eyebrow { margin-top: 0; }

.hero h1 { font-size: 52px; line-height: 1.05; }

.hero .lead { margin: 20px 0 0; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.hero-points li { display: flex; align-items: center; gap: 6px; }

.hero-points li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.2' fill='none' stroke='%231f4d3a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.hero.has-video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 104px;
  background: #1c3a2d;
  color: #fff;
}

.hero-video { position: absolute; inset: 0; z-index: -1; }

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 42, 32, 0.92) 0%, rgba(18, 42, 32, 0.78) 45%, rgba(18, 42, 32, 0.35) 100%);
}

.has-video h1 { color: #fff; }
.has-video .lead { color: rgba(255, 255, 255, 0.86); }
.has-video .hero-points { color: rgba(255, 255, 255, 0.8); }
.has-video .promo { background: rgba(255, 255, 255, 0.14); color: #fff; }
.has-video .promo strong { background: #fff; color: var(--accent); }
.has-video .hero-cta .btn:not(.ghost-btn) { border-color: #fff; background: #fff; color: var(--accent); }
.has-video .hero-cta .btn:not(.ghost-btn):hover { border-color: var(--accent-soft); background: var(--accent-soft); }
.has-video .hero-cta .ghost-btn { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.has-video .hero-cta .ghost-btn:hover { border-color: #fff; }
.has-video .btn:focus-visible { outline-color: #fff; }
.has-video .mock { color: var(--ink); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6); }
.hero-pause {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(18, 42, 32, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3.5v9M11 3.5v9' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  cursor: pointer;
}

.hero-pause[aria-pressed="true"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3.2v9.6L12.5 8z' fill='white'/%3E%3C/svg%3E");
}

.hero-pause:hover { background-color: rgba(18, 42, 32, 0.7); }
.hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.hero-art { position: relative; padding: 0 0 28px 28px; }

.mock {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 24px 60px -30px rgba(31, 77, 58, 0.35);
}

.mock-head { display: flex; align-items: center; gap: 12px; }
.mock-head .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #fff; font-family: "Iowan Old Style", Palatino, serif; font-size: 14px; font-weight: 600; }
.mock-head strong { display: block; font-size: 15px; }
.mock-head span { display: block; color: var(--muted); font-size: 13px; }

.mock-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }

.mock-steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 14px 30px;
  color: var(--muted);
  font-size: 14px;
}

.mock-steps li:last-child { padding-bottom: 0; }

.mock-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-sizing: border-box;
}

.mock-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 19px;
  bottom: 1px;
  width: 2px;
  background: var(--line);
}

.mock-steps li.done { color: var(--ink); }
.mock-steps li.done::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.mock-steps li.done::after { background: var(--accent); }
.mock-steps li.current { color: var(--ink); }
.mock-steps li.current::before { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.mock-steps li.current span { color: var(--accent); font-size: 13px; }
.mock-steps strong { font-weight: 600; }
.mock-steps li:not(.done):not(.current) strong { font-weight: 400; }

.mock-docs { display: flex; flex-wrap: wrap; gap: 8px; }

.mock-docs span {
  display: inline-flex;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}

.mock-docs em { color: var(--accent); font-style: normal; }

.mock-avatar {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='3.6' fill='%231f4d3a'/%3E%3Cpath d='M5.5 19.5c.8-3.3 3.4-5 6.5-5s5.7 1.7 6.5 5' fill='%231f4d3a'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.band { padding: 80px 0; }
.band.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .eyebrow { margin-top: 0; }

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  counter-increment: flow;
}

.flow li::before {
  content: counter(flow);
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.flow strong { font-size: 17px; }
.flow p, .tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.flow-note { margin: 24px 0 0; color: var(--muted); font-size: 15px; }

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.tiles.three { grid-template-columns: repeat(3, 1fr); }

.tile {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.tile svg {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  padding: 9px;
  border-radius: 12px;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-sizing: border-box;
}

.tile h3 { margin: 0; font-size: 17px; }

.band.alt + .band.alt { border-top: 0; }

.steps {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  margin-top: 40px;
}

.steps-list { display: grid; }

.step-tab {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 20px 0 22px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.step-tab:last-child { border-bottom: 1px solid var(--line); }
.step-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.step-num {
  padding-top: 2px;
  color: #b3a798;
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}

.step-text strong { display: block; color: var(--muted); font-size: 19px; font-weight: 600; transition: color 0.2s; }
.step-text span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.step-tab:hover .step-text strong { color: var(--ink); }
.step-tab[aria-selected="true"] .step-num { color: var(--accent); }
.step-tab[aria-selected="true"] .step-text strong { color: var(--ink); }

.step-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.step-bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.step-tab[aria-selected="true"] .step-bar::after { transform: scaleX(1); }
.steps.is-playing .step-tab[aria-selected="true"] .step-bar::after { animation: step-fill 6.5s linear; }
.steps.is-playing:hover .step-bar::after, .steps.is-playing:focus-within .step-bar::after { animation-play-state: paused; }

@keyframes step-fill { from { transform: scaleX(0); } }

.steps-stage {
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 1px 1px, rgba(31, 77, 58, 0.13) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(155deg, #e1eee6 0%, #efebe2 100%);
}

.ui-window {
  display: grid;
  grid-template-areas: "chrome" "panel";
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 30px 60px -32px rgba(31, 77, 58, 0.45), 0 2px 6px rgba(28, 25, 21, 0.04);
}

.ui-chrome { grid-area: chrome; display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #f7f2eb; }
.ui-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e2d8cb; }
.ui-chrome span { margin-left: 8px; color: var(--muted); font-size: 12px; }

.ui-panel { grid-area: panel; display: grid; align-content: start; gap: 12px; padding: 24px; animation: ui-in 0.45s ease both; }
.ui-panel[hidden] { display: grid; visibility: hidden; }
.ui-panel[hidden], .ui-panel[hidden] *, .ui-panel[hidden] *::after { animation: none !important; }
.ui-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.ui-panel p { margin: 0; }

@keyframes ui-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes ui-pop { from { opacity: 0; transform: scale(0.8); } }

.ui-kicker { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.ui-title { font-family: "Iowan Old Style", Palatino, serif; font-size: 25px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.ui-hint { color: var(--muted); font-size: 13px; }
.ui-label { margin-top: 4px !important; font-size: 13px; font-weight: 600; }

.ui-field { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; }
.ui-field small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.ui-field.is-focus { padding: 12px 16px 14px; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.ui-name { display: flex; align-items: center; min-height: 44px; font-family: "Iowan Old Style", Palatino, serif; font-size: 36px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.ui-name i { display: inline-block; overflow: hidden; font-style: normal; white-space: pre; animation: ui-type 0.09s calc(0.35s + var(--i, 0) * 0.09s) steps(1, start) both; }
.ui-cursor { display: inline-block; width: 2px; height: 34px; margin-left: 2px; background: var(--accent); animation: ui-blink 1s steps(1) infinite; }

@keyframes ui-type { from { max-width: 0; } to { max-width: 1.2em; } }
@keyframes ui-blink { 50% { opacity: 0; } }

.ui-welcome { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); animation: ui-pop 0.4s 1.55s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
.ui-welcome p { color: var(--muted); font-size: 13px; line-height: 1.35; }
.ui-welcome strong { display: block; color: var(--accent); font-size: 15px; }
.ui-initials { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }

.ui-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-kinds span { display: grid; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.ui-kinds strong { color: var(--ink); font-size: 14px; }
.ui-kinds .is-on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }

.ui-years { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-years span { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; }
.ui-years .is-on { border-color: var(--accent); background: var(--accent); color: #fff; }

.ui-select {
  display: block;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236d645b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
  font-size: 14px;
}

.ui-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.ui-note p { font-size: 14px; line-height: 1.4; }
.ui-note strong { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; }

.ui-docs, .ui-forms { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ui-docs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; animation: ui-in 0.4s ease both; }
.ui-docs li:nth-child(2) { animation-delay: 0.08s; }
.ui-docs li:nth-child(3) { animation-delay: 0.16s; }
.ui-docs li:nth-child(4) { animation-delay: 0.24s; }
.ui-docs span { display: flex; align-items: center; gap: 10px; }
.ui-docs span::before { content: ""; flex: none; width: 16px; height: 16px; border: 2px solid var(--line); border-radius: 50%; box-sizing: border-box; }
.ui-docs .is-done span::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ui-docs em { color: var(--accent); font-size: 13px; font-style: normal; }
.ui-docs b { flex: none; padding: 5px 11px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 12px; font-weight: 600; }
.ui-docs .ui-photo { background: var(--accent); color: #fff; }

.ui-progress { height: 6px; margin-top: 4px; overflow: hidden; border-radius: 999px; background: var(--line); }
.ui-progress i { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--accent); animation: ui-grow 0.8s 0.3s ease both; }

@keyframes ui-grow { from { width: 0; } }

.ui-forms li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; }
.ui-forms span { font-size: 14px; font-weight: 600; }
.ui-forms small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.ui-forms em { padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-style: normal; font-weight: 600; }

.ui-sign { position: relative; padding: 12px 14px 8px; border: 1px dashed #d6cabb; border-radius: 12px; background: #fff; }
.ui-sign span { color: var(--muted); font-size: 12px; }
.ui-sign svg { display: block; width: 100%; height: 54px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ui-sign path { animation: ui-draw 1.4s 0.35s ease-in-out both; }
.ui-sign::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 1px; background: var(--line); }

@keyframes ui-draw { from { stroke-dasharray: 640; stroke-dashoffset: 640; } to { stroke-dasharray: 640; stroke-dashoffset: 0; } }

.ui-filed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  animation: ui-pop 0.35s 1.8s ease both;
}
.ui-filed::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

.prep {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}

.prep-label { margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.prep-label:not(:first-child) { margin-top: 40px; }

.cases-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cases-row li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cases-row li:hover { transform: translateY(-3px); }
.cases-row li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cases-row .is-biz { border-color: transparent; background: var(--accent-soft); color: var(--accent); }
.cases-row .is-dark { border-color: transparent; background: var(--ink); color: #fff; }
.cases-row .is-dark::before { background: #7fc79d; }

.will-reveal:not(.is-in) .cases-row li { opacity: 0; }
.is-in .cases-row li { animation: bubble-in 0.4s calc(var(--i, 0) * 45ms) ease both; }

.prep-map { position: relative; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.prep-map figcaption { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.prep-count {
  position: absolute;
  top: 24px;
  left: calc(28px + (100% - 56px) * 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}

.prep-count strong { color: var(--accent); font-family: "Iowan Old Style", Palatino, serif; font-size: 58px; font-weight: 600; letter-spacing: -0.03em; line-height: 0.9; }
.prep-count span { color: var(--muted); font-size: 13px; line-height: 1.2; }
.prep-map .year-strip { margin-top: 22px; }

.state-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.state-grid i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 5px;
  background: #d9e7de;
  color: rgba(31, 77, 58, 0.75);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.state-grid .is-home { background: var(--accent); color: #fff; }
.state-grid.will-animate i { opacity: 0; }
.state-grid.is-in i { animation: tile-in 0.45s calc(var(--d) * 1ms) ease both; }

@keyframes tile-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

.year-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.year-strip span {
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.year-strip span:first-child { border-color: var(--accent); background: var(--accent); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ui-panel, .ui-panel *, .ui-panel *::after { animation: none !important; }
}

.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.offer-copy .lead { max-width: 24rem; margin: 0 0 24px; }

.offer-terms { display: grid; max-width: 31rem; margin: 0; }
.offer-terms div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.offer-terms div:last-child { border-bottom: 1px solid var(--line); }
.offer-terms dt { padding-top: 2px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.offer-terms dd { margin: 0; font-size: 14px; line-height: 1.45; }
.offer-fine { margin: 12px 0 26px; color: var(--muted); font-size: 13px; }
.offer-fine a { color: inherit; font-weight: 600; text-underline-offset: 3px; }

.offer-zero {
  margin: 18px 0 14px;
  color: var(--accent);
  font-family: "Iowan Old Style", Palatino, serif;
  font-size: 190px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.82;
}
.offer-zero sup { position: relative; top: 0.12em; margin-right: 4px; font-size: 0.32em; vertical-align: top; }

.receipt-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 36px 0;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  filter: drop-shadow(0 30px 40px rgba(31, 77, 58, 0.18)) drop-shadow(0 2px 3px rgba(28, 25, 21, 0.06));
}

.receipt {
  --zig: 9px;
  width: min(380px, 100%);
  padding: 26px 28px 40px;
  box-sizing: border-box;
  background: #fff;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  transform: rotate(2deg);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
}

.receipt p { margin: 0; }

.receipt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px !important;
  padding-bottom: 16px;
  border-bottom: 1px dashed #d6ccbf;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.receipt-head .mark { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; font-family: "Iowan Old Style", Palatino, serif; font-size: 12px; }
.receipt-head small { margin-left: auto; color: var(--muted); font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 10px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }

.receipt-lines { margin: 0; padding: 0; list-style: none; }
.receipt-lines li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.receipt-lines i { flex: 1; min-width: 12px; border-bottom: 2px dotted #d6ccbf; transform: translateY(-3px); }
.receipt-lines b { font-weight: 600; white-space: nowrap; }
.receipt-lines .receipt-muted { color: var(--muted); }
.receipt-lines .receipt-muted b { font-weight: 400; }

.receipt-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px !important; padding-top: 16px; border-top: 2px solid var(--ink); }
.receipt-total span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.receipt-total b { color: var(--accent); font-family: "Iowan Old Style", Palatino, serif; font-size: 34px; line-height: 1; }

.receipt-barcode {
  height: 36px;
  margin-top: 22px !important;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 17px);
  opacity: 0.85;
}

.receipt-stamp {
  position: absolute;
  left: calc(50% - min(190px, 50%) + 20px);
  bottom: calc(36px + 18px);
  padding: 8px 16px;
  border: 3px solid var(--accent);
  border-radius: 12px;
  background: rgba(229, 240, 234, 0.85);
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px rgba(31, 77, 58, 0.35);
  color: var(--accent);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-12deg);
}

.chat-art { position: relative; padding: 0 0 40px 40px; }

.chat {
  max-width: 440px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 30px 60px -32px rgba(31, 77, 58, 0.4);
}

.chat-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-top p { margin: 0; }
.chat-top strong { display: block; font-size: 14px; }
.chat-top span:not(.mock-avatar) { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; }
.chat-top span:not(.mock-avatar)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fa66b; }

.chat-body { display: grid; gap: 10px; padding: 20px 18px 22px; background: var(--paper); }

.bubble { max-width: 78%; margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; }
.bubble.me { justify-self: end; border-bottom-right-radius: 5px; background: var(--accent); color: #fff; }
.bubble.them { justify-self: start; border: 1px solid var(--line); border-bottom-left-radius: 5px; background: #fff; }

.bubble.file { display: flex; align-items: center; gap: 12px; }
.bubble.file span { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.bubble.file span::before { content: ""; width: 22px; height: 26px; border-radius: 4px; background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 26'%3E%3Cpath d='M6 8h10M6 12h10M6 16h6' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px 26px no-repeat; }
.bubble.file small { opacity: 0.75; font-size: 12px; }

.bubble.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9ae9f; animation: typing 1.2s ease-in-out infinite; }
.bubble.typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chat-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 16px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 18px 30px -16px rgba(28, 25, 21, 0.6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.chat-tag b { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; }

.will-reveal:not(.is-in) .bubble, .will-reveal:not(.is-in) .receipt-stamp, .will-reveal:not(.is-in) .chat-tag { opacity: 0; }
.is-in .bubble { animation: bubble-in 0.45s ease both; }
.is-in .bubble:nth-child(2) { animation-delay: 0.6s; }
.is-in .bubble:nth-child(3) { animation-delay: 1.2s; }
.is-in .bubble:nth-child(4) { animation-delay: 1.8s; }
.is-in .chat-tag { animation: bubble-in 0.5s 2.2s ease both; }
.is-in .receipt-stamp { animation: stamp-in 0.45s 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both; }

@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-12deg) scale(1.8); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .bubble.typing i { animation: none; }
}

.chat-year {
  position: absolute;
  top: -18px;
  right: -14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 30px -18px rgba(31, 77, 58, 0.55);
  font-size: 13px;
}
.chat-year i { padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--muted); font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.chat-year i + i { background: var(--accent); color: #fff; }
.chat-year i + i::before { content: "→"; margin: 0 6px 0 -2px; opacity: 0.7; }
.chat-year b { margin-left: 4px; color: var(--ink); }
.will-reveal:not(.is-in) .chat-year { opacity: 0; }
.is-in .chat-year { animation: bubble-in 0.5s 2.6s ease both; }

.promise { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.promise-list { display: grid; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: promise; }
.promise-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  counter-increment: promise;
}
.promise-list li:last-child { border-bottom: 1px solid var(--line); }
.promise-list li::before {
  content: counter(promise, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 5px;
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
}
.promise-list strong { font-family: "Iowan Old Style", Palatino, serif; font-size: 23px; font-weight: 600; line-height: 1.25; }
.promise-list span { margin-top: 4px; color: var(--muted); font-size: 15px; }
.promise-link { display: inline-flex; gap: 8px; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid rgba(31, 77, 58, 0.35); color: var(--accent); font-size: 15px; font-weight: 600; text-decoration: none; }
.promise-link::after { content: "→"; transition: transform 0.2s; }
.promise-link:hover { border-color: var(--accent); }
.promise-link:hover::after { transform: translateX(4px); }

.seal-art { position: relative; width: min(330px, 78%); margin: 0 auto 70px; aspect-ratio: 1; }
.seal { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 34px rgba(31, 77, 58, 0.35)); transform: rotate(-8deg); }
.seal-edge { fill: var(--accent); }
.seal-ring { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; stroke-dasharray: 2 4; }
.seal-text { fill: #f6f1ea; font-family: "Avenir Next", "Segoe UI", sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.seal-spin { transform-box: view-box; transform-origin: 100px 100px; animation: seal-spin 48s linear infinite; }
.seal-core { fill: var(--card); }
.seal-check { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; }
.seal-ribbon {
  position: absolute;
  top: 58%;
  left: calc(50% - 32px);
  width: 64px;
  height: 58%;
  background: linear-gradient(90deg, #173b2c, #2b6149 50%, #173b2c);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
  transform-origin: 50% 0;
  transform: rotate(24deg);
}
.seal-ribbon + .seal-ribbon { transform: rotate(-20deg); background: linear-gradient(90deg, #1f4d3a, #3d7a5e 50%, #1f4d3a); }

.will-reveal:not(.is-in) .seal, .will-reveal:not(.is-in) .seal-ribbon { opacity: 0; }
.is-in .seal { animation: seal-in 0.8s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
.is-in .seal-check { animation: seal-check 0.6s 0.6s ease-out both; }
.is-in .seal-ribbon { animation: ribbon-in 0.6s 0.35s ease-out both; }

@keyframes seal-in { from { opacity: 0; transform: rotate(-40deg) scale(0.6); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes seal-check { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
@keyframes ribbon-in { from { opacity: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 50% 0, 0 0); } }
@keyframes seal-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .seal-spin { animation: none; }
}

.faq details a { color: var(--accent); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split .lead { margin: 16px 0 0; }

.checks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.checks li {
  display: grid;
  gap: 4px;
  padding: 18px 20px 18px 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23e5f0ea'/%3E%3Cpath d='M7.5 12.3l3 3 6-6.3' fill='none' stroke='%231f4d3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: 18px 18px;
  background-size: 24px;
  background-repeat: no-repeat;
}

.checks strong { font-size: 16px; }
.checks span { color: var(--muted); font-size: 15px; line-height: 1.45; }

.scam-note {
  margin: 28px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--wait-soft);
  color: var(--wait);
  font-size: 15px;
}

.safe-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 75% at 78% 50%, rgba(74, 140, 108, 0.35) 0%, transparent 70%),
    linear-gradient(160deg, #173a2d 0%, #102a20 100%);
  color: #fff;
}

.safe { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.safe-band .eyebrow { color: #9fd3b8; }
.safe-band h2 { color: #fff; font-size: 40px; }
.safe-band .lead { max-width: 28rem; margin: 18px 0 0; color: rgba(255, 255, 255, 0.72); }

.safe-link { display: inline-flex; gap: 8px; margin-top: 26px; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.safe-link::after { content: "→"; transition: transform 0.2s; }
.safe-link:hover { border-color: #fff; }
.safe-link:hover::after { transform: translateX(4px); }
.safe-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.safe-band .scam-note {
  max-width: 28rem;
  margin-top: 40px;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3l7.5 13h-15z' fill='none' stroke='%23f0cf94' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M10 8.5v3.5M10 14.2v.1' stroke='%23f0cf94' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 14px 13px / 18px no-repeat;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13.5px;
  line-height: 1.45;
}
.safe-band .scam-note strong { color: #f0cf94; }

.safe-art { position: relative; display: grid; place-items: center; height: 460px; }

.safe-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.safe-rings i, .safe-rings::before { grid-area: 1 / 1; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 50%; }
.safe-rings i:nth-child(1) { width: 240px; background: radial-gradient(circle, rgba(159, 211, 184, 0.08), transparent 70%); }
.safe-rings i:nth-child(2) { width: 360px; }
.safe-rings i:nth-child(3) { width: 480px; border-style: dashed; border-color: rgba(255, 255, 255, 0.06); }
.safe-rings::before { content: ""; width: 240px; border-color: rgba(159, 211, 184, 0.5); animation: safe-ripple 4s ease-out infinite; }

@keyframes safe-ripple { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2); opacity: 0; } }

.safe-doc {
  position: relative;
  width: 280px;
  padding: 20px;
  overflow: hidden;
  border-radius: 16px;
  background: #fffcf8;
  color: var(--ink);
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.65);
  transform: rotate(-4deg);
}

.safe-doc-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.safe-doc-head b { flex: none; font-family: "Iowan Old Style", Palatino, serif; font-size: 30px; line-height: 1; white-space: nowrap; }
.safe-doc-head span { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.safe-doc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; color: var(--muted); font-size: 12px; }
.safe-doc-row b { color: var(--ink); font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: 0.04em; }
.safe-doc-row i { width: 76px; height: 10px; border-radius: 3px; background: #e7e0d6; }
.safe-doc-bars { display: grid; gap: 6px; margin-top: 12px; }
.safe-doc-bars i { height: 6px; border-radius: 3px; background: #f0eae1; }
.safe-doc-bars i:nth-child(2) { width: 82%; }
.safe-doc-bars i:nth-child(3) { width: 55%; }

.safe-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 70px;
  border-bottom: 2px solid rgba(31, 77, 58, 0.45);
  background: linear-gradient(to bottom, transparent, rgba(31, 77, 58, 0.1));
  animation: safe-scan 3.6s ease-in-out infinite;
}

@keyframes safe-scan { 0% { transform: translateY(-80px); } 60%, 100% { transform: translateY(260px); } }

.safe-lock {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5' fill='white'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 0 0 6px rgba(31, 77, 58, 0.14), 0 10px 20px -8px rgba(31, 77, 58, 0.8);
}

.safe-chips { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }

.safe-chips li {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  animation: safe-float 6s ease-in-out infinite alternate;
}

.safe-chips li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #9fd3b8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%23102a20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.safe-chips .c1 { top: 14%; left: 0; }
.safe-chips .c2 { top: 7%; right: 2%; animation-delay: -1.5s; }
.safe-chips .c3 { bottom: 12%; left: 4%; animation-delay: -3s; }
.safe-chips .c4 { bottom: 20%; right: 0; animation-delay: -4.5s; }

@keyframes safe-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  .safe-rings::before, .safe-scan, .safe-chips li { animation: none; }
  .safe-scan { display: none; }
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.faq-wrap > div:first-child { position: sticky; top: 100px; }

.faq-more { margin: 16px 0 0; color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 10px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.faq summary {
  position: relative;
  padding: 16px 48px 16px 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%236d645b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.cta-band { padding: 64px 0; background: var(--accent); color: #fff; }

.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

.cta-band h2 { color: #fff; }
.cta-band p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 17px; }

.join-band { padding-top: 0; }

.join {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 32px 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.join p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }

.mock-request { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.mock-request strong { font-size: 15px; }
.mock-request span { color: var(--muted); font-size: 13px; }

.mock-answers { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.mock-answers li { display: flex; justify-content: space-between; gap: 12px; }
.mock-answers em { color: var(--accent); font-style: normal; font-weight: 600; }
.mock-answers em.unsure { color: var(--wait); }

.mock-take {
  justify-self: start;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
}

.apply-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.apply-wrap > div:first-child { position: sticky; top: 100px; }
.apply-wrap .lead { margin: 16px 0 0; }

.apply-form, .apply-done { width: auto; max-width: none; margin: 0; }
.apply-areas { display: grid; gap: 8px; }
.apply-done h3 { margin: 0; font-size: 20px; }
.apply-done p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.apply-done:focus { outline: none; }

.home-page .site-foot-in { padding-inline: max(20px, calc((100% - 1080px) / 2)); }

@media (max-width: 1120px) {
  .home-nav .nav-wide { display: none; }
}

@media (max-width: 960px) {
  .home-nav { display: none; }
  .faq-wrap > div:first-child, .apply-wrap > div:first-child { position: static; }
  .hero-in, .split, .faq-wrap, .apply-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 460px; }
  .flow, .tiles { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: 1fr; gap: 16px; }
  .chat-art { max-width: 500px; }
  .tiles.three { grid-template-columns: 1fr; }
  .steps, .prep { grid-template-columns: 1fr; gap: 32px; }
  .steps-stage { min-height: 0; padding: 32px 24px; }
  .prep-map { max-width: 520px; }
  .safe { grid-template-columns: 1fr; gap: 24px; }
  .promise { grid-template-columns: 1fr; gap: 24px; }
  .seal-art { width: min(260px, 70%); }
}

@media (max-width: 700px) {
  .home-top { align-items: center; }
  .hero { padding: 32px 0 56px; }
  .hero.has-video { padding: 48px 0 72px; }
  .hero-video::after { background: rgba(18, 42, 32, 0.82); }
  .hero h1 { font-size: 38px; }
  .home h2 { font-size: 27px; }
  .band { padding: 56px 0; }
  .flow, .tiles { grid-template-columns: 1fr; }
  .offer-zero { font-size: 130px; }
  .receipt { padding: 22px 20px 36px; }
  .receipt-stamp { font-size: 18px; }
  .chat-art { padding: 34px 0 36px 12px; }
  .chat-year { top: 0; right: 4px; }
  .cases-row { gap: 8px; }
  .cases-row li { padding: 9px 14px 9px 12px; font-size: 14px; }
  .promise-list strong { font-size: 20px; }
  .seal-art { margin-bottom: 56px; }
  .state-grid i { font-size: 8px; border-radius: 4px; }
  .prep-map { padding: 20px; }
  .prep-count { top: 16px; left: calc(20px + (100% - 40px) * 0.12); }
  .prep-count strong { font-size: 40px; }
  .safe-art { display: flex; flex-direction: column; align-items: center; gap: 36px; height: auto; padding: 48px 0 8px; }
  .safe-doc { width: 250px; }
  .safe-chips { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .safe-chips li { position: static; padding: 8px 12px 8px 10px; font-size: 13px; animation: none; }
  .steps-stage { padding: 20px 12px; border-radius: 20px; }
  .ui-panel { padding: 20px; }
  .ui-kinds { grid-template-columns: 1fr; }
  .step-text strong { font-size: 17px; }
  .step-tab { padding: 14px 0 15px; grid-template-columns: 40px minmax(0, 1fr); }
  .step-tab[aria-selected="false"] .step-text span { display: none; }
  .steps { gap: 20px; margin-top: 28px; }
  .join { grid-template-columns: 1fr; padding: 24px; }
  .apply-form .pair { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .home-top .brand div span { display: none; }
  .home-actions > .btn:not(.ghost-btn) { display: none; }
  .portal-list { width: min(290px, calc(100vw - 40px)); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-art { padding-left: 12px; }
}
