@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --paper: #f6f2ea;
  --paper-2: #efe8dc;
  --card: #fffdf8;
  --ink: #23302a;
  --muted: #5a645d;
  --accent: #2f5d4a;
  --warm: #b8653b;
  --line: #ddd5c7;
  --soft: #e7ecdf;
  --serif: "Iowan Old Style", "Charter", "Palatino Linotype", Palatino, Georgia, "Noto Serif", serif;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; font-size: 17px; line-height: 1.65; background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
h3 { line-height: 1.25; letter-spacing: -.02em; font-weight: 620; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 12px; padding: 12px 20px; background: var(--card); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 18px; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.brand strong { font-weight: 650; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.site-header nav a { min-height: 44px; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.nav-contact { font-weight: 650; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lang-switch > * { min-width: 38px; min-height: 36px !important; display: inline-flex; align-items: center; justify-content: center; padding-inline: 8px; border-radius: 999px; }
.lang-current { background: var(--ink); color: var(--paper); }
.site-header nav .lang-switch a:hover { background: var(--soft); text-decoration: none; }
.eyebrow { font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--warm); }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; padding-block: 48px 88px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 72px); margin-top: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 20px; line-height: 1.6; max-width: 520px; margin-block: 26px 32px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 15px 24px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 550; text-decoration: none; transition: background .15s ease; }
.button:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; }
.text-link { font-size: 15px; font-weight: 550; min-height: 44px; display: inline-flex; align-items: center; }
.portrait { position: relative; isolation: isolate; }
.portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--soft); border-radius: 24px; z-index: -1; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 20px; box-shadow: 0 18px 40px -24px rgb(35 48 42 / .45); }
.portrait figcaption { position: absolute; bottom: 18px; left: 18px; display: grid; background: var(--card); border-radius: 12px; padding: 9px 15px; font-size: 12px; line-height: 1.4; color: var(--muted); box-shadow: 0 6px 20px -12px rgb(35 48 42 / .5); }
.portrait figcaption strong { color: var(--ink); font-size: 14px; font-weight: 620; }

.section-heading { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 32px; }
.offer.wrap { width: 100%; }
.offer { padding-block: 72px; background: var(--paper-2); padding-inline: max(48px, calc((100% - 1120px) / 2)); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 36px 38px 38px; }
.offer h3 { margin-top: 12px; font-size: 26px; }
.offer article p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.offer ul { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.offer li { position: relative; padding-left: 26px; font-size: 16px; }
.offer li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--soft); border: 2px solid var(--accent); }
.anchor-alias { display: block; height: 0; }
.nowrap { white-space: nowrap; }

.approach { padding-block: 80px 24px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 20px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 15px; color: var(--warm); margin-bottom: 10px; }
.steps h3 { font-size: 21px; }
.steps p { margin-top: 8px; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; padding-block: 72px; }
.about h2 { font-size: clamp(36px, 4vw, 48px); margin-top: 12px; }
.about-text { display: grid; gap: 16px; }
.about-text p { color: var(--muted); max-width: 640px; }
.about-text p:first-of-type { color: var(--ink); font-size: 19px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 4px; }

.contact { padding-block: 8px 56px; }
.contact-panel { background: var(--accent); color: #f6f2ea; border-radius: 24px; padding: 56px 64px; }
.contact-panel .eyebrow { color: #f2c9a8; }
.contact h2 { font-size: clamp(34px, 4vw, 52px); margin-block: 16px 20px; }
.contact p:not(.eyebrow) { max-width: 620px; color: #dfe7de; }
.contact p:not(.eyebrow) + p { margin-top: 14px; }
.contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; margin-top: 30px; }
.contact-links a { padding-block: 8px; }
.email-link { display: inline-flex; align-items: center; background: #f6f2ea; color: var(--ink); border-radius: 999px; padding: 14px 24px !important; font-weight: 600; font-size: 18px; text-decoration: none; }
.email-link:hover { background: #fff; }
.email-link span { margin-left: 10px; }
.phone-link { font-size: 17px; font-weight: 550; }
.contact a:focus-visible { outline-color: #f6f2ea; }
.site-footer { padding-block: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; }
.legal-page { max-width: 780px; padding-block: 58px 70px; }
.legal-hero h1 { font-size: 48px; margin-block: 12px 18px; }
.legal-hero > p { color: var(--muted); }
.legal-card { margin-top: 40px; }
.legal-card h2 { font-size: 26px; margin-block: 36px 14px; }
.legal-card p + p { margin-top: 14px; }
.legal-card a { overflow-wrap: anywhere; }
.not-found { min-height: 65vh; padding-block: 90px; }
.not-found h1 { font-size: clamp(34px, 5vw, 58px); margin-block: 20px; }
.not-found p { max-width: 500px; }
.not-found .button { margin-top: 30px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 40px; padding-block: 36px 64px; }
  .lead { font-size: 18px; }
  .offer { padding-inline: 28px; }
  .offer-grid { gap: 20px; }
  .card { padding: 30px; }
  .steps { gap: 24px; }
  .about { gap: 32px; }
  .contact-panel { padding: 44px; }
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .portrait { max-width: 460px; }
  .offer-grid, .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 116px; padding-block: 18px 4px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .brand { font-size: 17px; }
  .brand img { width: 27px; height: 32px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 16px; font-size: 14px; }
  .site-header { position: relative; }
  .site-header nav a { white-space: nowrap; }
  .lang-switch { position: absolute; top: 14px; right: 0; font-size: 12px; }
  .lang-switch > * { min-width: 34px; min-height: 32px !important; padding-inline: 6px; }
  .hero { gap: 36px; padding-block: 24px 56px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 52px); margin-top: 14px; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .06em; }
  .lead { font-size: 17px; margin-block: 18px 24px; }
  .hero-actions { gap: 6px 24px; }
  .button { padding: 14px 20px; font-size: 15px; }
  .portrait::before { inset: 14px -10px -14px 14px; }
  .portrait img { aspect-ratio: 4 / 4.4; object-position: center 22%; }
  .offer { padding-block: 48px; padding-inline: 16px; }
  .card { padding: 26px 22px; border-radius: 14px; }
  .offer h3 { font-size: 23px; }
  .approach { padding-block: 52px 8px; }
  .about { padding-block: 48px; }
  .about-text p:first-of-type { font-size: 17px; }
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .contact { padding-block: 0 24px; }
  .contact-panel { padding: 34px 22px; border-radius: 18px; }
  .contact h2 { font-size: 34px; }
  .contact-links { display: grid; gap: 8px; justify-items: start; }
  .email-link { font-size: 15px; padding: 13px 18px !important; letter-spacing: -.01em; overflow-wrap: anywhere; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 2px; padding-bottom: 20px; font-size: 12px; }
  .site-footer nav { gap: 25px; }
  .legal-page { padding-block: 36px 40px; }
  .legal-hero h1 { font-size: 39px; }
  .legal-card h2 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print {
  :root { background: white; }
  .wrap { width: 100%; }
  .site-header, .site-footer, .skip-link, .button { display: none; }
  .hero { padding-block: 0 24px; gap: 30px; }
  .hero h1 { font-size: 40px; }
  .hero img { max-height: 260px; }
  .offer, .approach, .about, .contact { padding-block: 20px; }
  .offer { background: none; }
  .portrait::before { display: none; }
  .contact-panel { background: none; color: inherit; border: 1px solid #999; }
  .contact-panel { padding: 20px; }
  section, article { break-inside: avoid; }
}
