:root {
  color-scheme: light;
  --canvas: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --ink: #14213d;
  --muted: #5f6b83;
  --line: #d9e0ee;
  --accent: #3158d4;
  --accent-dark: #213e9e;
  --mint: #157a68;
  --mint-soft: #e3f5f0;
  --amber: #9a5b00;
  --amber-soft: #fff5dc;
  --danger: #a53d34;
  --danger-soft: #fff0ed;
  --shadow: 0 18px 48px rgba(24, 42, 84, 0.11);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(49, 88, 212, 0.10), transparent 30rem),
    radial-gradient(circle at 100% 20%, rgba(21, 122, 104, 0.08), transparent 24rem),
    var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(49, 88, 212, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(217, 224, 238, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner,
.nav-inner,
.page-shell,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), #6f8df0);
  box-shadow: 0 8px 20px rgba(49, 88, 212, 0.24);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.header-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.product-nav {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.nav-inner {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-block: 9px;
  scrollbar-width: thin;
}

.nav-inner a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-inner a:hover,
.nav-inner a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--accent-dark);
}

.prepublish-banner {
  border-bottom: 1px solid #ead5a1;
  background: var(--amber-soft);
  color: #6e4600;
  font-size: 0.9rem;
}

.prepublish-banner[hidden] {
  display: none;
}

.prepublish-banner .page-shell {
  padding-block: 9px;
}

.page-shell {
  padding-block: 48px 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid rgba(49, 88, 212, 0.13);
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 70%, #e9f8f3 100%);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 44px solid rgba(49, 88, 212, 0.07);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.product-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
}

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.hero-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid #cfd9f1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3a4f7e;
  font-size: 0.79rem;
  font-weight: 700;
}

.section {
  margin-top: 52px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2,
.content-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.product-card,
.content-panel,
.contact-card,
.faq-item {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(24, 42, 84, 0.06);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 25px;
  border-radius: var(--radius-lg);
}

.card-kicker {
  margin: 0 0 11px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.product-card h2 {
  margin: 0;
  font-size: 1.26rem;
}

.product-card p {
  margin: 13px 0 0;
  color: var(--muted);
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.button-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
}

.button-link {
  background: var(--accent);
  color: #fff;
}

.button-link:hover {
  background: var(--accent-dark);
  color: #fff;
}

.text-link {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent-dark);
}

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

.feature {
  padding: 21px;
  border-radius: var(--radius-md);
  background: var(--mint-soft);
}

.feature strong {
  display: block;
  margin-bottom: 4px;
  color: #0f5a4e;
}

.feature p {
  margin: 0;
  color: #3e655e;
  font-size: 0.93rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 24px;
  margin-top: 32px;
}

.content-panel {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
}

.content-panel > :first-child {
  margin-top: 0;
}

.content-panel h2:not(:first-child) {
  margin-top: 38px;
}

.content-panel h3 {
  margin-top: 26px;
}

.content-panel p,
.content-panel li {
  color: #34415b;
}

.content-panel ul,
.content-panel ol {
  padding-left: 1.35rem;
}

.content-panel li + li {
  margin-top: 7px;
}

.side-nav {
  position: sticky;
  top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
}

.side-nav strong {
  display: block;
  margin-bottom: 9px;
  font-size: 0.83rem;
}

.side-nav a {
  display: block;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.side-nav a:hover,
.side-nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--accent-dark);
}

.notice,
.time-note {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
  background: var(--surface-soft);
}

.time-note {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.notice strong,
.time-note strong {
  display: block;
  margin-bottom: 2px;
}

.contact-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-md);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.contact-card p {
  color: var(--muted);
}

.contact-link {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.contact-link:hover {
  background: var(--accent-dark);
  color: #fff;
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  margin-top: 52px;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid #ead5a1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fffdf8 0%, var(--amber-soft) 100%);
  box-shadow: 0 12px 32px rgba(94, 61, 8, 0.08);
}

.support-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.support-copy > p:last-child {
  max-width: 700px;
  margin: 10px 0 0;
  color: #69542f;
}

.support-actions {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: min(100%, 230px);
}

.support-link,
.footer-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.support-link {
  min-height: 48px;
  padding: 11px 20px;
  background: var(--amber);
  box-shadow: 0 9px 20px rgba(154, 91, 0, 0.18);
  color: #fff;
}

.support-link:hover {
  background: #734400;
  color: #fff;
  transform: translateY(-1px);
}

.support-external-note {
  max-width: 240px;
  color: #745d36;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.setup-needed {
  padding: 13px 15px;
  border: 1px solid #e7c1bb;
  border-radius: 12px;
  background: var(--danger-soft);
  color: #7f302a;
}

.faq-list {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.faq-item {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.faq-item details {
  padding: 0 21px;
}

.faq-item summary {
  position: relative;
  padding: 20px 38px 20px 0;
  cursor: pointer;
  font-weight: 780;
  line-height: 1.5;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 500;
}

.faq-item details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 0 20px;
  color: #34415b;
}

.faq-answer p {
  margin: 0;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: #44577e;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #eef1f7;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-block: 30px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-support-link {
  padding: 4px 11px;
  background: #fff8e6;
  color: #744500;
}

.footer-support-link:hover {
  background: #f9e9bc;
  color: #5d3700;
}

@media (max-width: 840px) {
  .product-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .support-card {
    grid-template-columns: 1fr;
  }

  .support-actions {
    justify-items: start;
  }

  .support-external-note {
    text-align: left;
  }

  .side-nav {
    position: static;
    order: -1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .nav-inner,
  .page-shell,
  .footer-inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .header-inner {
    min-height: 64px;
  }

  .header-label {
    display: none;
  }

  .page-shell {
    padding-block: 28px 52px;
  }

  .hero {
    padding: 27px 23px;
    border-radius: 22px;
  }

  .section {
    margin-top: 38px;
  }

  .product-card,
  .content-panel {
    padding: 21px;
  }
}

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

@media print {
  body {
    background: #fff;
  }

  .product-nav,
  .prepublish-banner,
  .side-nav,
  .skip-link {
    display: none !important;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .hero,
  .content-panel {
    border: 0;
    box-shadow: none;
  }

  .content-layout {
    display: block;
  }
}
