/* ===== SAM · SEO / AIO Audit Report — stylesheet ===== */

:root {
  --navy: #0E2A47;
  --blue: #2F6BFF;
  --bg: #F4F3EE;
  --ink: #12161C;
  --muted: #596273;
  --muted-2: #8A93A3;
  --muted-3: #BFC4CD;
  --border: #E9E7DE;
  --border-2: #E4E2D9;
  --row-border: #EFEDE4;
  --track-bg: #EEECE3;

  --green: #1F9F63;
  --green-dark: #1F7A4D;
  --green-bg: #EAF3EE;
  --green-border: #C9E4D4;
  --green-bg-2: #E6F4EC;

  --orange: #E0932F;
  --orange-bg: #FBEFDB;
  --amber-bg: #FFF6E9;
  --amber-border: #F0DBB4;
  --amber-ink: #7A5A1E;

  --red: #D8443C;
  --red-dark: #B23029;
  --red-bg: #FBEAE8;
  --red-border: #F1D9D6;

  --blue-bg: #EAF0FB;
  --blue-border: #CFDDF6;
  --blue-bg-2: #E8EEFF;
  --blue-bg-3: #EEF4FF;

  --purple: #7A4DD6;
  --purple-bg: #F0EBFB;

  --navy-tint: #8FB0DA;
  --navy-tint-2: #BCCFE6;
  --navy-tint-3: #C9D8EC;

  --code-bg: #0F1620;
  --code-ink: #D9E2EC;

  --font-thai: 'IBM Plex Sans Thai', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max-width: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #D6D3C8; border-radius: 8px; }

body {
  font-family: var(--font-thai);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

code { font-family: var(--font-mono); }

/* ===== layout ===== */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.main { max-width: var(--max-width); margin: 0 auto; padding: 44px 32px 80px; }

/* ===== header ===== */
.site-header { background: var(--navy); color: #fff; padding: 0; }
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 22px 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { height: 40px; width: auto; }
.brand-name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.brand-sub {
  font-family: var(--font-display); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--navy-tint);
}
.header-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px;
  padding: 7px 13px; border-radius: 999px;
}
.tag-date { color: var(--navy-tint-2); background: rgba(255,255,255,.08); }
.tag-package {
  border: none; font-family: inherit; cursor: pointer; font-weight: 600;
  color: #DCE6FF; background: rgba(47,107,255,.28); transition: background .2s;
}
.tag-package:hover { background: rgba(47,107,255,.42); }
.tag-package.active { background: var(--blue); color: #fff; }

/* ===== tab nav ===== */
.tab-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-2); box-shadow: 0 1px 12px rgba(14,42,71,.04);
}
.tab-nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; overflow-x: auto;
}
.tab-btn {
  display: flex; flex-direction: column; gap: 3px; padding: 15px 22px;
  background: none; border: none; border-bottom: 3px solid transparent;
  cursor: pointer; white-space: nowrap; font-family: inherit; transition: border-color .2s;
  text-decoration: none;
}
.tab-btn .tab-en {
  font-family: var(--font-display); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; color: var(--muted-3);
}
.tab-btn .tab-th { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.tab-btn.active { border-bottom-color: var(--blue); }
.tab-btn.active .tab-en { color: var(--blue); }
.tab-btn.active .tab-th { color: var(--ink); }

/* ===== tab panels ===== */
.tab-panel { display: none; animation: fadeUp .25s ease; }
.tab-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ===== shared bits ===== */
.eyebrow {
  font-family: var(--font-display); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 8px;
}
.eyebrow-red { color: var(--red); }
.section-title { font-size: 30px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.section-desc { font-size: 16px; color: var(--muted); margin: 0 0 30px; max-width: 760px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.h3 { font-size: 18px; font-weight: 600; margin: 0 0 14px; }

/* ===== OVERVIEW ===== */
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: stretch; margin-bottom: 40px; }
.hero-eyebrow { margin-bottom: 14px; }
.hero-title { font-size: 42px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.hero-sub { font-size: 17px; color: var(--muted); margin-bottom: 22px; }
.hero-sub b { color: var(--ink); }
.hero p { font-size: 16px; line-height: 1.75; color: #3A424E; margin: 0 0 16px; }
.hero p b { color: inherit; }
.hero p b.warn { color: var(--red); }
.hero p b.strong { color: var(--ink); }
.hero-callout {
  display: flex; align-items: flex-start; gap: 12px; background: var(--green-bg);
  border-left: 3px solid var(--green); padding: 15px 18px; border-radius: 0 10px 10px 0;
}
.hero-callout .icon { font-size: 18px; line-height: 1.3; }
.hero-callout .text { font-size: 14.5px; line-height: 1.6; color: #2A5540; }

.score-card {
  background: var(--navy); color: #fff; border-radius: 20px; padding: 34px 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 20px 50px -20px rgba(14,42,71,.5);
}
.score-card-label {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--navy-tint); margin-bottom: 18px;
}
.gauge { position: relative; width: 200px; height: 200px; }
.gauge svg { width: 200px; height: 200px; transform: rotate(-90deg); }
.gauge-value {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.gauge-num { font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1; }
.gauge-den { font-family: var(--font-display); font-size: 14px; color: var(--navy-tint); letter-spacing: .04em; }
.score-verdict { margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--orange); }
.score-foot {
  margin-top: 20px; display: flex; gap: 22px; width: 100%; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px;
}
.score-foot-label { font-size: 12px; color: var(--navy-tint); }
.score-foot-value { font-size: 13.5px; font-weight: 500; }
.score-foot-divider { width: 1px; background: rgba(255,255,255,.12); }

.stat-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 44px; }
.stat-card { padding: 22px; position: relative; overflow: hidden; }
.stat-card.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.stat-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; color: var(--navy); }
.stat-card.dark .stat-num { color: #fff; }
.stat-label { font-size: 13px; color: var(--muted-2); margin-top: 6px; font-family: var(--font-display); letter-spacing: .04em; }
.stat-card.dark .stat-label { color: var(--navy-tint); }
.stat-note { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.stat-card.dark .stat-note { color: var(--navy-tint-3); }
.stat-pill {
  position: absolute; top: 14px; right: 14px; font-size: 10.5px; font-weight: 600;
  color: var(--green); background: var(--green-bg-2); padding: 3px 9px; border-radius: 999px;
}

.overview-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.scorecard-box { padding: 22px 24px; }
.scorecard-list { display: flex; flex-direction: column; gap: 15px; }
.scorecard-row { display: grid; grid-template-columns: 1fr 90px 34px; align-items: center; gap: 12px; }
.scorecard-name { font-size: 14px; font-weight: 500; }
.scorecard-track { height: 9px; background: var(--track-bg); border-radius: 99px; overflow: hidden; }
.scorecard-fill { height: 100%; border-radius: 99px; }
.scorecard-value { font-family: var(--font-display); font-weight: 600; font-size: 14px; text-align: right; }

.critical-list { display: flex; flex-direction: column; gap: 10px; }
.critical-card {
  background: #fff; border: 1px solid var(--red-border); border-left: 3px solid var(--red);
  border-radius: 0 12px 12px 0; padding: 14px 16px;
}
.critical-card .title { font-size: 15px; font-weight: 600; }
.critical-card .detail { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ===== TECHNICAL ===== */
.crawl-table { overflow: hidden; margin-bottom: 36px; }
.crawl-row { display: grid; grid-template-columns: 230px 1fr 120px; gap: 18px; padding: 16px 22px; border-top: 1px solid var(--row-border); align-items: start; }
.crawl-row:first-child { border-top: none; }
.crawl-issue { display: flex; gap: 9px; align-items: flex-start; }
.crawl-dot { width: 8px; height: 8px; border-radius: 99px; margin-top: 6px; flex: none; }
.crawl-issue-text { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.crawl-detail { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.crawl-meta { display: flex; flex-direction: row; gap: 8px; align-items: center; }
.crawl-sev { font-size: 11.5px; font-weight: 600; }
.crawl-owner { font-size: 11px; color: var(--navy); background: #E7ECF3; padding: 2px 8px; border-radius: 99px; }

.status-banner {
  display: inline-flex; align-items: center; gap: 9px; background: var(--red-bg); color: var(--red-dark);
  font-size: 13.5px; font-weight: 600; padding: 9px 15px; border-radius: 10px; margin-bottom: 18px;
}

.schema-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.schema-row { padding: 16px 20px; display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; border-radius: 14px; }
.schema-row .name { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.schema-row .where { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }
.schema-row .why { font-size: 13.5px; color: #3A424E; line-height: 1.6; }

.tip-banner {
  background: var(--blue-bg); border: 1px solid var(--blue-border); border-radius: 14px;
  padding: 18px 22px; display: flex; gap: 12px; align-items: flex-start;
}
.tip-banner .icon { font-size: 18px; }
.tip-banner .text { font-size: 14px; line-height: 1.65; color: #274B7A; }
.tip-banner code { background: #fff; padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }

/* ===== CONTENT ===== */
.kw-table { overflow: hidden; margin-bottom: 36px; }
.kw-head, .kw-row { display: grid; grid-template-columns: 1fr 150px 120px 88px; gap: 14px; padding: 13px 22px; align-items: center; }
.kw-head {
  background: var(--navy); color: #fff; font-size: 12px; font-family: var(--font-display);
  letter-spacing: .05em; text-transform: uppercase;
}
.kw-row { border-top: 1px solid var(--row-border); }
.kw-name { font-size: 13.5px; font-weight: 500; }
.kw-vol { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy); }
.kw-track { height: 5px; background: var(--track-bg); border-radius: 99px; margin-top: 4px; overflow: hidden; }
.kw-fill { height: 100%; background: var(--blue); border-radius: 99px; }
.kw-rank { font-size: 13px; color: var(--muted); }
.kw-aio { text-align: center; }
.kw-aio span { font-size: 12px; font-weight: 600; }

.content-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gap-list { display: flex; flex-direction: column; gap: 10px; }
.gap-card { padding: 14px 16px; display: flex; gap: 11px; align-items: flex-start; border-radius: 12px; }
.gap-card .mark { color: var(--blue); font-size: 15px; margin-top: 1px; }
.gap-card .text { font-size: 13.5px; line-height: 1.6; color: #3A424E; }

.eeat-good { background: var(--green-bg); border: 1px solid var(--green-border); border-radius: 12px; padding: 15px 18px; margin-bottom: 12px; }
.eeat-good .head { font-size: 13px; font-weight: 600; color: var(--green-dark); margin-bottom: 5px; }
.eeat-good .body { font-size: 13px; line-height: 1.6; color: #3A5A48; }
.eeat-bad { background: #fff; border: 1px solid var(--red-border); border-radius: 12px; padding: 15px 18px; }
.eeat-bad .head { font-size: 13px; font-weight: 600; color: var(--red-dark); margin-bottom: 7px; }
.eeat-bad .body { font-size: 13px; line-height: 1.75; color: var(--muted); }

/* ===== PROPERTY ===== */
.prop-table { overflow: hidden; margin-bottom: 32px; }
.prop-row { display: grid; grid-template-columns: 150px 1fr 220px; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--row-border); align-items: center; }
.prop-row:first-child { border-top: none; }
.prop-el { display: flex; align-items: center; gap: 8px; }
.prop-el .dot { font-size: 11px; }
.prop-el .name { font-size: 14px; font-weight: 600; }
.prop-status { font-size: 13.5px; color: #3A424E; line-height: 1.5; }
.prop-result { font-size: 12.5px; font-weight: 500; }

.visual-banner {
  background: var(--navy); color: #fff; border-radius: 18px; padding: 30px 34px;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; align-items: center;
}
.visual-banner .eyebrow-light {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-tint); margin-bottom: 10px;
}
.visual-banner .headline { font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.visual-banner p { font-size: 14px; line-height: 1.7; color: var(--navy-tint-3); margin: 0; }
.visual-banner p b { color: #fff; }
.alt-example-label { font-size: 12px; color: var(--navy-tint); margin-bottom: 8px; }
.alt-example {
  background: rgba(255,255,255,.07); border: 1px dashed rgba(143,176,218,.5); border-radius: 12px;
  padding: 16px 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: #E4EDF8;
}

/* ===== COMPETITOR ===== */
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.chart-card { padding: 24px 26px; }
.chart-card .title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.chart-card .sub { font-size: 12px; color: var(--muted-2); margin-bottom: 22px; }
.chart-card .sub.win { color: var(--green); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 20px; height: 190px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.bar-value { font-family: var(--font-display); font-size: 13px; font-weight: 600; }
.bar-fill { width: 100%; border-radius: 8px 8px 0 0; min-height: 4px; }
.bar-name { font-size: 12px; font-weight: 600; color: #3A424E; }

.amc-table { overflow: hidden; margin-bottom: 36px; }
.amc-head, .amc-row {
  display: grid; grid-template-columns: 1.4fr .6fr 1fr .8fr .8fr 1fr .9fr; gap: 12px; padding: 13px 22px; align-items: center;
}
.amc-head {
  background: var(--navy); color: #fff; font-size: 11.5px; font-family: var(--font-display);
  letter-spacing: .04em; text-transform: uppercase;
}
.amc-row { border-top: 1px solid var(--row-border); padding: 14px 22px; }
.amc-name { font-size: 14px; font-weight: 600; }
.amc-domain { font-size: 11.5px; color: var(--muted-2); font-family: var(--font-mono); }
.amc-cell { font-family: var(--font-display); font-size: 14px; }
.amc-cell.strong { font-weight: 600; }

.organic-comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.organic-comp-card { padding: 15px 18px; border-radius: 12px; }
.organic-comp-card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.organic-comp-card .domain { font-size: 14px; font-weight: 600; font-family: var(--font-mono); color: var(--navy); }
.organic-comp-card .dr { font-size: 11px; color: var(--muted-2); }
.organic-comp-card .type { font-size: 12.5px; color: var(--muted-2); margin-bottom: 6px; }
.organic-comp-card .note { font-size: 13px; color: #3A424E; line-height: 1.5; }

.insight-banner {
  background: var(--amber-bg); border: 1px solid var(--amber-border); border-radius: 12px;
  padding: 15px 20px; display: flex; gap: 11px; align-items: flex-start;
}
.insight-banner .icon { font-size: 16px; }
.insight-banner .text { font-size: 13.5px; line-height: 1.6; color: var(--amber-ink); }

/* ===== ACTION PLAN ===== */
.action-columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.action-col-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.action-col-head .emoji { font-size: 20px; }
.action-col-head .title { font-size: 16px; font-weight: 700; }
.action-col-head .sub { font-size: 11.5px; color: var(--muted-2); }
.action-list { display: flex; flex-direction: column; gap: 10px; }
.action-card { padding: 14px 16px; border-radius: 12px; }
.action-card .row { display: flex; gap: 9px; align-items: flex-start; }
.action-num {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center;
  justify-content: center; flex: none;
}
.action-num.quick { color: var(--blue); background: var(--blue-bg); }
.action-num.medium { color: var(--orange); background: var(--orange-bg); }
.action-num.strategic { color: var(--green); background: var(--green-bg-2); }
.action-text { font-size: 13px; line-height: 1.55; color: #2A323D; }
.action-owner { margin-top: 9px; margin-left: 33px; }
.action-owner span { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 99px; }

/* ===== PACKAGE (tab panel) ===== */
.back-link {
  font-size: 13px; font-weight: 600; color: var(--navy-tint-2); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.back-link:hover { color: #fff; }
.package-hero { text-align: center; max-width: 560px; margin: 0 auto 36px; }
.package-hero p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 10px 0 0; }

/* ----- package page: richer proposal layout ----- */
.package-hero { max-width: 720px; }
.pkg-badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--green-dark); background: var(--green-bg); border: 1px solid var(--green-border);
  padding: 6px 13px; border-radius: 999px; margin-top: 16px; white-space: nowrap;
}
.pkg-badge .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--green); }

.scope-intro { margin-bottom: 22px; }
.scope-intro .eyebrow { margin-bottom: 6px; }
.scope-intro h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.scope-intro p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin: 0; }

.scope-groups { display: flex; flex-direction: column; gap: 14px; }
.scope-group { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.scope-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; }
.scope-emoji {
  font-size: 17px; width: 40px; height: 40px; flex: none; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.scope-emoji.quick { background: var(--blue-bg); }
.scope-emoji.medium { background: var(--orange-bg); }
.scope-emoji.strategic { background: var(--green-bg-2); }
.scope-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.scope-when {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600; margin-top: 2px;
}
.scope-when.quick { color: var(--blue); }
.scope-when.medium { color: var(--orange); }
.scope-when.strategic { color: var(--green); }
.scope-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.scope-list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start;
  font-size: 13.5px; line-height: 1.55; color: #2E3742;
}
.scope-list li::before {
  content: "✓"; font-size: 11px; font-weight: 700; color: var(--green);
  width: 20px; height: 20px; border-radius: 6px; background: var(--green-bg);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* ----- upgraded scope row + pricing cards (full-width proposal) ----- */
.scope-intro-center { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.scope-intro-center h2 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; }
.scope-intro-center p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin: 0; }
.scope-groups-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  align-items: stretch; margin-bottom: 60px;
}
.scope-groups-row .scope-group { display: flex; flex-direction: column; }

.pkg-price-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.pkg-price-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.pkg-price-head p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin: 0; }

.pc-pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin-bottom: 22px; }
.pc-pkg {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 34px 32px; display: flex; flex-direction: column;
}
.pc-pkg.featured { border-color: var(--blue); box-shadow: 0 26px 60px -34px rgba(47,107,255,.5); }
.pc-pkg-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-family: var(--font-display);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 5px 15px; border-radius: 999px; white-space: nowrap;
}
.pc-pkg-name { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.pc-pkg-tag { font-size: 13px; color: var(--muted-2); margin-top: 5px; line-height: 1.5; min-height: 39px; }
.pc-pkg-price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.pc-pkg-old { font-size: 15px; color: var(--muted-3); text-decoration: line-through; }
.pc-pkg-price { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--blue); line-height: 1; }
.pc-pkg-price .unit { font-size: 16px; font-weight: 600; margin-left: 6px; }
.pc-pkg-sub { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; line-height: 1.5; min-height: 36px; }
.pc-divider { height: 1px; background: var(--border); margin: 18px 0; }
.pc-feats { display: flex; flex-direction: column; gap: 11px; }
.pc-feat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: #3A424E; }
.pc-feat > span { white-space: nowrap; }
.pc-feat b { color: var(--ink); font-weight: 600; }
.pc-bonus-label { font-size: 13.5px; font-weight: 700; font-style: italic; color: var(--navy); margin-bottom: 10px; }
.pc-bonus { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pc-bonus li { font-size: 13px; font-style: italic; color: var(--muted); padding-left: 18px; position: relative; }
.pc-bonus li::before { content: "+"; position: absolute; left: 0; color: var(--green); font-weight: 700; font-style: normal; }
.pc-guarantee {
  font-size: 13.5px; font-weight: 600; color: var(--green-dark); background: var(--green-bg);
  padding: 11px 15px; border-radius: 10px; margin-top: 20px; text-align: center; line-height: 1.5;
}
.pc-guarantee.alt { color: var(--amber-ink); background: var(--amber-bg); border: 1px solid var(--amber-border); }
.pc-choose {
  display: block; text-align: center; margin-top: 18px; text-decoration: none;
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; font-family: inherit;
  padding: 14px; border-radius: 12px; transition: background .2s, transform .2s;
}
.pc-choose:hover { background: #1E57E6; transform: translateY(-1px); }
.pc-choose.ghost { background: #fff; color: var(--navy); border: 1px solid var(--border-2); }
.pc-choose.ghost:hover { background: var(--bg); border-color: var(--navy-tint); transform: translateY(-1px); }

.pc-assure-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pc-assure {
  display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
}
.pc-assure .ic { font-size: 16px; line-height: 1.4; flex: none; }
.pc-assure .tx { font-size: 13px; line-height: 1.55; color: #3A424E; }
.pc-assure .tx b { color: var(--ink); }

/* deliverables + roadmap shared section header */
.pkg-section { margin-top: 60px; }
.pkg-section-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.pkg-section-head .eyebrow { margin-bottom: 8px; }
.pkg-section-head h2 { font-size: 26px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.pkg-section-head p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin: 0; }

.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.deliver-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 22px; }
.deliver-ic {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue-bg-3); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px;
}
.deliver-card h4 { font-size: 15px; font-weight: 700; margin: 0 0 5px; letter-spacing: -.01em; }
.deliver-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* roadmap timeline */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.roadmap-col { padding: 0 20px; position: relative; }
.roadmap-col:not(:last-child)::after {
  content: ""; position: absolute; top: 13px; right: -1px; width: 1px; height: calc(100% - 20px);
  background: var(--border);
}
.roadmap-node {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.roadmap-dot {
  width: 26px; height: 26px; border-radius: 99px; flex: none; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.roadmap-month {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600; color: var(--muted-2);
}
.roadmap-col h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.roadmap-col p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

/* closing CTA band */
.pkg-band {
  background: var(--navy); color: #fff; border-radius: 20px; padding: 40px 44px; margin-top: 60px;
  display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center;
  box-shadow: 0 24px 60px -28px rgba(14,42,71,.55);
}
.pkg-band .eyebrow-light {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-tint); margin-bottom: 10px;
}
.pkg-band h2 { font-size: 25px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; letter-spacing: -.01em; }
.pkg-band p { font-size: 14.5px; line-height: 1.7; color: var(--navy-tint-3); margin: 0; max-width: 520px; }
.pkg-band p b { color: #fff; }
.pkg-contact { display: flex; flex-direction: column; gap: 12px; }
.pkg-contact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap;
  background: var(--blue); color: #fff; text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 14px 30px; border-radius: 12px; transition: background .2s, transform .2s;
  border: none; font-family: inherit; cursor: pointer;
}
.pkg-contact-btn:hover { background: #1E57E6; transform: translateY(-1px); }
.pkg-contact-btn.ghost { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); }
.pkg-contact-btn.ghost:hover { background: rgba(255,255,255,.16); }

@media (max-width: 900px) {
  .scope-groups-row { grid-template-columns: 1fr; }
  .pc-pkg-grid { grid-template-columns: 1fr; }
  .pc-pkg-tag, .pc-pkg-sub { min-height: 0; }
  .pc-assure-row { grid-template-columns: 1fr; }
  .deliver-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; gap: 24px; }
  .roadmap-col { padding: 0; }
  .roadmap-col:not(:last-child)::after { display: none; }
  .pkg-band { grid-template-columns: 1fr; padding: 30px 26px; }
}

/* ===== KEYWORDS ===== */
.kw-groups { display: flex; flex-direction: column; gap: 28px; }
.kw-group-head {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--border);
}
.kw-group-head h3 { font-size: 19px; font-weight: 700; margin: 0; }
.kw-group-head .en {
  font-family: var(--font-display); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 600;
}
.kw-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kw-item { padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; }
.kw-item .n { font-family: var(--font-display); font-weight: 700; font-size: 15px; flex: none; }
.kw-item .kw { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.kw-item .tip { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* ===== SCHEMA / IMPLEMENTATION ===== */
.page-table { overflow: hidden; margin-bottom: 34px; }
.page-head, .page-row { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr 1.3fr; gap: 14px; padding: 13px 22px; align-items: start; }
.page-head {
  background: var(--navy); color: #fff; font-size: 11.5px; font-family: var(--font-display);
  letter-spacing: .04em; text-transform: uppercase; align-items: center;
}
.page-row { border-top: 1px solid var(--row-border); }
.page-row .t { font-size: 13px; font-weight: 600; font-family: var(--font-display); color: var(--navy); line-height: 1.4; }
.page-row .p { font-size: 12.5px; color: #3A424E; line-height: 1.5; }
.page-row .b { font-size: 12px; color: var(--muted-2); }
.page-row .why { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.code-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.code-block-wrap { margin-bottom: 34px; }
.code-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.code-label .bullet { color: var(--blue); }
.code-label .bullet.green { color: var(--green); }
.code-label .bullet.orange { color: var(--orange); }
.code-label .flag {
  font-size: 11px; font-weight: 500; color: var(--red-dark); background: var(--red-bg);
  padding: 2px 8px; border-radius: 99px;
}
.code-block {
  margin: 0; background: var(--code-bg); color: var(--code-ink); border-radius: 12px;
  padding: 18px 20px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6;
  overflow-x: auto; white-space: pre;
}
.file-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px; }
.file-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.file-label .hint { font-size: 11.5px; font-weight: 400; color: var(--muted-2); }

.article-example { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 38px 44px; }
.article-example .kicker {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 10px;
}
.article-example h1 { font-size: 27px; font-weight: 700; line-height: 1.3; margin: 0 0 18px; letter-spacing: -.01em; }
.article-example h2 { font-size: 19px; font-weight: 700; margin: 0 0 12px; }
.article-answer {
  background: var(--blue-bg); border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin-bottom: 24px;
}
.article-answer .label {
  font-size: 11.5px; font-weight: 600; color: var(--blue); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 6px;
}
.article-answer .body { font-size: 14.5px; line-height: 1.7; color: #274B7A; }
.article-example ol { margin: 0 0 24px; padding-left: 22px; font-size: 14.5px; line-height: 1.8; color: #3A424E; }
.doc-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.doc-head, .doc-row {
  display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; gap: 12px; padding: 12px 16px;
}
.doc-head { background: var(--bg); font-size: 12px; font-weight: 600; color: var(--muted); padding: 11px 16px; }
.doc-row { border-top: 1px solid var(--row-border); font-size: 12.5px; color: #3A424E; line-height: 1.5; }
.doc-row .label { font-weight: 600; }
.article-faq { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.article-faq-item { border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; }
.article-faq-item .q { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.article-faq-item .a { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.article-meta { border-top: 1px solid var(--row-border); padding-top: 16px; font-size: 12.5px; color: var(--muted-2); line-height: 1.7; }
.article-meta b { color: var(--muted); }

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--border-2); background: #fff; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 26px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-note { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }
.footer-tag {
  font-family: var(--font-display); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-3);
}

/* ===== responsive (design is desktop-first; collapse to single column below 900px) ===== */
@media (max-width: 900px) {
  .hero-grid,
  .overview-columns,
  .content-columns,
  .chart-row,
  .organic-comp-grid,
  .action-columns,
  .kw-items,
  .code-columns,
  .file-columns,
  .visual-banner {
    grid-template-columns: 1fr;
  }
  .stat-cards { grid-template-columns: repeat(2,1fr); }
  .crawl-row, .prop-row { grid-template-columns: 1fr; }
  .kw-head, .kw-row { grid-template-columns: 1fr; gap: 6px; }
  .amc-head, .amc-row { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .page-head, .page-row { grid-template-columns: 1fr; }
  .article-example { padding: 26px 22px; }
  .doc-head, .doc-row { grid-template-columns: 1fr; }
}
