:root {
  --paper: #F6F1E7;
  --paper-deep: #EFE7D6;
  --ink: #1B2A41;
  --ink-soft: #46546A;
  --ink-faint: rgba(27, 42, 65, 0.16);
  --seal: #9E2B25;
  --seal-faint: rgba(158, 43, 37, 0.42);
  --margin-w: 200px;
  --serif: "Frank Ruhl Libre", "David Libre", serif;
  --sans: "Assistant", "Heebo", sans-serif;
  --hand: "Amatic SC", "Assistant", cursive;
  --ease-ink: cubic-bezier(.55, .1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .14 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

svg { display: block; overflow: visible; }
a { color: var(--seal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 3px; }

.skip-link {
  position: absolute; right: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 500;
}
.skip-link:focus { right: 12px; top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; font-weight: 700; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; }
h3 { font-size: clamp(21px, 2.2vw, 25px); line-height: 1.3; font-weight: 500; }
p { margin: 0 0 1em; }

.page { max-width: 1200px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 52px); }

.hand {
  font-family: var(--hand);
  font-weight: 700;
  color: var(--seal);
  line-height: 1.05;
}

/* ---------- Masthead ---------- */
.masthead { padding-top: 22px; }
.masthead-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 14px;
  border-bottom: 3px double var(--ink);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-seal { width: 44px; height: 44px; flex-shrink: 0; }
/* בראש העמוד החותם בגובה בלוק השם והתיאור */
.masthead .brand-seal { width: 60px; height: 60px; }
.brand-name { font-family: var(--serif); font-weight: 900; font-size: 32px; line-height: 1; }
.brand-tag { font-size: 13px; color: var(--ink-soft); letter-spacing: .08em; display: block; margin-top: 4px; }
.masthead nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.masthead nav a {
  color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.masthead nav a:hover { border-bottom-color: var(--seal); color: var(--ink); }
.masthead-sub {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink-soft); letter-spacing: .12em;
  padding: 6px 0; border-bottom: 1px solid var(--ink-faint);
}
@media (max-width: 860px) {
  .masthead nav { display: none; }
  .brand-name { font-size: 28px; }
  .masthead-sub span:last-child { display: none; }
}

/* ---------- Folio grid (main text + margin column) ---------- */
.folio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--margin-w);
  column-gap: 52px;
}
.margin-col {
  border-inline-start: 1px solid var(--seal-faint);
  padding-inline-start: 22px;
  position: relative;
}
@media (max-width: 900px) {
  .folio { grid-template-columns: minmax(0, 1fr); }
  .margin-col { border: 0; padding: 0; }
}

