:root {
  color-scheme: light;
  --ink: #101316;
  --muted: #5a626c;
  --line: #dce2e8;
  --paper: #f8fafc;
  --white: #ffffff;
  --green: #087a52;
  --blue: #1768b3;
  --coral: #c84f3f;
  --amber: #a36300;
  --soft-green: #e7f7ee;
  --soft-blue: #e8f3ff;
  --soft-coral: #fff0e9;
  --soft-amber: #fff6dc;
  --shadow: 0 18px 54px rgba(16, 19, 22, 0.14);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
  background: var(--paper);
}

body {
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(16, 19, 22, 0.08);
  backdrop-filter: blur(20px);
}

.nav {
  width: min(100%, var(--max));
  height: 58px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(16, 19, 22, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 116px 22px 76px;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.93) 38%, rgba(248, 250, 252, 0.35) 66%, rgba(248, 250, 252, 0.08) 100%),
    url("assets/photos/kids-first-smartphone-hero.png") center/cover no-repeat;
}

.hero-inner,
.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
}

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

.label {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
}

.ip-notice {
  display: block;
  color: rgba(16, 19, 22, 0.56);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 16px;
}

h1 {
  max-width: 760px;
  font-size: 76px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  margin-bottom: 20px;
}

.keep-line {
  display: inline-block;
}

h2 {
  color: var(--ink);
  font-size: 48px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.55;
  font-weight: 900;
  margin-bottom: 12px;
}

.hero-sub {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
  font-weight: 700;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 26px rgba(8, 122, 82, 0.2);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(16, 19, 22, 0.14);
}

.launch-note {
  margin-top: 16px;
  color: rgba(16, 19, 22, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.plan-summary {
  display: inline-flex;
  max-width: 100%;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(8, 122, 82, 0.18);
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(231, 247, 238, 0.9);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 900;
}

.signal-band {
  background: var(--ink);
  color: var(--white);
  padding: 22px;
}

.signal-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.signal-item {
  min-height: 116px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.signal-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.signal-item span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}

.section {
  padding: 88px 22px;
  background: var(--paper);
}

.section.white {
  background: var(--white);
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head p,
.copy-block p,
.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.82fr);
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 0.95fr);
}

.copy-block p {
  margin-bottom: 22px;
}

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

.info-card,
.flow-card,
.related-card,
.faq-item {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-card.green,
.flow-card.green {
  background: var(--soft-green);
}

.info-card.blue,
.flow-card.blue {
  background: var(--soft-blue);
}

.info-card.coral,
.flow-card.coral {
  background: var(--soft-coral);
}

.info-card.amber,
.flow-card.amber {
  background: var(--soft-amber);
}

.info-card h3,
.flow-card h3,
.related-card h3,
.faq-item h3 {
  margin-bottom: 10px;
}

.info-card p,
.flow-card p,
.related-card p,
.faq-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.proof-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--green);
  background: var(--soft-green);
  font-weight: 900;
  line-height: 1;
}

