@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-ink: #1a1a2e;
  --color-ink-soft: #2d2d4a;
  --color-surface: #f4f3f0;
  --color-surface-raised: #ffffff;
  --color-surface-inset: #eceae6;
  --color-primary: #e84855;
  --color-primary-dark: #c73641;
  --color-secondary: #1a1a2e;
  --color-accent: #f7c948;
  --color-muted: #6b6b8a;
  --color-border: #e2e1dd;
  --color-success: #2eb872;
  --nav-height: 68px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(26,26,46,0.08), 0 1px 2px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 12px rgba(26,26,46,0.10), 0 2px 6px rgba(26,26,46,0.07);
  --shadow-lg: 0 12px 32px rgba(26,26,46,0.12), 0 4px 12px rgba(26,26,46,0.08);
  --shadow-xl: 0 24px 48px rgba(26,26,46,0.16), 0 8px 20px rgba(26,26,46,0.10);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 128px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--color-surface);
  color: var(--color-ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;

  &:hover {
    color: var(--color-primary-dark);
  }
}



.text-display {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #f4f3f0;
}

.text-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-ink);
}

.text-subhead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 640px;
  margin: 16px auto 0;
}

.text-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-ink-soft);

  & + .text-body {
    margin-top: 16px;
  }
}

.text-body.text-large {
  font-size: 1.15rem;
}

.text-caption {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: block;
}



.surface {
  background: var(--color-surface);
}

.surface-raised {
  background: var(--color-surface-raised);
}

.surface-inset {
  background: var(--color-surface-inset);
}



.space-section {
  padding: var(--space-2xl) 24px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);

  & .text-heading {
    max-width: 720px;
    margin: 0 auto;
  }
}



.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--color-primary);
    transition: left 0.4s ease, right 0.4s ease;
  }

  &.scrolled::after {
    left: 0;
    right: 0;
  }
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  & img {
    height: 36px;
    width: auto;
  }

  & .logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-ink);
    letter-spacing: -0.02em;

    & span {
      color: var(--color-primary);
    }
  }
}

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

  & span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-ink);
    transition: all 0.3s;
    border-radius: 2px;
  }

  &.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  &.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  &.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}



.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;

  &.is-open {
    pointer-events: all;
  }
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: var(--color-ink);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);

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

.drawer-overlay {
  position: absolute;
  background: rgba(26, 26, 46, 0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);

  .drawer.is-open & {
    opacity: 1;
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(244, 243, 240, 0.1);

  & .nav-logo .logo-text {
    color: #f4f3f0;
  }
}

.drawer-close {
  background: none;
  border: none;
  color: #f4f3f0;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background 0.2s;

  &:hover {
    background: rgba(244, 243, 240, 0.1);
  }
}

.drawer-nav {
  list-style: none;
  padding: 16px 0;
  flex: 1;

  & li {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.3s ease, transform 0.3s ease;

    .drawer.is-open & {
      opacity: 1;
      transform: translateX(0);
    }

    @for $i from 1 through 5 {
      &:nth-child(#{$i}) {
        transition-delay: #{$i * 0.06}s;
      }
    }
  }
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: rgba(244, 243, 240, 0.75);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  border-left: 3px solid transparent;

  & i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
  }

  &:hover {
    color: #f4f3f0;
    background: rgba(244, 243, 240, 0.06);
    border-left-color: rgba(232, 72, 85, 0.5);
  }

  &.active {
    color: #f4f3f0;
    border-left-color: var(--color-primary);
    background: rgba(232, 72, 85, 0.1);
  }
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(244, 243, 240, 0.1);

  & p {
    color: rgba(244, 243, 240, 0.5);
    margin-bottom: 4px;

    & a {
      color: rgba(244, 243, 240, 0.5);

      &:hover {
        color: rgba(244, 243, 240, 0.8);
      }
    }
  }
}



.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: var(--color-ink);
  position: relative;
  overflow: hidden;
  padding: 60px 24px;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(232, 72, 85, 0.15) 0%, transparent 60%);
  }
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;

  @media (min-width: 900px) {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: block;
}

.hero-body {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(244, 243, 240, 0.7);
  margin-top: 20px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}



