:root {
  color-scheme: light;
  --background: #f7fbff;
  --background-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #17324d;
  --text-soft: #60758a;
  --line: rgba(28, 102, 151, 0.14);
  --line-strong: rgba(28, 102, 151, 0.25);
  --brand: #168fcc;
  --brand-strong: #0b6fab;
  --brand-soft: #ddf4ff;
  --family: #b85d12;
  --study: #675bc5;
  --plan: #267d61;
  --danger: #d85c6b;
  --shadow: 0 24px 70px rgba(45, 102, 137, 0.13);
  --radius-large: 28px;
  --radius-medium: 20px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 7%, rgba(255, 211, 126, 0.28), transparent 29%),
    radial-gradient(circle at 90% 12%, rgba(70, 192, 235, 0.22), transparent 31%),
    radial-gradient(circle at 52% 54%, rgba(123, 215, 178, 0.14), transparent 38%),
    linear-gradient(180deg, #fbfdff 0%, #f5fbff 50%, #fffaf3 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Yu Gothic UI",
    Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(32, 112, 166, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 112, 166, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: #ffffff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(28, 102, 151, 0.1);
  background: rgba(251, 253, 255, 0.82);
  backdrop-filter: blur(22px) saturate(140%);
}

.header-inner,
.section-shell,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  filter: drop-shadow(0 8px 18px rgba(31, 146, 207, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav a,
.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.site-nav a:focus-visible,
.footer-links a:focus-visible {
  color: var(--text);
}

.language-control select {
  min-height: 38px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  cursor: pointer;
}

.language-control option {
  background: var(--background-elevated);
  color: var(--text);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 52px;
  padding-block: 90px 108px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #0b78ad, #0b66a6);
  color: #ffffff;
  box-shadow: 0 14px 38px rgba(28, 142, 201, 0.24);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.button:focus-visible,
.text-link:focus-visible,
.language-control select:focus-visible {
  outline: 3px solid rgba(32, 168, 220, 0.28);
  outline-offset: 3px;
}

.hero-facts {
  display: flex;
  gap: 28px;
  margin: 46px 0 0;
}

.hero-facts div {
  display: grid;
  gap: 2px;
}

.hero-facts dt {
  font-size: 1.42rem;
  font-weight: 700;
}

.hero-facts dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.ecosystem-visual {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(93, 202, 239, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(231, 247, 255, 0.76));
  box-shadow: inset 0 0 100px rgba(65, 178, 223, 0.07), var(--shadow);
  backdrop-filter: blur(18px);
}

.orbit {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(44, 142, 196, 0.17);
  border-radius: 50%;
}

.orbit-two {
  inset: 31%;
  border-color: rgba(44, 142, 196, 0.12);
}

.ecosystem-center {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 160px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px solid rgba(42, 148, 204, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(45, 102, 137, 0.16);
  transform: translate(-50%, -50%);
}

.ecosystem-center strong {
  font-size: 1rem;
}

.ecosystem-center span {
  color: var(--text-soft);
  font-size: 0.75rem;
}

.ecosystem-node {
  position: absolute;
  width: 154px;
  min-height: 90px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 10px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 18px 44px rgba(45, 102, 137, 0.13);
  backdrop-filter: blur(18px);
}

.ecosystem-node strong {
  font-size: 0.88rem;
}

.ecosystem-node small {
  grid-column: 2;
  color: var(--text-soft);
  font-size: 0.7rem;
}

.node-symbol {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.node-family .node-symbol {
  color: var(--family);
  background: #fff0dc;
}

.node-study .node-symbol {
  color: var(--study);
  background: #eeecff;
}

.node-plan .node-symbol {
  color: var(--plan);
  background: #e4f7ef;
}

.node-family {
  top: 4%;
  left: 7%;
}

.node-study {
  top: 42%;
  right: -4%;
}

.node-plan {
  bottom: 4%;
  left: 4%;
}

.products-section,
.principles-section {
  padding-block: 112px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading h2,
.connection-copy h2,
.closing-section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading > p:last-child,
.connection-copy > p:nth-of-type(2) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.product-group {
  padding: 34px 0 70px;
  border-top: 1px solid var(--line);
}

.group-heading {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.group-number {
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.group-heading p {
  margin: 0 0 5px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.group-heading h3 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding-left: 76px;
}

.product-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.88)),
    var(--surface);
  box-shadow: 0 18px 54px rgba(45, 102, 137, 0.09);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 177, 221, 0.12), transparent 65%);
  content: "";
  pointer-events: none;
}

.product-card:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, #ffffff, rgba(236, 248, 255, 0.96)),
    var(--surface);
  transform: translateY(-4px);
}

.featured-card {
  border-color: rgba(31, 151, 205, 0.28);
  background:
    linear-gradient(145deg, rgba(219, 244, 255, 0.94), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.product-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 16px;
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.product-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.family-group .product-icon {
  color: var(--family);
  background: #fff0dc;
}

.study-group .product-icon {
  color: var(--study);
  background: #eeecff;
}

.plan-group .product-icon {
  color: var(--plan);
  background: #e4f7ef;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0;
}

.status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status.live {
  color: var(--plan);
}

.status.preview {
  color: var(--family);
}

.status.building {
  color: var(--study);
}

.product-card h4 {
  margin: 16px 0 8px;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
}

.product-card p {
  margin: 0 0 26px;
  color: var(--text-soft);
  line-height: 1.7;
}

.text-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--brand-strong);
  text-underline-offset: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link::after {
  content: "→";
  transition: transform 150ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.muted-link {
  color: var(--text-soft);
  text-decoration: none;
}

.muted-link::after {
  content: "·";
}

.connection-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 72px;
  padding-block: 112px;
  border-block: 1px solid var(--line);
}

.connection-copy .text-link {
  margin-top: 30px;
}

.connection-map {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.identity-layer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(31, 151, 205, 0.19);
  border-radius: 16px;
  background: rgba(221, 244, 255, 0.72);
}

.identity-layer div {
  display: grid;
  gap: 3px;
}

.identity-layer span,
.data-layer span {
  color: var(--text-soft);
  font-size: 0.77rem;
}

.connection-line {
  width: 1px;
  height: 28px;
  margin: 0 auto;
  background: var(--line-strong);
}

.area-layer,
.data-layer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.area-layer span,
.data-layer span {
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-align: center;
}

.data-layer {
  margin-top: 8px;
}

.data-layer span {
  min-height: 52px;
  border-style: dashed;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.principle {
  padding-top: 18px;
  border-top: 2px solid var(--line-strong);
}

.principle > span {
  color: var(--brand-strong);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.principle h3 {
  margin: 36px 0 12px;
  font-size: 1.26rem;
}

.principle p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.principle:nth-child(1) {
  border-color: rgba(229, 141, 54, 0.52);
}

.principle:nth-child(1) > span {
  color: var(--family);
}

.principle:nth-child(2) {
  border-color: rgba(116, 104, 215, 0.43);
}

.principle:nth-child(2) > span {
  color: var(--study);
}

.principle:nth-child(3) {
  border-color: rgba(44, 157, 120, 0.43);
}

.principle:nth-child(3) > span {
  color: var(--plan);
}

.closing-section {
  display: grid;
  justify-items: center;
  padding-block: 122px 130px;
  border: 1px solid rgba(31, 151, 205, 0.12);
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 214, 137, 0.34), transparent 30%),
    radial-gradient(circle at 84% 72%, rgba(102, 204, 237, 0.26), transparent 32%),
    rgba(255, 255, 255, 0.7);
  text-align: center;
}

.closing-section .eyebrow {
  margin-top: 18px;
}

.closing-section h2 {
  max-width: 760px;
}

.closing-section > p:nth-of-type(2) {
  margin: 20px 0 32px;
  color: var(--text-soft);
}

.site-footer {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px;
  padding-block: 42px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.copyright {
  grid-column: 1 / -1;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .ecosystem-visual {
    width: min(100%, 560px);
    justify-self: center;
  }

  .connection-section {
    grid-template-columns: 1fr;
  }

  .product-grid {
    padding-left: 0;
  }

  .product-grid:not(.product-grid-two) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-shell,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .language-control {
    margin-left: auto;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero {
    gap: 64px;
    padding-block: 58px 82px;
  }

  .hero-facts {
    gap: 18px;
  }

  .ecosystem-visual {
    width: min(100%, 450px);
  }

  .ecosystem-node {
    width: 136px;
    min-height: 80px;
    padding: 13px;
  }

  .ecosystem-center {
    width: 132px;
  }

  .products-section,
  .principles-section,
  .connection-section {
    padding-block: 80px;
  }

  .product-grid:not(.product-grid-two),
  .product-grid-two,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 300px;
  }

  .area-layer,
  .data-layer {
    grid-template-columns: 1fr;
  }

  .connection-map {
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-facts dd {
    max-width: 90px;
  }

  .ecosystem-visual {
    aspect-ratio: 0.92;
    border-radius: var(--radius-large);
  }

  .orbit {
    inset: 18% 10%;
  }

  .orbit-two {
    inset: 34% 27%;
  }

  .node-family {
    top: 5%;
    left: 4%;
  }

  .node-study {
    top: 42%;
    right: 2%;
  }

  .node-plan {
    bottom: 5%;
    left: 3%;
  }

  .group-heading {
    grid-template-columns: 38px 1fr;
  }

  .product-card {
    padding: 22px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
