:root {
  --paper: #f4f5f5;
  --ink: #101a2a;
  --mint: #69e2c3;
  --mist: #c8d0d8;
  --muted: #536073;
  --panel: #0c1727;
  --panel-soft: #122136;
  --danger: #a22929;
  --radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body { margin: 0; min-width: 320px; }

button, input, textarea { font: inherit; }

button { cursor: pointer; }

button:disabled { cursor: wait; }

.intake-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); }

.brief-panel { padding: 40px clamp(40px, 7.3vw, 112px) 72px; background: var(--paper); }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: 0; text-decoration: none; }

.brand-mark { display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--ink); }

.returning-link { padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: 15px; line-height: 1.2; }

.returning-link span { color: #3b907f; }

.form-wrap { width: min(100%, 624px); margin: clamp(64px, 9.2vh, 104px) auto 0; }

h1, h2, p { margin: 0; }

h1 { max-width: 540px; font-size: clamp(48px, 4.45vw, 68px); font-weight: 750; letter-spacing: 0; line-height: .94; }

.lede { margin-top: 18px; color: var(--muted); font-size: 19px; line-height: 1.35; }

form { margin-top: 22px; }

.field-group { position: relative; }

textarea, input { width: 100%; border: 1px solid var(--mist); border-radius: var(--radius); outline: none; background: rgba(255, 255, 255, .42); color: var(--ink); font-size: 15px; line-height: 1.42; transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease; }

textarea::placeholder, input::placeholder { color: #728093; opacity: 1; }

textarea { display: block; min-height: 312px; resize: vertical; padding: 20px 18px 32px; }

input { height: 49px; padding: 0 16px 0 47px; }

textarea:focus, input:focus { border-color: #347d70; background: #fff; box-shadow: 0 0 0 3px rgba(105, 226, 195, .31); }

[aria-invalid="true"] { border-color: var(--danger); }

.character-count { position: absolute; right: 12px; bottom: 11px; color: #708095; font-size: 12px; }

.email-group { margin-top: 20px; }

.email-icon { position: absolute; z-index: 1; top: 16px; left: 16px; width: 17px; height: 13px; border: 1.5px solid #6d7c8e; border-radius: 1px; pointer-events: none; }

.email-icon::after { position: absolute; top: 1px; left: 2px; width: 10px; height: 6px; border-bottom: 1.5px solid #6d7c8e; content: ""; transform: rotate(-30deg); }

.field-error { min-height: 0; margin: 0; color: var(--danger); font-size: 13px; line-height: 1.25; }

.field-error:not(:empty) { margin-top: 7px; }

.button { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 49px; border-radius: var(--radius); font-size: 14px; font-weight: 700; line-height: 1; transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease; }

.button:hover:not(:disabled) { transform: translateY(-1px); }

.button:focus-visible, .returning-link:focus-visible, .brand:focus-visible { outline: 3px solid rgba(35, 176, 146, .55); outline-offset: 3px; }

.button-primary { position: relative; margin-top: 10px; border: 1px solid var(--ink); background: var(--ink); color: white; }

.button-primary:hover:not(:disabled) { background: #1b2a40; }

.button-primary:disabled { opacity: .72; }

.button-arrow { position: absolute; right: 17px; font-size: 24px; font-weight: 400; }

.divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 17px; align-items: center; margin: 22px 0 20px; color: var(--muted); font-size: 12px; }

.divider::before, .divider::after { height: 1px; background: #d7dce1; content: ""; }

.button-google { gap: 14px; border: 1px solid var(--mist); background: rgba(255, 255, 255, .4); color: var(--ink); }

.button-google:hover:not(:disabled) { border-color: #8da0b2; background: #fff; }

.google-mark { color: #4285f4; font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: 700; }

.form-message { margin-top: 16px; border-left: 3px solid #347d70; padding: 10px 12px; background: #e0f5ee; color: #173e36; font-size: 14px; line-height: 1.4; }

.form-message.is-error { border-left-color: var(--danger); background: #faeaea; color: #6e1d1d; }

.preview-link { color: inherit; font-weight: 750; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.preview-link:hover { text-decoration-thickness: 2px; }

.auth-dialog { width: min(calc(100% - 32px), 500px); max-height: calc(100vh - 32px); margin: auto; border: 0; border-radius: 8px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 28px 80px rgba(4, 12, 24, .35); }

.auth-dialog::backdrop { background: rgba(5, 15, 28, .7); backdrop-filter: blur(3px); }

.auth-dialog-card { position: relative; padding: 38px; }

.auth-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 27px; line-height: 1; }

.auth-close:hover { background: #e7eaec; color: var(--ink); }

.auth-kicker { color: #347d70; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.auth-dialog h2 { margin-top: 10px; font-size: 30px; line-height: 1.08; }

.auth-copy { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.45; }

.auth-dialog form { display: grid; gap: 15px; margin-top: 25px; }

.auth-dialog label { display: block; margin-bottom: 7px; color: #2a3648; font-size: 13px; font-weight: 700; }

.auth-dialog label span { color: var(--muted); font-weight: 400; }

.auth-dialog input { height: 48px; padding: 0 14px; background: #fff; }

.auth-submit { margin-top: 2px; }

.auth-error { border-left: 3px solid var(--danger); padding: 9px 11px; background: #faeaea; color: #6e1d1d; font-size: 13px; line-height: 1.35; }

.auth-switch { margin-top: 19px; color: var(--muted); font-size: 13px; text-align: center; }

.auth-switch button { border: 0; padding: 0; background: transparent; color: #347d70; font-weight: 700; }

.compact-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 25px; border: 1px solid #dfe3e7; border-radius: var(--radius); padding: 18px 22px; }

.compact-assurances > div { display: grid; grid-template-columns: 28px 1fr; gap: 9px; align-items: start; }

.compact-assurances p { color: var(--muted); font-size: 11.5px; line-height: 1.36; }

.compact-assurances strong { color: #2a3648; font-size: 12px; }

.assurance-icon { position: relative; display: block; width: 22px; height: 22px; color: #66ab9c; }

.shield { border: 2px solid currentColor; border-radius: 11px 11px 8px 8px; clip-path: polygon(50% 0, 100% 18%, 88% 76%, 50% 100%, 12% 76%, 0 18%); }

.lock { width: 20px; height: 16px; margin-top: 7px; border: 2px solid currentColor; border-radius: 2px; }

.lock::before { position: absolute; top: -10px; left: 3px; width: 10px; height: 10px; border: 2px solid currentColor; border-bottom: 0; border-radius: 9px 9px 0 0; content: ""; }

.check { border: 2px solid currentColor; border-radius: 50%; }

.check::after { position: absolute; top: 5px; left: 4px; width: 10px; height: 5px; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; content: ""; transform: rotate(-45deg); }

.workflow-panel { min-height: 100%; background: var(--panel); color: #f4f7fa; }

.workflow-inner { width: min(100%, 500px); margin: 0 auto; padding: clamp(88px, 13vh, 134px) 40px 60px; }

.section-label { color: var(--mint); font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }

.steps { margin: 35px 0 0; padding: 0; list-style: none; }

.steps li { position: relative; display: grid; grid-template-columns: 55px 1fr; gap: 22px; min-height: 150px; }

.steps li:not(:last-child)::after { position: absolute; top: 56px; left: 27px; width: 1px; height: 90px; background: #536377; content: ""; }

.step-number { display: grid; width: 55px; height: 55px; place-items: center; border: 1px solid #627085; border-radius: 50%; color: var(--mint); font-size: 18px; font-weight: 700; }

.steps h2 { margin: 10px 0 9px; font-size: 21px; font-weight: 700; letter-spacing: 0; line-height: 1.16; }

.steps p { max-width: 290px; color: #c7ced8; font-size: 15px; line-height: 1.42; }

.promise-box { margin-top: 6px; border: 1px solid #526177; border-radius: var(--radius); padding: 28px 25px 23px; }

.promise-box p { display: flex; align-items: center; gap: 10px; min-height: 39px; color: #eef1f5; font-size: 17px; line-height: 1.28; }

.promise-box strong { font-weight: 700; }

.promise-icon { position: relative; width: 25px; height: 25px; flex: 0 0 25px; color: var(--mint); }

.eye { border: 2px solid currentColor; border-radius: 100% 0; transform: rotate(45deg) scale(.78); }

.eye::after { position: absolute; top: 6px; left: 6px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; content: ""; }

.calculator { border: 2px solid currentColor; }

.calculator::before { position: absolute; top: 4px; left: 4px; width: 13px; height: 5px; border: 1px solid currentColor; content: ""; }

.calculator::after { position: absolute; bottom: 4px; left: 4px; width: 13px; height: 7px; background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 5px); content: ""; }

.prohibit { border: 2px solid currentColor; border-radius: 50%; }

.prohibit::after { position: absolute; top: 10px; left: -2px; width: 25px; border-top: 2px solid currentColor; content: ""; transform: rotate(-45deg); }

.code::before, .code::after { position: absolute; top: 4px; color: currentColor; font-size: 24px; font-weight: 400; line-height: 1; }

.code::before { left: 0; content: "</"; }

.code::after { right: -1px; content: ">"; }

.fee-note { display: block !important; min-height: auto !important; margin-top: 14px; padding-top: 14px; border-top: 1px solid #3f5067; color: #b5c0cd !important; font-size: 12px !important; line-height: 1.42 !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 880px) {
  .intake-shell { display: block; }
  .brief-panel { padding: 28px 28px 42px; }
  .form-wrap { margin-top: 58px; }
  .workflow-inner { width: min(100%, 624px); padding: 56px 28px 52px; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps li { display: block; min-height: 0; }
  .steps li:not(:last-child)::after { top: 27px; left: 55px; width: calc(100% - 55px); height: 1px; }
  .steps h2 { margin-top: 18px; font-size: 18px; }
  .steps p { font-size: 14px; }
  .promise-box { margin-top: 42px; }
}

@media (max-width: 560px) {
  .brief-panel { padding: 24px 20px 32px; }
  .site-header { min-height: 42px; }
  .brand { gap: 9px; font-size: 18px; }
  .brand-mark { width: 40px; height: 40px; }
  .returning-link { font-size: 13px; text-align: right; }
  .form-wrap { margin-top: 48px; }
  h1 { font-size: 46px; }
  .lede { margin-top: 14px; font-size: 16px; }
  form { margin-top: 18px; }
  textarea { min-height: 245px; padding: 15px 14px 30px; font-size: 14px; }
  .compact-assurances { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .workflow-inner { padding: 42px 20px; }
  .section-label { font-size: 13px; }
  .steps { display: block; margin-top: 27px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; min-height: 128px; }
  .steps li:not(:last-child)::after { top: 44px; left: 21px; width: 1px; height: 76px; }
  .step-number { width: 44px; height: 44px; font-size: 14px; }
  .steps h2 { margin: 6px 0 7px; font-size: 19px; }
  .steps p { font-size: 14px; }
  .promise-box { margin-top: 3px; padding: 18px 15px; }
  .promise-box p { grid-template-columns: 32px 1fr; min-height: 36px; font-size: 15px; }
  .auth-dialog-card { padding: 32px 22px 25px; }
  .auth-dialog h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
