/* ---------- Tokens ---------- */
:root {
  --brand: #50027C;
  --brand-600: #3E0161;
  --brand-400: #7B2FB5;
  --brand-50: #F5EEFA;
  --accent: #F2A93B;
  --accent-ink: #2A1600;

  --bg: #FFFFFF;
  --bg-alt: #F7F5FA;
  --surface: #FFFFFF;
  --ink: #1B1523;
  --ink-soft: #5B5367;
  --line: #E6E1EC;
  --notice-bg: #FFF6E6;
  --notice-line: #F2C77A;

  --hero-from: #2B0145;
  --hero-to: #5A0A8C;

  --radius: 14px;
  --shadow: 0 1px 2px rgb(27 21 35 / .06), 0 8px 24px rgb(27 21 35 / .06);
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120D18;
    --bg-alt: #1A1322;
    --surface: #1F1729;
    --ink: #F1ECF6;
    --ink-soft: #B3A9C0;
    --line: #2F2540;
    --brand-50: #2A1B3A;
    --notice-bg: #2A2011;
    --notice-line: #7A5A22;
    --hero-from: #1A0029;
    --hero-to: #3D0661;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #120D18;
  --bg-alt: #1A1322;
  --surface: #1F1729;
  --ink: #F1ECF6;
  --ink-soft: #B3A9C0;
  --line: #2F2540;
  --brand-50: #2A1B3A;
  --notice-bg: #2A2011;
  --notice-line: #7A5A22;
  --hero-from: #1A0029;
  --hero-to: #3D0661;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }

.skip {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.25em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #F7BA5C; }
.btn-ghost { border-color: rgb(255 255 255 / .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn-primary { background: var(--brand); color: #fff; width: 100%; white-space: normal; text-align: center; }
.btn-primary:hover { background: var(--brand-400); }
.btn-sm { min-height: 40px; padding: 0 1em; font-size: .9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: block; flex-shrink: 0; border-radius: 10px; }
.brand img { width: 120px; height: auto; }
@media (min-width: 640px) { .brand img { width: 140px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand { background: #F4F1F7; padding: 4px 8px; }
}
:root[data-theme="dark"] .brand { background: #F4F1F7; padding: 4px 8px; }

.site-header nav { margin-left: auto; }
.nav { display: none; gap: 4px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; color: var(--ink-soft);
}
.nav a:hover { color: var(--ink); background: var(--brand-50); }
.header-call { margin-left: auto; }
@media (min-width: 760px) {
  .nav { display: flex; }
  .header-call { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 400px at 85% -10%, rgb(242 169 59 / .22), transparent 60%),
    linear-gradient(135deg, var(--hero-from), var(--hero-to));
}
.hero::after { /* subtle stacked-box motif echoing the logo */
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 340px; height: 340px;
  background:
    linear-gradient(rgb(255 255 255 / .06), rgb(255 255 255 / .06)) 0 50% / 48% 48% no-repeat,
    linear-gradient(rgb(255 255 255 / .09), rgb(255 255 255 / .09)) 100% 50% / 48% 48% no-repeat,
    linear-gradient(rgb(255 255 255 / .05), rgb(255 255 255 / .05)) 50% 0 / 48% 48% no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding-block: 56px 48px; }
@media (min-width: 760px) { .hero-inner { padding-block: 96px 72px; } }
.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.25rem, 7vw, 4rem); font-weight: 800; max-width: 16ch; }
.hero h1 span { display: block; font-weight: 600; font-size: .55em; color: rgb(255 255 255 / .8); margin-top: .35em; letter-spacing: -0.01em; }
.lede { margin-top: 20px; max-width: 56ch; font-size: 1.125rem; color: rgb(255 255 255 / .85); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.features {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px;
}
.features li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16);
  font-size: .9375rem; font-weight: 500;
}
.features svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
@media (min-width: 760px) { .section { padding-block: 88px; } }
.section-alt { background: var(--bg-alt); }
.kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-400); margin-bottom: 8px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker { color: #C9A2EA; } }
:root[data-theme="dark"] .kicker { color: #C9A2EA; }
.section h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); font-weight: 800; margin-bottom: 32px; }

/* Cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); }
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-50); margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-400); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-icon svg { stroke: #C9A2EA; } }
:root[data-theme="dark"] .card-icon svg { stroke: #C9A2EA; }

/* Facilities */
.facilities { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) { .facilities { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.facilities h2 { margin-bottom: 16px; }
.facilities > div > p { color: var(--ink-soft); max-width: 60ch; }
.checklist { margin-top: 20px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.facilities .notice { margin-top: 28px; }
.photo { margin: 0; }
.photo img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.photo figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-soft); }
.notice {
  display: flex; gap: 14px; padding: 22px;
  background: var(--notice-bg); border: 1px solid var(--notice-line); border-radius: var(--radius);
}
.notice svg { flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: #C98410; stroke-width: 2; stroke-linecap: round; }
.notice strong { display: block; margin-bottom: 4px; }
.notice p { color: var(--ink-soft); font-size: .9875rem; }

/* Pricing */
.prices { display: grid; gap: 16px; }
@media (min-width: 640px) { .prices { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; } }
.price-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--brand);
}
.price-card h3 { font-size: 1.25rem; }
.price-meta { color: var(--ink-soft); margin-top: 4px; }
.price { margin: 20px 0 24px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.amount { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.unit { color: var(--ink-soft); font-weight: 500; }
.price-card .btn { margin-top: auto; }
.fineprint { margin-top: 20px; font-size: .875rem; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.contact-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  text-decoration: none; transition: border-color .15s ease, transform .15s ease;
  min-width: 0;
}
.contact-item:hover { border-color: var(--brand-400); transform: translateY(-2px); }
.ci-label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.ci-value { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }
.ci-sub { color: var(--ink-soft); font-size: .9375rem; }

/* Footer */
.site-footer { background: var(--hero-from); color: rgb(255 255 255 / .75); font-size: .9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .contact-item { transition: none; }
  .btn:hover, .contact-item:hover { transform: none; }
}
