:root {
  /* Apple-like neutral system from DESIGN.md, with KLO yellow as the only accent */
  --gallery-black: #000000;
  --charcoal-stage: #111111;
  --ink: #1d1d1f;
  --porcelain: #f5f5f7;
  --paper: #ffffff;
  --steel: #86868b;
  --graphite: #6e6e73;
  --control-charcoal: #333336;
  --cloud-gray: #e8e8ed;
  --yellow: #ffd400;
  --yellow-2: #ffdf3f;
  --radius-card: 28px;
  --radius-pill: 9999px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "SF Pro Text", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17,17,17,.92);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--porcelain);
}
.header-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.35px;
  font-size: 17px;
  text-decoration: none;
}
.brand .x { color: var(--yellow); font-weight: 600; padding: 0 .18em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.12px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav .nav-cta { background: var(--yellow); color: #000; }
.nav .nav-cta:hover { background: var(--yellow-2); color: #000; }

.hero {
  background: var(--gallery-black);
  color: var(--porcelain);
  overflow: hidden;
  position: relative;
}
.hero-inner { padding: clamp(88px, 12vw, 160px) 0 clamp(72px, 9vw, 118px); position: relative; z-index: 2; text-align: center; }
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.12px;
  color: var(--steel);
  margin: 0 auto 28px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--yellow); }
.hero h1 {
  margin: 0 auto;
  width: 100%;
  max-width: none;
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(64px, 9vw, 112px);
  line-height: .92;
  letter-spacing: -1.2px;
  font-weight: 600;
}
.hero h1 .accent { color: var(--yellow); }
.hero-copy {
  width: 100%;
  max-width: none;
  margin: 38px auto 0;
  font-size: clamp(18px, 2vw, 21px);
  color: #b7b7bd;
  line-height: 1.47;
  letter-spacing: -0.374px;
}

.start-offer { padding: 0 0 88px; background: var(--gallery-black); }
.offer-card {
  background: var(--charcoal-stage);
  color: var(--porcelain);
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(28px, 5vw, 72px);
}
.offer-kicker {
  font-size: 12px;
  line-height: 1.33;
  font-weight: 600;
  letter-spacing: -0.12px;
  color: var(--steel);
  margin-bottom: 14px;
}
.offer-number {
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(76px, 10vw, 132px);
  font-weight: 600;
  line-height: .82;
  letter-spacing: -1.2px;
  color: var(--yellow);
}
.offer-number span { font-size: .44em; letter-spacing: -.03em; }
.offer-copy { font-size: clamp(17px, 1.8vw, 20px); color: #d1d1d6; }
.offer-copy p { margin: 0 0 18px; }
.offer-copy p:first-child { color: var(--paper); }
.offer-copy p:last-child { margin-bottom: 0; }

.choose { padding: 92px 0 28px; background: var(--porcelain); }
.choose-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  align-items: end;
  gap: 42px;
}
.section-kicker {
  color: var(--steel);
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.12px;
}
.choose h2 {
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.02;
  margin: 12px 0 16px;
  letter-spacing: -0.576px;
  font-weight: 600;
}
.choose p { color: var(--graphite); max-width: 650px; font-size: 17px; margin: 0; }
.mascot-wrap {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: var(--radius-card);
  background: transparent;
  overflow: visible;
  padding-top: 12px;
}
.mascot {
  position: relative;
  height: auto;
  width: min(100%, 300px);
  max-height: 100%;
  object-fit: contain;
}

.packages { padding: 24px 0 120px; background: var(--porcelain); }
.package-card {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 24px;
}
.package-card.featured { background: var(--paper); }
.package-top {
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}
.package-index { font-size: 12px; font-weight: 600; letter-spacing: -0.12px; color: var(--steel); }
.package-title {
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  margin: 8px 0 7px;
  line-height: 1;
  letter-spacing: -0.144px;
  font-weight: 600;
}
.platforms { color: var(--graphite); font-weight: 400; font-size: 14px; letter-spacing: -0.224px; }
.price-box { min-width: 260px; text-align: right; }
.price {
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.144px;
  line-height: 1;
  white-space: nowrap;
}
.price small { font-family: "SF Pro Text", Inter, sans-serif; font-size: 14px; color: var(--steel); font-weight: 600; letter-spacing: -0.224px; }
.start-price {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  background: var(--yellow);
  color: #000;
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.12px;
  font-weight: 600;
}
.package-summary {
  padding: 0 clamp(28px, 4vw, 44px) 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip { background: var(--cloud-gray); color: var(--ink); border-radius: var(--radius-pill); padding: 8px 12px; font-weight: 600; font-size: 12px; letter-spacing: -0.12px; }

.details-toggle {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--cloud-gray);
  background: transparent;
  color: var(--ink);
  padding: 18px clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.224px;
  font-weight: 600;
  text-align: left;
}
.details-toggle:hover { background: var(--porcelain); }
.details-toggle .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--control-charcoal); color: var(--paper); display: grid; place-items: center; transition: transform .25s ease; font-size: 20px; font-weight: 400; }
.package-card.open .details-toggle .plus { transform: rotate(45deg); }
.package-details { display: none; border-top: 1px solid var(--cloud-gray); padding: 34px clamp(28px, 4vw, 44px) 40px; background: var(--porcelain); }
.package-card.open .package-details { display: block; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px 52px; }
.detail-section h4 { margin: 0 0 12px; font-size: 17px; line-height: 1.24; letter-spacing: -0.374px; font-weight: 600; }
.detail-section p { margin: 0 0 12px; color: var(--graphite); }
.detail-section ul { margin: 0; padding: 0; list-style: none; }
.detail-section li { position: relative; padding-left: 18px; margin: 8px 0; color: #515154; }
.detail-section li::before { content: "•"; position: absolute; left: 0; color: var(--ink); font-weight: 600; }
.note { color: var(--steel) !important; font-size: 14px; line-height: 1.45; font-style: normal; margin-top: 14px !important; }
.package-actions {
  border-top: 1px solid var(--cloud-gray);
  padding: 22px clamp(28px, 4vw, 44px) 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--paper);
}
.package-actions p { margin: 0; color: var(--steel); font-size: 14px; }
.select-btn {
  border: 0;
  background: var(--yellow);
  color: #000;
  border-radius: var(--radius-pill);
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.224px;
  font-weight: 600;
  min-width: 180px;
  transition: background .2s ease, transform .2s ease;
}
.select-btn:hover { background: var(--yellow-2); transform: translateY(-1px); }