.decay-chart-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 243, 240, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);

  & .chart-label {
    color: rgba(244, 243, 240, 0.5);
    margin-bottom: 16px;
  }
}

.decay-svg {
  width: 100%;
  height: auto;
}



.action-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(232, 72, 85, 0.35), 0 1px 3px rgba(232, 72, 85, 0.2);
  min-height: 44px;

  &:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 72, 85, 0.45), 0 3px 8px rgba(232, 72, 85, 0.25);
    color: #fff;
  }

  &:active {
    transform: translateY(0);
  }
}

.action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #f4f3f0;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(244, 243, 240, 0.25);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  min-height: 44px;

  &:hover {
    border-color: rgba(244, 243, 240, 0.6);
    color: #fff;
    background: rgba(244, 243, 240, 0.05);
  }
}

.action-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-ink);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--color-border);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  min-height: 44px;

  &:hover {
    border-color: var(--color-ink);
    color: var(--color-ink);
    background: rgba(26, 26, 46, 0.04);
  }
}



.bento-section {
  & .section-header {
    margin-bottom: var(--space-lg);
  }
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;

  @media (min-width: 600px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 900px) {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
}

.bento-cell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}

.bento-2x1 {
  @media (min-width: 900px) {
    grid-column: span 2;
  }
}

.bento-1x2 {
  @media (min-width: 900px) {
    grid-row: span 2;
  }
}

.bento-2x2 {
  @media (min-width: 900px) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.bento-dark {
  background: var(--color-ink);
  color: #f4f3f0;
}

.surface-accent {
  background: var(--color-accent);
  color: var(--color-ink);
}

.surface-primary {
  background: var(--color-primary);
  color: #fff;
}

.bento-cell-inner {
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;

  & h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  & p {
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.85;
    flex: 1;
  }
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.bento-icon-red {
  background: rgba(232, 72, 85, 0.12);
  color: var(--color-primary);
}

.bento-icon-yellow {
  background: rgba(247, 201, 72, 0.15);
  color: #b8860b;
}

.bento-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(244, 243, 240, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color 0.2s;

  &:hover {
    color: #fff;
  }
}

.bento-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: auto;
}



.zigzag-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;

  @media (min-width: 768px) {
    grid-template-columns: 1fr 1fr;
  }

  &.zigzag-reverse {
    @media (min-width: 768px) {
      & .zigzag-content {
        order: -1;
      }
    }
  }
}

.zigzag-visual {
  & .feature-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
  }
}

.zigzag-content {
  & .text-heading {
    margin-bottom: 20px;
  }

  & .action-primary {
    margin-top: 28px;
  }
}



.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;

  @media (min-width: 600px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 1024px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.highlight-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--color-border);

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  & h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 16px 0 10px;
    color: var(--color-ink);
  }

  & p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-muted);
  }
}

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-ink);
  color: #f4f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.highlight-icon-red {
  background: rgba(232, 72, 85, 0.1);
  color: var(--color-primary);
}

.highlight-icon-yellow {
  background: rgba(247, 201, 72, 0.15);
  color: #9a7a00;
}

.highlight-icon-green {
  background: rgba(46, 184, 114, 0.12);
  color: var(--color-success);
}



.comparison-section {
  & .section-header {
    margin-bottom: 40px;
  }
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface-raised);
  font-size: 0.9rem;

  & thead tr {
    background: var(--color-ink);
    color: #f4f3f0;
  }

  & th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
  }

  & td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
    color: var(--color-ink-soft);
  }

  & tbody tr:last-child td {
    border-bottom: none;
  }

  & tbody tr:hover {
    background: rgba(26, 26, 46, 0.02);
  }
}

.recommended-col {
  background: rgba(232, 72, 85, 0.04);
  border-left: 2px solid var(--color-primary) !important;
  border-right: 2px solid var(--color-primary) !important;
}

.col-merge {
  color: var(--color-primary) !important;
}

.check-yes {
  color: var(--color-success);
  font-size: 0.9rem;
  margin-right: 6px;
}

.check-no {
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-right: 6px;
}

.check-partial {
  color: #b8860b;
  font-size: 0.9rem;
  margin-right: 6px;
}



.swiper-section {
  & .section-header {
    margin-bottom: 40px;
  }
}

