:root {
  --bg: #061813;
  --bg-soft: #09251d;
  --panel: rgba(13, 43, 34, .74);
  --panel-solid: #0d2b22;
  --line: rgba(154, 230, 199, .14);
  --green: #34d59b;
  --green-2: #70e9bc;
  --green-deep: #0b9a6f;
  --cream: #f3f6ed;
  --muted: #a5b9b0;
  --muted-2: #768e84;
  --black: #03100d;
  --radius: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .38);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 80% 8%, rgba(24, 139, 97, .18), transparent 30%),
    radial-gradient(circle at 12% 22%, rgba(51, 213, 155, .08), transparent 24%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: -10rem; z-index: 9999; background: white; color: black; padding: .75rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding: 132px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled { background: rgba(6, 24, 19, .82); border-color: var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { border-radius: 13px; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1.18rem; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--green); letter-spacing: .28em; font-size: .55rem; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; color: var(--muted); font-size: .88rem; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: white; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--green);
  color: #02130e;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(52, 213, 155, .18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--green-2); box-shadow: 0 14px 36px rgba(52, 213, 155, .28); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: .85rem; }

.hero { position: relative; min-height: 900px; padding: 180px 0 110px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(129, 217, 181, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(129, 217, 181, .055) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-one { width: 460px; height: 460px; background: rgba(46, 223, 157, .16); right: -120px; top: 120px; }
.hero-glow-two { width: 300px; height: 300px; background: rgba(221, 169, 72, .10); left: 24%; bottom: 40px; }
.hero-grid { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 20px; color: var(--green-2); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 38px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--green); }
.hero h1, .section-heading h2, .meaning-grid h2, .story h2, .final-card h2 {
  margin: 0;
  font-size: clamp(2.65rem, 5.3vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 800;
}
h1 em, h2 em { color: var(--green-2); font-style: normal; }
.hero-lead { max-width: 590px; margin: 30px 0 0; color: #c3d1ca; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 38px; flex-wrap: wrap; }
.app-badge {
  display: inline-block;
  width: 220px;
  line-height: 0;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.28));
  transition: transform .2s ease, filter .2s ease;
}
.app-badge:hover { transform: translateY(-3px); filter: drop-shadow(0 22px 38px rgba(0,0,0,.36)); }
.app-badge img { width: 100%; height: auto; }
.text-link { color: var(--muted); font-weight: 700; font-size: .9rem; }
.text-link span { color: var(--green); margin-left: 5px; }
.hero-meta { display: flex; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; }
.hero-meta li { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }

.phone-stage { position: relative; height: 690px; perspective: 1400px; }
.phone {
  position: absolute;
  overflow: hidden;
  border: 8px solid #09110e;
  border-radius: 38px;
  background: #0a1712;
  box-shadow: var(--shadow);
}
.phone::before { content: ""; position: absolute; z-index: 2; top: 10px; left: 50%; width: 31%; height: 22px; transform: translateX(-50%); border-radius: 18px; background: #080d0b; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-main { width: 322px; height: 696px; left: 50%; top: 0; z-index: 3; transform: translateX(-50%) rotateY(-2deg); }
.phone-back { width: 257px; height: 556px; top: 75px; z-index: 1; opacity: .72; filter: saturate(.88); }
.phone-left { left: 6%; transform: rotateY(17deg) rotateZ(-4deg); }
.phone-right { right: 5%; transform: rotateY(-17deg) rotateZ(4deg); }
.stage-chip { position: absolute; z-index: 4; display: grid; padding: 13px 16px; border: 1px solid rgba(112,233,188,.24); border-radius: 16px; background: rgba(7, 33, 26, .86); backdrop-filter: blur(14px); box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.stage-chip span, .stage-chip small { color: var(--muted); font-size: .65rem; letter-spacing: .1em; }
.stage-chip strong { font-size: 1.35rem; color: white; }
.chip-score { left: 0; top: 60px; }
.chip-share { right: 0; bottom: 78px; display: flex; align-items: center; gap: 8px; }
.chip-share span { color: var(--green); font-size: 1.25rem; }
.chip-share strong { font-size: .78rem; }

.meaning-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(4, 19, 15, .58); }
.meaning-grid { display: grid; grid-template-columns: 110px .9fr 1fr; gap: 55px; align-items: start; }
.meaning-number { font-size: 5rem; line-height: 1; color: rgba(112,233,188,.12); font-weight: 900; }
.meaning-grid h2 { font-size: clamp(2.4rem, 4.3vw, 4.4rem); }
.meaning-copy { color: #b7c7c0; font-size: 1.05rem; }
.meaning-copy p { margin: 0 0 22px; }

.features { overflow: hidden; }
.section-heading { max-width: 760px; margin-bottom: 90px; }
.section-heading h2 { font-size: clamp(2.35rem, 4.6vw, 4.5rem); }
.section-heading > p:last-child { color: var(--muted); margin: 24px 0 0; font-size: 1.05rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow span { display: none; }
.feature-row { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 90px; margin: 0 0 110px; }
.feature-row-reverse { grid-template-columns: 1.1fr .9fr; }
.feature-row-reverse .feature-copy { order: 2; }
.feature-row-reverse .feature-visual { order: 1; }
.feature-index { color: var(--green); font-size: .72rem; font-weight: 900; letter-spacing: .17em; }
.feature-copy h3, .feature-card h3 { margin: 17px 0 20px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.25; letter-spacing: -.04em; }
.feature-copy > p, .feature-card p { color: var(--muted); }
.check-list { display: grid; gap: 10px; padding: 0; margin: 28px 0 0; list-style: none; color: #c8d5cf; font-size: .92rem; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: rgba(52,213,155,.13); color: var(--green); font-weight: 900; }
.feature-visual { position: relative; min-height: 620px; border: 1px solid var(--line); border-radius: 40px; background: linear-gradient(145deg, rgba(24,76,59,.62), rgba(7,26,20,.72)); overflow: hidden; }
.feature-visual::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; bottom: -90px; border-radius: 50%; background: rgba(52,213,155,.13); filter: blur(50px); }
.feature-phone { position: absolute; z-index: 2; width: 300px; height: 648px; left: 50%; top: 40px; transform: translateX(-50%); overflow: hidden; border: 8px solid #07110d; border-radius: 36px; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.feature-phone img { width: 100%; height: 100%; object-fit: cover; }
.floating-note, .growth-card { position: absolute; z-index: 3; display: grid; padding: 18px 20px; border: 1px solid rgba(112,233,188,.25); border-radius: 18px; background: rgba(5,27,21,.88); backdrop-filter: blur(12px); box-shadow: 0 20px 38px rgba(0,0,0,.26); }
.floating-note { right: 40px; top: 100px; }
.floating-note strong { color: var(--green-2); font-size: 2.2rem; line-height: 1; }
.floating-note span, .growth-card small { color: var(--muted); font-size: .65rem; letter-spacing: .12em; }
.growth-card { left: 35px; bottom: 50px; }
.growth-card strong { font-size: 1.25rem; }
.growth-card span { color: var(--green); font-size: .78rem; }
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 110px; }
.feature-card { position: relative; min-height: 650px; padding: 42px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(155deg, rgba(13,43,34,.86), rgba(6,23,18,.92)); overflow: hidden; }
.feature-card-alt { background: linear-gradient(155deg, rgba(34,50,30,.82), rgba(9,25,18,.94)); }
.feature-card-copy { position: relative; z-index: 2; max-width: 410px; }
.feature-card h3 { font-size: 2rem; margin-block: 14px 12px; }
.card-phone { position: absolute; width: 250px; height: 541px; right: 40px; bottom: -190px; overflow: hidden; border: 7px solid #07110d; border-radius: 31px; box-shadow: 0 24px 60px rgba(0,0,0,.37); transform: rotate(-4deg); }
.feature-card-alt .card-phone { transform: rotate(4deg); }
.card-phone img { width: 100%; height: 100%; object-fit: cover; }

.steps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(4, 18, 14, .68); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { min-height: 260px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.025); }
.step-card > span { color: rgba(112,233,188,.28); font-size: 2.7rem; font-weight: 900; }
.step-card h3 { margin: 20px 0 8px; font-size: 1.35rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.story { overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: center; }
.story h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.story-panel > p:not(.eyebrow) { color: var(--muted); }
.story-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; color: var(--green-2); font-weight: 800; }
.story-roadmap { position: relative; display: grid; gap: 42px; padding: 42px; border: 1px solid var(--line); border-radius: 32px; background: rgba(13,43,34,.56); }
.roadmap-line { position: absolute; width: 1px; left: 56px; top: 64px; bottom: 64px; background: linear-gradient(var(--green), rgba(52,213,155,.1)); }
.roadmap-item { position: relative; padding-left: 50px; }
.roadmap-item > span { position: absolute; z-index: 2; left: 3px; top: 5px; width: 18px; height: 18px; border: 4px solid var(--panel-solid); border-radius: 50%; background: var(--muted-2); box-shadow: 0 0 0 1px rgba(112,233,188,.2); }
.roadmap-item.current > span { background: var(--green); box-shadow: 0 0 0 8px rgba(52,213,155,.09); }
.roadmap-item small { color: var(--green); font-weight: 900; letter-spacing: .12em; }
.roadmap-item strong { display: block; margin: 5px 0; font-size: 1.05rem; }
.roadmap-item p { margin: 0; color: var(--muted); font-size: .85rem; }

.final-cta { position: relative; overflow: hidden; }
.final-card { position: relative; display: grid; grid-template-columns: 1fr 330px; align-items: center; min-height: 580px; padding: 72px 80px; border: 1px solid rgba(112,233,188,.19); border-radius: 42px; background: linear-gradient(125deg, #0e3b2d, #071d17 65%); overflow: hidden; box-shadow: var(--shadow); }
.final-card::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 54px 54px; }
.final-card > * { position: relative; z-index: 2; }
.final-card h2 { font-size: clamp(2.3rem, 4.4vw, 4.3rem); }
.final-card p { max-width: 620px; color: #bdd0c7; }
.final-card .app-badge { margin-top: 20px; }
.final-phone { position: absolute; z-index: 2; width: 285px; height: 617px; right: 60px; top: 70px; overflow: hidden; border: 8px solid #06100c; border-radius: 36px; box-shadow: 0 28px 65px rgba(0,0,0,.4); transform: rotate(5deg); }
.final-phone img { width: 100%; height: 100%; object-fit: cover; }
.final-glow { position: absolute; width: 520px; height: 520px; right: -120px; top: 40px; border-radius: 50%; background: rgba(52,213,155,.12); filter: blur(85px); }

.site-footer { padding: 42px 0 120px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 22px 50px; align-items: center; }
.footer-links { justify-self: end; display: flex; gap: 24px; color: var(--muted); font-size: .82rem; }
.footer-inner > p { grid-column: 1 / -1; margin: 0; color: var(--muted-2); font-size: .68rem; }
.brand-footer strong { font-size: 1rem; }

.mobile-cta { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }

@media (max-width: 1000px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .phone-stage { width: min(720px, 100%); margin: 15px auto 0; }
  .meaning-grid { grid-template-columns: 80px 1fr; }
  .meaning-copy { grid-column: 2; }
  .feature-row, .feature-row-reverse { grid-template-columns: 1fr 1fr; gap: 45px; }
  .feature-pair { grid-template-columns: 1fr; }
  .feature-card { min-height: 590px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-roadmap { max-width: 720px; }
  .final-card { padding: 64px 52px; grid-template-columns: 1fr 260px; }
  .final-phone { width: 240px; height: 520px; right: 40px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-pad { padding: 86px 0; }
  .desktop-nav { display: none; }
  .header-inner { min-height: 68px; }
  .header-inner > .button { display: none; }
  .brand img { width: 36px; height: 36px; }
  .hero { padding: 130px 0 72px; }
  .hero-grid { gap: 50px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-meta { flex-wrap: wrap; }
  .phone-stage { height: 510px; margin-top: 0; }
  .phone-main { width: 236px; height: 510px; }
  .phone-back { width: 172px; height: 372px; top: 74px; }
  .phone-left { left: -6%; }
  .phone-right { right: -6%; }
  .phone { border-width: 6px; border-radius: 28px; }
  .phone::before { top: 7px; height: 16px; }
  .chip-score { top: 20px; left: -1%; }
  .chip-share { right: -2%; bottom: 28px; }

  .meaning-grid { grid-template-columns: 1fr; gap: 24px; }
  .meaning-number { font-size: 3rem; }
  .meaning-copy { grid-column: auto; }
  .meaning-grid h2, .section-heading h2, .story h2, .final-card h2 { font-size: clamp(2.15rem, 10vw, 3.4rem); }
  .section-heading { margin-bottom: 55px; }

  .feature-row, .feature-row-reverse { grid-template-columns: 1fr; gap: 36px; margin-bottom: 76px; }
  .feature-row-reverse .feature-copy, .feature-row-reverse .feature-visual { order: initial; }
  .feature-visual { min-height: 510px; border-radius: 28px; }
  .feature-phone { width: 230px; height: 498px; top: 30px; border-radius: 29px; border-width: 6px; }
  .floating-note { right: 14px; top: 54px; padding: 13px 14px; }
  .growth-card { left: 14px; bottom: 24px; padding: 13px 14px; }
  .feature-pair { gap: 18px; margin-bottom: 76px; }
  .feature-card { min-height: 560px; padding: 28px; border-radius: 26px; }
  .feature-card h3 { font-size: 1.7rem; }
  .card-phone { width: 220px; height: 476px; right: 24px; bottom: -160px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .story-grid { gap: 50px; }
  .story-roadmap { padding: 30px 24px; }
  .roadmap-line { left: 37px; }
  .roadmap-item { padding-left: 46px; }
  .roadmap-item > span { left: 3px; }

  .final-card { min-height: 760px; display: block; padding: 46px 28px; border-radius: 30px; }
  .final-phone { width: 225px; height: 487px; right: -15px; top: auto; bottom: -180px; }
  .final-card p { max-width: 420px; }
  .site-footer { padding-bottom: 110px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; }

  .mobile-cta {
    position: fixed;
    z-index: 99;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 11px 10px 16px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    background: rgba(5, 20, 16, .91);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 46px rgba(0,0,0,.36);
    transform: translateY(130%);
    transition: transform .3s ease;
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta > div { display: grid; line-height: 1.2; }
  .mobile-cta small { color: var(--muted); font-size: .67rem; }
  .mobile-cta .button { min-height: 42px; padding-inline: 15px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
