:root {
  --primary: #4f8f83;
  --primary-dark: #2f665d;
  --primary-soft: #e9f5f1;
  --accent: #c9d66b;
  --coral: #d98a66;
  --blue: #527daa;
  --text: #243b3a;
  --muted: #647571;
  --background: #f7f4ee;
  --surface: #ffffff;
  --warm: #fbf8f1;
  --border: #e4ded3;
  --hairline: #ece5da;
  --shadow: 0 18px 48px rgba(36, 59, 58, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
  margin: 0;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

.site-header {
  align-items: center;
  background: rgba(247, 244, 238, 0.9);
  border-bottom: 1px solid rgba(228, 222, 211, 0.72);
  display: flex;
  height: 74px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(36, 59, 58, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
  height: 36px;
  width: 36px;
}

.site-nav {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 26px;
}

.site-nav a {
  color: var(--text);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary-dark);
}

.nav-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--text);
  border-radius: 999px;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 18px;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  isolation: isolate;
  min-height: min(760px, 92vh);
  overflow: hidden;
  padding: 148px clamp(20px, 5vw, 72px) 86px;
  position: relative;
}

.hero-bg {
  height: 100%;
  inset: 0;
  object-fit: contain;
  object-position: right bottom;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(36, 59, 58, 0.92), rgba(36, 59, 58, 0.5) 48%, rgba(247, 244, 238, 0.1)),
    linear-gradient(0deg, rgba(247, 244, 238, 0.18), rgba(247, 244, 238, 0.34));
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.hero-inner {
  color: var(--surface);
}

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow,
.light {
  color: #edf8f3;
}

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

h1 {
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 20px;
}

h3 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 10px;
}

