:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  color: #16221c;
  background: #f1f6f3;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 4%, rgba(6, 199, 85, .13), transparent 28rem),
    radial-gradient(circle at 92% 28%, rgba(27, 117, 83, .08), transparent 24rem),
    #f4f8f6;
}

button { font: inherit; }

.demo-ribbon {
  padding: 9px 16px;
  color: #e9fff1;
  background: #123226;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
}

.page-shell {
  width: min(100% - 32px, 760px);
  min-height: calc(100vh - 145px);
  margin: 0 auto;
  padding: 28px 0 54px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: #06c755;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(6, 199, 85, .25);
}

.brand div { display: grid; gap: 1px; }
.brand strong { font-size: 13px; letter-spacing: .08em; }
.brand small { color: #708078; font-size: 11px; }

.progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  width: min(100%, 410px);
  margin: 28px auto;
}

.progress i { height: 1px; background: #cfdcd5; }
.progress-item { display: grid; justify-items: center; gap: 6px; color: #87948e; }
.progress-item span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #cfdcd5;
  border-radius: 50%;
  background: #f4f8f6;
  font-size: 12px;
  font-weight: 800;
}
.progress-item small { font-size: 10px; font-weight: 700; }
.progress-item.active { color: #087c3b; }
.progress-item.active span { color: white; border-color: #06c755; background: #06c755; }

.screen { display: none; animation: rise .32s ease both; }
.screen.active { display: block; }

.hero-card,
.phone-card,
.result-card {
  overflow: hidden;
  position: relative;
  padding: 44px;
  border: 1px solid rgba(18, 50, 38, .08);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(24, 62, 46, .12);
}

.hero-card { text-align: center; }
.hero-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -130px;
  top: -150px;
  border-radius: 50%;
  background: rgba(6, 199, 85, .1);
}

.hero-orbit {
  display: grid;
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 26px;
  color: white;
  background: linear-gradient(145deg, #19d867, #05ac49);
  box-shadow: 0 18px 42px rgba(6, 199, 85, .3);
  transform: rotate(-4deg);
}
.hero-orbit span { font-size: 38px; font-weight: 900; transform: rotate(4deg); }

.eyebrow {
  margin: 0 0 10px;
  color: #07843d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

h1 { margin: 0; font-size: clamp(28px, 5vw, 42px); line-height: 1.3; letter-spacing: -.04em; }
h1 em { color: #06ad4b; font-style: normal; }
.lead { max-width: 540px; margin: 18px auto 28px; color: #617068; font-size: 14px; line-height: 1.9; }

.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: #f4f8f6;
}
.comparison > div:not(.arrow) { display: grid; gap: 2px; padding: 12px 8px; border-radius: 13px; }
.comparison .before { color: #65716b; background: #e9efec; }
.comparison .after { color: #075e31; background: #ddf8e8; }
.comparison small { font-size: 10px; font-weight: 800; }
.comparison strong { font-size: 15px; }
.comparison span { font-size: 11px; }
.arrow { color: #079445; font-size: 20px; font-weight: 900; }

.primary-button,
.secondary-button,
.text-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}
.primary-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  color: white;
  border-radius: 16px;
  background: linear-gradient(135deg, #06c755, #03a746);
  box-shadow: 0 15px 34px rgba(6, 199, 85, .25);
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(6, 199, 85, .32); }
.primary-button:active { transform: translateY(0); }
.line-symbol { padding: 5px 7px; border-radius: 8px; color: #06ad4b; background: white; font-size: 9px; font-weight: 900; }
.microcopy { margin: 12px 0 0; color: #8a9690; font-size: 10px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.info-grid article { display: flex; gap: 12px; padding: 18px; border: 1px solid #e0eae5; border-radius: 18px; background: rgba(255,255,255,.72); }
.info-grid article > span { color: #0a9d49; font-size: 11px; font-weight: 900; }
.info-grid article div { display: grid; gap: 6px; }
.info-grid strong { font-size: 13px; }
.info-grid p { margin: 0; color: #748179; font-size: 11px; line-height: 1.6; }

.phone-card { width: min(100%, 480px); margin: auto; padding-top: 68px; }
.demo-label { position: absolute; inset: 0 0 auto; padding: 13px; color: #dff9e8; background: #123226; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-align: center; }
.account-row { display: flex; align-items: center; gap: 13px; padding-bottom: 22px; border-bottom: 1px solid #e7eee9; }
.account-icon { display: grid; width: 50px; height: 50px; place-items: center; color: white; border-radius: 16px; background: #06c755; font-size: 22px; font-weight: 900; }
.account-row div { display: grid; gap: 4px; }
.account-row small { color: #7a867f; font-size: 10px; }
.account-row strong { font-size: 15px; }
.phone-card h1 { margin-top: 28px; font-size: 27px; }
.phone-card > p { margin: 10px 0 24px; color: #69766f; font-size: 13px; line-height: 1.7; }
.permission-list { display: grid; gap: 10px; padding: 0; margin: 0 0 20px; list-style: none; }
.permission-list li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: #f3f8f5; }
.permission-list li > span { display: grid; width: 25px; height: 25px; place-items: center; color: #078a40; border-radius: 50%; background: #dff6e8; font-size: 12px; font-weight: 900; }
.permission-list div { display: grid; gap: 3px; }
.permission-list strong { font-size: 13px; }
.permission-list small { color: #77837d; font-size: 10px; }
.notice { padding: 14px; margin-bottom: 20px; border: 1px solid #f2e3bb; border-radius: 14px; background: #fffaf0; }
.notice strong { color: #785c13; font-size: 11px; }
.notice p { margin: 4px 0 0; color: #8a7440; font-size: 10px; line-height: 1.6; }
.text-button { padding: 15px; color: #728078; background: transparent; font-size: 11px; font-weight: 700; }

.result-card { width: min(100%, 520px); margin: auto; text-align: center; }
.result-icon { display: grid; width: 76px; height: 76px; margin: 0 auto 20px; place-items: center; color: white; border-radius: 50%; background: #06c755; box-shadow: 0 15px 38px rgba(6, 199, 85, .28); font-size: 34px; font-weight: 900; }
.result-card h1 { font-size: 30px; }
.result-card > p:not(.eyebrow) { margin: 14px auto 24px; color: #65726b; font-size: 13px; line-height: 1.8; }
.event-preview { display: grid; gap: 1px; overflow: hidden; margin: 20px 0; border: 1px solid #dfe9e4; border-radius: 15px; background: #dfe9e4; text-align: left; }
.event-preview div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 15px; background: #f8fbf9; }
.event-preview span { color: #7a877f; font-size: 11px; }
.event-preview strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.event-preview .green { color: #07883e; }
.event-preview.muted { opacity: .66; }
.timeline { display: grid; gap: 0; margin: 22px 0; text-align: left; }
.timeline div { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; color: #65726b; font-size: 12px; }
.timeline div:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 34px; width: 1px; height: 24px; background: #b8dfc8; }
.timeline i { display: grid; z-index: 1; width: 25px; height: 25px; place-items: center; color: #07873f; border-radius: 50%; background: #dff6e8; font-style: normal; font-size: 11px; font-weight: 900; }
.timeline .emphasis { color: #075d31; font-weight: 800; }
.secondary-button { min-height: 50px; padding: 13px 20px; color: #115f37; border: 1px solid #badcc8; border-radius: 14px; background: white; font-size: 12px; font-weight: 800; }
.cancelled-result .result-icon { color: #786c4a; background: #e8e0c9; box-shadow: none; }
.cancelled-result .eyebrow { color: #88774c; }

footer { padding: 24px 16px 38px; color: #738078; text-align: center; }
footer p { margin: 0 0 4px; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
footer span { font-size: 9px; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .page-shell { width: min(100% - 22px, 760px); padding-top: 20px; }
  .brand { padding: 0 4px; }
  .progress { margin: 24px auto 18px; }
  .hero-card, .phone-card, .result-card { padding: 30px 20px; border-radius: 23px; }
  .hero-card { padding-top: 34px; }
  .phone-card { padding-top: 66px; }
  h1 { font-size: 27px; }
  .lead { font-size: 12px; }
  .comparison { gap: 7px; padding: 9px; }
  .comparison > div:not(.arrow) { padding: 10px 4px; }
  .comparison strong { font-size: 12px; }
  .comparison span { font-size: 9px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid article { padding: 15px; }
  .result-card h1, .phone-card h1 { font-size: 25px; }
}

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