:root {
  color-scheme: light;
  --paper: #f9f5ee;
  --white: #fffcf7;
  --ink: #2e192c;
  --muted: #665960;
  --accent: #a54432;
  --accent-hot: #f3a48f;
  --accent-light: #f9e2d8;
  --border: #ded2c8;
  --plum-line: #634259;
  --heading: "Bricolage Grotesque", "Arial", sans-serif;
  --body: "DM Sans", "Arial", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden], .symbols { display: none !important; }
html { scroll-behavior: smooth; }
body { min-width: 280px; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.55; }
input, select, textarea, button { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.62; }
a { color: inherit; }
img { max-width: 100%; display: block; }
p, h1, h2, h3 { margin-top: 0; }
::selection { background: var(--accent-hot); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.container { max-width: 1280px; width: calc(100% - 120px); margin-inline: auto; }
.icon { width: 1.18em; height: 1.18em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 9px 15px; color: white; background: var(--ink); border-radius: 5px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--border); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; gap: 9px; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; background: var(--accent-hot); color: var(--ink); border-radius: 12px; }
.brand-mark .icon { width: 30px; height: 30px; stroke-width: 1.9; }
.brand-type { font-family: var(--heading); font-size: 1.64rem; font-weight: 800; letter-spacing: -0.077em; line-height: 1; }
.brand-type span { font-weight: 500; }
.brand-type b { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 44px); }
.site-nav > a { text-decoration: none; font-size: 0.9rem; font-weight: 700; }
.site-nav > a:not(.button):hover { color: var(--accent); }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; padding: 13px 20px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.98rem; line-height: 1.25; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.button-small { min-height: 43px; padding: 10px 15px; }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--paper); background: var(--ink); }
.button-primary { color: #fff; background: #a54432; }
.button-primary:hover { background: #8d3628; }
.button-primary:focus-visible { outline-color: var(--ink); }
.text-action, .back-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border: 0; padding: 0; background: none; color: inherit; text-decoration: none; font-weight: 700; line-height: 1.35; }
.text-action:hover, .back-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.inline-link { display: inline; appearance: none; padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 700; }
.inline-link:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); align-items: center; gap: clamp(35px, 5vw, 82px); padding-block: 51px 57px; }
.hero-copy { padding-block: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 19px; color: var(--accent); font-size: 0.77rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.status-dot { height: 8px; width: 8px; flex-shrink: 0; background: currentColor; border-radius: 50%; }
.hero h1, h2, .application h1, .privacy-page h1 { font-family: var(--heading); letter-spacing: -0.065em; font-weight: 750; }
.hero h1 { margin-bottom: 24px; font-size: clamp(4rem, 6.4vw, 6.5rem); line-height: 0.95; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-description { max-width: 445px; margin-bottom: 28px; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 23px; }
.hero-actions .button { min-width: 153px; }
.hero-actions .text-action { font-size: 0.94rem; }
.hero-note { margin: 12px 0 0; color: var(--muted); font-size: 0.81rem; }
.hero-visual { overflow: hidden; position: relative; aspect-ratio: 1.05; min-width: 0; isolation: isolate; border-radius: 126px 12px 12px 12px; background: #e8b29a; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.photo-decoration { position: absolute; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 5px; padding: 14px; background: var(--accent-hot); border-radius: 13px 0 0 0; }
.photo-decoration span { display: block; width: 5px; height: 13px; background: var(--ink); border-radius: 2px; }
.photo-decoration span:nth-child(2) { height: 19px; }
.photo-decoration span:nth-child(3) { height: 25px; }

.process-section { padding-block: 69px 73px; background: var(--ink); color: var(--paper); }
.section-heading h2, .cta-inner h2 { margin-bottom: 0; font-size: clamp(2.65rem, 4.45vw, 4.5rem); line-height: 1; }
.process-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 36px; }
.process-heading .eyebrow { color: var(--accent-hot); }
.process-heading > p { max-width: 355px; margin-bottom: 0; color: #dfcfd8; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.process-card { padding: clamp(20px, 2.5vw, 35px); border: 1px solid var(--plum-line); border-radius: 12px; background: #3c2538; }
.tile-icon { display: inline-grid; width: 47px; height: 47px; flex-shrink: 0; place-items: center; border-radius: 11px; background: var(--accent-light); color: var(--accent); }
.tile-icon .icon { width: 23px; height: 23px; }
.process-card .tile-icon { background: var(--accent-hot); color: var(--ink); }
.process-card h3 { margin: 20px 0 6px; font-family: var(--heading); font-weight: 660; font-size: clamp(1.15rem, 1.6vw, 1.48rem); letter-spacing: -0.028em; line-height: 1.2; }
.process-card p { margin-bottom: 0; color: #e0d0db; }

.faq-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 35px; padding-block: 96px 91px; }
.faq-intro .text-action { margin-top: 24px; color: var(--accent); }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; cursor: pointer; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--accent); transition: transform 160ms ease; }
details[open] > summary .icon { transform: rotate(45deg); }
.faq-list summary { min-height: 68px; padding-block: 12px; font-size: 1.08rem; }
.faq-list details p { margin: 0; padding: 0 32px 20px 0; color: var(--muted); }
.final-cta { padding-bottom: 61px; }
.cta-inner { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding: clamp(26px, 4.25vw, 62px); border-radius: 17px; background: var(--accent-light); }
.cta-inner p { margin: 12px 0 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 111px; display: flex; justify-content: space-between; align-items: center; gap: 12px 26px; flex-wrap: wrap; padding-block: 20px; }
.footer-inner .brand-mark { width: 33px; height: 33px; border-radius: 9px; }
.footer-inner .brand-mark .icon { width: 25px; height: 25px; }
.footer-inner .brand-type { font-size: 1.46rem; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.footer-inner .inline-link { font-size: 0.88rem; }

.application, .privacy-page { min-height: calc(100vh - 196px); padding-block: 40px 76px; }
.application > .back-link, .privacy-page > .back-link { margin-bottom: 32px; color: var(--muted); font-size: 0.91rem; }
.application-layout { display: grid; grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr); align-items: start; gap: clamp(24px, 6vw, 90px); }
.application-aside { padding-top: 16px; }
.application h1, .privacy-page h1 { margin-bottom: 13px; font-size: clamp(2.95rem, 4.9vw, 5.35rem); line-height: 1; }
.application-lede { max-width: 310px; margin-bottom: 31px; color: var(--muted); }
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-weight: 600; color: var(--muted); }
.no-intake .steps { display: none; }
.steps li { display: flex; min-height: 53px; align-items: center; gap: 11px; }
.step-index { display: inline-grid; position: relative; width: 34px; height: 34px; flex-shrink: 0; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--paper); font-size: 0.9rem; }
.steps li + li .step-index::before { content: ""; position: absolute; top: -20px; left: 15px; width: 1px; height: 19px; background: var(--border); }
.steps li[aria-current] { color: var(--ink); font-weight: 750; }
.steps li[aria-current] .step-index { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.steps li.complete .step-index { border-color: var(--accent-light); background: var(--accent-light); color: var(--accent); }
.step-index .icon { width: 17px; height: 17px; }
.form-panel, .privacy-content { min-width: 0; width: 100%; padding: clamp(24px, 3.5vw, 46px); border: 1px solid var(--border); border-radius: 19px; background: var(--white); box-shadow: 0 16px 48px #54301c0c; }
.step-caption { margin: 0 0 7px; color: var(--accent); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; }
.form-step h2 { margin: 0 0 10px; font-size: clamp(2.05rem, 3.5vw, 3.45rem); line-height: 1; }
.form-step h2:focus { outline: none; }
.form-intro { margin: 0 0 25px; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.field { display: grid; min-width: 0; gap: 6px; align-content: start; font-size: 0.92rem; font-weight: 700; }
.field small, legend small { color: var(--muted); font-size: 0.86em; font-weight: 500; }
.field input, .field select, .field textarea { display: block; min-width: 0; width: 100%; min-height: 49px; padding: 10px 11px; border: 1px solid #cdbeb6; border-radius: 7px; background: var(--white); color: var(--ink); font-size: 1rem; font-weight: 500; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #74666b; font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline-offset: 1px; outline: 1px solid var(--accent); }
.field .invalid { border-color: var(--accent); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin: 0 0 11px; font-family: var(--heading); font-size: 1.13rem; font-weight: 700; }
.address-block + .address-block { margin-top: 26px; }
.address-block + .address-block legend { padding-top: 21px; }
.address-block + .address-block { border-top: 1px solid var(--border); }
.operation-block legend { margin-bottom: 1px; font-family: var(--body); font-size: 0.92rem; }
.operation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.form-hint { margin: 0 0 8px; color: var(--muted); font-size: 0.86rem; }
.check-field { display: flex; align-items: flex-start; gap: 8px; font-size: 0.91rem; line-height: 1.46; }
.check-field input, .method-card input { width: 16px; height: 16px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.method-list { display: grid; gap: 10px; margin-bottom: 17px; }
.method-card { display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: 12px; padding: 14px; border: 1px solid #cdbeb6; border-radius: 9px; cursor: pointer; }
.method-card:hover, .method-card:has(input:checked) { border-color: var(--accent); }
.method-card:has(input:checked) { background: #fcf0e9; }
.method-card .tile-icon { width: 36px; height: 36px; border-radius: 8px; }
.method-card .tile-icon .icon { width: 19px; height: 19px; }
.method-card input { margin-top: 0; }
.method-card strong, .method-card small { display: block; }
.method-card small { color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.review-card { border-block: 1px solid var(--border); }
.review-card summary { padding: 12px 0; font-size: 0.91rem; }
.review-card dl { display: grid; grid-template-columns: minmax(100px, auto) 1fr; gap: 6px 15px; margin: 0 0 13px; font-size: 0.88rem; }
.review-card dt { color: var(--muted); font-weight: 700; }
.review-card dd { min-width: 0; overflow-wrap: anywhere; margin: 0; }
.privacy-check { margin-top: 17px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 13px; margin-top: 28px; }
.form-actions > :only-child { margin-left: auto; }
.form-actions .back-link { font-size: 0.91rem; }
.form-message { padding: 9px 12px; margin: 17px 0 0; border-radius: 6px; background: var(--accent-light); color: #853525; font-size: 0.92rem; font-weight: 600; }
.form-message[data-message-kind="info"] { color: var(--ink); background: #f3e9e1; }
.confirm-icon, .success-icon, #paused .tile-icon { margin-bottom: 19px; }
.success-icon { color: #245b42; background: #e4efe4; }
.otp-field { max-width: 300px; }
.otp-field input { height: 58px; text-align: center; font-family: monospace; font-size: 1.55rem; letter-spacing: 0.35em; }
.otp-field input::placeholder { color: #8a7d82; }
#code-expiry { margin-top: 7px; }
#verification .form-actions > :only-child, #paused .form-actions > :only-child { margin-left: 0; }
.verify-helpers { display: flex; flex-wrap: wrap; gap: 8px 19px; margin-top: 21px; font-size: 0.91rem; }
.verify-helpers button:disabled { cursor: default; }
.protocol { display: inline-block; margin-bottom: 0; padding: 8px 11px; border-radius: 6px; color: var(--muted); background: var(--paper); font-size: 0.88rem; word-break: break-word; }
.protocol strong { color: var(--ink); }
.success-actions { justify-content: flex-start; gap: 19px; }
.success-actions .back-link { margin-left: 0; }
.privacy-content { max-width: 790px; margin-inline: auto; }
.privacy-content .tile-icon { margin-bottom: 18px; }
.privacy-content p { color: var(--muted); }
.privacy-content p:last-child { margin-bottom: 0; }
.privacy-content a { color: var(--accent); }

@media (max-width: 1100px) {
  .container { width: calc(100% - 88px); }
  .hero { gap: 31px; }
  .hero h1 { font-size: clamp(3.6rem, 6.5vw, 5.75rem); }
}

@media (max-width: 850px) {
  .container { width: calc(100% - 58px); }
  .hero { grid-template-columns: 1.15fr 1fr; gap: 23px; }
  .hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
  .hero-visual { border-top-left-radius: 93px; aspect-ratio: 0.85; }
  .hero-actions { gap: 13px; }
  .process-heading { align-items: start; flex-direction: column; gap: 12px; }
  .process-heading > p { max-width: 500px; }
  .application-layout { grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr); }
  .steps li { font-size: 0.9rem; }
}

@media (max-width: 670px) {
  .container { width: calc(100% - 36px); }
  .nav-wrap { min-height: 66px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand-mark .icon { width: 26px; height: 26px; }
  .brand-type { font-size: 1.49rem; }
  .site-nav > a:not(.button) { display: none; }
  .site-nav > .button { padding-inline: 12px; font-size: 0.81rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 30px 38px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { max-width: 570px; font-size: clamp(3.05rem, 11vw, 5.25rem); margin-bottom: 17px; }
  .hero-description { margin-bottom: 21px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-visual { aspect-ratio: 1.2; border-top-left-radius: 82px; }
  .hero-visual img { object-position: 50% 44%; }
  .process-section { padding-block: 40px; }
  .process-heading { margin-bottom: 22px; }
  .process-grid { grid-template-columns: 1fr; gap: 9px; }
  .process-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 13px; padding: 15px; }
  .process-card .tile-icon { grid-row: span 2; width: 42px; height: 42px; }
  .process-card h3 { margin: 0; }
  .process-card p { font-size: 0.89rem; }
  .faq-section { grid-template-columns: 1fr; gap: 20px; padding-block: 43px 41px; }
  .faq-intro .text-action { margin-top: 13px; }
  .faq-list summary { min-height: 57px; font-size: 1rem; }
  .final-cta { padding-bottom: 36px; }
  .cta-inner { flex-wrap: wrap; justify-content: flex-start; }
  .footer-inner { min-height: auto; justify-content: flex-start; }
  .footer-inner p { order: 1; flex-basis: 100%; }
  .footer-inner .inline-link { margin-left: auto; }
  .application, .privacy-page { padding-block: 23px 40px; }
  .application > .back-link, .privacy-page > .back-link { margin-bottom: 19px; }
  .application-layout { grid-template-columns: 1fr; gap: 18px; }
  .application-aside { padding-top: 0; }
  .application-lede { max-width: 400px; margin-bottom: 16px; }
  .steps { display: flex; gap: 8px; }
  .steps li { gap: 7px; min-height: auto; }
  .steps li:not([aria-current]) > span + span { display: none; }
  .steps li[aria-current] { flex-grow: 1; }
  .steps li + li .step-index::before { display: none; }
  .step-index { width: 29px; height: 29px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(2.7rem, 11vw, 3.4rem); }
  .hero-visual { aspect-ratio: 1.06; }
  .form-panel, .privacy-content { padding: 18px; border-radius: 13px; }
  .fields, .operation-grid { grid-template-columns: 1fr; gap: 11px; }
  .method-card { grid-template-columns: auto 1fr; }
  .method-card .tile-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
