

:root {
  --bg-base: #0e0f11;
  --bg-surface-0: #0e0f11;
  --surface-1: #13151a;
  --surface-2: #1a1d24;
  --surface-3: #22262f;
  --surface-glass: rgba(26, 29, 36, 0.7);
  --surface-glass-light: rgba(34, 38, 47, 0.5);

  --text-primary: #e8e9ed;
  --text-secondary: #9da3b0;
  --text-muted: #5e6475;
  --text-accent: #c8a96e;

  --accent: #c8a96e;
  --accent-dim: rgba(200, 169, 110, 0.15);
  --accent-dim-hover: rgba(200, 169, 110, 0.25);
  --accent-light: #dfc08a;

  --line-color: rgba(200, 169, 110, 0.2);
  --line-subtle: rgba(232, 233, 237, 0.08);
  --line-strong: rgba(200, 169, 110, 0.4);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,169,110,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.4), 0 0 0 1px rgba(200,169,110,0.08);
  --shadow-accent: 0 4px 20px rgba(200, 169, 110, 0.2), 0 2px 8px rgba(200,169,110,0.1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body.canvas {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul { list-style: none; }


.container-wide {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-legal {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}


.stage-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(14, 15, 17, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-subtle);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.stage-nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: var(--transition);
  transform-origin: center;
}


.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--surface-2);
  border-right: 1px solid var(--line-subtle);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: var(--shadow-lg);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.drawer-logo { height: 32px; }

.drawer-close {
  background: none;
  border: 1px solid var(--line-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  flex: 1;
}

.drawer-link {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  transition: var(--transition);
  opacity: 0;
  transform: translateX(-16px);
}

.drawer.open .drawer-link {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.35s ease calc(var(--i) * 0.06s + 0.1s),
              transform 0.35s ease calc(var(--i) * 0.06s + 0.1s),
              color 0.2s ease,
              border-color 0.2s ease;
}

.drawer-link:hover {
  color: var(--text-primary);
  border-left-color: var(--accent);
  background: var(--accent-dim);
  padding-left: 28px;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line-subtle);
}

.drawer-contact {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}


.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stage-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.25) saturate(0.8);
}

.stage-curtain {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 15, 17, 0.92) 0%,
    rgba(14, 15, 17, 0.7) 50%,
    rgba(14, 15, 17, 0.85) 100%
  );
}

.stage-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.stage-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.tag-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.tag-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.stage-heading {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.typed-wrapper {
  color: var(--accent);
  display: inline-block;
  min-width: 200px;
}

.typed-cursor { color: var(--accent); }

.stage-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
}

.stage-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


.stage-formula-card {
  background: var(--surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(200,169,110,0.1);
}

.formula-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.formula-display {
  text-align: center;
  padding: 20px 0;
}

.formula-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding-bottom: 12px;
}

.formula-divider-line {
  width: 100%;
  height: 1px;
  background: var(--line-strong);
  margin: 4px 0;
}

.formula-den {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding-top: 12px;
}

.formula-result {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-subtle);
}

.formula-result strong {
  color: var(--accent);
  font-weight: 700;
}

.formula-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

.stage-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.stage-scroll-hint span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}


.wave-divider {
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg-base);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-accent);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--bg-base);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 169, 110, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 27px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-color);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}


.canvas-section {
  padding: 96px 0;
}

.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  border-bottom: 1px solid var(--line-subtle);
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--bg-base) 100%);
}

.page-hero-sm {
  padding: calc(var(--nav-height) + 60px) 0 60px;
}

.page-hero-content { max-width: 700px; }

.page-hero-heading {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 12px 0 20px;
}

.page-hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
}


.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-heading-center {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-align: center;
}

.section-sub-center {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 16px auto 0;
  line-height: 1.65;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 64px;
}

.section-header-centered .section-label {
  justify-content: center;
}

.section-header-centered .section-label::before {
  display: none;
}

.line-accent {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-top: 24px;
}

.body-large {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-primary);
  font-weight: 400;
}

.body-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}


.intro-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.intro-left { position: sticky; top: 100px; }


.modules-section { background: var(--surface-1); }

.gallery.modules-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 0;
}