/* ---------- Annotations (hand-drawn marks on words) ---------- */
.ann { position: relative; display: inline-block; white-space: nowrap; }
.ann > svg {
  position: absolute; pointer-events: none; overflow: visible;
}
.ann > svg path {
  fill: none; stroke: var(--seal); stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--ease-ink);
}
.ann-wave > svg { left: -2%; width: 104%; bottom: -0.16em; height: 0.32em; }
.ann-circle > svg { left: -9%; width: 118%; top: -14%; height: 128%; }
.ann-under > svg { left: -3%; width: 106%; bottom: -0.1em; height: 0.2em; }
.drawn .ann > svg path, .ann.drawn > svg path { stroke-dashoffset: 0; }
.ann-delay-1 > svg path { transition-delay: .9s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.3;
  padding: 18px 30px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--ink); color: var(--paper);
  cursor: pointer; text-decoration: none; text-align: center;
  box-shadow: -5px 5px 0 rgba(27, 42, 65, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { color: var(--paper); transform: translate(2px, -2px); box-shadow: -7px 7px 0 rgba(27, 42, 65, .22); }
.btn:active { transform: translate(-2px, 2px); box-shadow: -2px 2px 0 rgba(27, 42, 65, .2); }
.btn .arrow { font-family: var(--serif); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(-4px); }
.btn-seal { background: var(--seal); border-color: var(--seal); box-shadow: -5px 5px 0 rgba(158, 43, 37, .22); }
.btn-seal:focus-visible { outline-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn-ghost:hover { color: var(--ink); box-shadow: none; background: rgba(27,42,65,.05); }

.cta-sub { font-size: 16px; color: var(--ink-soft); margin: 14px 0 0; max-width: 34ch; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.09fr) 170px;
  column-gap: 24px;
  align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: .18em; color: var(--seal);
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--seal); }
.hero h1 {
  font-size: clamp(40px, 4.25vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero h1 .line2 { display: block; margin-top: .14em; color: var(--ink); }
.hero-lede { font-size: clamp(18px, 1.7vw, 21px); margin: 28px 0 0; max-width: 40ch; color: var(--ink-soft); }
.hero-cta { margin-top: 32px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-margin { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding-top: 8px; padding-bottom: 8px; }

.dict {
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.dict .dict-word { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); display: block; line-height: 1.2; }
.dict .dict-pos { font-style: normal; color: var(--seal); font-weight: 700; font-size: 13px; margin-inline-end: 6px; }
.dict .dict-note { display: block; margin-top: 8px; color: var(--ink); }

.margin-note { position: relative; }
.margin-note .hand { font-size: 27px; display: block; transform: rotate(-3deg); transform-origin: right center; }
.margin-note svg path { fill: none; stroke: var(--seal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.margin-note.draw svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease-ink) .3s; }
.margin-note.draw.drawn svg path { stroke-dashoffset: 0; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr); }
  .hero-margin { grid-column: 1 / -1; flex-direction: row; border: 0; padding: 28px 0 0; border-top: 1px solid var(--ink-faint); margin-top: 36px; }
  .hero-margin .margin-note { display: none; }
  .dict { max-width: 52ch; }
}
@media (max-width: 760px) {
  .hero { padding-top: 26px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 520px; margin: 40px auto 0; width: 100%; }
  .kicker { margin-bottom: 14px; }
  .hero-lede { margin-top: 18px; }
  .hero-cta { margin-top: 24px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Section heads ---------- */
section { padding: clamp(60px, 9vw, 120px) 0; }
.sec-head {
  display: flex; align-items: flex-end; gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 8px;
}
.sec-num {
  font-family: var(--serif); font-weight: 900; color: var(--seal);
  font-size: clamp(64px, 8vw, 104px); line-height: .78;
}
.sec-intro { font-size: 19px; color: var(--ink-soft); margin: 18px 0 0; max-width: 52ch; }

/* ---------- Recall ledger ---------- */
.entry {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) var(--margin-w);
  column-gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--ink-faint);
  position: relative;
}
.entry-icon { width: 72px; height: 72px; }
.entry-quote {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 2.5vw, 30px); line-height: 1.3;
  margin: 0 0 12px;
  text-indent: -0.42em;
}
.entry-answer { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--ink-soft); max-width: 56ch; }
.entry-answer svg { width: 22px; height: 18px; flex-shrink: 0; margin-top: 7px; }
.entry-answer svg path { fill: none; stroke: var(--seal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.entry .margin-col { display: flex; align-items: center; }
.entry .margin-note .hand { font-size: 25px; }

.entry-key {
  margin: 26px -26px 0;
  padding: 40px 26px;
  border-bottom: 0;
}
.entry-key .key-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.entry-key .key-frame path {
  fill: none; stroke: var(--seal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-ink);
}
.entry-key.drawn .key-frame path { stroke-dashoffset: 0; }
.entry-key .entry-answer { color: var(--ink); font-weight: 700; font-size: 20px; }
.entry-key .margin-note .hand { font-size: 32px; }

@media (max-width: 900px) {
  .entry { grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; }
  .entry-icon { width: 56px; height: 56px; }
  .entry .margin-col { grid-column: 2; margin-top: 12px; }
  .entry .margin-note .hand { transform: rotate(-2deg); font-size: 23px; }
  .entry .margin-note svg { display: none; }
  .entry-key { margin: 24px -10px 0; padding: 30px 14px; }
}

.section-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.section-cta .hand { font-size: 28px; }
@media (max-width: 600px) { .section-cta .btn { width: 100%; } .section-cta .hand { display: none; } }

/* ---------- Method (how we work) ---------- */
.method {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}
.method-step { padding: 8px 34px 8px; border-inline-start: 1px solid var(--ink-faint); }
.method-step:first-child { border-inline-start: 0; padding-inline-start: 0; }
.method-step:last-child { padding-inline-end: 0; }
.method-art { height: 128px; margin: 0 0 22px; }
.method-art svg { height: 100%; width: auto; }
.method-step h3 { font-weight: 700; font-size: 28px; margin-bottom: 8px; }
.method-step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) {
  .method { grid-template-columns: minmax(0, 1fr); }
  .method-step, .method-step:first-child, .method-step:last-child {
    border: 0; border-top: 1px solid var(--ink-faint); padding: 30px 0;
    display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 20px; align-items: start;
  }
  .method-step:first-child { border-top: 0; }
  .method-art { grid-row: 1 / span 2; grid-column: 1; height: 96px; margin: 0; }
  .method-step > :not(.method-art) { grid-column: 2; }
}
.charter-terms { counter-reset: none; }
.colophon .brand-seal { width: 36px; height: 36px; }
.charter-corner path { fill: none; }

/* ---------- Charter (founding clients) ---------- */
.charter {
  position: relative;
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 7px;
  margin: 48px 8px 8px;
  padding: clamp(58px, 6vw, 64px) clamp(22px, 6vw, 72px);
  background: rgba(255, 255, 255, .28);
}
.charter-corner { position: absolute; width: 38px; height: 38px; }
.charter-corner path { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.charter-corner.tr { top: 10px; right: 10px; }
.charter-corner.tl { top: 10px; left: 10px; transform: scaleX(-1); }
.charter-corner.br { bottom: 10px; right: 10px; transform: scaleY(-1); }
.charter-corner.bl { bottom: 10px; left: 10px; transform: scale(-1, -1); }
.charter-lead {
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4;
  max-width: 30ch; margin: 0 0 26px;
}
.charter-terms { list-style: none; padding: 0; margin: 0 0 34px; max-width: 640px; }
.charter-terms li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline;
  padding: 14px 0; border-bottom: 1px dotted rgba(27, 42, 65, .35);
}
.charter-terms li:last-child { border-bottom: 0; }
.charter-terms .t-num { font-family: var(--serif); font-weight: 700; color: var(--seal); font-size: 22px; }
.charter-actions { text-align: start; }
.charter-seal {
  position: absolute; left: clamp(-30px, -2vw, -10px); bottom: -42px; width: 128px; height: 128px;
  transform: rotate(-12deg);
}
@media (max-width: 700px) {
  .charter-seal { width: 92px; height: 92px; left: -6px; bottom: -36px; }
  .charter-actions .btn { width: 100%; }
}

/* ---------- Security ---------- */
.security-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 60px; align-items: center;
  margin-top: 36px;
}
.security-list { list-style: none; padding: 0; margin: 0; }
.security-list li {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start;
  font-size: clamp(19px, 1.9vw, 22px); font-family: var(--serif); font-weight: 500;
  padding: 16px 0; border-bottom: 1px solid var(--ink-faint);
}
.security-list li svg { width: 26px; height: 24px; margin-top: 4px; }
.security-list li svg path {
  fill: none; stroke: var(--seal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease-ink);
}
.security-list.drawn li svg path { stroke-dashoffset: 0; }
.security-list.drawn li:nth-child(2) svg path { transition-delay: .15s; }
.security-list.drawn li:nth-child(3) svg path { transition-delay: .3s; }
.security-list.drawn li:nth-child(4) svg path { transition-delay: .45s; }
.security-list.drawn li:nth-child(5) svg path { transition-delay: .6s; }
.security-art svg { width: 100%; height: auto; }
.security-more { margin-top: 26px; font-weight: 700; }
@media (max-width: 820px) {
  .security-grid { grid-template-columns: minmax(0, 1fr); }
  .security-art { max-width: 220px; margin: 0 auto 28px; order: -1; }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--ink-faint); }