.decay-swiper {
  padding-bottom: 48px !important;

  & .swiper-slide {
    height: auto;
  }
}

.slide-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  height: 100%;
  border: 1px solid var(--color-border);

  & h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 16px 0 12px;
    color: var(--color-ink);
  }

  & p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-muted);
  }
}

.slide-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-ink);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.slide-fix {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(46, 184, 114, 0.08);
  border-left: 3px solid var(--color-success);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem !important;
  color: var(--color-ink) !important;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--color-primary) !important;

  &::after {
    font-size: 1.2rem !important;
  }
}

.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
}



.cta-section {
  & .cta-block {
    background: var(--color-ink);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;

    @media (min-width: 768px) {
      grid-template-columns: 1fr auto;
    }
  }

  & .cta-text {
    & .text-heading {
      color: #f4f3f0;
      margin-top: 8px;
    }

    & .text-body {
      color: rgba(244, 243, 240, 0.65);
      margin-top: 12px;
    }

    & .section-eyebrow {
      color: var(--color-accent);
    }
  }

  & .cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;

    & .action-ghost-dark {
      color: rgba(244, 243, 240, 0.7);
      border-color: rgba(244, 243, 240, 0.2);

      &:hover {
        color: #f4f3f0;
        border-color: rgba(244, 243, 240, 0.5);
        background: rgba(244, 243, 240, 0.05);
      }
    }
  }
}



.phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;

  @media (min-width: 600px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 1024px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.phase-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.25s, box-shadow 0.25s;

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  & h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 12px 0 10px;
  }

  & p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-muted);
  }
}

.phase-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-surface-inset);
  line-height: 1;
  letter-spacing: -0.04em;
}

.phase-number-warn { color: rgba(247, 201, 72, 0.4); }
.phase-number-danger { color: rgba(232, 72, 85, 0.35); }
.phase-number-dead { color: rgba(107, 107, 138, 0.3); }

.phase-action {
  margin-top: 16px;
}

.phase-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(26, 26, 46, 0.08);
  color: var(--color-muted);
}

.phase-tag-warn {
  background: rgba(247, 201, 72, 0.15);
  color: #9a7a00;
}

.phase-tag-danger {
  background: rgba(232, 72, 85, 0.1);
  color: var(--color-primary);
}

.phase-tag-dead {
  background: rgba(107, 107, 138, 0.1);
  color: var(--color-muted);
}



.study-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;

  @media (min-width: 600px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.study-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.25s, box-shadow 0.25s;

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.study-card-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;

  & i {
    font-size: 1.1rem;
  }
}

.study-header-tech {
  background: rgba(26, 26, 46, 0.06);
  color: var(--color-ink);
}

.study-header-health {
  background: rgba(232, 72, 85, 0.08);
  color: var(--color-primary-dark);
}

.study-header-finance {
  background: rgba(247, 201, 72, 0.15);
  color: #9a7a00;
}

.study-header-evergreen {
  background: rgba(46, 184, 114, 0.1);
  color: #1a7a4a;
}

.study-card-body {
  padding: 20px 24px;

  & p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-muted);

    & + p {
      margin-top: 12px;
    }
  }
}

.study-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.decay-rate {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.decay-rate-fast {
  background: rgba(232, 72, 85, 0.1);
  color: var(--color-primary);
}

.decay-rate-medium {
  background: rgba(247, 201, 72, 0.15);
  color: #9a7a00;
}

.decay-rate-slow {
  background: rgba(46, 184, 114, 0.1);
  color: #1a7a4a;
}

.update-freq {
  font-size: 0.78rem;
  color: var(--color-muted);
}



.decision-tree {
  max-width: 840px;
  margin: 0 auto;
}

.decision-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);

  & h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-ink);
  }

  & p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-muted);
  }
}

.decision-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.decision-connector {
  text-align: center;
  padding: 8px 0;
  color: var(--color-border);
  font-size: 1.2rem;
}



.process-steps {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);

  &:last-child {
    border-bottom: none;
  }
}

.process-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 4px;
}

.process-step-body {
  & h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-ink);
  }

  & p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--color-muted);
  }
}



.prose-block {
  max-width: 840px;
  margin: 0 auto;

  & .text-body + .text-body {
    margin-top: 20px;
  }
}