.module-card {
  background: var(--surface-2);
  border: 1px solid var(--line-subtle);
  padding: 40px 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.module-card:hover {
  background: var(--surface-3);
  border-color: var(--line-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.module-card:hover::before { opacity: 1; }

.module-card.spotlight {
  background: var(--surface-3);
  border-color: var(--line-color);
}

.module-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.module-icon-wrap {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 24px;
  transition: var(--transition);
}

.module-card:hover .module-icon-wrap {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.module-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.module-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.module-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid var(--line-color);
  border-radius: 2px;
  padding: 4px 10px;
  background: var(--accent-dim);
}


.spreadsheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.spreadsheet-visual {
  position: relative;
}

.spreadsheet-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.spreadsheet-frame {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  z-index: -1;
  pointer-events: none;
}

.feature-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.feature-line:last-child { border-bottom: none; }

.feature-line i {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}


.process-section { background: var(--surface-1); }

.process-header {
  margin-bottom: 64px;
}

.shelf.process-shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 0 32px 0 0;
  position: relative;
}

.step-number-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--line-color);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-connector {
  flex: 1;
  height: 1px;
  background: var(--line-color);
  margin-left: 12px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}


.gallery-section { background: var(--surface-1); }

.gallery-asymmetric {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4px;
}

.gallery-img {
  width: 100%;
  object-fit: cover;
}

.gallery-large .gallery-img {
  aspect-ratio: 16/10;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-img-sm {
  aspect-ratio: 4/3;
  border-radius: 0;
}

.gallery-stack div:last-child .gallery-img-sm {
  border-radius: 0 0 var(--radius-md) 0;
}

.gallery-stack div:first-child .gallery-img-sm {
  border-radius: 0 var(--radius-md) 0 0;
}


.learn-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.learn-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.learn-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.learn-item:last-child { border-bottom: none; }

.learn-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}

.learn-item:hover .learn-icon {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.learn-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.learn-text p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}


.disclaimer-card {
  background: var(--surface-2);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.disclaimer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.disclaimer-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.disclaimer-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.disclaimer-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}


.contact-preview-section {
  background: var(--surface-1);
}

.contact-preview-header {
  text-align: center;
  margin-bottom: 56px;
}

.contact-preview-header .section-label {
  justify-content: center;
}

.contact-preview-header .section-label::before { display: none; }

.shelf.contact-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 64px;
}

.contact-card {
  background: var(--surface-2);
  border: 1px solid var(--line-subtle);
  padding: 36px 32px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--line-color);
  background: var(--surface-3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-card-detail {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card-detail a:hover { color: var(--accent); }


.contact-form-wrap {
  background: var(--surface-2);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.compact-form .form-row-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  transition: var(--transition);
  outline: none;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-row-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.privacy-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.privacy-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-label a { color: var(--accent); }
.privacy-label a:hover { text-decoration: underline; }

.form-submit {
  min-width: 140px;
}


.full-form .form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.required-mark { color: var(--accent); }

.full-textarea {
  min-height: 140px;
}


.contact-full-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.contact-info-col { position: sticky; top: 100px; }

.contact-info-items { display: flex; flex-direction: column; gap: 32px; }

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-item .contact-card-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.contact-info-item h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-info-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info-item p a:hover { color: var(--accent); }

.contact-form-col {
  background: var(--surface-2);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
}


.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}

.contact-method-card {
  background: var(--surface-2);
  border: 1px solid var(--line-subtle);
  padding: 40px 32px;
  transition: var(--transition);
}

.contact-method-card:hover {
  background: var(--surface-3);
  border-color: var(--line-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-method-card.spotlight {
  background: var(--surface-3);
  border-color: var(--line-color);
}

.method-icon-wrap {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 20px;
}

.method-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.method-address {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.method-address a:hover { color: var(--accent); }

.method-best-for { margin-bottom: 24px; }

.best-for-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.best-for-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.best-for-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.best-for-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.method-response {
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--line-subtle);
  padding-top: 16px;
}


.map-section { background: var(--surface-1); }

.map-header { margin-bottom: 40px; }

.map-wrap {
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-iframe {
  display: block;
  filter: invert(0.9) hue-rotate(180deg) brightness(0.85) saturate(0.8);
}


.thanks-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 80px) 0 80px;
}

.thanks-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.thanks-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.thanks-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 8px;
}


.thanks-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px;
  background: var(--surface-2);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 32px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid var(--line-subtle);
  background: var(--surface-3);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.timeline-item.done .timeline-dot {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.timeline-item.highlighted .timeline-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-base);
  box-shadow: var(--shadow-accent);
}

.timeline-item.upcoming .timeline-dot.upcoming-dot {
  opacity: 0.4;
}

.timeline-connector {
  position: absolute;
  left: 22px;
  top: 44px;
  width: 1px;
  height: 32px;
  background: var(--line-subtle);
}

.done-connector { background: var(--line-color); }

.timeline-content { padding-top: 10px; }

.timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-item.upcoming .timeline-title,
.timeline-item.upcoming .timeline-desc {
  opacity: 0.4;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}


.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.faq-item:first-child { border-top: 1px solid var(--line-subtle); }

.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.faq-a {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}


.full-width-img-wrap { position: relative; }

.full-width-img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.img-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}


.legal-section { padding-bottom: 120px; }

.legal-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 56px;
}

.legal-section-block {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 48px;
}

.legal-section-block:last-child {
  border-bottom: none;
}

.legal-summary-box {
  background: var(--accent-dim);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-summary-box strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.legal-summary-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.legal-detail p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
}