.faq-q {
  width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) 30px; align-items: baseline;
  background: none; border: 0; padding: 24px 0; cursor: pointer;
  font-family: var(--serif); font-size: clamp(20px, 2.1vw, 25px); font-weight: 500;
  color: var(--ink); text-align: right;
}
.faq-q .qa { color: var(--seal); font-weight: 700; }
.faq-q .mark {
  font-family: var(--serif); color: var(--seal); font-size: 28px; line-height: 1;
  transition: transform .25s ease; justify-self: end;
}
.faq-q[aria-expanded="true"] .mark { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-a-inner {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); padding: 0 0 26px;
  color: var(--ink-soft);
}
.faq-a-inner .qa { color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.3; }

/* ---------- Closing ---------- */
.closing { text-align: center; padding-bottom: clamp(80px, 10vw, 140px); }
.closing-art { width: min(360px, 80%); margin: 0 auto 34px; }
.closing blockquote {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 50px); line-height: 1.25;
  max-width: 22ch; margin: 0 auto 18px;
}
.closing blockquote strong { font-weight: 900; }
.closing .signature { width: 220px; margin: 0 auto 40px; }
.closing .signature path {
  fill: none; stroke: var(--seal); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-ink);
}
.closing .signature.drawn path { stroke-dashoffset: 0; }