.contact-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 0;

  @media (min-width: 768px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-method-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.25s, box-shadow 0.25s;

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  & h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 16px 0 8px;
  }
}

.method-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-ink);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.method-best {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
}

.method-link {
  display: block;
  font-weight: 700;
  color: var(--color-ink);
  font-size: 0.95rem;
  margin-bottom: 10px;
  word-break: break-word;

  &:hover {
    color: var(--color-primary);
  }
}

.method-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;

  @media (min-width: 1024px) {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-wrap {
  & .text-heading {
    margin-bottom: 8px;
  }
}

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

  @media (min-width: 640px) {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
}

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

.form-input {
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-surface-raised);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;

  &:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(232, 72, 85, 0.12);
  }

  &::placeholder {
    color: var(--color-muted);
  }
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-privacy {
  & .privacy-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.87rem;
    color: var(--color-muted);
    line-height: 1.6;

    & input[type="checkbox"] {
      margin-top: 2px;
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      accent-color: var(--color-primary);
      cursor: pointer;
    }

    & a {
      color: var(--color-primary);
    }
  }
}

.form-error {
  padding: 12px 16px;
  background: rgba(232, 72, 85, 0.08);
  border: 1px solid rgba(232, 72, 85, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.form-submit {
  border: none;
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.contact-info-block {
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

  & i {
    color: var(--color-primary);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
  }

  & strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-bottom: 2px;
  }

  & p, & address {
    font-size: 0.9rem;
    color: var(--color-ink);
    font-style: normal;

    & a {
      color: var(--color-ink);

      &:hover {
        color: var(--color-primary);
      }
    }
  }
}



.legal-page {
  min-height: calc(100vh - var(--nav-height));
  padding: 60px 24px;
}

.legal-inner {
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--color-border);

  & h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-ink);
    margin-bottom: 8px;
  }
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.legal-intro {
  margin-bottom: 40px;

  & p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-ink-soft);

    & + p {
      margin-top: 16px;
    }
  }
}

.legal-section {
  margin-bottom: 36px;
}

.legal-summary {
  background: rgba(232, 72, 85, 0.06);
  border-left: 4px solid var(--color-primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--color-ink);
  line-height: 1.6;
  margin-bottom: 16px;
}

.legal-detail {
  & p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--color-muted);
    margin-bottom: 14px;
  }

  & strong {
    color: var(--color-ink);
  }
}

.terms-section {
  margin-bottom: 36px;
}

.terms-summary-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-surface-inset);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;

  & .terms-letter {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    flex-shrink: 0;
  }

  & strong {
    font-weight: 800;
    color: var(--color-ink);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  & em {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--color-muted);
    display: block;
  }
}

.cookie-intro-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--color-surface-inset);
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;

  & p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-ink-soft);
  }
}

.cookie-intro-icon {
  font-size: 2rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.cookie-table-section {
  margin-bottom: 40px;

  & h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-ink);
  }

  & > p {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 20px;
  }
}

.cookie-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface-raised);
  font-size: 0.88rem;

  & th {
    background: var(--color-ink);
    color: #f4f3f0;
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
  }

  & td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-muted);
    vertical-align: top;
    line-height: 1.6;
  }

  & tbody tr:last-child td {
    border-bottom: none;
  }
}

.cookie-required {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(26, 26, 46, 0.08);
  color: var(--color-ink);
}

.cookie-optional {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(107, 107, 138, 0.1);
  color: var(--color-muted);
}

.legal-inner .legal-section h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}



#cookie-bar {
  background: var(--color-ink);
  color: rgba(244, 243, 240, 0.85);
  font-size: 0.82rem;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  max-height: fit-content;
  opacity: 1;

  &.cookie-hidden {
    max-height: 0;
    padding: 0;
    opacity: 0;
  }
}

.cookie-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;

  & .cookie-text {
    flex: 1;
    min-width: 200px;
    line-height: 1.5;

    & a {
      color: var(--color-accent);
      text-decoration: underline;
    }
  }

  & .cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  & .cookie-accept {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    transition: background 0.2s;
    min-height: 36px;

    &:hover {
      background: var(--color-primary-dark);
    }
  }

  & .cookie-decline {
    background: transparent;
    color: rgba(244, 243, 240, 0.6);
    border: 1px solid rgba(244, 243, 240, 0.2);
    padding: 7px 16px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    transition: color 0.2s, border-color 0.2s;
    min-height: 36px;

    &:hover {
      color: rgba(244, 243, 240, 0.9);
      border-color: rgba(244, 243, 240, 0.4);
    }
  }
}



