:root {
  color-scheme: light dark;
  --ink: #14342d;
  --muted: #5c716b;
  --paper: #f4f5ed;
  --surface: rgba(255, 255, 251, 0.86);
  --line: rgba(19, 81, 65, 0.14);
  --green: #08745e;
  --deep: #034f40;
  --mint: #37cba1;
  --mint-soft: #def4e8;
  --sand: #efb65d;
  --shadow: 0 24px 70px rgba(20, 72, 59, 0.13);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 2%, rgba(239, 182, 93, 0.18), transparent 28rem),
    radial-gradient(circle at 8% 12%, rgba(55, 203, 161, 0.16), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }

.nav {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 254, 249, 0.84);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
  min-height: 68px;
  padding: 11px max(22px, calc((100% - var(--max)) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav .back { color: var(--muted); font-size: 0.9rem; font-weight: 650; }
.nav .brand { color: var(--ink); font-size: 1.12rem; font-weight: 850; letter-spacing: -0.02em; margin-right: auto; }
.nav > a:not(.brand):not(.back) { color: var(--muted); font-size: 0.9rem; font-weight: 650; }
.nav a:hover { color: var(--green); }

.hero { padding: clamp(64px, 9vw, 112px) 24px 86px; }
.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(48px, 8vw, 96px);
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.66fr);
  margin: 0 auto;
  max-width: var(--max);
}
.eyebrow, .section-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.9rem, 6.1vw, 5.4rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 0;
}
.hero-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.95;
  margin: 28px 0 0;
  max-width: 650px;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  align-items: center;
  background: linear-gradient(135deg, var(--green), var(--deep));
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(4, 83, 67, 0.2);
  color: #fff;
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 780;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { box-shadow: 0 18px 36px rgba(4, 83, 67, 0.27); transform: translateY(-2px); }
.button.secondary { background: var(--surface); border-color: var(--line); box-shadow: none; color: var(--ink); }
.button.disabled { cursor: default; opacity: 0.74; }
.button.disabled:hover { transform: none; }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.hero-points span { background: rgba(255, 255, 252, 0.66); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.86rem; font-weight: 650; padding: 7px 13px; }

.hero-device { margin: 0 auto; max-width: 330px; position: relative; width: 100%; }
.hero-device::before { background: var(--mint); border-radius: 50%; content: ""; filter: blur(58px); height: 210px; left: -40px; opacity: 0.32; position: absolute; top: 18%; width: 210px; }
.hero-device .phone { transform: rotate(2.5deg); }
.app-badge { align-items: center; background: rgba(255, 255, 252, 0.9); border: 1px solid var(--line); border-radius: 20px; bottom: 8%; box-shadow: var(--shadow); display: flex; gap: 12px; left: -58px; padding: 12px 15px; position: absolute; z-index: 3; }
.app-badge img { border-radius: 14px; height: 54px; width: 54px; }
.app-badge span { display: flex; flex-direction: column; }
.app-badge strong { font-size: 0.96rem; }
.app-badge small { color: var(--muted); font-size: 0.74rem; font-weight: 650; }

