/* ContratoClean: mobile-first, no framework.
   Palette: teal ink + mint wash + marigold highlighter. App UI in system sans; the English proposal in a serif "paper" face. */
:root {
  --ink: #0f2a28;
  --ink-2: #3e5653;
  --ink-3: #5d7470;
  --teal: #0b6e64;
  --teal-700: #095a52;
  --teal-900: #0b3b37;
  --teal-850: #0f4943;
  --teal-light: #7fd9c8;
  --mint: #e8f5f1;
  --mint-50: #f4faf8;
  --mint-2: #cdebe2;
  --line: #d6e4e0;
  --field: #b9cfc9;
  --paper: #ffffff;
  --sun: #f2a93b;
  --sun-strong: #e39a2a;
  --sun-soft: #fde4b5;
  --sun-ink: #7a4a00;
  --on-dark: #e4f2ee;
  --on-dark-2: #b9d8d0;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --warn-bg: #fff4e0;
  --radius-s: 10px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow-card: 0 1px 2px rgba(11, 59, 55, 0.06), 0 8px 24px -12px rgba(11, 59, 55, 0.18);
  --shadow-paper: 0 1px 0 rgba(11, 59, 55, 0.05), 0 22px 44px -22px rgba(11, 59, 55, 0.42), 0 6px 14px -6px rgba(11, 59, 55, 0.14);
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-900); outline-offset: 2px; border-radius: 6px; }
.radar :focus-visible, .site-foot :focus-visible { outline-color: var(--sun); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }
@media (max-width: 380px) { :root { --gutter: 16px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal-900); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 10px; color: #fff; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; }
.head-nav { display: flex; align-items: center; gap: 14px; }
.head-link { display: none; font-weight: 650; text-decoration: none; color: var(--ink-2); padding: 8px 4px; }
.head-link:hover { color: var(--teal); }
@media (min-width: 720px) { .head-link { display: inline-block; } }
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.lang-switch a { min-width: 44px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 750; font-size: 0.875rem; color: var(--ink-2); text-decoration: none; letter-spacing: 0.02em; }
.lang-switch a:hover { color: var(--teal); background: var(--mint); }
.lang-switch a[aria-current='page'] { background: var(--teal); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 750; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 22px; height: 22px; }
.btn-lg { min-height: 60px; padding: 0 26px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-strong); color: var(--ink); }
.btn-ghost { background: var(--paper); color: var(--teal-700); border-color: var(--mint-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-700); background: var(--mint-50); }
.btn-light { background: #fff; color: var(--teal-900); }
.btn-light:hover { background: var(--mint); color: var(--teal-900); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--teal); font-weight: 680; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-align: left;
}
.btn-link:hover { color: var(--teal-700); }
.btn-link .i { width: 20px; height: 20px; }

/* ---------- Section rhythm ---------- */
main > section { padding: 56px 0; }
@media (min-width: 900px) { main > section { padding: 88px 0; } }
section h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.section-sub { margin-top: 12px; color: var(--ink-2); max-width: 40em; font-size: 1.0625em; }

/* ---------- Hero ---------- */
.hero { background: var(--mint); padding: 36px 0 56px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 64px; } }
.hero h1 { font-size: clamp(2.05rem, 1.25rem + 3.5vw, 3.55rem); line-height: 1.05; font-weight: 820; letter-spacing: -0.032em; text-wrap: balance; max-width: 17ch; }
.lede { margin-top: 18px; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); color: var(--ink-2); max-width: 32em; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-actions .btn { width: 100%; }
@media (min-width: 560px) { .hero-actions .btn { width: auto; } }
.trust { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.95rem; max-width: 34em; }
.trust .i { color: var(--teal); margin-top: 2px; }