/* ---------- Footer / colophon ---------- */
.colophon { border-top: 3px double var(--ink); padding: 34px 0 110px; font-size: 15px; color: var(--ink-soft); }
.colophon-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.colophon .brand-name { font-size: 24px; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.colophon a { color: var(--ink); }
.colophon .hand { font-size: 24px; }

/* ---------- WhatsApp ---------- */
.whatsapp-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 150;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--ink), -4px 4px 0 rgba(27, 42, 65, .2);
  border-radius: 40px; padding: 12px 18px 12px 14px;
  text-decoration: none; font-weight: 700; font-size: 16px;
}
.whatsapp-float:hover { color: var(--paper); background: #14202f; }
.whatsapp-float svg { width: 26px; height: 26px; }
@media (max-width: 600px) {
  .whatsapp-float { padding: 14px; left: 14px; bottom: 14px; }
  .whatsapp-float span { display: none; }
}

/* ---------- Engravings ---------- */
.engr .o { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.engr .o-thin { fill: none; stroke: var(--ink); stroke-width: .9; stroke-linecap: round; }
.engr .o-red { fill: none; stroke: var(--seal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.engr .paper { fill: var(--paper); }
.engr .fill-ink { fill: var(--ink); }
.engr .fill-seal { fill: var(--seal); }
.engr .shade { transition: opacity 1.2s ease .9s; }
.engr.pending .shade { opacity: 0; }

/* ---------- Modal / notebook form ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(27, 42, 65, .6);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative;
  width: 100%; max-width: 580px; max-height: 94vh; overflow-y: auto;
  background-color: #FBF7EE;
  background-image:
    linear-gradient(to left, transparent 54px, var(--seal-faint) 54px, var(--seal-faint) 55px, transparent 55px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(27, 42, 65, .14) 43px, rgba(27, 42, 65, .14) 44px);
  background-position: 0 0, 0 74px;
  padding: 66px 74px 40px clamp(20px, 5vw, 44px);
  box-shadow: 0 2px 0 #E7DFCD, 0 4px 0 #F6F1E7, 0 6px 0 #E2D8C3, 0 24px 60px rgba(0, 0, 0, .35);
  border-radius: 2px;
}
.modal-holes { position: absolute; top: 18px; right: 0; left: 0; display: flex; justify-content: center; gap: 34px; }
.modal-holes span { width: 13px; height: 13px; border-radius: 50%; background: rgba(27, 42, 65, .55); box-shadow: inset 0 2px 2px rgba(0,0,0,.4); }
.modal-close {
  position: absolute; left: 14px; top: 10px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--ink); padding: 4px 8px;
}
.progress-bar { display: flex; gap: 8px; margin-bottom: 18px; }
.progress-bar span { flex: 1; height: 3px; background: var(--ink-faint); }
.progress-bar span.active, .progress-bar span.done { background: var(--seal); }
.step-label { font-size: 26px; display: block; margin-bottom: 4px; }
.form-step { display: none; }
.form-step.active { display: block; animation: pageIn .35s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-step h3 { font-weight: 700; font-size: clamp(23px, 3vw, 28px); line-height: 1.35; margin-bottom: 14px; }

.option-list { margin: 6px 0 10px; }
.option-list label {
  position: relative; display: flex; align-items: center;
  min-height: 44px; padding: 0 4px;
  font-size: 19px; cursor: pointer;
}
.option-list label .opt-text { position: relative; display: inline-block; padding: 2px 8px; }
.option-list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-list .ring {
  position: absolute; left: -10px; top: -9px; width: calc(100% + 20px); height: calc(100% + 18px); pointer-events: none;
  opacity: 0; clip-path: inset(0 0 0 100%); transition: clip-path .5s var(--ease-ink), opacity .1s;
}
.option-list .ring path { fill: none; stroke: var(--seal); stroke-width: 2; stroke-linecap: round; }
.option-list label:has(input:checked) .ring { opacity: 1; clip-path: inset(0 0 0 0); }
.option-list label:has(input:checked) .opt-text { color: var(--ink); font-weight: 700; }
.option-list label:hover .opt-text { color: var(--seal); }
.option-list label:has(input:focus-visible) .opt-text { outline: 2px dashed var(--seal); outline-offset: 4px; }

.other-text {
  display: none; width: 100%;
  font-family: var(--sans); font-size: 18px;
  border: 0; border-bottom: 1.5px solid var(--ink); background: transparent;
  padding: 8px 4px; margin: 0 0 10px;
}
.other-text.show { display: block; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 16px; }
.field input {
  width: 100%; height: 44px;
  font-family: var(--sans); font-size: 19px; color: var(--ink);
  border: 0; border-bottom: 1.5px solid var(--ink); background: transparent;
  padding: 4px; border-radius: 0;
}
.field input:focus { outline: none; border-bottom: 2.5px solid var(--seal); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 6px; font-size: 16px; }
.checkbox-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--seal); flex-shrink: 0; }
.error-msg { display: none; color: var(--seal); font-weight: 700; font-size: 15px; margin: 6px 0 0; }
.error-msg.show { display: block; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.form-nav .btn { padding: 14px 24px; font-size: 18px; }
.thanks { text-align: center; padding: 10px 0 6px; }
.thanks .stamp { width: 120px; height: 120px; margin: 0 auto 14px; }
.form-step.active .stamp { animation: stamp .5s cubic-bezier(.3, 1.6, .5, 1) .1s both; }
@keyframes stamp { from { transform: scale(1.8) rotate(-30deg); opacity: 0; } to { transform: scale(1) rotate(-10deg); opacity: 1; } }
.thanks .btn { margin-top: 10px; }
@media (max-width: 560px) {
  .modal { padding: 60px 44px 32px 16px; background-image:
    linear-gradient(to left, transparent 30px, var(--seal-faint) 30px, var(--seal-faint) 31px, transparent 31px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(27, 42, 65, .14) 43px, rgba(27, 42, 65, .14) 44px); }
  .modal { padding-right: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .ann > svg path, .entry-key .key-frame path, .security-list li svg path,
  .closing .signature path, .margin-note.draw svg path { stroke-dashoffset: 0; }
  .engr.pending .shade { opacity: 1; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0 26px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; }
.legal ul { padding-right: 22px; }
.legal-date { color: var(--ink-soft); font-size: 15px; margin-top: -14px; }
.legal-summary { border: 1px solid var(--ink-faint); border-right: 4px solid var(--seal); padding: 4px 22px 10px; margin: 26px 0; }
.legal-summary h2 { margin-top: 14px; }
.legal-toc ol { padding-right: 22px; columns: 2; column-gap: 32px; }
.legal-toc li { break-inside: avoid; margin-bottom: 4px; }
.table-wrap { overflow-x: auto; margin: 14px 0 18px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.legal th, .legal td { text-align: right; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--ink-faint); }
.legal thead th { border-bottom: 2px solid var(--ink); font-size: 14px; letter-spacing: .02em; }
.legal tbody th { font-weight: 700; width: 28%; }
@media (max-width: 600px) {
  .legal-toc ol { columns: 1; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal table, .legal tbody, .legal tr, .legal tbody th, .legal td { display: block; width: auto; }
  .legal tr { border-bottom: 1px solid var(--ink-faint); padding: 10px 0; }
  .legal tbody th, .legal td { border: 0; padding: 3px 0; }
}
.form-notice { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: 10px 0 0; }
.legal .note { font-size: 15px; color: var(--ink-soft); border-top: 1px solid var(--ink-faint); padding-top: 18px; margin-top: 40px; }