.hero-lead {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.7;
  max-width: 700px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.app-store-button,
.primary-button {
  align-items: center;
  background: #111716;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--surface);
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 58px;
  padding: 9px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.app-store-button:hover,
.primary-button:hover {
  box-shadow: 0 14px 26px rgba(17, 23, 22, 0.18);
  transform: translateY(-1px);
}

.app-store-button svg {
  fill: currentColor;
  height: 27px;
  width: 27px;
}

.app-store-button span {
  display: grid;
  line-height: 1.1;
}

.app-store-button small {
  font-size: 10px;
  font-weight: 700;
}

.app-store-button.compact {
  margin-top: 18px;
}

.text-link {
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 900;
  padding-bottom: 3px;
}

.section-band {
  padding: clamp(70px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.section-band.warm {
  background: var(--warm);
}

.intro-grid {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.intro p,
.copy-block p,
.plan-grid p,
.contact-hero p,
.contact-aside p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.intro-stats {
  display: grid;
  gap: 12px;
}

.intro-stats div,
.feature-card,
.step-list li,
.plan-card,
.contact-form,
.contact-aside,
.floating-memo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(36, 59, 58, 0.07);
}

.intro-stats div {
  padding: 18px;
}

.intro-stats strong,
.contact-detail strong {
  color: var(--text);
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.intro-stats span,
.contact-detail span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 700;
}

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

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

.feature-card {
  overflow: hidden;
  padding: 18px;
}

.feature-card img {
  aspect-ratio: 16 / 10;
  background: var(--primary-soft);
  border-radius: 8px;
  height: auto;
  margin-bottom: 18px;
  object-fit: contain;
  width: 100%;
}

.feature-card p,
.step-list p,
.plan-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
}

.split-section,
.plan-grid,
.contact-grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 76px);
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
}

.phone-stack {
  min-height: 480px;
  position: relative;
}

.phone-frame {
  background: #14211f;
  border-radius: 36px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 295px;
  padding: 14px;
}

.phone-screen {
  background: var(--surface);
  border-radius: 26px;
  min-height: 548px;
  overflow: hidden;
  padding: 24px;
}

.phone-top {
  background: var(--hairline);
  border-radius: 999px;
  height: 6px;
  margin: 0 auto 34px;
  width: 76px;
}

.phone-label {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.balance-ring {
  align-items: center;
  background:
    radial-gradient(circle, var(--surface) 55%, transparent 56%),
    conic-gradient(var(--primary) 0 58%, var(--accent) 58% 76%, var(--blue) 76% 100%);
  border-radius: 999px;
  display: grid;
  height: 176px;
  justify-content: center;
  margin: 28px auto;
  width: 176px;
}

.balance-ring span {
  color: var(--primary-dark);
  font-size: 34px;
  font-weight: 900;
}

.mini-bars {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.mini-bars span {
  background: var(--primary-soft);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
  position: relative;
}

.mini-bars span::before {
  background: var(--primary);
  border-radius: inherit;
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: var(--w);
}

.phone-note {
  background: var(--warm);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 900;
  margin-top: 34px;
  padding: 12px;
  text-align: center;
}

.floating-memo {
  bottom: 18px;
  left: 0;
  max-width: 230px;
  padding: 16px;
  position: absolute;
}

.floating-memo strong,
.floating-memo span {
  display: block;
}

.floating-memo strong {
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 900;
}

.floating-memo span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.check-list li {
  color: var(--text);
  font-weight: 800;
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  background: var(--primary);
  border-radius: 50%;
  color: var(--surface);
  content: "";
  height: 17px;
  left: 0;
  position: absolute;
  top: 6px;
  width: 17px;
}

.check-list li::after {
  border: solid var(--surface);
  border-width: 0 2px 2px 0;
  content: "";
  height: 7px;
  left: 6px;
  position: absolute;
  top: 9px;
  transform: rotate(45deg);
  width: 4px;
}

.step-list {
  counter-reset: steps;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-list li {
  min-height: 220px;
  padding: 20px;
}

.step-list span {
  align-items: center;
  background: var(--primary-soft);
  border-radius: 8px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  margin-bottom: 20px;
  width: 48px;
}

.plan-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.plan-card {
  padding: 26px;
}

.plan-badge {
  background: var(--primary-soft);
  border-radius: 8px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
  padding: 6px 10px;
}

.cta-section {
  background: var(--primary-dark);
  color: var(--surface);
  padding: 76px clamp(20px, 5vw, 72px);
  text-align: center;
}

.cta-inner {
  align-items: center;
  display: grid;
  justify-items: center;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  margin-bottom: 26px;
}

.site-footer {
  background: var(--text);
  color: var(--surface);
  padding: 34px clamp(20px, 5vw, 72px);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 18px;
}

.site-footer small {
  color: rgba(255, 255, 255, 0.72);
}

.contact-page {
  padding-top: 74px;
}

.contact-hero {
  background: var(--primary-soft);
  padding: 86px clamp(20px, 5vw, 72px) 60px;
}

.contact-hero-inner {
  max-width: 820px;
}

.contact-hero h1 {
  color: var(--text);
  font-size: clamp(42px, 7vw, 76px);
}

.contact-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
}

.contact-form .hidden-field {
  display: none;
}

.contact-form label {
  color: var(--text);
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 143, 131, 0.16);
  outline: none;
}

.primary-button {
  border: 0;
  cursor: pointer;
  font-size: 16px;
  min-width: 180px;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0;
}

.contact-aside {
  padding: 24px;
}

.contact-aside h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.contact-detail {
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding-top: 18px;
}

.contact-detail a {
  color: var(--primary-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.turnstile-slot {
  display: grid;
  justify-items: center;
  min-height: 0;
}

.turnstile-slot:empty {
  display: none;
}

.form-alert {
  border-radius: 8px;
  display: none;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 14px;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.form-alert.error {
  background: #fff1ed;
  color: #9a432f;
}

.modal-backdrop {
  align-items: center;
  background: rgba(17, 23, 22, 0.48);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 40;
}

.modal-backdrop.show {
  display: flex;
}

.modal-panel {
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 430px;
  padding: 26px;
  width: 100%;
}

.modal-panel h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.modal-panel p {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 22px;
}

@media (max-width: 920px) {
  .feature-grid,
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .split-section,
  .plan-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    order: 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 0;
    left: 0;
    padding: 12px 20px 20px;
    position: fixed;
    right: 0;
    top: 66px;
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    border-bottom: 1px solid var(--hairline);
    padding: 14px 0;
  }

  .hero {
    min-height: 690px;
    padding: 116px 20px 62px;
  }

  .hero-bg {
    object-position: center bottom;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(36, 59, 58, 0.9), rgba(36, 59, 58, 0.2));
  }

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

  .section-band {
    padding: 64px 20px;
  }

  .feature-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    min-height: 540px;
  }

  .floating-memo {
    bottom: 0;
    left: 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-page {
    padding-top: 66px;
  }
}

@media (max-width: 420px) {
  .app-store-button {
    width: 100%;
  }

  .phone-frame {
    max-width: 270px;
  }

  .phone-screen {
    min-height: 516px;
  }
}
