:root {
  --page: #07110f;
  --surface: #0b1915;
  --surface-soft: rgba(15, 35, 28, 0.74);
  --ink: #f0f6f2;
  --muted: #91a59a;
  --faint: #5c7167;
  --line: rgba(190, 226, 200, 0.11);
  --line-strong: rgba(190, 226, 200, 0.2);
  --mint: #b8e8c3;
  --mint-bright: #d8f8df;
  --peach: #f1a66f;
  --shadow: rgba(0, 0, 0, 0.32);
}

html[data-theme="light"] {
  --page: #f4f7f3;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.84);
  --ink: #13231d;
  --muted: #64796e;
  --faint: #87978f;
  --line: rgba(25, 61, 45, 0.1);
  --line-strong: rgba(25, 61, 45, 0.18);
  --mint: #2f7652;
  --mint-bright: #1f6040;
  --peach: #c86c32;
  --shadow: rgba(43, 72, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 3%, rgba(82, 145, 102, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--page), var(--page));
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.ambient {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(1px);
  border-radius: 50%;
}

.ambient-a {
  top: -30rem;
  right: -26rem;
  width: 58rem;
  height: 58rem;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 100px rgba(92, 174, 117, 0.04);
}

.ambient-b {
  top: 15rem;
  left: -20rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(241, 166, 111, 0.06);
}

.content-header {
  position: relative;
  z-index: 20;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.content-header > div {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(93, 164, 112, 0.15);
}

.content-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.content-nav a {
  position: relative;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.content-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--mint);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.content-nav a:hover {
  color: var(--ink);
}

.content-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-link,
.theme-button {
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.language-link {
  min-width: 47px;
  padding: 0 11px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.theme-button {
  width: 38px;
  cursor: pointer;
}

.language-link:hover,
.theme-button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.header-cta,
.primary-action,
.closing > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #0b1813;
  background: var(--mint-bright);
  border: 1px solid var(--mint-bright);
  font-size: 11px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta {
  height: 40px;
  padding: 0 17px;
  border-radius: 11px;
}

.header-cta:hover,
.primary-action:hover,
.closing > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(112, 181, 131, 0.16);
}

main,
.content-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.content-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: 56px;
  padding: 94px 0 84px;
}

.hero-copy {
  max-width: 730px;
}

.kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: var(--mint);
  background: rgba(184, 232, 195, 0.055);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.kicker b {
  color: var(--peach);
  font-size: 12px;
}

.content-hero h1 {
  max-width: 810px;
  margin: 28px 0 0;
  font-size: clamp(48px, 6.3vw, 82px);
  font-weight: 650;
  letter-spacing: -0.062em;
  line-height: 0.99;
}

html[lang="ja"] .content-hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  letter-spacing: -0.048em;
  line-height: 1.15;
}

.content-hero .hero-copy > p {
  max-width: 680px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.primary-action {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 13px;
}

.quiet-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 13px;
  font-size: 11px;
  font-weight: 700;
}

.quiet-action:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.voice-art {
  position: relative;
  height: 430px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-a {
  width: 350px;
  height: 350px;
  animation: orbit 18s linear infinite;
}

.orbit-b {
  width: 265px;
  height: 265px;
  border-color: rgba(241, 166, 111, 0.12);
  animation: orbit 12s linear reverse infinite;
}

.orbit::before {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--peach);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--peach);
}

.wave {
  width: 290px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 232, 195, 0.13), transparent 65%),
    rgba(11, 28, 22, 0.46);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: 0 35px 80px var(--shadow), inset 0 0 40px rgba(184, 232, 195, 0.025);
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .wave {
  background: rgba(255, 255, 255, 0.7);
}

.wave i {
  width: 4px;
  height: var(--h);
  background: linear-gradient(180deg, var(--mint-bright), var(--mint));
  border-radius: 999px;
  animation: pulse 2.4s ease-in-out infinite alternate;
  animation-delay: var(--d);
  opacity: 0.82;
}

.voice-art small {
  position: absolute;
  bottom: 34px;
  color: var(--faint);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  gap: 1px;
}

.signal-grid article {
  min-height: 195px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(184, 232, 195, 0.04), transparent 12rem),
    var(--surface-soft);
}