.site-footer { background: var(--gallery-black); color: var(--porcelain); padding: 52px 0; }
.footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.footer-title { font-family: "SF Pro Display", Inter, sans-serif; font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -0.28px; line-height: 1.02; }
.footer-meta { color: var(--steel); font-size: 12px; text-align: right; letter-spacing: -0.12px; }

.dvd-logo {
  position: fixed;
  left: 0;
  top: 0;
  width: 64px;
  height: auto;
  z-index: 30;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  filter: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 100;
}
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); }
.modal-card {
  position: relative;
  width: min(100%, 620px);
  background: var(--charcoal-stage);
  color: var(--porcelain);
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 44px);
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--control-charcoal); color: var(--porcelain); font-size: 24px; line-height: 1; }
.modal-label { font-size: 12px; letter-spacing: -0.12px; color: var(--steel); font-weight: 600; }
.modal-card h3 { font-family: "SF Pro Display", Inter, sans-serif; margin: 8px 46px 8px 0; font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.144px; line-height: 1; font-weight: 600; }
.modal-card > p { color: #b7b7bd; margin: 0 0 26px; }
.field-label { display: block; font-weight: 600; margin-bottom: 10px; }
textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid var(--graphite);
  border-radius: 28px;
  padding: 16px 18px;
  outline: none;
  color: var(--porcelain);
  background: rgba(255,255,255,.04);
}
textarea::placeholder { color: var(--steel); }
textarea:focus { border-color: var(--yellow); }
.helper { font-size: 12px; color: var(--steel); margin-top: 8px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.btn-secondary, .btn-primary, .danger-btn, .link-btn {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.224px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-secondary { background: var(--control-charcoal); color: var(--porcelain); }
.btn-secondary:hover { background: #414145; }
.btn-primary { background: var(--yellow); color: #000; }
.btn-primary:hover { background: var(--yellow-2); }

/* Success / selected pages */
.simple-page { min-height: 100svh; background: var(--gallery-black); color: var(--porcelain); position: relative; overflow: hidden; }
.simple-inner { position: relative; z-index: 2; width: min(calc(100% - 40px), 920px); margin: 0 auto; padding: 76px 0 90px; }
.simple-brand { font-family: "SF Pro Display", Inter, sans-serif; font-size: 17px; font-weight: 600; letter-spacing: -0.35px; margin-bottom: 80px; }
.simple-kicker { font-size: 12px; font-weight: 600; letter-spacing: -0.12px; color: var(--steel); }
.simple-title { font-family: "SF Pro Display", Inter, sans-serif; font-size: clamp(54px, 8vw, 88px); line-height: .98; letter-spacing: -1.2px; font-weight: 600; margin: 12px 0 28px; max-width: 790px; }
.simple-copy { color: #b7b7bd; font-size: 17px; max-width: 660px; }
.selection-card { margin-top: 38px; background: var(--paper); color: var(--ink); border-radius: var(--radius-card); padding: clamp(28px, 4vw, 40px); }
.selection-card h2 { font-family: "SF Pro Display", Inter, sans-serif; margin: 0 0 7px; font-size: 34px; letter-spacing: -0.144px; font-weight: 600; }
.selection-meta { color: var(--graphite); font-weight: 400; margin-bottom: 18px; }
.selection-note { background: var(--porcelain); border-radius: 28px; padding: 18px; white-space: pre-wrap; color: #515154; }
.simple-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.simple-actions .btn-primary { background: var(--yellow); color: #000; }
.simple-actions .btn-secondary { background: var(--control-charcoal); color: var(--porcelain); }
.danger-btn { background: transparent; color: #ff6961; border: 1px solid rgba(255,105,97,.45); }
.empty-state { background: var(--charcoal-stage); border-radius: var(--radius-card); padding: 28px; color: #d1d1d6; margin-top: 32px; }
.device-note { color: var(--steel); font-size: 12px; margin-top: 18px; }

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 52px; }
  .nav a:first-child { display: none; }
  .hero-inner { padding-top: 76px; }
  .hero h1 { font-size: clamp(56px, 17vw, 86px); }
  .offer-card { grid-template-columns: 1fr; }
  .offer-number { font-size: 92px; }
  .choose { padding-top: 68px; }
  .choose-head { grid-template-columns: 1fr; }
  .mascot-wrap { min-height: 300px; margin-top: 8px; padding-top: 8px; }
  .mascot { width: min(100%, 260px); max-height: 292px; }
  .package-top { grid-template-columns: 1fr; }
  .price-box { text-align: left; min-width: 0; }
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .package-actions { align-items: stretch; flex-direction: column; }
  .select-btn { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
  .dvd-logo { width: 52px; }
}

@media (max-width: 520px) {
  .container, .simple-inner { width: min(calc(100% - 24px), var(--max)); }
  .hero-copy, .choose p { font-size: 16px; }
  .hero-inner { padding-bottom: 64px; }
  .start-offer { padding-bottom: 56px; }
  .offer-card, .package-card, .mascot-wrap { border-radius: 24px; }
  .package-title { font-size: 30px; }
  .price { font-size: 34px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions > * { width: 100%; }
  .simple-brand { margin-bottom: 58px; }
  .simple-inner { padding-top: 48px; }
  .simple-title { font-size: clamp(46px, 14vw, 68px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .dvd-logo { left: auto; right: 16px; top: 72px; transform: none !important; }
}
