:root {
  --orange: #ff8c42;
  --orange-dark: #e96f1d;
  --cream: #fff8f0;
  --cream-strong: #f9ecdf;
  --brown: #4a3728;
  --brown-soft: #705a49;
  --muted: #766b63;
  --line: #eee4da;
  --white: #ffffff;
  --green: #67b96f;
  --teal: #4ecdc4;
  --yellow: #ffb84d;
  --red: #e85d5d;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream);
  font-family: "Plus Jakarta Sans", "SF Pro Text", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--orange-dark);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(255, 140, 66, 0.38);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--brown);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(238, 228, 218, 0.82);
  background: rgba(255, 248, 240, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.language-select {
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--brown);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu .language-select {
  width: 100%;
  min-height: 48px;
  margin: 8px 0 4px;
}

.nav-links a {
  color: var(--brown-soft);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a[aria-current="page"] {
  color: var(--brown);
}

.nav-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  place-items: center;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--brown);
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle {
  gap: 4px;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 8px 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.mobile-menu.open {
  display: grid;
  gap: 4px;
}

.mobile-menu a {
  min-height: 48px;
  padding: 12px;
  border-radius: 10px;
  color: var(--brown-soft);
  font-weight: 650;
}

.mobile-menu .button {
  margin-top: 8px;
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--white);
  background: var(--orange);
  font-weight: 750;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  color: var(--brown);
  background: var(--white);
}

.button.secondary:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.hero {
  overflow: hidden;
  padding: 54px 0 58px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 11vw, 72px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(31px, 7vw, 48px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy > p {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--brown-soft);
  font-size: 18px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badges img {
  width: auto;
  height: 52px;
}

.market-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 12% 5% 8%;
  border-radius: 45%;
  background: #f7e5d2;
  content: "";
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1122 / 1402;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.trust-strip {
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brown-soft);
  font-size: 14px;
  font-weight: 650;
}

.trust-list li::before {
  display: grid;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #397c42;
  background: #e8f6e8;
  content: "✓";
  font-size: 13px;
  place-items: center;
}

.section {
  padding: 76px 0;
}

.section.white {
  background: var(--white);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 38px;
}

.section-heading p,
.feature-copy p,
.step p {
  color: var(--brown-soft);
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.feature-copy {
  padding: 28px 24px 8px;
}

.feature-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 11px;
  color: var(--orange-dark);
  background: #fff0e4;
  font-size: 13px;
  font-weight: 800;
  place-items: center;
}

.feature-visual {
  display: grid;
  min-height: 330px;
  padding: 28px 24px 0;
  background: var(--cream);
  place-items: end center;
}

.feature-visual img {
  width: auto;
  height: auto;
  max-height: 470px;
  max-width: 100%;
  border-radius: 24px 24px 0 0;
  object-fit: contain;
  object-position: bottom;
}

.feature-card.compact .feature-visual img {
  max-height: 390px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.step-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  border-radius: 14px;
  color: var(--white);
  background: var(--orange);
  font-size: 19px;
  font-weight: 800;
  place-items: center;
}

.step p {
  margin-bottom: 0;
}

.cta-panel {
  display: grid;
  align-items: center;
  gap: 26px;
  padding: 34px 24px;
  border: 1px solid #f1d7c2;
  border-radius: var(--radius-lg);
  background: #fff0e4;
}

.cta-panel h2 {
  max-width: 720px;
  margin-bottom: 10px;
}

.cta-panel p {
  margin-bottom: 0;
  color: var(--brown-soft);
}

.site-footer {
  padding: 54px 0 26px;
  color: #dfd2c8;
  background: #33251d;
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand img {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-intro p {
  max-width: 420px;
  margin: 14px 0 0;
  color: #bcaea4;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.footer-links a {
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a99a90;
  font-size: 12px;
}

.page-hero {
  padding: 54px 0 38px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(38px, 9vw, 58px);
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--brown-soft);
}

.updated {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--brown-soft);
  background: var(--white);
  font-size: 13px;
  font-weight: 650;
}

.document-layout {
  display: grid;
  gap: 32px;
  padding: 46px 0 76px;
}

.document-nav {
  display: none;
}

.document-nav strong {
  display: block;
  margin-bottom: 12px;
}

.document-nav a {
  display: block;
  padding: 7px 0;
  color: var(--brown-soft);
  font-size: 13px;
}

.prose {
  max-width: 790px;
}

.prose section {
  scroll-margin-top: 100px;
  margin-bottom: 42px;
}

.prose h2 {
  margin-bottom: 14px;
  font-size: 27px;
}

.prose h3 {
  margin-top: 24px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: #5f5249;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice {
  margin: 24px 0;
  padding: 18px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff0e4;
}

.notice p:last-child {
  margin-bottom: 0;
}

.support-grid {
  display: grid;
  gap: 20px;
  padding: 46px 0 76px;
}

.contact-card,
.faq-card,
.request-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-card,
.request-card {
  padding: 26px;
}

.contact-card p,
.request-card p {
  color: var(--brown-soft);
}

.contact-card .button {
  margin-top: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  color: var(--orange-dark);
  content: "+";
  font-size: 24px;
  font-weight: 500;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 18px 19px;
  color: var(--brown-soft);
}

.path-grid {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.path-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.path-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff0e4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.request-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 14px;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--brown);
  background: var(--cream);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 1.5em;
}

.danger-list li::marker {
  color: var(--red);
}

@media (min-width: 720px) {
  .container {
    width: min(calc(100% - 64px), var(--container));
  }

  .trust-list,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-list,
  .path-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(3, auto);
  }

  .cta-panel {
    grid-template-columns: 1fr auto;
    padding: 42px;
  }

  .support-grid {
    grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .nav-toggle,
  .mobile-menu {
    display: none !important;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    padding: 72px 0 78px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
    gap: 64px;
  }

  .feature-card {
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 500px;
  }

  .feature-card:nth-child(even) {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .feature-card:nth-child(even) .feature-copy {
    order: 2;
  }

  .feature-card:nth-child(even) .feature-visual {
    order: 1;
  }

  .feature-copy {
    display: flex;
    padding: 42px;
    flex-direction: column;
    justify-content: center;
  }

  .feature-visual {
    min-height: 500px;
    padding: 38px 38px 0;
  }

  .document-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 64px;
  }

  .document-nav {
    position: sticky;
    top: 104px;
    display: block;
    align-self: start;
  }
}

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