:root {
  --bg: #f4f8fc;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --ink: #0f1f33;
  --muted: #5f7288;
  --line: rgba(15, 31, 51, 0.1);
  --line-strong: rgba(15, 31, 51, 0.16);
  --navy: #091a31;
  --navy-2: #112746;
  --blue: #1e49ff;
  --blue-soft: #e8efff;
  --teal: #22c8c6;
  --green: #4cca4e;
  --gold: #f5b019;
  --gold-soft: #fff0cc;
  --shadow: 0 28px 80px rgba(10, 29, 57, 0.12);
  --shadow-soft: 0 18px 44px rgba(10, 29, 57, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(30, 73, 255, 0.1), transparent 22rem),
    radial-gradient(circle at 88% 20%, rgba(76, 202, 78, 0.1), transparent 26rem),
    linear-gradient(180deg, #fbfdff, var(--bg) 32%, #eef4fb 100%);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(30, 73, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 73, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 75%);
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.38;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.page-glow-left {
  top: -7rem;
  left: -8rem;
  background: rgba(30, 73, 255, 0.28);
}

.page-glow-right {
  top: 18rem;
  right: -9rem;
  background: rgba(34, 200, 198, 0.24);
  animation-delay: -7s;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.section {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: var(--container);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(30, 73, 255, 0.14);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 124px;
}

.brand-mark {
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 32px;
  height: 26px;
  overflow: hidden;
  background: var(--navy);
  border-radius: 6px;
}

.brand-mark span:first-child {
  background: var(--blue);
}

.brand-mark span:last-child {
  background: var(--green);
}

.brand-text {
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 0.88;
}

.nav-links {
  display: flex;
  gap: 6px;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-links a,
.header-cta,
.primary-btn,
.ghost-btn,
.hero-chip,
.selector-btn {
  border-radius: 12px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  white-space: nowrap;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--ink);
  background: rgba(30, 73, 255, 0.08);
}

.header-cta,
.primary-btn,
.ghost-btn {
  min-height: 46px;
  border: 0;
  font-weight: 800;
}

.header-cta,
.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #325afc 58%, #42a7ff);
  box-shadow: 0 16px 38px rgba(30, 73, 255, 0.22);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 18px;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0 22px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.ghost-btn {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.primary-btn:hover,
.ghost-btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  gap: 48px;
  align-items: center;
  min-height: 100svh;
  padding-top: 132px;
  padding-bottom: 72px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.footer-kicker,
.panel-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.lead-text {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-strips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  min-height: 42px;
  padding: 0 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 31, 51, 0.08);
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero-chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(30, 73, 255, 0.18);
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.hero-panel,
.hero-note,
.product-card,
.logic-card,
.detail-panel,
.ops-card,
.timeline-card,
.summary-card {
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
  color: #ffffff;
  background:
    linear-gradient(160deg, rgba(76, 202, 78, 0.18), transparent 28rem),
    linear-gradient(130deg, rgba(30, 73, 255, 0.28), rgba(9, 26, 49, 0.96) 58%),
    var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pill {
  padding: 8px 12px;
  color: #dcf4ff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signal-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.signal-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.signal-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.hero-note {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 24px;
  backdrop-filter: blur(18px);
}

.note-title {
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 800;
}

.hero-note p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.portfolio,
.logics,
.products,
.ops,
.days30,
.summary {
  padding-bottom: 112px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-kicker,
.footer-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-text {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  content: "";
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 73, 255, 0.16);
  box-shadow: 0 36px 90px rgba(10, 29, 57, 0.16);
}

.product-card.is-active {
  border-color: rgba(30, 73, 255, 0.18);
  box-shadow: 0 36px 90px rgba(30, 73, 255, 0.14);
}

.product-card-blue::before {
  background: linear-gradient(90deg, var(--blue), #5a86ff);
}

.product-card-teal::before {
  background: linear-gradient(90deg, var(--teal), #59dfd0);
}

.product-card-green::before {
  background: linear-gradient(90deg, var(--green), #8cd952);
}

.product-card-gold::before {
  background: linear-gradient(90deg, var(--gold), #ffd76c);
}

.card-head {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(15, 31, 51, 0.06);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.product-card h3,
.logic-card h3,
.ops-card h3,
.timeline-card h3,
.summary-card h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
  line-height: 1.15;
}

.product-summary {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.65;
}

.product-meta {
  display: grid;
  gap: 14px;
}

.product-meta div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-meta span,
.detail-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta p,
.detail-card p,
.logic-card p,
.ops-card p,
.timeline-card p,
.summary-text,
.source-list span {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
}

.logic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.logic-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
}

.logic-index,
.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  margin-bottom: 16px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(30, 73, 255, 0.14), rgba(76, 202, 78, 0.18)),
    #ffffff;
  border: 1px solid rgba(30, 73, 255, 0.14);
  border-radius: 16px;
  font-weight: 800;
}

.strategy-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  color: #ffffff;
  background: linear-gradient(140deg, var(--navy), #15396a 68%);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.ribbon-item {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.ribbon-item span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ribbon-item p {
  margin-bottom: 0;
  font-size: 1.06rem;
  font-weight: 700;
}

.deep-dive-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
}

.selector-panel {
  display: grid;
  gap: 12px;
  align-self: start;
}

.selector-btn {
  padding: 20px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 31, 51, 0.08);
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.selector-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 73, 255, 0.16);
}

.selector-btn.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(30, 73, 255, 0.95), rgba(9, 26, 49, 0.95));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 68px rgba(30, 73, 255, 0.24);
}

.selector-btn:focus-visible,
.hero-chip:focus-visible,
.product-card:focus-visible,
.primary-btn:focus-visible,
.ghost-btn:focus-visible,
.header-cta:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid rgba(30, 73, 255, 0.42);
  outline-offset: 3px;
}

