:root {
  color-scheme: light;
  --page: #f7f7f8;
  --surface: #ffffff;
  --surface-subtle: #f3f4f4;
  --surface-strong: #eceeed;
  --text: #202123;
  --text-soft: #60646c;
  --text-faint: #858990;
  --border: #dedfdf;
  --border-strong: #c7c9c8;
  --accent: #2f6f5e;
  --accent-hover: #285f50;
  --accent-soft: #e9f2ef;
  --info: #4f6f8f;
  --info-soft: #edf3f8;
  --danger: #a63a3a;
  --shadow: 0 10px 30px rgb(32 33 35 / 0.07);
  --radius-lg: 22px;
  --radius-md: 14px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); color: var(--text); }
body { margin: 0; background: var(--page); color: var(--text); }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgb(79 111 143 / 0.22); outline-offset: 3px; }

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(12px);
}

.seo-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: .93rem; font-weight: 750; letter-spacing: .12em; text-decoration: none; }
.seo-brand img { border-radius: 9px; }
.seo-header nav { display: flex; align-items: center; gap: 4px; }
.seo-header nav a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; color: var(--text-soft); font-size: .78rem; font-weight: 650; text-decoration: none; }
.seo-header nav a:hover { background: var(--surface-subtle); color: var(--text); }

.seo-main { width: min(100% - 32px, 1040px); margin: 0 auto; padding: 72px 0 84px; }
.seo-hero { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.seo-hero-icon { width: 88px; height: 88px; margin-bottom: 22px; border-radius: 24px; box-shadow: var(--shadow); }
.seo-eyebrow { margin: 0 0 8px; color: var(--text-faint); font-size: .72rem; font-weight: 750; letter-spacing: .13em; }
.seo-hero h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 4.4rem); font-weight: 690; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
.seo-intro { max-width: 720px; margin: 22px auto 0; color: var(--text-soft); font-size: clamp(1rem, 2.2vw, 1.13rem); line-height: 1.75; }
.seo-actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; }
.seo-primary, .seo-secondary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 11px; font: inherit; font-weight: 680; text-decoration: none; cursor: pointer; }
.seo-primary { border: 1px solid var(--text); background: var(--text); color: #fff; }
.seo-primary:hover { background: #343638; }
.seo-secondary { border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); }
.seo-secondary:hover { background: var(--surface-subtle); }

.seo-card, .seo-step, .seo-table-wrap, .seo-faq-item, .seo-cluster-link { border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.seo-card { padding: 28px 30px; border-radius: var(--radius-lg); }
.seo-card h2, .seo-section h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.03em; }
.seo-tldr { max-width: 820px; margin: 0 auto; }
.seo-tldr ul { margin: 18px 0 0; padding-left: 20px; color: var(--text-soft); line-height: 1.75; }
.seo-tldr li + li { margin-top: 7px; }

.seo-section { margin-top: 64px; }
.seo-section > .seo-eyebrow, .seo-section > h2 { text-align: center; }
.seo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.seo-step { position: relative; min-height: 190px; padding: 26px 24px 24px; border-radius: var(--radius-md); }
.seo-step-number { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 760; }
.seo-step h3 { margin: 0; font-size: 1.02rem; }
.seo-step p { margin: 10px 0 0; color: var(--text-soft); font-size: .92rem; line-height: 1.62; }

.seo-table-wrap { margin-top: 24px; overflow-x: auto; border-radius: var(--radius-md); }
.seo-table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; }
.seo-table-wrap th, .seo-table-wrap td { padding: 15px 17px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.seo-table-wrap thead th { background: var(--surface-subtle); color: var(--text); font-size: .8rem; letter-spacing: .02em; }
.seo-table-wrap tbody th { color: var(--text); font-size: .9rem; }
.seo-table-wrap td { color: var(--text-soft); font-size: .9rem; line-height: 1.55; }
.seo-table-wrap tr:last-child th, .seo-table-wrap tr:last-child td { border-bottom: 0; }

.seo-faq { max-width: 820px; display: grid; gap: 10px; margin: 24px auto 0; }
.seo-faq-item { border-radius: var(--radius-md); box-shadow: none; }
.seo-faq-item summary { padding: 18px 20px; font-weight: 680; cursor: pointer; }
.seo-faq-item p { margin: 0; padding: 0 20px 20px; color: var(--text-soft); line-height: 1.65; }

.seo-cluster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.seo-cluster-link { display: block; padding: 20px; border-radius: var(--radius-md); color: var(--text); text-decoration: none; transition: transform 140ms ease, border-color 140ms ease; }
.seo-cluster-link:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.seo-cluster-link strong { display: block; font-size: .95rem; line-height: 1.35; }
.seo-cluster-link span { display: block; margin-top: 8px; color: var(--text-soft); font-size: .82rem; line-height: 1.55; }

.seo-footer { padding: 26px 24px 34px; border-top: 1px solid var(--border); background: var(--surface); color: var(--text-soft); text-align: center; font-size: .78rem; line-height: 1.6; }
.seo-footer p { margin: 3px 0; }
.seo-footer a { color: var(--text); font-weight: 680; text-decoration: none; }
.seo-footer a:hover { color: var(--accent); }
.seo-mobile-cta { display: none; }

@media (max-width: 760px) {
  .seo-header { position: relative; min-height: auto; padding: 14px 16px; align-items: flex-start; flex-direction: column; }
  .seo-header nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .seo-header nav a { flex: 0 0 auto; }
  .seo-main { width: min(100% - 28px, 1040px); padding: 44px 0 104px; }
  .seo-hero h1 { font-size: clamp(2.15rem, 11vw, 3.4rem); }
  .seo-actions { align-items: stretch; flex-direction: column; }
  .seo-steps, .seo-cluster { grid-template-columns: 1fr; }
  .seo-card { padding: 24px 22px; }
  .seo-mobile-cta {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 14px;
    z-index: 30;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text);
    border-radius: 13px;
    background: var(--text);
    box-shadow: 0 12px 32px rgb(32 33 35 / .2);
    color: #fff;
    font-weight: 720;
    text-decoration: none;
  }
}

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