:root {
  color-scheme: light;
  --bg: #fbf7ee;
  --text: #3b3547;
  --muted: #8b8496;
  --border: #e3dcce;
  --card: #ffffff;
  --board: #f3eddf;
  --accent: #f26b4e;
  --accent-strong: #d9573d;
  --success: #3d9a64;
  --max-width: 780px;
  --radius: 24px;
  --shadow: 0 12px 30px rgba(59, 53, 71, 0.08);
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #252230;
    --text: #f6f2e9;
    --muted: #a9a3b4;
    --border: #3e3a4c;
    --card: #322e40;
    --board: #2c2938;
    --accent: #ff8e6e;
    --accent-strong: #ffad94;
    --success: #7ed6a2;
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; min-width: 0; }

html { background: var(--bg); }

body {
  min-height: 100vh;
  background:
    radial-gradient(460px 320px at 4% 0%, rgba(255, 217, 176, 0.28), transparent 72%),
    radial-gradient(420px 360px at 100% 14%, rgba(191, 217, 247, 0.26), transparent 72%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: none; }

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

.site-header-inner, .site-footer-inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(242, 107, 78, 0.22);
}

.header-tools, .primary-nav { display: flex; align-items: center; }
.header-tools { justify-content: flex-end; gap: 16px; }
.primary-nav { gap: 14px; font-size: 14px; }
.primary-nav a { color: var(--muted); text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); }
.primary-nav a[aria-current="page"] { font-weight: 700; }

.language-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 72%, transparent);
}

.language-picker button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
}

.language-picker button:hover { color: var(--text); }
.language-picker button[aria-pressed="true"] { color: var(--bg); background: var(--accent); font-weight: 800; }

.page-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 64px 0 100px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: center;
  gap: 46px;
  min-height: 370px;
  padding: 18px 0 58px;
}

.eyebrow, .section-kicker {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 570px; margin-bottom: 18px; font-size: clamp(38px, 7vw, 62px); line-height: 1.08; letter-spacing: -0.055em; }
h2 { margin-bottom: 14px; font-size: 27px; line-height: 1.2; letter-spacing: -0.035em; }

.hero-intro { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary { border-color: var(--accent); color: #fff; background: var(--accent); box-shadow: 0 8px 16px rgba(242, 107, 78, 0.2); }
.button-primary:hover { color: #fff; background: var(--accent-strong); }
.button-secondary { color: var(--text); background: var(--card); }
.button-secondary:hover { border-color: var(--accent); background: var(--board); }

.hero-art {
  position: relative;
  min-height: 275px;
  padding: 38px 18px 26px;
  border-radius: 38px;
  background: var(--board);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.sum-note {
  position: absolute;
  top: 18px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
}

.sum-mark { color: var(--muted); }
.check { color: var(--success); font-size: 26px; transform: rotate(-8deg); }
.number-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 218px; margin: 28px auto 20px; transform: rotate(-3deg); }
.number-tile { display: grid; aspect-ratio: 1; place-items: center; border-radius: 19px; color: var(--text); background: var(--card); box-shadow: 0 5px 0 color-mix(in srgb, var(--text) 8%, transparent); font-size: 26px; font-weight: 900; }
.tile-coral { background: #fad0dc; }.tile-blue { background: #bfd9f7; }.tile-yellow { background: #fbe9a9; }.tile-pink { background: #e4d3f7; }.tile-green { background: #c6eac4; }.tile-purple { background: #bee9e4; }
.area-dots { display: flex; justify-content: center; gap: 7px; }.area-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }.area-dots i:nth-child(2) { background: #bfd9f7; }.area-dots i:nth-child(3) { background: #c6eac4; }.area-dots i:nth-child(4) { background: #e4d3f7; }.area-dots i:nth-child(5) { background: #fbe9a9; }

.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--card); box-shadow: var(--shadow); }
.highlights-card { position: relative; overflow: hidden; }
.highlights-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -56px; top: -54px; border-radius: 50%; background: #ffd9b0; opacity: 0.58; }
.highlights-card h2 { margin-bottom: 22px; }
.highlight-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 26px; margin: 0; padding: 0; list-style: none; }
.highlight-list li { position: relative; padding-left: 28px; color: var(--muted); }
.highlight-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 900; }
.highlight-list strong { color: var(--text); }

.content-page { max-width: 760px; padding-top: 62px; }
.content-page > h1 { font-size: clamp(40px, 7vw, 54px); margin-bottom: 10px; }
.meta { margin-bottom: 40px; color: var(--muted); font-size: 14px; }
.content-page > p, .text-section, .content-page > h2, .content-page > ul { max-width: 750px; }
.content-page > h2 { margin-top: 38px; }
.content-page p { color: var(--text); }
.content-page .meta, .content-page .legal-note { color: var(--muted); }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 34px 0 56px; background: var(--board); }
.contact-card h2 { margin: 4px 0 8px; }.contact-card p { max-width: 560px; margin-bottom: 0; color: var(--muted); }
.text-section { margin-top: 56px; }
.text-section h2 { margin-top: 5px; margin-bottom: 22px; }
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps-list li { position: relative; min-height: 44px; margin: 0 0 17px; padding: 0 0 0 48px; color: var(--text); counter-increment: steps; }
.steps-list li::before { content: counter(steps); position: absolute; left: 0; top: -2px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 11px; color: var(--text); background: #fbe9a9; font-weight: 900; }
.steps-list li:nth-child(2n)::before { background: #bfd9f7; }.steps-list li:nth-child(3n)::before { background: #c6eac4; }
.faq-list { margin: 0; }.faq-list dt { margin-top: 24px; color: var(--text); font-weight: 850; }.faq-list dt:first-child { margin-top: 0; }.faq-list dd { margin: 5px 0 0; color: var(--muted); }
.link-list { margin: 0 0 18px; padding-left: 22px; }.link-list li + li { margin-top: 7px; }
.legal-page > ul { padding-left: 23px; }.legal-page > ul li + li { margin-top: 8px; }.legal-note { margin-top: 40px; font-size: 14px; }
.closing-note { margin-top: 54px; color: var(--muted) !important; }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.site-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 82px; }
.site-footer a { color: var(--muted); }

@media (max-width: 700px) {
  .site-header-inner { align-items: flex-start; flex-wrap: wrap; padding: 12px 0; }
  .header-tools { width: 100%; justify-content: space-between; gap: 10px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 20px; }
  .hero-art { max-width: 310px; width: 100%; margin: 0 auto; }
  .highlight-list { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .site-header-inner, .site-footer-inner, .page-shell { width: min(100% - 24px, var(--max-width)); }
  .primary-nav { gap: 10px; }
  .language-picker { max-width: 220px; }
  .language-picker button { padding-inline: 6px; }
  .page-shell { padding-top: 42px; }
  .hero { min-height: 0; padding-bottom: 42px; }
  h1 { font-size: clamp(35px, 12vw, 48px); }
  .hero-intro { font-size: 16px; }
  .card { padding: 22px 18px; }
  .contact-card { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }
  .site-footer-inner { padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .button:hover { transform: none; }
}