.selector-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 800;
}

.selector-copy {
  display: block;
  color: inherit;
  opacity: 0.78;
  line-height: 1.58;
}

.detail-panel {
  padding: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.detail-panel.is-switching {
  opacity: 0.5;
  transform: translateY(6px);
}

.detail-head {
  margin-bottom: 24px;
}

.detail-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(30, 73, 255, 0.08);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.detail-head h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.detail-head p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.detail-grid,
.ops-grid,
.timeline,
.summary-grid {
  display: grid;
  gap: 16px;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.detail-card,
.detail-list-card,
.ops-card,
.timeline-card {
  padding: 22px;
  background: rgba(245, 248, 252, 0.82);
  border: 1px solid rgba(15, 31, 51, 0.08);
  border-radius: 20px;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-list-card h4 {
  margin-bottom: 12px;
  font-size: 1.06rem;
}

.detail-list-card li {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.62;
}

.detail-list-card li:last-child {
  margin-bottom: 0;
}

.ops-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.ops-card,
.timeline-card {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.ops-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), #194277);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.ops-banner strong {
  white-space: nowrap;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card {
  padding: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(76, 202, 78, 0.2), transparent 22rem),
    linear-gradient(135deg, rgba(30, 73, 255, 0.96), rgba(9, 26, 49, 0.98) 68%);
  border-radius: 34px;
}

.summary-card h2,
.summary-card .summary-text,
.summary-grid p,
.summary-grid span {
  color: #ffffff;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.summary-grid div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.summary-grid span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding-bottom: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.footer-inner h3 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 1.36rem;
  line-height: 1.3;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-list span {
  padding: 10px 12px;
  background: rgba(15, 31, 51, 0.05);
  border: 1px solid rgba(15, 31, 51, 0.06);
  border-radius: 999px;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, 28px, 0) scale(1.04);
  }
}

@media (max-width: 1120px) {
  .site-header {
    gap: 14px;
    padding: 10px 12px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .header-cta {
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero,
  .deep-dive-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .timeline,
  .summary-grid,
  .strategy-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .portfolio-grid,
  .logic-grid,
  .ops-grid,
  .detail-grid,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .timeline,
  .summary-grid,
  .strategy-ribbon,
  .signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 20px, 100%);
  }

  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 12px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .portfolio,
  .logics,
  .products,
  .ops,
  .days30,
  .summary {
    padding-bottom: 84px;
  }

  .hero-panel,
  .hero-note,
  .product-card,
  .detail-panel,
  .summary-card {
    padding: 22px;
  }

  .hero-actions,
  .hero-strips {
    display: grid;
  }

  .primary-btn,
  .ghost-btn,
  .hero-chip {
    width: 100%;
  }

  .footer-inner {
    padding: 22px;
  }
}