.phone-demo {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(100%, 390px);
  padding: 14px;
  border-radius: 34px;
  background: #171a1d;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 720px;
  padding: 22px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  overflow: hidden;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.phone-title {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.weather-chip {
  min-width: 116px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
  text-align: center;
}

.family-message {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #cfe4d9;
  border-radius: var(--radius);
  background: var(--soft-green);
}

.family-message strong {
  display: block;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 4px;
}

.family-message span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.location-note,
.read-aloud-note {
  display: grid;
  place-items: center;
  min-height: 38px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--soft-blue);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
  text-align: center;
}

.read-aloud-note {
  margin: 12px 0 0;
  color: var(--green);
  background: var(--soft-green);
}

.kids-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.kids-tap-button {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-bottom: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.kids-tap-button.blue {
  border-bottom-color: var(--blue);
}

.kids-tap-button.coral {
  border-bottom-color: var(--coral);
}

.kids-tap-button.amber {
  border-bottom-color: var(--amber);
}

.utility-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.utility-button {
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.panel-stack {
  display: grid;
  gap: 14px;
}

.feature-panel {
  min-height: 188px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-panel h3 {
  margin-bottom: 10px;
}

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

.scene-card {
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.scene-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9eef3;
}

.scene-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.scene-copy h3 {
  font-size: 22px;
}

.scene-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.scene-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--green);
  background: var(--soft-green);
  font-size: 12px;
  font-weight: 900;
}

.scene-tag.blue {
  color: var(--blue);
  background: var(--soft-blue);
}

.scene-tag.amber {
  color: var(--amber);
  background: var(--soft-amber);
}

.scene-tag.coral {
  color: var(--coral);
  background: var(--soft-coral);
}

.feature-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.feature-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  list-style: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.feature-mini-list li {
  padding: 8px 10px;
  border: 1px solid rgba(241, 100, 74, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-panel.weather {
  background: var(--soft-blue);
}

.feature-panel.message {
  background: var(--soft-green);
}

.feature-panel.read-aloud {
  background: var(--soft-amber);
}

.feature-panel.camera {
  background: var(--soft-blue);
}

.feature-panel.voice {
  background: var(--soft-green);
}

.feature-panel.premium {
  background: linear-gradient(180deg, #f4efff 0%, #ffffff 100%);
}

.feature-panel.customize {
  background: linear-gradient(180deg, #ecfbff 0%, #ffffff 100%);
}

.feature-panel.remote {
  background: linear-gradient(180deg, #eef8f1 0%, #ffffff 100%);
}

.feature-panel.medical {
  background: var(--soft-coral);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kids-plan-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.kids-plan-card.recommended {
  border-color: rgba(23, 104, 179, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, var(--soft-blue) 100%);
  box-shadow: 0 18px 42px rgba(23, 104, 179, 0.12);
}

.kids-plan-card h3 {
  margin: 12px 0 10px;
  font-size: 28px;
}

.plan-price {
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  margin: 0 0 16px;
}

.kids-plan-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.plan-badge.free {
  color: var(--green);
  background: var(--soft-green);
}

.plan-badge.premium {
  color: var(--blue);
  background: var(--soft-blue);
}

.plan-list {
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.plan-list li {
  position: relative;
  padding-left: 22px;
}

.plan-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.comparison-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.comparison-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-wrap th,
.comparison-wrap td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.55;
}

.comparison-wrap th {
  color: var(--ink);
  background: #f3f8f4;
  font-weight: 900;
}

.comparison-wrap th:first-child,
.comparison-wrap td:first-child {
  color: var(--ink);
  text-align: left;
  font-weight: 900;
}

.comparison-wrap tr:last-child td {
  border-bottom: 0;
}

.comparison-wrap .yes {
  color: var(--green);
  font-weight: 900;
}

.comparison-wrap .no {
  color: rgba(16, 19, 22, 0.34);
  font-weight: 900;
}

.kids-comparison .plan-badge {
  margin: 0 auto 6px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-card {
  min-height: 250px;
}

.flow-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.trust-band {
  background: var(--ink);
  color: var(--white);
}

.trust-band h2 {
  color: var(--white);
}

.trust-band .section-head p {
  color: rgba(255, 255, 255, 0.76);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-item {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-item h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.trust-item p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  min-height: 190px;
}

.download-band {
  padding: 86px 22px;
  color: var(--white);
  background: var(--green);
  text-align: center;
}

.download-band h2 {
  color: var(--white);
}

.download-band .label {
  color: rgba(255, 255, 255, 0.86);
}

.download-band p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.85;
}

.download-band .actions {
  justify-content: center;
}

.download-band .button.primary {
  color: var(--green);
  background: var(--white);
  box-shadow: none;
}

.download-band .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

footer {
  padding: 34px 22px 44px;
  color: rgba(16, 19, 22, 0.56);
  background: var(--paper);
  font-size: 13px;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy .trust-note {
  color: rgba(16, 19, 22, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(16, 19, 22, 0.62);
}

@media (max-width: 1000px) {
  .signal-grid,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.reverse,
  .card-grid,
  .scene-grid,
  .plan-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .phone-demo,
  .split.reverse .panel-stack {
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav {
    height: 54px;
    padding: 0 16px;
  }

  .brand {
    font-size: 23px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 86px 18px 48px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.94) 48%, rgba(248, 250, 252, 0.58) 72%, rgba(248, 250, 252, 0.14) 100%),
      url("assets/photos/kids-first-smartphone-hero.png") 63% center/cover no-repeat;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-sub,
  .section-head p,
  .copy-block p,
  .lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .plan-summary {
    width: 100%;
  }

  .section {
    padding: 58px 18px;
  }

  .signal-band {
    padding: 18px;
  }

  .signal-grid,
  .flow-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .signal-item,
  .info-card,
  .scene-card,
  .kids-plan-card,
  .flow-card,
  .related-card,
  .faq-item,
  .trust-item,
  .feature-panel {
    min-height: auto;
    padding: 22px;
  }

  .scene-copy {
    padding: 22px;
  }

  .phone-frame {
    max-width: 354px;
    padding: 12px;
  }

  .phone-screen {
    min-height: 630px;
    padding: 18px 14px;
  }

  .phone-title {
    font-size: 21px;
  }

  .weather-chip {
    min-width: 104px;
    font-size: 12px;
  }

  .kids-tap-button {
    min-height: 98px;
    font-size: 17px;
  }

  .utility-button {
    min-height: 66px;
    font-size: 14px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
