@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/fonts/hanken-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/fonts/hanken-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/fonts/hanken-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue: #1F4E8C;
  --blue-dark: #163A69;
  --navy: #142238;
  --orange: #D4652A;
  --orange-btn: #C2541C;
  --orange-btn-hover: #A8461A;
  --sky: #8DB7E0;
  --mist: #F3F6F9;
  --white: #FFFFFF;
  --ink: #142238;
  --muted: #4A5A70;
  --line: #DCE4EE;
  --head: "Bricolage", "Hanken", system-ui, sans-serif;
  --body: "Hanken", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.1; }
h1, h2 { font-family: var(--head); font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); color: var(--blue); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--navy); color: #fff; padding: 10px 14px; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border-radius: 999px; font: 700 1.02rem var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-orange { background: var(--orange-btn); color: #fff; }
.btn-orange:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); } }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); font-family: var(--head); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.025em; white-space: nowrap; }
.logo:hover { color: var(--blue); }
.logo .mark { width: 42px; height: 42px; flex: none; }
.logo-dark, .logo-dark:hover { color: var(--mist); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(80vh, 720px); display: flex; align-items: center; padding: 96px 0 140px; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,28,50,.86) 0%, rgba(14,28,50,.62) 45%, rgba(14,28,50,.12) 85%), linear-gradient(0deg, rgba(14,28,50,.5) 0%, rgba(14,28,50,0) 40%); }
.hero-inner { width: 100%; }
.hero-kicker { display: inline-block; font-weight: 700; font-size: .98rem; color: #FFD2B5; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(212,101,42,.22); border: 1px solid rgba(255,190,150,.35); }
.hero h1 { max-width: 12.5em; color: #fff; text-wrap: balance; }
.hero-lede { font-size: 1.22rem; max-width: 33em; color: #E6ECF4; margin-top: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Fact strip */
.facts { list-style: none; margin: -72px 0 0; padding: 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: 0 18px 40px -18px rgba(20,34,56,.35), 0 0 0 1px var(--line); overflow: hidden; }
.facts li { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--blue); letter-spacing: -0.02em; line-height: 1.1; }
.facts span { color: var(--muted); font-size: .97rem; }

/* Sections */
.section { padding: 104px 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; padding: 30px 28px 32px; border-radius: 20px; background: var(--mist); position: relative; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font: 800 1.35rem var(--head); margin-bottom: 22px; }
.steps p { color: var(--muted); margin: 0; }

/* Price lock */
.lock { background: var(--blue); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.lock::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 2px dashed rgba(141,183,224,.35); }
.lock-inner { display: grid; grid-template-columns: 170px 1fr; gap: 48px; align-items: center; max-width: 980px; }
.seal svg { width: 170px; height: 170px; display: block; }
.lock h2 { color: #fff; }
.lock-lede { font-family: var(--head); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: #FFC9A6; line-height: 1.25; letter-spacing: -0.01em; }
.lock p:last-child { color: #DCE6F2; max-width: 40em; margin: 0; }

/* Land grid */
.land-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.land-grid li { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.land-grid h3 { margin: 16px 0 6px; }
.land-grid p { color: var(--muted); margin: 0; }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #FBEDE4; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.why .section-head { margin-bottom: 0; }
.why-list { margin: 0; display: grid; gap: 0; }
.why-list div { padding: 22px 0 22px 44px; border-bottom: 1px solid var(--line); position: relative; }
.why-list div:first-child { padding-top: 4px; }
.why-list div::before { content: ""; position: absolute; left: 0; top: 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.why-list div:first-child::before { top: 8px; }
.why-list dt { font-weight: 700; font-size: 1.15rem; }
.why-list dd { margin: 4px 0 0; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; max-width: 1040px; }
.about-photo { aspect-ratio: 1; border-radius: 28px; background: linear-gradient(160deg, #E4EDF7, #F9E3D5); display: flex; align-items: center; justify-content: center; }
.about-mark { width: 52%; height: auto; }
.about-role { color: var(--orange-btn); font-weight: 700; margin-top: -6px; }
.about p { max-width: 38em; }
.about-fine { font-size: .95rem; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq details { background: #fff; border-radius: 16px; margin-bottom: 12px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 26px; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--mist); color: var(--blue); font: 700 1.3rem/30px var(--body); text-align: center; }
.faq details[open] summary::after { content: "\2013"; background: var(--blue); color: #fff; }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--muted); max-width: 44em; }

/* Offer */
.offer { background: var(--navy); color: #fff; padding: 104px 0; position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; left: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(212,101,42,.28), rgba(212,101,42,0) 70%); }
.offer-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; position: relative; }
.offer h2 { color: #fff; }
.offer-copy > p { color: #CFDAE8; font-size: 1.12rem; max-width: 28em; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 20px; }
.contact-list li { color: #E6ECF4; }
.contact-list span { display: block; font-size: .88rem; color: var(--sky); font-weight: 600; }
.contact-list a { color: #fff; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #fff; }
.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 34px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
input, textarea { font: inherit; color: var(--ink); background: var(--mist); border: 1.5px solid #C9D4E2; border-radius: 12px; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); background: #fff; }
input::placeholder { color: #7B8798; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 4px 0 14px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--blue); }
.check label { font-weight: 400; font-size: .86rem; line-height: 1.5; color: #334155; }
.check:last-of-type { margin-bottom: 22px; }
.cf-turnstile { margin-bottom: 16px; }
.form-fine { font-size: .82rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.form-error { background: #FDEEE6; border: 1px solid var(--orange); color: #8A3510; padding: 12px 14px; border-radius: 12px; font-size: .95rem; }

/* Legal pages */
.doc { padding: 72px 0 104px; }
.doc-wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--blue); }
.doc h2 { font-size: 1.45rem; margin-top: 2em; letter-spacing: -0.015em; }
.doc-date { color: var(--muted); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc-center { text-align: center; padding: 120px 0; }
.doc-center .doc-wrap { display: flex; flex-direction: column; align-items: center; }
.big-mark { width: 88px; height: 88px; margin-bottom: 20px; }
.lede-c { color: var(--muted); font-size: 1.15rem; max-width: 32em; }

/* Footer */
.site-footer { background: #0F1A2B; color: #B9C6D8; padding: 64px 0 28px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 26em; }
.footer-h { font-family: var(--body); font-size: .95rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.site-footer p { line-height: 1.9; }
.site-footer a { color: #DCE6F2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8798AE; }

/* Responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
  .steps, .land-grid { grid-template-columns: 1fr 1fr; }
  .steps li:last-child { grid-column: span 2; }
  .why, .offer-grid { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 240px 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .header-inner { min-height: 64px; gap: 12px; }
  .logo { font-size: 1.2rem; }
  .logo .mark { width: 34px; height: 34px; }
  .btn-sm { padding: 0 16px; min-height: 40px; font-size: .88rem; }
  .hero { padding: 64px 0 120px; min-height: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(14,28,50,.45) 0%, rgba(14,28,50,.7) 55%, rgba(14,28,50,.8) 100%); }
  .hero-img { object-position: 62% center; }
  .hero-lede { font-size: 1.08rem; }
  .actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: -64px; }
  .facts li { padding: 20px 12px; }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section, .offer { padding: 72px 0; }
  .steps, .land-grid { grid-template-columns: 1fr; }
  .steps li:last-child { grid-column: auto; }
  .lock { padding: 64px 0; }
  .lock-inner { grid-template-columns: 1fr; gap: 24px; }
  .seal svg { width: 110px; height: 110px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { width: 180px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 18px; border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.about-photo { overflow: hidden; background: none; aspect-ratio: auto; max-width: 310px; border-radius: 24px; box-shadow: 0 20px 40px -24px rgba(20,34,56,.5); }
.about-photo img { width: 100%; height: auto; display: block; }

/* Interaction feedback */
html { -webkit-tap-highlight-color: transparent; }
.logo { padding: 6px 14px 6px 6px; margin-left: -6px; border-radius: 999px; transition: background-color .18s ease, color .18s ease, transform .12s ease, box-shadow .18s ease; }
.logo .mark { transition: transform .35s cubic-bezier(.3,.7,.4,1.4); }
.logo:hover, .logo:focus-visible { background: #E2EBF6; color: var(--blue-dark); box-shadow: inset 0 0 0 1px #C7D7EB; }
.logo:hover .mark, .logo:focus-visible .mark { transform: rotate(-10deg) scale(1.06); }
.logo:active { background: #D0DEEF; transform: scale(.96); }
.logo-dark:hover, .logo-dark:focus-visible { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.logo-dark:active { background: rgba(255,255,255,.18); }
.nav a { padding: 6px 2px; }
.btn:active { transform: scale(.97); }
.faq details { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.faq summary { border-radius: 15px; transition: background-color .18s ease, color .18s ease; }
.faq summary::after { transition: background-color .18s ease, color .18s ease, transform .2s ease; }
.faq details:hover { border-color: var(--sky); box-shadow: inset 4px 0 0 var(--orange), 0 10px 24px -16px rgba(31,78,140,.55); transform: translateY(-1px); }
.faq details[open] { border-color: var(--sky); box-shadow: inset 4px 0 0 var(--orange); }
.faq summary:hover { background: #EEF4FB; color: var(--blue); }
.faq summary:hover::after { background: var(--blue); color: #fff; transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary:hover::after { transform: translateY(-50%); }
.faq summary:active { background: #E2EBF6; }
.faq summary:focus-visible { outline-offset: -3px; }
.check-opt { font-weight: 700; color: var(--ink); }
.form-agree { font-size: .86rem; color: #334155; margin: 14px 0 0; line-height: 1.5; text-align: center; }
@media (hover: none) {
  .faq details:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .logo, .logo .mark, .faq details, .faq summary, .faq summary::after { transition: none; }
  .logo:hover .mark, .logo:focus-visible .mark, .faq details:hover { transform: none; }
  .btn:active, .logo:active { transform: none; }
}
.field-row-apn { grid-template-columns: 1.6fr 1fr; }
.field-row-apn + .field-hint { margin: -10px 0 16px; font-size: .82rem; color: var(--muted); }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 680px) { .field-row-apn { grid-template-columns: 1fr; } .field-row-apn + .field-hint { margin-top: -8px; } }

/* Form validation */
.field.is-invalid label { color: #B42318; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #D92D20; background: #FFF6F5; box-shadow: 0 0 0 3px rgba(217,45,32,.12); }
.field.is-invalid input:focus { outline-color: #D92D20; }
.field-error { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; color: #B42318; font-size: .86rem; font-weight: 600; line-height: 1.35; }
.field-error::before { content: "!"; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #D92D20; color: #fff; font-size: .7rem; font-weight: 800; line-height: 16px; text-align: center; }
.field-error[hidden] { display: none; }
/* Fallback when JavaScript is off: browsers flag fields after the person interacts. */
input:user-invalid { border-color: #D92D20; background: #FFF6F5; }
.btn[disabled] { opacity: .75; cursor: progress; }
