:root {
  color-scheme: light;
  --navy-950: #020b1c;
  --navy-900: #06152f;
  --navy-850: #082044;
  --navy-800: #0a2e5f;
  --blue: #087cff;
  --cyan: #52dcff;
  --cyan-soft: #dff8ff;
  --ink: #0b1d3a;
  --muted: #5f6f86;
  --line: #d9e4f1;
  --surface: #ffffff;
  --soft: #f2f7fc;
  --glow: rgba(42, 190, 255, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f7faff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0871dc; text-underline-offset: 3px; }
a:hover { color: #004fa7; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(89, 185, 255, .16);
  background: rgba(2, 11, 28, .93);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
}

.brand:hover { color: #fff; }
.brand img, .footer-brand img {
  border-radius: 23%;
  box-shadow: 0 0 18px rgba(55, 205, 255, .32);
}

nav { display: flex; align-items: center; gap: 24px; }
nav a {
  position: relative;
  padding: 24px 0 22px;
  color: #b8c8df;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
nav a:hover { color: #fff; }
nav a[aria-current="page"] { color: #fff; }
nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px var(--glow);
}

/* Product home */
.home-main { width: auto; margin: 0; padding: 0; }

.product-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 38%, rgba(10, 123, 255, .28), transparent 30%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 48%, #072c59 100%);
}

.product-hero::before,
.product-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.product-hero::before {
  inset: 0;
  opacity: .25;
  background-image:
    linear-gradient(rgba(82, 220, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 220, 255, .12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent, #000 58%, #000);
}

.product-hero::after {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -340px;
  border: 1px solid rgba(82, 220, 255, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(8, 124, 255, .05), 0 0 0 140px rgba(8, 124, 255, .035);
}

.product-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  min-height: 610px;
  margin: 0 auto;
  padding: 92px 0 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: 70px;
}

.eyebrow, .section-kicker {
  margin: 0 0 13px;
  color: var(--cyan);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .18em;
}

.hero-copy h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 1.15;
  letter-spacing: -.055em;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(96deg, #fff 6%, #9cefff 62%, #47acff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #cbd9eb;
  font-size: 1.05rem;
  line-height: 2;
}

.hero-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  padding: 7px 13px;
  border: 1px solid rgba(117, 220, 255, .3);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(11, 90, 160, .24);
  font-size: .82rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.hero-visual > img {
  position: relative;
  z-index: 2;
  width: min(330px, 78vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 25%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42), 0 0 52px rgba(24, 151, 255, .26);
  transform: rotate(2deg);
}

.icon-aura {
  position: absolute;
  z-index: 0;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(76, 207, 255, .3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 255, .22), transparent 66%);
  box-shadow: 0 0 0 34px rgba(24, 151, 255, .045), 0 0 0 78px rgba(24, 151, 255, .028);
}

.score-chip {
  position: absolute;
  z-index: 3;
  min-width: 126px;
  padding: 12px 15px;
  border: 1px solid rgba(134, 225, 255, .36);
  border-radius: 14px;
  background: rgba(4, 28, 60, .87);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
}

.score-chip strong { display: block; color: #fff; font-size: 1.15rem; line-height: 1.15; }
.score-chip span { display: block; color: #9fdcf4; font-size: .75rem; font-weight: 700; }
.score-chip-top { top: 34px; right: 2px; }
.score-chip-bottom { bottom: 34px; left: 0; }

.home-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2, .help-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.32;
  letter-spacing: -.035em;
}
.section-heading > p:last-child, .help-panel > div > p:last-child { margin: 15px 0 0; color: var(--muted); }

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

.feature-card {
  position: relative;
  min-height: 245px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(10, 46, 95, .07);
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 2px;
  right: -24px;
  bottom: 24px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  transform: rotate(-45deg);
  opacity: .65;
}
.feature-card-wide { grid-column: span 2; background: linear-gradient(135deg, #061a38, #0a3972); color: #fff; }
.feature-card-wide p { color: #bfd0e5; }
.feature-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 30px;
  margin-bottom: 26px;
  border-radius: 8px;
  color: #0072df;
  background: #e8f7ff;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .08em;
}
.feature-card-wide .feature-number { color: #b3f2ff; background: rgba(60, 203, 255, .13); }
.feature-card h3 { margin: 0 0 10px; font-size: 1.17rem; line-height: 1.5; }
.feature-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.flow-section {
  padding: 86px max(20px, calc((100% - 1120px) / 2));
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8, 124, 255, .12), transparent 45%),
    var(--navy-950);
}
.section-heading-light { margin-bottom: 34px; }
.training-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.training-flow li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  margin: 0;
  padding: 25px;
  border: 1px solid rgba(102, 204, 255, .2);
  border-radius: 18px;
  background: rgba(9, 39, 78, .62);
}
.training-flow li > span { color: var(--cyan); font-size: .74rem; font-weight: 850; letter-spacing: .08em; }
.training-flow strong { display: block; font-size: 1.08rem; }
.training-flow p { margin: 8px 0 0; color: #aebfd5; font-size: .9rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pricing-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(10, 46, 95, .06);
}
.pricing-card-pro { color: #fff; border-color: #1667b5; background: linear-gradient(145deg, #06152f, #0a3972); box-shadow: 0 20px 60px rgba(4, 45, 93, .2); }
.plan-name { margin: 0; color: #0874dd; font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.pricing-card-pro .plan-name { color: var(--cyan); }
.price { margin: 8px 0 3px; line-height: 1.1; }
.price strong { font-size: 2.65rem; letter-spacing: -.05em; }
.price span { color: #9fb4cc; font-size: .95rem; }
.pricing-card > p:not(.plan-name):not(.price):not(.plan-badge) { color: var(--muted); }
.pricing-card-pro > p:not(.plan-name):not(.price):not(.plan-badge) { color: #bdcee2; }
.pricing-card ul { margin-top: 24px; padding: 0; list-style: none; }
.pricing-card li { position: relative; padding-left: 27px; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: #0b88ea; font-weight: 900; }
.pricing-card-pro li::before { color: var(--cyan); }
.plan-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: #dff9ff;
  background: rgba(64, 206, 255, .13);
  font-size: .72rem;
  font-weight: 750;
}
.legal-note { max-width: 840px; margin: 22px 0 0; color: var(--muted); font-size: .84rem; }

.help-panel {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 96px;
  padding: clamp(30px, 5vw, 52px);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
  border: 1px solid #cfe2f4;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fcff, #ecf7ff);
  box-shadow: 0 18px 60px rgba(10, 46, 95, .07);
}
.help-links { display: grid; gap: 12px; }
.help-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 20px;
  padding: 19px 22px;
  border: 1px solid #d6e5f2;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}
.help-links a:hover { border-color: #76bffc; box-shadow: 0 10px 28px rgba(8, 85, 160, .09); }
.help-links strong { font-size: 1rem; }
.help-links span { grid-column: 1; color: var(--muted); font-size: .83rem; }
.help-links b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #0874dd; font-size: 1.25rem; }

/* Support and privacy pages */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(20, 145, 255, .32), transparent 29%),
    linear-gradient(135deg, var(--navy-950), #07346a);
}
.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -190px;
  border: 1px solid rgba(82, 220, 255, .32);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(82, 220, 255, .045), 0 0 0 100px rgba(82, 220, 255, .025);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 66px;
}
.hero h1 { margin: 0; font-size: clamp(2.15rem, 6vw, 3.7rem); line-height: 1.2; letter-spacing: -.045em; }
.hero p:not(.eyebrow) { max-width: 680px; margin: 18px 0 0; color: #c7d8ea; font-size: 1rem; }

main:not(.home-main) {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 78px;
}
.intro, .section {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(10, 46, 95, .055);
}
.section + .section { margin-top: 22px; }
.section h2 { margin: 0 0 16px; font-size: 1.36rem; line-height: 1.45; }
.section h2::before { content: ""; display: inline-block; width: 5px; height: 1em; margin-right: 11px; border-radius: 5px; vertical-align: -.08em; background: linear-gradient(var(--cyan), var(--blue)); box-shadow: 0 0 10px var(--glow); }
.section h3 { margin: 26px 0 8px; font-size: 1.04rem; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 8px 0 0; padding-left: 1.35em; }
li + li { margin-top: 6px; }

.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.plan { padding: 22px; border: 1px solid #d8e8f5; border-radius: 15px; background: linear-gradient(135deg, #f6fbff, #edf7ff); }
.plan strong { display: block; color: #0758aa; font-size: 1.08rem; }
.plan span { color: var(--muted); }

.app-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.app-capabilities div { padding: 16px 18px; border: 1px solid #dce9f4; border-radius: 13px; background: #f8fbff; }
.app-capabilities strong { display: block; margin-bottom: 2px; color: #075eaf; }
.app-capabilities span { color: var(--muted); font-size: .9rem; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 0 0 18px 46px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #087cff, #00bde8);
  box-shadow: 0 6px 14px rgba(8, 124, 255, .2);
  font-weight: 800;
  line-height: 1;
}
.note { margin-top: 20px; padding: 15px 17px; border-left: 4px solid var(--blue); border-radius: 8px; background: #edf7ff; }
.metadata { margin-top: 30px; color: var(--muted); font-size: .92rem; }

footer { color: #afc0d6; background: var(--navy-950); }
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 118px;
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: .82rem;
}
.footer-inner a { color: #c4d8eb; text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: .95rem; font-weight: 800; }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 820px) {
  .product-hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 44px; padding: 70px 0 82px; }
  .hero-visual { min-height: 340px; }
  .hero-visual > img { width: 285px; }
  .icon-aura { width: 330px; height: 330px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card-wide { grid-column: span 2; }
  .training-flow { grid-template-columns: 1fr; }
  .help-panel { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 0; padding: 12px 0 10px; align-items: flex-start; flex-direction: column; gap: 3px; }
  .brand img { width: 32px; height: 32px; }
  nav { width: 100%; gap: 18px; overflow-x: auto; }
  nav a { padding: 9px 0 8px; font-size: .8rem; }
  .product-hero-inner { padding: 56px 0 70px; }
  .hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
  .hero-lead { font-size: .98rem; line-height: 1.9; }
  .hero-visual { min-height: 300px; }
  .hero-visual > img { width: 235px; }
  .icon-aura { width: 275px; height: 275px; }
  .score-chip { min-width: 112px; padding: 10px 12px; }
  .score-chip-top { right: -2px; top: 18px; }
  .score-chip-bottom { left: -2px; bottom: 18px; }
  .home-section { padding: 70px 0; }
  .feature-grid, .pricing-grid, .summary-grid, .app-capabilities { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: auto; }
  .feature-card { min-height: 0; padding: 24px; }
  .training-flow li { grid-template-columns: 40px 1fr; padding: 22px; }
  .pricing-card { padding: 28px 24px; }
  .plan-badge { position: static; display: inline-block; margin-bottom: 16px; }
  .help-panel { margin-bottom: 70px; }
  .hero-inner { padding: 54px 0 48px; }
  main:not(.home-main) { padding-top: 30px; }
  .footer-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, footer { display: none; }
  body { background: #fff; }
  .hero { color: var(--ink); background: none; }
  .hero p:not(.eyebrow) { color: var(--ink); }
  .hero-inner { padding: 24px 0; }
  main:not(.home-main) { padding: 0; }
  .section, .intro { box-shadow: none; break-inside: avoid; }
}
