:root {
  color-scheme: light;
  --ink: #10213a;
  --ink-soft: #324862;
  --muted: #61738a;
  --blue: #0878e8;
  --blue-dark: #075db2;
  --cyan: #10a9d8;
  --green: #0d9b54;
  --orange: #d65f00;
  --surface: #ffffff;
  --surface-soft: #f5faff;
  --line: #cfe1f3;
  --bg: #eef8ff;
  --shadow: 0 22px 60px rgba(21, 78, 130, .14);
  --radius: 28px;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fcff 0, var(--bg) 36rem, #fff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffb000; outline-offset: 4px; border-radius: 6px; }
.wrap { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 16px; background: #fff; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(207, 225, 243, .88);
  background: rgba(247, 252, 255, .93);
  backdrop-filter: blur(16px);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 8px 20px rgba(8, 120, 232, .2); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: .92rem; }
.site-nav a[aria-current="page"] { color: var(--blue); }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 2px solid transparent; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; line-height: 1.35; box-shadow: 0 10px 28px rgba(8, 120, 232, .22); }
.button:hover { background: var(--blue-dark); }
.button.secondary { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: none; }
.button.secondary:hover { border-color: #9fc9ed; background: var(--surface-soft); }
.button.compact { min-height: 42px; padding: 8px 15px; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

main { overflow: clip; }
.hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(34px, 6vw, 74px); align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .82rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.05; }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 4.2vw, 3.35rem); }
h3 { margin: 0 0 10px; font-size: 1.28rem; }
.hero .lead { max-width: 40rem; margin: 22px 0 0; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-proof li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft); font-size: .88rem; font-weight: 700; }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo { width: 100%; height: 520px; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.phone-shot { position: absolute; right: -12px; bottom: -36px; width: min(42%, 240px); border: 8px solid #fff; border-radius: 34px; box-shadow: 0 26px 70px rgba(16, 33, 58, .24); }
.app-badge { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; background: rgba(255, 255, 255, .94); box-shadow: 0 14px 36px rgba(16, 33, 58, .18); font-weight: 800; }
.app-badge img { width: 48px; height: 48px; border-radius: 12px; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tint { border-block: 1px solid var(--line); background: rgba(239, 248, 255, .68); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 14px 40px rgba(25, 87, 143, .08); }
.card p:last-child { margin-bottom: 0; }
.icon { display: grid; width: 52px; height: 52px; margin-bottom: 18px; place-items: center; border-radius: 17px; background: #e8f5ff; color: var(--blue); font-size: 1.5rem; }
.problem-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; list-style: none; }
.problem-list li { position: relative; padding: 18px 20px 18px 52px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-weight: 700; }
.problem-list li::before { position: absolute; left: 18px; color: var(--orange); content: "✓"; font-size: 1.2rem; font-weight: 900; }

.feature-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 72px); align-items: center; }
.feature-row.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.feature-row.reverse .feature-copy { order: 2; }
.screen-frame { width: min(100%, 440px); margin: auto; padding: 14px; border: 1px solid var(--line); border-radius: 38px; background: #fff; box-shadow: var(--shadow); }
.screen-frame img { display: block; border-radius: 26px; }
.feature-photo { width: 100%; max-height: 520px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin: 11px 0; padding-left: 31px; }
.check-list li::before { position: absolute; left: 0; color: var(--green); content: "●"; font-size: .75rem; }
.notice { padding: 18px 20px; border-left: 5px solid var(--orange); border-radius: 0 16px 16px 0; background: #fff6ed; color: #66320e; }

.price-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.price { margin: 0; font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.price small { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.fine { color: var(--muted); font-size: .88rem; }

.video-placeholder { display: grid; min-height: 360px; place-items: center; padding: 36px; border: 2px dashed #9fc9ed; border-radius: 28px; background: linear-gradient(135deg, #e6f5ff, #fff); text-align: center; }
.video-placeholder .play { display: grid; width: 72px; height: 72px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.7rem; }

.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
summary { padding: 19px 22px; cursor: pointer; font-weight: 800; }
details > div { padding: 0 22px 22px; color: var(--ink-soft); }

.article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card { display: flex; min-height: 100%; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-decoration: none; }
.article-card:hover { border-color: #8fc2ea; box-shadow: 0 14px 38px rgba(25, 87, 143, .1); }
.article-card h3 { color: var(--ink); }
.article-card p { color: var(--muted); }
.article-card .more { margin-top: auto; color: var(--blue); font-weight: 800; }

.page-hero { padding: 72px 0 48px; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.page-hero .lead { max-width: 760px; color: var(--ink-soft); font-size: 1.14rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; color: var(--muted); list-style: none; font-size: .9rem; }
.breadcrumb li:not(:last-child)::after { margin-left: 8px; content: "/"; }
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { margin-top: 2.5em; font-size: clamp(1.7rem, 4vw, 2.45rem); }
.prose h3 { margin-top: 2em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose blockquote { margin: 28px 0; padding: 18px 24px; border-left: 5px solid var(--blue); background: var(--surface-soft); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #eaf6ff; }
.article-meta { color: var(--muted); font-size: .9rem; }
.inline-cta { margin: 48px 0; padding: 30px; border-radius: 24px; background: linear-gradient(135deg, #dff3ff, #f1fff7); }

.cta-band { padding: clamp(38px, 6vw, 64px); border-radius: 34px; background: linear-gradient(135deg, #096fd7, #0a9b9a); color: #fff; box-shadow: var(--shadow); }
.cta-band h2 { max-width: 740px; }
.cta-band p { max-width: 680px; color: rgba(255, 255, 255, .9); }
.cta-band .button { background: #fff; color: #075db2; }

.site-footer { margin-top: 80px; padding: 48px 0; border-top: 1px solid var(--line); background: #f1f8fe; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 30px; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav strong { color: var(--ink); }
.footer-nav a { color: var(--ink-soft); text-decoration: none; }
.copyright { margin-top: 32px; font-size: .86rem; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 900px) {
  .nav-shell { padding: 12px 0; align-items: flex-start; }
  .site-nav { gap: 6px 12px; }
  .hero-grid, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: initial; }
  .hero-visual { min-height: 470px; }
  .hero-photo { height: 430px; }
  .grid-3, .grid-4, .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 24px, var(--content)); }
  .nav-shell { display: block; }
  .site-nav { margin-top: 12px; justify-content: flex-start; }
  .site-nav .button { display: none; }
  .hero { padding-top: 46px; }
  .hero-visual { min-height: 380px; }
  .hero-photo { height: 350px; }
  .phone-shot { right: 8px; bottom: -18px; width: 42%; border-width: 5px; border-radius: 25px; }
  .app-badge { left: 10px; bottom: 10px; padding: 9px 11px; font-size: .82rem; }
  .app-badge img { width: 38px; height: 38px; }
  .grid-2, .grid-3, .grid-4, .problem-list, .article-list, .price-card, .footer-grid { grid-template-columns: 1fr; }
  .price-card { align-items: start; }
  .cta-row .button { width: 100%; }
  .card { border-radius: 22px; }
  .prose table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
