/* ==========================================================================
   BareZero — Apple-Inspired Warm Editorial & Hardware Keynote Design System
   ========================================================================== */

:root {
  --paper: #f6f4ee;
  --panel: #fdfcf9;
  --surface: #efece3;
  --ink: #1d1d1b;
  --ink-soft: #4a4942;
  --muted: #757268;
  --line: #dedad0;
  --line-strong: #c4bfb2;
  --accent: #b56a46;
  --accent-bg: #f6ebe4;
  --accent-border: #e5c9b8;
  --emerald: #1f6f54;
  --emerald-bg: #eaf5f0;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "STSong", Georgia, "Times New Roman", serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max-w: 1060px;
  --header-h: 68px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: clip;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, p, dl, dd, dt, ol, ul, figure {
  margin: 0;
}

::selection {
  background: #e6d7c8;
}

.shell {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 244, 238, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(222, 218, 208, 0.85);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.header-tagline {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 13.5px;
  color: var(--muted);
}

.main-nav a {
  padding: 6px 2px;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  transition: all 0.16s ease;
}

.lang-btn.active {
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(29, 29, 27, 0.08);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.2s var(--ease-apple), border-color 0.2s ease, transform 0.18s var(--ease-apple), box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background: #373732;
  border-color: #373732;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(29, 29, 27, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-rect {
  border-radius: var(--radius-sm);
}

.btn-outline {
  background: rgba(253, 252, 249, 0.72);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(29, 29, 27, 0.14);
}

/* ==========================================================================
   Apple-Inspired Scroll-Driven Hardware Showcase Stage
   ========================================================================== */

.showcase-track {
  position: relative;
  height: 250vh;
}

.showcase-stage {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  min-height: 580px;
  max-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(26px, 4.5vh, 52px) 24px clamp(24px, 4vh, 44px);
  overflow: hidden;
  background: radial-gradient(
      760px 420px at 50% 54%,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(246, 244, 238, 0.35) 56%,
      transparent 100%
    ),
    var(--paper);
}

/* Subtle studio floor horizon line */
.showcase-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}

/* Top Headline Slot (3 cross-fading editorial scenes) */
.stage-headings {
  position: relative;
  width: 100%;
  max-width: 780px;
  height: 152px;
  text-align: center;
  z-index: 3;
}

.stage-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease-apple), transform 0.65s var(--ease-apple), filter 0.55s var(--ease-apple);
}

.stage-copy.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.stage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 12px;
}

.accent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.stage-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
}

.stage-sub {
  font-size: clamp(14.5px, 1.35vw, 16.5px);
  color: var(--ink-soft);
  max-width: 600px;
  line-height: 1.65;
}

/* Center Hardware Visual Stage */
.stage-visual {
  position: relative;
  width: 100%;
  max-width: 820px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  --p: 0;
}

/* Concentric precision Apple studio rings */
.studio-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.studio-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(181, 106, 70, 0.12);
  transition: transform 0.5s var(--ease-apple), opacity 0.5s ease;
}

.studio-ring.r1 {
  width: 300px;
  height: 300px;
  border-color: rgba(29, 29, 27, 0.06);
}

.studio-ring.r2 {
  width: 460px;
  height: 460px;
  border-style: dashed;
  border-color: rgba(181, 106, 70, 0.14);
}

.studio-ring.r3 {
  width: 640px;
  height: 640px;
  border-color: rgba(29, 29, 27, 0.04);
}

/* Mac mini M6 Precision Rig */
.mac-rig {
  position: relative;
  width: min(460px, 84vw);
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1);
}

.mac-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 28px 34px rgba(29, 29, 27, 0.14))
    drop-shadow(0 8px 14px rgba(29, 29, 27, 0.08));
}

/* Animated specular aluminum highlight sweep controlled by JS --sheen */
.mac-sheen-layer {
  transform: translateX(var(--sheen, -180px));
  transition: opacity 0.3s ease;
}

/* Floating macOS-style AI Dev Tool Dock (fades in smoothly during Scene 1) */
.tool-dock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -152%) scale(0.94);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 22px;
  background: rgba(253, 252, 249, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 44px -14px rgba(29, 29, 27, 0.16),
    0 2px 6px rgba(29, 29, 27, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-apple), transform 0.65s var(--ease-apple);
}