.signal-grid span,
.section-number {
  color: var(--peach);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.signal-grid h2 {
  margin: 32px 0 9px;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.signal-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 90px;
}

.plan-grid article {
  position: relative;
  padding: 30px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.plan-grid article.featured {
  border-color: rgba(184, 232, 195, 0.3);
  box-shadow: 0 24px 80px var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 6px 10px;
  color: #13231d;
  background: var(--mint-bright);
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.plan-grid h2 {
  margin: 6px 0 22px;
  font-size: 14px;
}

.plan-grid > article > strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.plan-grid p {
  min-height: 38px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.plan-grid ul,
.content-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.plan-grid li,
.content-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  border-bottom: 1px solid var(--line);
}

.plan-grid li::before,
.content-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--mint);
  content: "✓";
}

.plan-grid a {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 17px;
  color: var(--mint);
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
}

.content-article {
  width: min(910px, 100%);
  margin: 118px auto 0;
}

.article-stack {
  border-top: 1px solid var(--line);
}

.article-section {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.article-section > div:last-child {
  max-width: 750px;
}

.article-section h2 {
  margin: -6px 0 18px;
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

html[lang="ja"] .article-section h2 {
  letter-spacing: -0.035em;
}

.article-section p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.content-list {
  margin-bottom: 0;
}

.content-list li {
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 12px;
}

.content-list li::before {
  top: 12px;
}

.faq-block {
  margin-top: 110px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--peach);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.faq-block > h2,
.related > h2 {
  margin: 0 0 30px;
  font-size: clamp(32px, 4vw, 49px);
  font-weight: 650;
  letter-spacing: -0.05em;
}

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

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

.faq-block summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

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

.faq-block summary span {
  color: var(--mint);
  font-family: "DM Mono", monospace;
  font-size: 18px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-block details[open] summary span {
  transform: rotate(45deg);
}

.faq-block details p {
  max-width: 710px;
  margin: -5px 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.related {
  margin-top: 130px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

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

.related a {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.related a:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.related a > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: rgba(184, 232, 195, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.related strong {
  margin-top: 25px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.related small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.related b {
  margin-top: auto;
  align-self: flex-end;
  color: var(--peach);
}

.closing {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 130px;
  padding: 48px 55px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 50%, rgba(184, 232, 195, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(184, 232, 195, 0.055), transparent 56%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
}

.closing span:first-child {
  color: var(--peach);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.closing h2 {
  margin: 13px 0 10px;
  font-size: clamp(35px, 5vw, 60px);
  font-weight: 650;
  letter-spacing: -0.055em;
}

.closing p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.closing > a {
  min-width: 150px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
}

.content-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 45px 0 52px;
}

.footer-brand p {
  max-width: 250px;
  margin: 17px 0 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.7;
}

.footer-groups {
  display: flex;
  gap: 68px;
}

.footer-groups > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-groups strong {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
}

.footer-groups a {
  color: var(--faint);
  font-size: 9px;
}

.footer-groups a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 19px 0 28px;
  color: var(--faint);
  border-top: 1px solid var(--line);
  font-size: 8px;
}

@keyframes pulse {
  from {
    transform: scaleY(0.78);
    opacity: 0.55;
  }
  to {
    transform: scaleY(1.05);
    opacity: 0.95;
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 940px) {
  .content-header > div {
    min-height: 78px;
  }

  .content-nav,
  .header-cta {
    display: none;
  }

  .content-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 72px 0 65px;
  }

  .voice-art {
    height: 330px;
  }

  .orbit-a {
    width: 290px;
    height: 290px;
  }

  .orbit-b {
    width: 215px;
    height: 215px;
  }

  .signal-grid,
  .plan-grid,
  .related > div {
    grid-template-columns: 1fr;
  }

  .signal-grid article {
    min-height: 155px;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .content-header,
  main,
  .content-footer {
    width: min(100% - 32px, 1160px);
  }

  .content-header > div {
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    width: 37px;
    height: 37px;
  }

  .header-actions {
    gap: 7px;
  }

  .language-link,
  .theme-button {
    height: 36px;
  }

  .theme-button {
    width: 36px;
  }

  .content-hero {
    padding-top: 56px;
  }

  .content-hero h1 {
    margin-top: 22px;
    font-size: clamp(40px, 13.5vw, 61px);
  }

  html[lang="ja"] .content-hero h1 {
    font-size: clamp(36px, 11.5vw, 54px);
  }

  .content-hero .hero-copy > p {
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .voice-art {
    height: 290px;
  }

  .orbit-a {
    width: 250px;
    height: 250px;
  }

  .orbit-b {
    width: 188px;
    height: 188px;
  }

  .wave {
    width: 240px;
    height: 105px;
    gap: 4px;
    padding: 18px;
  }

  .wave i {
    width: 3px;
  }

  .signal-grid {
    border-radius: 18px;
  }

  .signal-grid article {
    padding: 24px;
  }

  .plan-grid {
    margin-top: 70px;
  }

  .content-article {
    margin-top: 82px;
  }

  .article-section {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 37px 0;
  }

  .article-section h2 {
    font-size: 28px;
  }

  .faq-block,
  .related {
    margin-top: 82px;
  }

  .faq-block summary {
    min-height: 66px;
    font-size: 12px;
  }

  .related a {
    min-height: 180px;
  }

  .closing {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    margin-top: 85px;
    padding: 35px 26px;
    border-radius: 20px;
  }

  .closing h2 {
    font-size: 40px;
  }

  .footer-top {
    padding-top: 36px;
  }

  .footer-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 25px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
