@import url("fonts.css");

:root {
  --chestnut: #402D26;
  --umber: #5B463E;
  --chalk: #FAF7F1;
  --white: #FFFDFA;
  --muted: #796B62;
  --line: #B9AAA0;
  --font-title: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--chestnut); background: var(--chalk); font: 400 16px/1.65 var(--font-body); }
a { color: var(--chestnut); text-underline-offset: 3px; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--chestnut); outline-offset: 3px; }
.wrap { width: min(100% - 40px, 880px); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 12px; z-index: 5; padding: 10px 16px; color: var(--white); background: var(--chestnut); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px 8px; }
.brand { font: 500 25px/1 var(--font-title); text-decoration: none; white-space: nowrap; }
.language-switch { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language-option { display: grid; place-items: center; min-width: 34px; min-height: 30px; padding-inline: 8px; border: 0; border-radius: 999px; color: var(--chestnut); background: transparent; font: 500 12px var(--font-body); text-decoration: none; }
.language-option.is-active { color: var(--white); background: var(--chestnut); }
.language-option:disabled { opacity: .5; }
.content-nav { background: var(--white); }
.content-nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0 0 16px; list-style: none; font-size: 14px; }
main { padding-block: clamp(48px, 8vw, 82px); }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
h1, h2 { font-family: var(--font-title); font-weight: 500; letter-spacing: -.01em; }
h1 { max-width: 18ch; margin: 0 0 20px; font-size: clamp(38px, 7vw, 58px); line-height: 1.06; }
h2 { margin: 44px 0 12px; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; }
h3 { margin: 28px 0 8px; font-size: 18px; }
p, li { max-width: 70ch; }
.lede { margin: 0 0 34px; color: var(--umber); font-size: clamp(18px, 2.4vw, 21px); }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 30px; }
.fact-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.fact-card h2, .fact-card h3 { margin-top: 0; }
.tier-jump { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 42px; padding: 16px 0; border-block: 1px solid var(--line); }
.tier-label { display: inline-block; margin: 36px 0 4px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--chestnut); background: var(--white); font-size: 14px; font-weight: 500; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 24px 48px; }
.feature-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.feature-card h3 { margin-top: 0; font-family: var(--font-title); font-size: 21px; font-weight: 500; }
.feature-card p { margin-bottom: 0; color: var(--umber); }
.callout { margin-block: 34px; padding: 20px 22px; border-left: 4px solid var(--chestnut); background: var(--white); }
.availability { margin: 0 0 28px; padding: 12px 16px; border-radius: 12px; background: var(--white); color: var(--umber); }
.support-email { display: inline-block; font-weight: 500; font-size: 18px; }
.contact-form { display: grid; gap: 14px; max-width: 620px; margin-block: 28px 44px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.contact-form label { font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--chestnut); background: var(--chalk); font: inherit; }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form button { justify-self: start; padding: 11px 20px; border: 0; border-radius: 999px; color: var(--white); background: var(--chestnut); font: 500 16px var(--font-body); cursor: pointer; }
.contact-form button:disabled { cursor: wait; opacity: .6; }
.contact-note, .contact-status { margin: 0; color: var(--umber); font-size: 14px; }
.contact-status { min-height: 1.65em; }
.contact-status[data-state="error"] { color: #8a1f11; }
.contact-status[data-state="success"] { color: #275c35; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.faq details { padding-block: 16px; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { color: var(--umber); }
.localized-hero { position: relative; min-height: 620px; overflow: hidden; }
.localized-hero picture, .localized-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.localized-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(250,247,241,.88),rgba(250,247,241,.55) 38%,transparent 65%); }
.localized-hero-copy { position: relative; z-index: 1; padding-block: clamp(70px,12vw,130px); }
.localized-hero-copy p { max-width: 43ch; }
.store-status { display: inline-flex; gap: 6px; margin-top: 20px; padding: 6px 0; color: var(--chestnut); }
.home-section { padding-block: clamp(32px,4vw,48px); }
.home-main { padding-block: 0; }
.home-section .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.compare { width: 100%; border-collapse: collapse; margin-block: 28px; }
.compare th, .compare td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { font-weight: 500; }
.site-footer { padding-block: 28px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.footer-row a { color: var(--muted); }
@media (max-width: 620px) {
  .site-nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  .brand { white-space: normal; overflow-wrap: anywhere; }
  .fact-grid, .feature-grid { grid-template-columns: 1fr; }
  .compare { display: block; overflow-x: auto; }
  .localized-hero { min-height: 720px; }
  .localized-hero::after { background: linear-gradient(180deg,rgba(250,247,241,.86),rgba(250,247,241,.2) 52%,rgba(250,247,241,.88)); }
  .home-section .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .localized-hero { display: flex; flex-direction: column; min-height: 0; }
  .localized-hero picture, .localized-hero img { position: relative; height: 410px; object-position: center; }
  .localized-hero::after { display: none; }
  .localized-hero-copy { width: 100%; padding: 30px 20px 38px; background: var(--chalk); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