.legal-heading-letter {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.terms-summary-bar {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding: 12px 16px;
  border-left: 2px solid var(--accent);
  background: var(--accent-dim);
  margin-bottom: 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}


.cookie-intro-block {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 56px;
}

.cookie-block {
  margin-bottom: 56px;
}

.cookie-block:last-child { margin-bottom: 0; }

.cookie-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-subtle);
}

.cookie-explain p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.cookie-category-card {
  background: var(--surface-2);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 16px;
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cookie-cat-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.essential-badge {
  background: rgba(100, 200, 120, 0.15);
  color: #6cc87a;
  border: 1px solid rgba(100, 200, 120, 0.3);
}

.analytics-badge, .pref-badge {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--line-color);
}

.cookie-cat-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.cookie-cat-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cookie-cat-examples {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line-subtle);
  padding-top: 16px;
}

.cookie-example-row {
  display: grid;
  grid-template-columns: 120px 1fr 100px;
  gap: 12px;
  font-size: 12px;
  align-items: center;
}

.cookie-name {
  font-family: monospace;
  color: var(--accent);
  font-size: 12px;
}

.cookie-purpose { color: var(--text-secondary); }
.cookie-duration { color: var(--text-muted); text-align: right; }

.cookie-manage-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-manage-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
}

.cookie-manage-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.cookie-manage-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cookie-manage-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}


.stage-footer {
  background: var(--surface-1);
  border-top: 1px solid var(--line-subtle);
  margin-top: auto;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.footer-logo { height: 40px; width: auto; }

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 400px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  padding: 6px 0;
}

.footer-nav a:hover { color: var(--accent); }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-legal-links a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover { color: var(--text-secondary); }

.footer-bottom {
  border-top: 1px solid var(--line-subtle);
  padding-top: 24px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-disclaimer { font-style: italic; }


.cookie-bell-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  width: 52px;
  height: 52px;
  background: var(--surface-2);
  border: 1px solid var(--line-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  color: var(--accent);
  font-size: 20px;
}

.cookie-bell-btn:hover {
  background: var(--surface-3);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: var(--shadow-accent);
}

.cookie-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.cookie-panel {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 9989;
  width: 340px;
  background: var(--surface-2);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  overflow: hidden;
}

.cookie-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.cookie-panel-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.cookie-panel-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.cookie-panel-close:hover {
  color: var(--text-primary);
  background: var(--surface-3);
}

.cookie-panel-body {
  padding: 20px;
}

.cookie-panel-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.cookie-toggle-row:last-of-type { border-bottom: none; }

.cookie-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-toggle-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.cookie-toggle-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
  border: 1px solid var(--line-subtle);
  border-radius: 11px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(18px);
  background: var(--accent);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-panel-footer {
  padding: 16px 20px 20px;
  display: flex;
  gap: 10px;
}

.cookie-btn-accept {
  flex: 1;
  background: var(--accent);
  color: var(--bg-base);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-accept:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.cookie-btn-save {
  flex: 1;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-save:hover {
  border-color: var(--line-color);
  color: var(--text-primary);
}


.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.inline-block { display: inline-block; }


@media (max-width: 1024px) {
  .stage-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }

  .stage-formula-card { max-width: 420px; }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-left { position: static; }

  .gallery.modules-gallery {
    grid-template-columns: 1fr;
  }

  .spreadsheet-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .shelf.process-shelf {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .step-connector { display: none; }

  .gallery-asymmetric {
    grid-template-columns: 1fr;
  }

  .gallery-large .gallery-img {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .gallery-stack {
    flex-direction: row;
  }

  .gallery-img-sm { aspect-ratio: 16/9; }

  .learn-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .learn-img { aspect-ratio: 16/9; }

  .shelf.contact-shelf {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-full-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info-col { position: static; }

  .contact-method-grid {
    grid-template-columns: 1fr;
  }

  .thanks-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .canvas-section { padding: 64px 0; }

  .stage-heading { font-size: clamp(2rem, 7vw, 3rem); }

  .stage-scroll-hint { display: none; }

  .shelf.process-shelf {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-wrap { padding: 28px 24px; }
  .contact-form-col { padding: 28px 24px; }

  .form-row-secondary {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-submit { width: 100%; justify-content: center; }

  .cookie-panel {
    right: 16px;
    left: 16px;
    width: auto;
    bottom: 88px;
  }

  .cookie-bell-btn {
    bottom: 20px;
    right: 20px;
  }

  .disclaimer-card { padding: 32px 24px; }

  .cookie-example-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cookie-duration { text-align: left; }

  .gallery-stack { flex-direction: column; }

  .gallery-img-sm { aspect-ratio: 16/9; }
}

@media (max-width: 480px) {
  .stage-actions {
    flex-direction: column;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .footer-nav { gap: 8px 20px; }

  .footer-legal-links { gap: 8px 16px; }

  .stage-formula-card { padding: 28px 24px; }

  .module-card { padding: 28px 24px; }

  .contact-method-card { padding: 28px 24px; }

  .thanks-timeline { padding: 24px; }
}