/* The bilingual proposal sheet: the page's one signature element */
.sheet { margin: 0; position: relative; }
.sheet-paper { position: relative; background: var(--paper); border-radius: 14px; padding: 22px 20px 20px; box-shadow: var(--shadow-paper); border: 1px solid rgba(11, 59, 55, 0.06); }
@media (min-width: 960px) {
  .sheet-paper { padding: 30px 30px 26px; }
  .sheet-paper::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; background: var(--paper); border-radius: 14px; border: 1px solid var(--mint-2); z-index: -1; }
}
.sheet-top { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.sheet-tag { justify-self: start; font-size: 0.75rem; font-weight: 750; color: var(--sun-ink); background: var(--sun-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.sheet-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: var(--teal-900); }
.sheet-for { font-family: var(--serif); font-size: 0.95rem; color: var(--ink-3); }
.sheet-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sl-en { font-family: var(--serif); font-size: 1.02rem; line-height: 1.4; display: flex; gap: 10px; color: #1b2c2a; }
.sl-check { width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }
.sl-tr {
  margin: 6px 0 0 28px; display: inline-block; font-size: 0.9rem; line-height: 1.35; color: var(--teal-700);
  background: var(--mint); border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; padding: 5px 10px;
}
.sl-price { padding-top: 12px; border-top: 1px dashed var(--line); }
.sl-price .sl-en { font-weight: 700; font-size: 1.12rem; }
.sl-price .sl-tr { margin-left: 0; }
.sl-price mark { background: none; color: inherit; box-shadow: inset 0 -0.55em 0 var(--sun-soft); padding: 0 2px; }
.sheet-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 0.85rem; color: var(--ink-2); }
@media (min-width: 960px) { .sheet-legend { margin-top: 30px; } }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: 'Aa'; flex: none; font-size: 0.8rem; line-height: 1; padding: 4px 6px; border-radius: 6px; }
.lg-en::before { font-family: var(--serif); color: #1b2c2a; background: var(--paper); box-shadow: 0 1px 3px rgba(11, 59, 55, 0.18); }
.lg-tr::before { font-weight: 650; color: var(--teal-700); background: var(--mint-2); border-left: 3px solid var(--teal); border-radius: 0 6px 6px 0; }
/* One orchestrated moment: the owner's-language lines settle in under the English, one by one. */
@media (prefers-reduced-motion: no-preference) {
  .sheet.is-bilingual .sl-tr { animation: tr-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .sheet-lines li:nth-child(1) .sl-tr { animation-delay: 0.35s; }
  .sheet-lines li:nth-child(2) .sl-tr { animation-delay: 0.6s; }
  .sheet-lines li:nth-child(3) .sl-tr { animation-delay: 0.85s; }
  .sheet-lines li:nth-child(4) .sl-tr { animation-delay: 1.1s; }
  .sheet .sl-price mark { animation: hl-in 0.6s ease-out 1.35s both; }
}
@keyframes tr-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes hl-in { from { box-shadow: inset 0 0 0 var(--sun-soft); } to { box-shadow: inset 0 -0.55em 0 var(--sun-soft); } }

/* ---------- How it works ---------- */
.how-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.how-list li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 28px; }
.how-list li:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--mint-2); }
.how-num { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.125rem; }
.how-list h3 { font-size: 1.25rem; font-weight: 750; margin: 8px 0 6px; }
.how-list p { color: var(--ink-2); }
@media (min-width: 860px) {
  .how-list { grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 44px; }
  .how-list li { grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; }
  .how-list li:not(:last-child)::before { left: 56px; right: -28px; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Tool ---------- */
.tool { background: var(--mint-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice { margin-top: 16px; padding: 14px 16px; background: var(--warn-bg); border-radius: var(--radius-s); color: var(--sun-ink); font-weight: 600; }
.progress { list-style: none; margin: 28px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 650; color: var(--ink-3); padding-top: 10px; border-top: 4px solid var(--line); }
.progress .pnum { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-2); font-size: 0.8rem; font-weight: 800; flex: none; }
.progress li.is-done { border-top-color: var(--teal); color: var(--ink-2); }
.progress li.is-done .pnum { background: var(--mint-2); color: var(--teal-700); }
.progress li.is-current { border-top-color: var(--teal); color: var(--ink); }
.progress li.is-current .pnum { background: var(--teal); color: #fff; }
@media (max-width: 420px) { .progress .plabel { font-size: 0.8rem; line-height: 1.2; } }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px 18px; box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .panel { padding: 34px 36px; } }
.step-h { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; padding: 0; outline-offset: 6px; }
legend.step-h { margin-bottom: 4px; }
.help { color: var(--ink-2); font-size: 0.95rem; margin-top: 6px; }
.panel > .help, form > .help { margin-bottom: 8px; }
.q-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-list { display: grid; gap: 10px; margin-top: 18px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 14px 18px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 1.125rem; font-weight: 680; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.choice:hover { border-color: var(--teal); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--field); flex: none; display: grid; place-items: center; }
.choice-dot::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform 0.15s; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.choice input:checked + .choice-dot { border-color: var(--teal); }
.choice input:checked + .choice-dot::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 3px solid var(--teal-900); outline-offset: 2px; }
.choice-muted { font-weight: 550; font-size: 1rem; color: var(--ink-2); border-style: dashed; }
.panel-info { text-align: left; display: grid; gap: 12px; justify-items: start; }
.info-ic { width: 36px; height: 36px; color: var(--teal); }

/* fields */
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field { margin-top: 22px; }
.field > label, .field > legend, .group > legend { display: block; font-weight: 700; margin-bottom: 8px; font-size: 1.02rem; padding: 0; }
.req { color: var(--danger); }
input[type='text'], input[type='email'], input[type='tel'], input[type='number'], input[type='date'], select {
  width: 100%; min-height: 56px; padding: 0 16px; border: 2px solid var(--field); border-radius: 12px; background: var(--paper);
  font-size: 1.125rem; transition: border-color 0.15s, box-shadow 0.15s; appearance: none; -webkit-appearance: none;
}
input[type='date'] { padding-right: 10px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6e64' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
input::placeholder { color: #7f9591; }
input:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 110, 100, 0.18); outline: none; }
.has-err input, .has-err select, input[aria-invalid='true'] { border-color: var(--danger); }
.err { color: var(--danger); font-weight: 650; font-size: 0.95rem; margin-top: 6px; }
.form-err { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--danger-bg); color: var(--danger); font-weight: 650; }
.warn { margin-top: 10px; padding: 10px 14px; border-radius: var(--radius-s); background: var(--warn-bg); color: var(--sun-ink); font-weight: 600; font-size: 0.95rem; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .type-grid { grid-template-columns: repeat(4, 1fr); } }
.type-tile { position: relative; cursor: pointer; }
.type-tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile-in { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 96px; height: 100%; padding: 14px; border: 2px solid var(--line); border-radius: var(--radius); font-weight: 680; font-size: 0.98rem; line-height: 1.25; transition: border-color 0.15s, background-color 0.15s; }
.tile-in .i { width: 28px; height: 28px; color: var(--teal); }
.type-tile:hover .tile-in { border-color: var(--teal); }
.type-tile input:checked + .tile-in { border-color: var(--teal); background: var(--mint); box-shadow: inset 0 0 0 1px var(--teal); }
.type-tile input:focus-visible + .tile-in { outline: 3px solid var(--teal-900); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--mint-2); background: var(--paper); color: var(--teal-700); font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.chip:hover { background: var(--mint); border-color: var(--teal); }

.stepper { display: inline-grid; grid-template-columns: 56px 96px 56px; gap: 8px; }
.stepper input { text-align: center; padding: 0 6px; font-weight: 750; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { min-height: 56px; border-radius: 12px; border: 2px solid var(--mint-2); background: var(--mint-50); color: var(--teal-700); display: grid; place-items: center; }
.step-btn:hover { background: var(--mint); border-color: var(--teal); }
.step-btn .i { width: 22px; height: 22px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 auto; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 52px; min-width: 52px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; text-align: center; line-height: 1.2; transition: border-color 0.15s, background-color 0.15s; }
.seg label:hover span { border-color: var(--teal); }
.seg input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--teal-900); outline-offset: 2px; }
.seg-7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.seg-7 span { min-width: 0; padding: 0; font-variant-numeric: tabular-nums; font-size: 1.125rem; }