.tool-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: opacity 0.5s var(--ease-apple), transform 0.6s var(--ease-apple);
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #272724 0%, #161614 100%);
  color: #f6f4ee;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 16px -8px rgba(20, 20, 18, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.tool-icon.light {
  background: linear-gradient(155deg, #ffffff 0%, #efece4 100%);
  color: #1d1d1b;
  border-color: rgba(29, 29, 27, 0.1);
  box-shadow: 0 8px 16px -8px rgba(29, 29, 27, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.tool-icon.slate {
  background: linear-gradient(155deg, #26364d 0%, #141e2c 100%);
  color: #e6f0ff;
}

.tool-icon.accent {
  background: linear-gradient(155deg, #2b2520 0%, #191614 100%);
  color: #e9b394;
}

.tool-icon.claude {
  background: linear-gradient(155deg, #d97757 0%, #bd5d3a 100%);
  color: #fff9f5;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 18px -8px rgba(189, 93, 58, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.tool-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.showcase-stage[data-scene="0"] .tool-dock,
.showcase-stage[data-scene="1"] .tool-dock {
  opacity: 1;
  transform: translate(-50%, -166%) scale(1);
}

.showcase-stage[data-scene="0"] .tool-tile,
.showcase-stage[data-scene="1"] .tool-tile {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.showcase-stage[data-scene="0"] .tool-tile:nth-child(1),
.showcase-stage[data-scene="1"] .tool-tile:nth-child(1) { transition-delay: 0.03s; }
.showcase-stage[data-scene="0"] .tool-tile:nth-child(2),
.showcase-stage[data-scene="1"] .tool-tile:nth-child(2) { transition-delay: 0.07s; }
.showcase-stage[data-scene="0"] .tool-tile:nth-child(3),
.showcase-stage[data-scene="1"] .tool-tile:nth-child(3) { transition-delay: 0.11s; }
.showcase-stage[data-scene="0"] .tool-tile:nth-child(4),
.showcase-stage[data-scene="1"] .tool-tile:nth-child(4) { transition-delay: 0.15s; }
.showcase-stage[data-scene="0"] .tool-tile:nth-child(5),
.showcase-stage[data-scene="1"] .tool-tile:nth-child(5) { transition-delay: 0.19s; }
.showcase-stage[data-scene="0"] .tool-tile:nth-child(6),
.showcase-stage[data-scene="1"] .tool-tile:nth-child(6) { transition-delay: 0.23s; }

/* Floating Studio Spec Callouts (Scene 2 & Scene 3) */
.callout-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.studio-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(253, 252, 249, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(222, 218, 208, 0.95);
  box-shadow: 0 12px 28px -12px rgba(29, 29, 27, 0.14);
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.55s var(--ease-apple), transform 0.6s var(--ease-apple);
}

.studio-badge strong {
  font-weight: 600;
}

.studio-badge .dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(31, 111, 84, 0.16);
}

.studio-badge .dot-accent {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(181, 106, 70, 0.18);
}

.badge-s2-left { left: 2%; bottom: 14%; }
.badge-s2-right { right: 2%; bottom: 14%; }

.badge-s3-left { left: 2%; top: 22%; }
.badge-s3-right { right: 2%; top: 22%; }
.badge-s3-bottom { left: 50%; bottom: 8%; transform: translate(-50%, 14px) scale(0.96); }

/* Active scene states on .showcase-stage */
.showcase-stage[data-scene="1"] .badge-s2-left,
.showcase-stage[data-scene="1"] .badge-s2-right {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.showcase-stage[data-scene="2"] .badge-s3-left,
.showcase-stage[data-scene="2"] .badge-s3-right {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.showcase-stage[data-scene="2"] .badge-s3-bottom {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.showcase-stage[data-scene="2"] .studio-ring.r2 {
  transform: scale(1.08);
  border-color: rgba(181, 106, 70, 0.28);
}

.showcase-stage[data-scene="2"] .studio-ring.r3 {
  transform: scale(1.05);
  border-color: rgba(31, 111, 84, 0.16);
}

/* Status LED pulse */
@keyframes ledPulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

.mac-led {
  animation: ledPulse 3.2s ease-in-out infinite;
}

/* Bottom Slot (Action Row for Scene 0 + Specs for Scene 1 & 2) */
.stage-bottom {
  position: relative;
  width: 100%;
  max-width: 720px;
  min-height: 92px;
  z-index: 3;
}

.stage-detail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-apple), transform 0.55s var(--ease-apple);
}

.stage-detail.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.stage-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.stage-price-caption {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.stage-price-caption strong {
  color: var(--ink);
  font-weight: 600;
}

.stage-facts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(222, 218, 208, 0.75);
}

.stage-facts dt {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.stage-facts dd {
  font-size: 12.5px;
  color: var(--muted);
}

/* Right-side Apple Scene Indicator Dots */
.scene-dots {
  position: absolute;
  right: clamp(16px, 2.5vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 4;
}

.scene-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(29, 29, 27, 0.2);
  transition: height 0.28s var(--ease-apple), background 0.25s ease;
}

.scene-dot.is-active {
  height: 22px;
  background: var(--ink);
}

/* Scroll Cue on Scene 0 */
.scroll-cue {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.75;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.showcase-stage:not([data-scene="0"]) .scroll-cue {
  opacity: 0;
}

/* ==========================================================================
   Scroll Reveal Utility (Apple Gentle Lift)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-apple), transform 0.75s var(--ease-apple);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Core Section: Pricing Configurator
   ========================================================================== */

.pricing-section {
  padding: 76px 0 80px;
}

.pricing-intro {
  margin-bottom: 34px;
}

.pricing-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.pricing-intro p {
  font-size: 15.5px;
  color: var(--muted);
}

.config-block {
  margin-bottom: 28px;
}

.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.block-head h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.block-head p {
  font-size: 13px;
  color: var(--muted);
}

/* Fixed M6 Machine Card */
.machine-banner {
  background: #ffffff;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 28px -18px rgba(29, 29, 27, 0.16);
}

.machine-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.machine-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.machine-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.badge-soft {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--emerald-bg);
  color: var(--emerald);
}

.badge-accent {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: #844528;
}

.machine-spec {
  font-size: 13.5px;
  color: var(--muted);
}

.machine-price-box {
  text-align: right;
}

.machine-price-main {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
}

.machine-price-main strong {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.machine-price-main span {
  font-size: 13px;
  color: var(--muted);
}

.machine-price-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Period Cards (Anodized Silver / Slate / Titanium tactile sheen) */
.period-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.period-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.22s var(--ease-apple), transform 0.22s var(--ease-apple);
}

/* Subtle anodized metallic top bar */
.period-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.period-card[data-period="monthly"]::before {
  background: linear-gradient(90deg, #d8d5cc, #a8a49a, #d8d5cc);
}

.period-card[data-period="quarterly"]::before {
  background: linear-gradient(90deg, #6b849e, #3f5c7a, #6b849e);
}

.period-card[data-period="annual"]::before {
  background: linear-gradient(90deg, #2d2c28, #b56a46, #2d2c28);
}

.period-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(29, 29, 27, 0.14);
}

.period-card[aria-checked="true"] {
  border: 1.5px solid var(--ink);
  background: #ffffff;
  box-shadow: 0 14px 30px -14px rgba(29, 29, 27, 0.18);
}

.period-card[aria-checked="true"]::before {
  opacity: 1;
}

.period-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.period-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.period-term {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.period-check {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.18s ease, transform 0.2s var(--ease-apple);
}

.period-card[aria-checked="true"] .period-check {
  opacity: 1;
  transform: scale(1);
}

.period-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.period-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.period-price-row strong {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.period-price-row span {
  font-size: 13px;
  color: var(--muted);
}

.period-meta {
  text-align: right;
  font-size: 12.5px;
  line-height: 1.45;
}

.period-total {
  color: var(--ink-soft);
}

.period-saving {
  color: var(--accent);
  font-weight: 600;
}

.period-saving.neutral {
  color: var(--muted);
  font-weight: 400;
}

/* AI Tool Account + KYC Selector */
.account-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.account-option {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.18s var(--ease-apple);
}

.account-option:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.account-option[aria-checked="true"] {
  background: #ffffff;
  border: 1.5px solid var(--ink);
  box-shadow: 0 8px 20px -12px rgba(29, 29, 27, 0.16);
}

.acct-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.acct-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.acct-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.acct-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* KYC + Quantity Row */
.account-extras {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: opacity 0.2s ease;
}

.account-extras.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.kyc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
}

.switch-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d5d0c4;
  position: relative;
  flex-shrink: 0;
  transition: background 0.22s var(--ease-apple);
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.22s var(--ease-apple);
}

.kyc-toggle[aria-checked="true"] .switch-track {
  background: var(--accent);
}

.kyc-toggle[aria-checked="true"] .switch-track::after {
  transform: translateX(20px);
}

.kyc-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.kyc-copy span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s ease;
}

.qty-btn:hover {
  background: var(--surface);
}

.qty-val {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Review / Order Summary Card
   ========================================================================== */

.review-card {
  background: #ffffff;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 42px -22px rgba(29, 29, 27, 0.2);
}

.review-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.review-selection {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.breakdown dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}

.breakdown dd {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.review-action {
  padding-left: 26px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.review-total-label {
  font-size: 13px;
  color: var(--muted);
}

.review-total {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.review-action .btn {
  width: 100%;
}

.review-note {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* Compact Extra Services Bar */
.extra-bar {
  margin-top: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.extra-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.extra-bar h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.extra-bar p {
  font-size: 13.5px;
  color: var(--muted);
}

.text-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Section: Simple 4-Step Delivery Journey
   ========================================================================== */

.section-band {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.section-head p {
  font-size: 14.5px;
  color: var(--muted);
}

.steps-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: transform 0.22s var(--ease-apple), box-shadow 0.22s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(29, 29, 27, 0.14);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Section: Minimal FAQ
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  padding: 19px 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
  color: var(--ink);
}

.faq-list details p {
  padding: 0 4px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 780px;
}

/* ==========================================================================
   Section: Simple Application Form
   ========================================================================== */

.apply-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.apply-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  margin-bottom: 10px;
}

.apply-info > p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.7;
}

.direct-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.direct-box-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.direct-box-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.direct-email {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.apply-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 14px 32px -20px rgba(29, 29, 27, 0.14);
}

.selected-plan-banner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.selected-plan-banner strong {
  color: var(--ink);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #ffffff;
}

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

.form-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-footer .btn {
  width: 100%;
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.form-feedback {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.6;
}

.form-feedback.show {
  display: block;
}

.form-feedback.success {
  background: var(--emerald-bg);
  border: 1px solid #b8dfce;
  color: var(--emerald);
}

.form-feedback.fallback {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: #703a20;
}

.fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* ==========================================================================
   Footer & Toast
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 13px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-disclaimer {
  font-size: 12px;
  color: #8c887d;
  line-height: 1.6;
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.22s var(--ease-apple);
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Reduced Motion & Responsive Breakpoints
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .showcase-track {
    height: auto;
  }
  .showcase-stage {
    position: relative;
    top: 0;
    height: auto;
    min-height: 540px;
  }
  .scene-dots,
  .scroll-cue {
    display: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .header-tagline {
    display: none;
  }

  .studio-badge {
    display: none;
  }

  .period-grid,
  .account-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .review-card,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .review-action {
    padding-left: 0;
    padding-top: 18px;
    border-left: none;
    border-top: 1px solid var(--line);
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 0 18px;
  }

  .main-nav {
    display: none;
  }

  .showcase-track {
    height: 190vh;
  }

  .showcase-stage {
    min-height: 520px;
    padding: 24px 18px 24px;
  }

  .stage-headings {
    height: 164px;
  }

  .stage-facts {
    gap: 10px;
  }

  .stage-facts dt {
    font-size: 14px;
  }

  .stage-facts dd {
    font-size: 11.5px;
  }

  .scene-dots {
    right: 10px;
  }

  .tool-dock {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .tool-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .tool-icon svg {
    width: 20px;
    height: 20px;
  }

  .tool-label {
    font-size: 9.5px;
  }

  .machine-banner {
    padding: 18px;
  }

  .machine-price-box {
    text-align: left;
  }

  .machine-price-main {
    justify-content: flex-start;
  }

  .breakdown {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-card,
  .apply-card {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