.phone {
  background: #080a0a;
  border: 2px solid #303634;
  border-radius: 54px;
  box-shadow: 0 30px 70px rgba(10, 37, 30, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  padding: 10px;
  position: relative;
}
.phone::before {
  background: #080a0a;
  border-radius: 0 0 16px 16px;
  content: "";
  height: 30px;
  left: 50%;
  position: absolute;
  top: 9px;
  transform: translateX(-50%);
  width: 43%;
  z-index: 2;
}
.phone::after {
  background: #202422;
  border-radius: 999px;
  content: "";
  height: 4px;
  left: -5px;
  position: absolute;
  top: 23%;
  width: 4px;
}
.phone img { border-radius: 43px; width: 100%; }

.section { padding: 100px 24px; }
.section.alt { background: rgba(255, 255, 252, 0.62); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.section-inner { margin: 0 auto; max-width: var(--max); }
.section-head { margin-bottom: 44px; max-width: 710px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.045em; line-height: 1.18; margin: 0; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 18px 0 0; }

.screenshots { align-items: start; display: grid; gap: clamp(26px, 4vw, 48px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.screen-card { margin: 0; min-width: 0; }
.screen-card figcaption { color: var(--muted); font-size: 0.95rem; font-weight: 720; margin-top: 20px; text-align: center; }

.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 16px 44px rgba(20, 72, 59, 0.07); padding: 30px; }
.feature-icon { align-items: center; background: var(--mint-soft); border-radius: 15px; color: var(--deep); display: inline-flex; font-size: 1.25rem; height: 48px; justify-content: center; width: 48px; }
.feature-card h3 { font-size: 1.24rem; letter-spacing: -0.02em; margin: 18px 0 8px; }
.feature-card p { color: var(--muted); margin: 0; }

.flow { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-step { border-top: 2px solid var(--line); padding: 24px 12px 0 0; }
.flow-number { color: var(--green); font-size: 0.82rem; font-weight: 850; letter-spacing: 0.08em; }
.flow-step h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.flow-step p { color: var(--muted); margin: 0; }

.plans { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 34px; }
.plan.premium { background: linear-gradient(145deg, rgba(222, 247, 235, 0.96), rgba(255, 248, 230, 0.88)); border-color: rgba(8, 116, 94, 0.3); box-shadow: var(--shadow); }
.plan-label { color: var(--green); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.1em; margin: 0; }
.plan h3 { font-size: 1.45rem; margin: 8px 0; }
.price { font-size: 1.55rem; font-weight: 850; letter-spacing: -0.03em; margin: 0 0 22px; }
.plan ul { color: var(--muted); list-style: none; margin: 0; padding: 0; }
.plan li { border-top: 1px solid var(--line); padding: 11px 0; }
.plan li::before { color: var(--green); content: "✓"; font-weight: 850; margin-right: 9px; }
.plan-note { color: var(--muted); font-size: 0.86rem; margin: 20px 0 0; }

.privacy-panel { align-items: center; background: linear-gradient(135deg, #075b49, #0b7a63); border-radius: 34px; color: #fff; display: grid; gap: 34px; grid-template-columns: 1fr auto; padding: clamp(34px, 6vw, 64px); }
.privacy-panel h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.04em; line-height: 1.2; margin: 0; }
.privacy-panel p { color: rgba(255, 255, 255, 0.79); margin: 16px 0 0; max-width: 660px; }
.privacy-links { display: flex; flex-direction: column; gap: 10px; }
.privacy-links a { background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.27); border-radius: 12px; color: #fff; font-weight: 730; padding: 12px 18px; text-align: center; }

.cta { padding: 30px 24px 104px; text-align: center; }
.cta-inner { margin: 0 auto; max-width: 720px; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.045em; line-height: 1.2; margin: 0; }
.cta p { color: var(--muted); font-size: 1.05rem; margin: 18px 0 28px; }

footer { border-top: 1px solid var(--line); color: var(--muted); padding: 34px 24px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 12px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; font-weight: 650; }
footer p { font-size: 0.86rem; margin: 0; }

.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); margin: 38px auto; max-width: 820px; padding: 40px; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.15; }
.legal h2 { color: var(--green); font-size: 1.18rem; margin: 32px 0 8px; }
.legal p, .legal li { margin: 0 0 12px; }
.updated { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 840px) {
  .nav .back { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-device { max-width: 300px; }
  .feature-grid, .plans { grid-template-columns: 1fr; }
  .privacy-panel { grid-template-columns: 1fr; }
  .privacy-links { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 650px) {
  .nav { gap: 11px; min-height: 62px; padding: 10px 15px; }
  .nav .brand { font-size: 1rem; }
  .nav > a:not(.brand):not(.back) { font-size: 0.78rem; }
  .hero { padding: 56px 20px 68px; }
  .hero h1 { font-size: clamp(2.5rem, 13.5vw, 4rem); }
  .app-badge { left: -24px; }
  .section { padding: 76px 18px; }
  .screenshots { display: flex; margin-right: -18px; overflow-x: auto; padding: 2px 26px 28px 2px; scroll-snap-type: inline mandatory; }
  .screen-card { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
  .phone { border-radius: 47px; padding: 9px; }
  .phone img { border-radius: 37px; }
  .flow { grid-template-columns: 1fr; }
  .feature-card, .plan { padding: 25px; }
  .privacy-panel { border-radius: 26px; padding: 30px 24px; }
  .privacy-links { flex-direction: column; }
  .legal { border-radius: 22px; margin: 16px 10px; padding: 26px 21px; }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #edf8f3; --muted: #a9bdb5; --paper: #0d1d18; --surface: rgba(24, 43, 36, 0.9); --line: rgba(205, 238, 226, 0.13); --green: #70dab7; --deep: #b2f2dc; --mint-soft: #214a3c; --shadow: 0 24px 70px rgba(0, 0, 0, 0.26); }
  .nav { background: rgba(13, 29, 24, 0.86); }
  .hero-points span, .app-badge { background: rgba(23, 43, 36, 0.9); }
  .section.alt { background: rgba(21, 40, 34, 0.6); }
  .plan.premium { background: linear-gradient(145deg, rgba(25, 65, 52, 0.96), rgba(52, 48, 31, 0.88)); }
}