.assume { margin-top: 26px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--mint-50); }
.assume summary { list-style: none; cursor: pointer; min-height: 56px; padding: 14px 18px; font-weight: 700; color: var(--teal-700); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.assume summary::-webkit-details-marker { display: none; }
.assume summary::after { content: ''; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; flex: none; }
.assume[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.assume > .help, .assume > .btn-link, .assume-grid { margin-left: 18px; margin-right: 18px; }
.assume > .help { margin-top: 0; }
.assume > .btn-link { margin-bottom: 8px; }
.assume-grid { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .assume-grid { grid-template-columns: 1fr 1fr; } }
.assume-grid .field { margin-top: 16px; }

#calc-form > .btn-block { margin-top: 26px; }
.disclaimer { margin-top: 12px; font-size: 0.9rem; color: var(--ink-3); }
.skip-row { margin-top: 6px; }

/* results */
.result { display: grid; gap: 18px; }
.res-head .step-h { font-size: 1.45rem; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 640px) { .tiers { gap: 12px; } }
.tier { display: grid; justify-items: center; gap: 2px; padding: 14px 6px 12px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); text-align: center; transition: border-color 0.15s, background-color 0.15s; }
.tier:hover { border-color: var(--teal); }
.tier[aria-checked='true'] { border-color: var(--teal); background: var(--mint); box-shadow: inset 0 0 0 1px var(--teal); }
.tier-name { font-weight: 750; font-size: 0.95rem; color: var(--ink-2); }
.tier[aria-checked='true'] .tier-name { color: var(--teal-700); }
.tier-price { font-size: clamp(1.25rem, 1rem + 1.6vw, 2rem); font-weight: 830; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; padding: 0 3px; }
.tier[aria-checked='true'] .tier-price { box-shadow: inset 0 -0.42em 0 var(--sun-soft); }
.tier-per { font-size: 0.8rem; color: var(--ink-3); }
.tier-m { font-size: 0.8rem; color: var(--ink-2); font-weight: 600; margin-top: 4px; }
.res-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.res-stats div { display: grid; gap: 2px; }
.res-stats dt { font-size: 0.8rem; color: var(--ink-3); line-height: 1.25; }
.res-stats dd { margin: 0; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.res-explain { background: var(--mint-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.res-explain h4 { font-size: 1rem; font-weight: 750; margin-bottom: 6px; }
.res-explain p { font-size: 0.98rem; color: var(--ink-2); }
.res-explain p + p { margin-top: 8px; }
.res-actions { display: grid; gap: 6px; justify-items: start; }

/* proposal form */
.group { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.group > legend { float: left; width: 100%; font-size: 1.15rem; font-weight: 800; color: var(--teal-900); margin-bottom: 0; }
.group > legend + * { clear: both; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { position: relative; cursor: pointer; }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day > span { display: grid; place-items: center; min-height: 52px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 0.95rem; transition: border-color 0.15s, background-color 0.15s; }
.day:hover > span { border-color: var(--teal); }
.day input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.day input:focus-visible + span { outline: 3px solid var(--teal-900); outline-offset: 2px; }
.checks { display: grid; gap: 8px; margin-top: 10px; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.check:hover { border-color: var(--teal); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--field); display: grid; place-items: center; flex: none; color: transparent; }
.check-box .i { width: 18px; height: 18px; stroke-width: 3; }
.check:has(input:checked) { border-color: var(--teal); background: var(--mint-50); }
.check input:checked + .check-box { background: var(--teal); border-color: var(--teal); color: #fff; }
.check:has(input:focus-visible) { outline: 3px solid var(--teal-900); outline-offset: 2px; }
.check-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.freq-tag { font-size: 0.75rem; font-weight: 700; color: var(--teal-700); background: var(--mint); border-radius: 999px; padding: 2px 8px; }
#prop-form > .btn-block { margin-top: 30px; }

/* proposal output */
.out-head { display: grid; gap: 10px; }
.note { display: flex; gap: 8px; align-items: flex-start; color: var(--sun-ink); background: var(--warn-bg); padding: 10px 14px; border-radius: var(--radius-s); font-weight: 600; font-size: 0.95rem; }
.note .i { margin-top: 2px; }
.view-toggle { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 14px; background: var(--mint); justify-self: start; }
.vt-btn { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent; font-weight: 700; color: var(--teal-700); }
.vt-btn[aria-pressed='true'] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 59, 55, 0.18); }
.out-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.out-actions .btn-primary { flex: 1 1 100%; }
@media (min-width: 640px) { .out-actions .btn-primary { flex: 0 1 auto; } }
.out-actions .btn-ghost { flex: 1 1 100%; padding: 0 14px; }
@media (min-width: 640px) { .out-actions .btn-ghost { flex: 0 1 auto; } }
.print-help { font-size: 0.875rem; }
.doc-wrap { margin-top: 18px; }
@media (min-width: 1000px) {
  #step-out.has-tr { margin-left: calc((780px - 1000px) / 2); margin-right: calc((780px - 1000px) / 2); }
}

/* The English proposal document */
.pdoc { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px 18px; font-family: var(--serif); font-size: 1.04rem; line-height: 1.55; color: #1b2c2a; box-shadow: 0 1px 0 rgba(11, 59, 55, 0.04), 0 12px 30px -20px rgba(11, 59, 55, 0.35); }
@media (min-width: 640px) { .pdoc { padding: 44px 48px; } }
.pdoc .pl > .tr, .pdoc li.pl > .tr {
  font-family: var(--font); font-size: 0.9rem; line-height: 1.4; color: var(--teal-700); background: var(--mint);
  border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; padding: 6px 10px; margin-top: 4px;
}
@media (min-width: 900px) {
  .pdoc.has-tr .pl { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
  .pdoc.has-tr .pl > .tr { margin-top: 0; }
}
.pdoc-head { padding-bottom: 20px; margin-bottom: 8px; border-bottom: 2px solid var(--teal-900); }
.pdoc-from { display: grid; gap: 2px; margin-bottom: 18px; }
.pdoc-company { font-size: 1.3rem; letter-spacing: -0.01em; color: var(--teal-900); }
.pdoc-contact { font-family: var(--font); font-size: 0.85rem; color: var(--ink-3); }
.pdoc-contact .sep { color: var(--line); }
.pdoc-title h2.en, .pdoc-title > .en { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -0.01em; color: var(--teal-900); }
.pdoc-title .tr { align-self: center; }
.pdoc-meta { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 640px) { .pdoc-meta { grid-template-columns: 1.4fr 1fr; } }
.pdoc-label .en { font-family: var(--font); font-size: 0.78rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0.01em; }
.pdoc-label .tr { font-size: 0.75rem !important; padding: 2px 8px !important; }
.pdoc-value { margin-top: 2px; }
.pdoc-sec { padding-top: 22px; margin-top: 18px; border-top: 1px solid var(--line); }
.pdoc-sec[data-sec='cover'] { border-top: 0; margin-top: 0; }
.pdoc-h { margin-bottom: 10px; }
.pdoc-h h3.en, .pdoc-h > .en { font-family: var(--font); font-size: 1rem; font-weight: 800; color: var(--teal-900); letter-spacing: 0; }
.pdoc-sec .pl + .pl { margin-top: 10px; }
.pdoc .greet .en { font-weight: 600; }
.pdoc .signoff { margin-top: 16px; }
.pdoc-sigl { margin-top: 6px; font-weight: 600; }
.pdoc-price { margin: 4px 0 12px; }
.pdoc-price .en { font-size: 1.3rem; font-weight: 700; }
.pdoc-price .en::after { content: ''; }
.scope-group { margin-top: 14px; }
.scope-area { margin-bottom: 6px; }
.scope-area h4.en, .scope-area > .en { font-family: var(--font); font-size: 0.9rem; font-weight: 750; color: var(--teal-700); }
.scope-list { list-style: none; margin: 0; padding: 0; }
.scope-list li { padding: 8px 0; border-bottom: 1px dotted var(--line); }
.scope-list li:last-child { border-bottom: 0; }
.freq { display: inline-block; font-family: var(--font); font-size: 0.72rem; font-weight: 750; color: var(--teal-700); background: var(--mint); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }
.tr .freq { background: var(--paper); }
.pdoc-sign { display: grid; gap: 22px; margin-top: 18px; }
@media (min-width: 640px) { .pdoc-sign { grid-template-columns: 1fr 1fr; gap: 36px; } }
.sign-h .en { font-weight: 700; }
.sign-line { margin-top: 18px; padding-top: 22px; border-bottom: 1.5px solid #6b7f7b; }
.sign-line .en { font-family: var(--font); font-size: 0.78rem; color: var(--ink-3); }
.pdoc.has-tr .sign-line .pl { display: flex; gap: 10px; align-items: baseline; }
.sign-line .tr { padding: 1px 8px !important; font-size: 0.75rem !important; }

.lead-box { margin-top: 26px; padding: 20px; border-radius: var(--radius); background: var(--mint); }
.lead-box h4 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; }
.lead-box h4 .i { color: var(--teal); }
.lead-box > p:not(.consent):not(.form-msg) { margin: 6px 0 12px; color: var(--ink-2); }
.lead-box label, .soon label, #wait-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.inline-form { display: grid; gap: 10px; }
@media (min-width: 560px) { .inline-form { grid-template-columns: 1fr auto; } }
.inline-form .btn { min-height: 56px; }
.consent { margin-top: 10px; font-size: 0.85rem; color: var(--ink-2); }
.form-msg { margin-top: 8px; font-weight: 650; }
.form-msg.ok { color: var(--teal-700); }
.form-msg.bad { color: var(--danger); }
.next { margin-top: 22px; color: var(--ink-2); }

/* ---------- Radar ---------- */
.radar { background: var(--teal-900); color: var(--on-dark); }
.radar h2 { color: #fff; display: flex; align-items: center; gap: 12px; }
.radar-ic { width: 34px; height: 34px; color: var(--sun); flex: none; }
.radar .section-sub { color: var(--on-dark-2); }
.radar-count { margin-top: 28px; }
.rc-big { font-size: clamp(1.3rem, 1.05rem + 1.3vw, 1.85rem); font-weight: 780; color: #fff; line-height: 1.25; letter-spacing: -0.015em; max-width: 30em; }
.rc-num { display: inline-block; min-width: 1.6em; padding: 0 0.25em; margin-right: 0.1em; border-radius: 10px; background: var(--sun); color: var(--ink); text-align: center; font-variant-numeric: tabular-nums; }
.rc-small { margin-top: 6px; color: var(--on-dark-2); }
.radar-screen { margin-top: 22px; background: var(--teal-850); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; overflow: hidden; }
.radar-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.radar-table th { text-align: left; font-size: 0.8rem; font-weight: 700; color: var(--on-dark-2); padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.radar-table td { padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); vertical-align: middle; }
.radar-table tbody tr:last-child td { border-bottom: 0; }
.c-type { font-weight: 700; color: #fff; }
.c-type .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; background: var(--teal-light); vertical-align: 1px; }
.c-type .dot.retail { background: var(--sun); }
.c-date { color: var(--on-dark-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-name { color: var(--on-dark-2); }
.locked { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.locked .i { width: 16px; height: 16px; color: var(--sun); }
.blur-bar { display: inline-block; width: 92px; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12)); filter: blur(1.5px); }
.radar-msg { color: var(--on-dark-2); text-align: center; padding: 28px 16px !important; }
.ex-tag { font-size: 0.72rem; font-weight: 750; color: var(--ink); background: var(--sun-soft); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }
@media (max-width: 719px) {
  .radar-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .radar-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .radar-table tbody tr:last-child { border-bottom: 0; }
  .radar-table td { display: block; padding: 0; border: 0; }
  .radar-table .c-type { grid-column: 1; grid-row: 1; }
  .radar-table .c-date { grid-column: 2; grid-row: 1; text-align: right; font-size: 0.9rem; }
  .radar-table .c-street { grid-column: 1; grid-row: 2; color: var(--on-dark); font-size: 0.95rem; padding-left: 19px; }
  .radar-table .c-area { grid-column: 2; grid-row: 2; text-align: right; color: var(--on-dark-2); font-size: 0.9rem; }
  .radar-table .c-name { grid-column: 1 / -1; grid-row: 3; padding-left: 19px; margin-top: 4px; }
  .radar-table td.radar-msg { grid-column: 1 / -1; }
}
.radar-src { margin-top: 14px; font-size: 0.85rem; color: var(--on-dark-2); max-width: 60em; }
.radar-cta { margin-top: 26px; }
.radar-cta .btn { width: 100%; white-space: normal; padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 720px) { .radar-cta .btn { width: auto; } }
.wait { margin-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 8px; max-width: 560px; }
.wait summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.wait summary::-webkit-details-marker { display: none; }
.wait summary .i { color: var(--sun); }
.wait p { color: var(--on-dark-2); }
.wait .field { margin-top: 14px; }
.wait .btn { margin-top: 16px; }
.wait .consent { color: var(--on-dark-2); }
.wait .form-msg.ok { color: var(--teal-light); }
.wait .form-msg.bad { color: #ffb4a8; }

/* ---------- Why / comparison ---------- */
.compare { margin: 36px 0 0; display: grid; }
.cmp-row { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.cmp-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .cmp-row { grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: 32px; align-items: baseline; } }
.cmp-row dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cmp-fig { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 830; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.cmp-t { font-weight: 650; color: var(--ink-3); }
.cmp-row dd { margin: 0; color: var(--ink-2); }
.cmp-row dd small { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--ink-3); }
.cmp-us { background: var(--mint); border-radius: var(--radius); padding: 22px 18px; border-top-color: transparent; margin-top: 10px; }
.cmp-us .cmp-fig { color: var(--teal); }
.cmp-us .cmp-t { color: var(--teal-700); }
.cmp-us dd { color: var(--ink); font-weight: 550; }

/* ---------- Offer ---------- */
.offer { background: var(--mint); }
.offer-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .offer-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } .offer-copy { position: sticky; top: 100px; } }
.ticket { background: var(--paper); border-radius: var(--radius-l); padding: 26px 20px 22px; box-shadow: var(--shadow-paper); border: 1px solid rgba(11, 59, 55, 0.08); }
@media (min-width: 640px) { .ticket { padding: 36px 36px 28px; } }
.ticket-badge { display: inline-block; font-size: 0.85rem; font-weight: 750; color: var(--sun-ink); background: var(--sun-soft); padding: 4px 12px; border-radius: 999px; }
.ticket-price { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.tp-num { font-size: clamp(3rem, 2.3rem + 3vw, 4.2rem); font-weight: 850; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tp-label { font-size: 1.15rem; font-weight: 700; color: var(--ink-2); }
.ticket-then { margin-top: 6px; font-weight: 650; color: var(--ink-2); padding-bottom: 20px; border-bottom: 2px dashed var(--line); }
.ticket-h { margin-top: 20px; font-size: 1.05rem; font-weight: 800; }
.ticket-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ticket-list li { display: flex; gap: 12px; align-items: flex-start; }
.ticket-list .i { color: var(--teal); margin-top: 3px; }
.ticket-terms { margin: 22px 0 16px; padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid var(--mint-2); background: var(--mint-50); display: grid; gap: 10px; font-weight: 650; font-size: 0.98rem; }
.ticket-terms p { display: flex; gap: 10px; align-items: flex-start; }
.ticket-terms .i { color: var(--teal); margin-top: 2px; }
.annual { margin-top: 10px; text-align: center; }
.annual .btn-link { font-size: 0.98rem; text-align: center; }
.secure { margin-top: 4px; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--ink-3); }
.secure .i { width: 15px; height: 15px; }
.soon { margin-top: 18px; padding: 18px; border-radius: var(--radius); background: var(--warn-bg); }
.soon-title { font-weight: 800; color: var(--sun-ink); outline-offset: 4px; }
.soon > p:not(.consent):not(.form-msg):not(.soon-title) { margin: 6px 0 12px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 750; font-size: 1.125rem; min-height: 64px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ic { width: 24px; height: 24px; color: var(--teal); transition: transform 0.2s; flex: none; }
.faq-list details[open] .faq-ic { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 42em; }

/* ---------- Footer ---------- */
.site-foot { background: var(--teal-900); color: var(--on-dark-2); padding: 48px 0 28px; font-size: 0.95rem; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } }
.logo-light { color: #fff; }
.logo-light:hover { color: #fff; }
.foot-brand p { margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.foot-fine { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 6px; font-size: 0.85rem; }

/* ---------- Legal pages ---------- */
.legal { padding: 40px 0 72px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 820; letter-spacing: -0.03em; margin-top: 14px; }
.legal .updated { margin-top: 8px; color: var(--ink-3); font-size: 0.9rem; }
.legal .lede { margin-top: 18px; }
.legal section { padding: 0; margin-top: 30px; }
.legal h2 { font-size: 1.3rem; font-weight: 780; letter-spacing: -0.01em; margin-bottom: 10px; }
.legal ul { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 6px; }
.legal section p + p { margin-top: 10px; }
.legal .owner { margin-top: 36px; color: var(--ink-3); font-size: 0.95rem; }
.legal .btn { margin-top: 20px; }
.draft-badge { display: inline-block; font-size: 0.85rem; font-weight: 750; color: var(--sun-ink); background: var(--sun-soft); padding: 4px 12px; border-radius: 999px; }

/* ---------- Job-seeker path: no offer funnel ---------- */
body.is-jobseeker .funnel { display: none !important; }

/* ---------- Print: the proposal only ---------- */
@media print {
  @page { size: letter; margin: 0.6in 0.65in; }
  html, body { background: #fff !important; font-size: 11pt; }
  body.has-proposal .site-head, body.has-proposal .site-foot, body.has-proposal .skip,
  body.has-proposal main > section:not(#tool),
  body.has-proposal #tool .wrap > :not(#step-out),
  body.has-proposal #step-out > :not(#proposal-doc) { display: none !important; }
  body.has-proposal #tool, body.has-proposal #tool .wrap, body.has-proposal #step-out, body.has-proposal #proposal-doc {
    background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; max-width: none !important;
  }
  body.has-proposal .pdoc { border: 0; box-shadow: none; padding: 0; font-size: 11pt; border-radius: 0; }
  body.has-proposal .pdoc .tr { display: none !important; }
  body.has-proposal .pdoc .pl { display: block !important; }
  body.has-proposal .pdoc-meta { grid-template-columns: 1.4fr 1fr; }
  body.has-proposal .pdoc-sign { grid-template-columns: 1fr 1fr; }
  body.has-proposal .scope-group, body.has-proposal .pdoc-sign, body.has-proposal .sign-block, body.has-proposal .pdoc-price { break-inside: avoid; }
  body.has-proposal .pdoc-h { break-after: avoid; }
  .freq { border: 1px solid #9bb; background: none !important; }
  a { color: inherit !important; text-decoration: none !important; }
}

/* ---------- Thank-you page ---------- */
.thanks { background: var(--mint); padding: 40px 0 72px; min-height: 60vh; }
@media (min-width: 900px) { .thanks { padding: 72px 0 104px; } }
.thanks-card { background: var(--paper); border-radius: var(--radius-l); padding: 30px 22px; box-shadow: var(--shadow-paper); border: 1px solid rgba(11, 59, 55, 0.08); }
@media (min-width: 640px) { .thanks-card { padding: 44px 48px; } }
.thanks-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.thanks-mark .i { width: 30px; height: 30px; stroke-width: 2.6; }
.thanks h1 { margin-top: 18px; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.7rem); font-weight: 820; letter-spacing: -0.03em; text-wrap: balance; }
.thanks .lede { margin-top: 10px; }
.thanks-list { list-style: none; margin: 26px 0 28px; padding: 0; display: grid; gap: 14px; }
.thanks-list li { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); }
.thanks-list li:first-child { border-top: 0; padding-top: 0; }
.thanks-list .i { color: var(--teal); margin-top: 3px; }
.thanks .btn { width: 100%; }
@media (min-width: 560px) { .thanks .btn { width: auto; } }