.site-footer {
  background: var(--color-ink);
  color: rgba(244, 243, 240, 0.65);
  margin-top: auto;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(244, 243, 240, 0.1);

  @media (min-width: 640px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (min-width: 1024px) {
    grid-template-columns: 2fr 1fr 1fr 2fr;
  }
}

.footer-brand {
  & .footer-logo .logo-text {
    color: #f4f3f0;
  }
}

.footer-tagline {
  font-size: 0.87rem;
  line-height: 1.65;
  color: rgba(244, 243, 240, 0.5);
  margin-top: 12px;
  max-width: 280px;
}

.footer-nav-group {
  & h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(244, 243, 240, 0.4);
    margin-bottom: 16px;
  }

  & ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;

    & a {
      color: rgba(244, 243, 240, 0.6);
      font-size: 0.9rem;
      text-decoration: none;
      transition: color 0.2s;

      &:hover {
        color: #f4f3f0;
      }
    }
  }
}

.footer-contact-group {
  & h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(244, 243, 240, 0.4);
    margin-bottom: 16px;
  }

  & address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 10px;

    & p {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.9rem;
      color: rgba(244, 243, 240, 0.6);

      & i {
        color: var(--color-primary);
        margin-top: 2px;
        flex-shrink: 0;
        width: 14px;
      }

      & a {
        color: rgba(244, 243, 240, 0.6);
        text-decoration: none;
        transition: color 0.2s;

        &:hover {
          color: #f4f3f0;
        }
      }
    }
  }
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;

  & .text-caption {
    color: rgba(244, 243, 240, 0.35);

    & a {
      color: rgba(244, 243, 240, 0.35);
      text-decoration: none;
      transition: color 0.2s;

      &:hover {
        color: rgba(244, 243, 240, 0.65);
      }
    }
  }
}



.page-hero {
  padding: 80px 24px 60px;
  background: var(--color-ink);
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(247, 201, 72, 0.12) 0%, transparent 55%);
  }
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: block;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f4f3f0;
  max-width: 800px;
}

.page-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(244, 243, 240, 0.7);
  max-width: 600px;
  margin-top: 16px;
}



.alt-section {
  background: var(--color-surface-inset);
}



.highlight-section {
  background: var(--color-surface);
}



@media (max-width: 599px) {
  .space-section {
    padding: 56px 20px;
  }

  .cta-section .cta-block {
    padding: 36px 24px;
  }

  .hero {
    padding: 40px 20px;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .action-primary,
  .action-ghost,
  .action-ghost-dark {
    width: 100%;
    justify-content: center;
  }

  .zigzag-feature .zigzag-visual .feature-img {
    height: 260px;
  }

  .bento-cell-inner {
    padding: 20px;
  }

  .decision-step {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 18px;
  }

  .process-step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .process-step-num {
    font-size: 1.8rem;
  }

  .footer-top {
    padding: 40px 0 28px;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  .zigzag-feature .zigzag-visual .feature-img {
    height: 300px;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}



.drawer.is-open .drawer-nav li:nth-child(1) { transition-delay: 0.06s; }
.drawer.is-open .drawer-nav li:nth-child(2) { transition-delay: 0.12s; }
.drawer.is-open .drawer-nav li:nth-child(3) { transition-delay: 0.18s; }
.drawer.is-open .drawer-nav li:nth-child(4) { transition-delay: 0.24s; }
.drawer.is-open .drawer-nav li:nth-child(5) { transition-delay: 0.30s; }



.contact-map-wrap {
  & .text-heading {
    margin-bottom: 8px;
  }
}



.swiper-section .decay-swiper {
  & .swiper-button-prev,
  & .swiper-button-next {
    top: auto;
    bottom: 4px;
  }

  & .swiper-button-prev {
    left: calc(50% - 48px);
  }

  & .swiper-button-next {
    right: calc(50% - 48px);
  }
}