/* ===== RANK-UP SEO — Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --bg: #F4F8FB;
  --bg-white: #FFFFFF;
  --bg-dark: #0A1628;
  --navy: #0F172A;
  --navy-mid: #1E2D45;
  --text: #0F172A;
  --text-muted: #5A6A82;
  --text-light: #8A9BB0;
  --accent: oklch(0.62 0.18 220);
  --accent-light: oklch(0.92 0.06 220);
  --accent-dark: oklch(0.45 0.18 220);
  --border: #E1EAF2;
  --border-dark: #CBD5E1;
  --radius: 10px;
  --radius-lg: 18px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 84px;
  --max-w: 1160px;
  --section-py: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; }
.section--grey { background: var(--bg); }
.section--dark { background: var(--navy); color: #fff; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(15,23,42,0.08); }
.nav .container { height: 100%; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav__logo-mark {
  width: 28px; height: 28px;
  background: var(--navy);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.nav__logo-mark svg { width: 16px; height: 16px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav__link:hover { color: var(--text); background: var(--bg); }
.nav__link.active { color: var(--text); font-weight: 600; }

/* ===== NAV DROPDOWN ===== */
.nav__item { position: relative; }
.nav__link--has-menu { display: inline-flex; align-items: center; gap: 4px; }
.nav__link--has-menu svg { width: 11px; height: 11px; transition: transform 0.2s; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.nav__item:hover .nav__link--has-menu svg,
.nav__item.open .nav__link--has-menu svg { transform: rotate(180deg); }

/* Invisible hover bridge that keeps :hover alive while the cursor crosses
   the gap between the trigger and the dropdown. Must be pointer-events: auto
   at all times — otherwise the cursor passes through and hover is lost. */
.nav__item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 20px;
  background: transparent;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15,23,42,0.12);
  padding: 10px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 110;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: white;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__item.open .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}
.nav__dropdown-link:hover { background: var(--bg); }
.nav__dropdown-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.nav__dropdown-link:hover .nav__dropdown-icon { background: white; border: 1px solid var(--border); }
.nav__dropdown-icon svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav__dropdown-text { display: flex; flex-direction: column; gap: 1px; }
.nav__dropdown-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }
.nav__dropdown-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.3; }
.nav__dropdown-footer {
  margin-top: 6px; padding: 12px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.nav__dropdown-footer a { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.nav__cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--navy);
  padding: 9px 20px;
  border-radius: 8px;
  margin-left: 8px;
  transition: background 0.15s, transform 0.1s;
}
.nav__cta:hover { background: var(--navy-mid); transform: translateY(-1px); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { padding: 12px 16px; font-size: 16px; }
.nav__mobile .nav__cta { margin: 8px 0 0; text-align: center; padding: 13px 20px; font-size: 15px; }

/* Mobile dropdown sub-list */
.nav__mobile-sublabel {
  padding: 12px 16px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
}
.nav__mobile .nav__link--sub {
  padding-left: 28px;
  font-size: 14.5px;
}

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.15; letter-spacing: -0.03em; }
.display { font-size: clamp(40px, 5.5vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; text-wrap: balance; }
.heading-xl { font-size: clamp(32px, 4vw, 54px); font-weight: 700; text-wrap: balance; }
.heading-lg { font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
.heading-md { font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.body-lg { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: var(--text-muted); }
.body-md { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,23,42,0.18); }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border-dark); }
.btn-secondary:hover { border-color: var(--navy); background: var(--bg); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 20px oklch(0.62 0.18 220 / 0.3); }
.btn-sm { font-size: 13px; padding: 9px 16px; border-radius: 7px; }

/* ===== CARDS ===== */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-dark); box-shadow: 0 8px 32px rgba(15,23,42,0.08); transform: translateY(-2px); }

/* ===== DISCOVER MORE LINK ===== */
.discover-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.discover-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
a.card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.card .discover-link { margin-top: auto; padding-top: 18px; }
a.card:hover .discover-link svg { transform: translateX(4px); }

/* ===== SHARED SERVICE PAGE STYLES ===== */
.svc-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.svc-hero__inner { max-width: 720px; }
.svc-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-light); margin-bottom: 24px;
}
.svc-hero__breadcrumb a { color: var(--text-muted); transition: color 0.15s; }
.svc-hero__breadcrumb a:hover { color: var(--text); }
.svc-hero__breadcrumb svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }
.svc-hero__tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.svc-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
  text-wrap: balance;
}
.svc-hero p {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted); line-height: 1.65;
  max-width: 600px; margin-bottom: 32px;
}
.svc-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Deliverables grid */
.svc-deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.svc-deliverable {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.svc-deliverable:hover { border-color: var(--border-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,0.06); }
.svc-deliverable h4 { font-size: 16px; font-weight: 600; margin: 14px 0 8px; }
.svc-deliverable p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* Process steps */
.svc-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.svc-step { padding: 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.svc-step__num {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px; letter-spacing: 0.05em;
}
.svc-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.svc-step p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* Related services */
.svc-related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.svc-related-card {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
  transition: border-color 0.15s, transform 0.15s;
  color: var(--text); text-decoration: none;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-related-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.svc-related-card__num { font-family: var(--font-head); font-size: 11px; font-weight: 700; color: var(--text-light); letter-spacing: 0.05em; }
.svc-related-card__name { font-size: 14px; font-weight: 600; }
.svc-related-card__arrow { margin-top: auto; font-size: 12px; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }

@media (max-width: 900px) {
  .svc-deliverables { grid-template-columns: repeat(2, 1fr); }
  .svc-process { grid-template-columns: repeat(2, 1fr); }
  .svc-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-deliverables { grid-template-columns: 1fr; }
  .svc-process { grid-template-columns: 1fr; }
  .svc-related { grid-template-columns: 1fr; }
}

/* ===== TOOL PAGE SHARED STYLES ===== */
.tool-workspace {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 48px;
}
.tool-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.tool-panel__title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tool-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.tool-field label {
  font-size: 13px; font-weight: 600; color: var(--text);
}
.tool-field input,
.tool-field select,
.tool-field textarea {
  font-family: var(--font-body); font-size: 14.5px;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 9px;
  padding: 10px 13px; outline: none; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tool-field input:focus,
.tool-field select:focus,
.tool-field textarea:focus {
  border-color: var(--accent); background: white;
  box-shadow: 0 0 0 3px oklch(0.62 0.18 220 / 0.1);
}
.tool-field textarea { resize: vertical; min-height: 86px; font-family: 'Courier New', monospace; font-size: 13px; }
.tool-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235A6A82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.tool-field__hint { font-size: 12px; color: var(--text-light); }
.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tool-btn-sm {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: 7px; cursor: pointer;
  border: 1.5px solid var(--border); background: white; color: var(--text);
  display: inline-flex; align-items: center; gap: 6px; transition: all 0.15s;
}
.tool-btn-sm:hover { border-color: var(--navy); background: var(--bg); }
.tool-btn-sm--accent { background: var(--accent); border-color: var(--accent); color: white; }
.tool-btn-sm--accent:hover { filter: brightness(1.1); background: var(--accent); }
.tool-btn-sm--danger { color: oklch(0.55 0.2 25); border-color: oklch(0.85 0.08 25); }
.tool-btn-sm--danger:hover { border-color: oklch(0.55 0.2 25); background: oklch(0.97 0.04 25); }

/* Output panel */
.tool-output { min-height: 380px; }
.tool-output__tabs {
  display: flex; gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.tool-output__tab {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  padding: 10px 14px; cursor: pointer;
  border: none; background: none;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.tool-output__tab:hover { color: var(--text); }
.tool-output__tab.active { color: var(--text); border-bottom-color: var(--accent); }

.tool-code {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 280px;
  position: relative;
}
.tool-code__copy {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  padding: 6px 10px; border-radius: 6px; cursor: pointer;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85); transition: background 0.15s;
}
.tool-code__copy:hover { background: rgba(255,255,255,0.15); }
.tool-code .c-key { color: oklch(0.75 0.14 220); }
.tool-code .c-str { color: oklch(0.85 0.16 60); }
.tool-code .c-num { color: oklch(0.75 0.18 145); }
.tool-code .c-com { color: rgba(255,255,255,0.4); }
.tool-code .c-tag { color: oklch(0.75 0.14 350); }
.tool-code .c-attr { color: oklch(0.75 0.14 220); }

.tool-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 280px; gap: 8px; color: var(--text-light);
  font-size: 14px; text-align: center; padding: 32px;
  background: var(--bg); border-radius: var(--radius);
}
.tool-empty svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.5; }

/* Hreflang rows */
.hreflang-rows { display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.hreflang-row { display: grid; grid-template-columns: 1fr 90px 28px; gap: 8px; align-items: center; }
.hreflang-row__remove {
  width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--border);
  background: white; cursor: pointer; color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.hreflang-row__remove:hover { border-color: oklch(0.55 0.2 25); color: oklch(0.55 0.2 25); }

/* SERP preview */
.serp-preview {
  background: white; padding: 24px 28px;
  border-radius: var(--radius); border: 1px solid var(--border);
  font-family: arial, sans-serif;
  min-height: 280px;
}
.serp-preview__breadcrumb {
  display: flex; align-items: center; gap: 4px;
  color: #4d5156; font-size: 12px; margin-bottom: 4px;
}
.serp-preview__breadcrumb-icon {
  width: 26px; height: 26px; border-radius: 50%; background: #f1f3f4; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: #1a73e8;
}
.serp-preview__url { color: #4d5156; font-size: 12px; }
.serp-preview__title { font-family: arial, sans-serif; color: #1a0dab; font-size: 20px; line-height: 1.3; margin: 6px 0; font-weight: 400; }
.serp-preview__title:hover { text-decoration: underline; cursor: pointer; }
.serp-preview__desc { color: #4d5156; font-size: 14px; line-height: 1.5; }
.serp-preview__mobile { max-width: 360px; padding: 16px; border-radius: 18px; box-shadow: 0 0 0 1px var(--border); }
.serp-counter { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-light); margin-top: 4px; }
.serp-counter__warn { color: oklch(0.6 0.2 30); }
.serp-counter__ok { color: oklch(0.55 0.2 145); }

/* Live 404 preview */
.preview-404 {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px 32px; text-align: center; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.preview-404__code { font-family: var(--font-head); font-size: 80px; font-weight: 700; color: var(--accent); letter-spacing: -0.05em; line-height: 1; margin-bottom: 16px; }
.preview-404__title { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.preview-404__msg { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; max-width: 320px; }

@media (max-width: 900px) {
  .tool-workspace { grid-template-columns: 1fr; }
}

/* ===== SECTION HEADER ===== */
.section-header { max-width: 600px; }
.section-header--center { margin: 0 auto; text-align: center; }
.section-header--center .eyebrow { justify-content: center; }

/* ===== MISC ===== */
.divider { height: 1px; background: var(--border); margin: 0; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: var(--accent-light); color: var(--accent-dark); letter-spacing: 0.02em; }
.icon-box { width: 44px; height: 44px; border-radius: 11px; background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.icon-box svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== GRID HELPERS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 96px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: oklch(0.45 0.18 220 / 0.3);
  pointer-events: none;
}
.cta-banner h2 { color: white; font-size: clamp(26px, 3vw, 38px); max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 16px; margin-top: 10px; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer__col h4 { color: white; font-family: var(--font-head); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer__col a:hover { color: white; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== TWEAKS PANEL ===== */
.tweaks-panel {
  display: none;
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(15,23,42,0.14);
  padding: 20px;
  width: 280px;
  flex-direction: column;
  gap: 16px;
}
.tweaks-panel.open { display: flex; }
.tweaks-panel__header { display: flex; align-items: center; justify-content: space-between; }
.tweaks-panel__title { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.tweaks-panel__close { border: none; background: none; cursor: pointer; font-size: 20px; color: var(--text-muted); line-height: 1; padding: 0; }
.tweaks-panel label { font-size: 12px; font-weight: 600; color: var(--text); display: block; margin-bottom: 6px; }
.tweaks-swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tweaks-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1.5px var(--border-dark);
  cursor: pointer;
  transition: transform 0.15s;
}
.tweaks-swatch:hover { transform: scale(1.15); }
.tweaks-btn-row { display: flex; gap: 8px; }
.tweaks-btn {
  flex: 1; padding: 7px;
  border-radius: 7px;
  font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--border);
  background: white;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
}
.tweaks-btn.active { border-color: var(--navy); background: var(--navy); color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  :root { --section-py: 64px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .cta-banner { flex-direction: column; padding: 48px 32px; }
}
@media (max-width: 640px) {
  :root { --section-py: 48px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-banner { padding: 40px 24px; }
}


/* ============================================= */
/*  PAGE-SPECIFIC STYLES (moved out of <style>)  */
/* ============================================= */

.site-main { padding-top: var(--nav-h); }

/* Home body direct-edit (scoped) */
.body-home { font-family: "Roboto", sans-serif; background-color: #F8F8F8; }

/* ===== from home.html ===== */
/* ===== HOME PAGE STYLES ===== */
    .hero {
      min-height: calc(100vh - var(--nav-h));
      display: flex; align-items: center;
      padding: 80px 0 96px;
      position: relative; overflow: hidden;
    }
    .hero__bg {
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 50% at 50% -10%, oklch(0.92 0.06 220 / 0.6) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero__grid-lines {
      position: absolute; inset: 0;
      background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 64px 64px;
      opacity: 0.5; pointer-events: none;
    }
    .hero__inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
    .hero__pill {
      display: inline-flex; align-items: center; gap: 8px;
      background: white; border: 1px solid var(--border); border-radius: 100px;
      padding: 6px 16px 6px 8px; font-size: 13px; font-weight: 500; color: var(--text-muted);
      margin-bottom: 32px; box-shadow: 0 1px 4px rgba(15,23,42,0.06);
    }
    .hero__pill-dot {
      width: 20px; height: 20px; border-radius: 100px;
      background: oklch(0.62 0.18 220 / 0.15);
      display: flex; align-items: center; justify-content: center;
    }
    .hero__pill-dot::after { content: ''; display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
    .hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; margin-bottom: 24px; }
    .hero h1 em { font-style: normal; color: var(--accent); }
    .hero__sub { font-size: clamp(16px, 1.8vw, 20px); color: var(--text-muted); line-height: 1.65; max-width: 540px; margin: 0 auto 40px; text-wrap: balance; }
    .hero__actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
    .hero__scroll { margin-top: 80px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-light); }
    .hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--border-dark), transparent); }

    .logos { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .logos__label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); text-align: center; margin-bottom: 28px; }
    .logos__row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
    .logos__item { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--border-dark); letter-spacing: -0.03em; opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
    .logos__item:hover { opacity: 1; color: var(--text-muted); }

    .offer__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
    .offer__card { position: relative; overflow: hidden; }
    .offer__card-num { position: absolute; top: 24px; right: 24px; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--border-dark); letter-spacing: 0.05em; }
    .offer__card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; margin-top: 6px; }

    .why__split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .why__visual { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
    .why__chart { width: 100%; height: 100%; padding: 32px; }
    .why__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
    .why__stat { padding: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
    .why__stat-num { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
    .why__stat-num span { color: var(--accent); }
    .why__stat p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
    .why__items { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
    .why__item { display: flex; gap: 16px; }
    .why__item-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
    .why__item-icon svg { width: 18px; height: 18px; stroke: var(--accent-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .why__item h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
    .why__item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

    .llm { background: var(--navy); color: white; position: relative; overflow: hidden; }
    .llm__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 50%, oklch(0.45 0.18 220 / 0.3) 0%, transparent 65%); pointer-events: none; }
    .llm__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .llm h2 { color: white; }
    .llm .eyebrow { color: oklch(0.75 0.14 220); }
    .llm .eyebrow::before { background: oklch(0.75 0.14 220); }
    .llm__sub { color: rgba(255,255,255,0.65); font-size: 17px; line-height: 1.7; margin-top: 20px; }
    .llm__items { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
    .llm__item { display: flex; gap: 14px; align-items: flex-start; }
    .llm__check { width: 22px; height: 22px; border-radius: 50%; background: oklch(0.62 0.18 220 / 0.2); border: 1px solid oklch(0.62 0.18 220 / 0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
    .llm__check svg { width: 12px; height: 12px; stroke: oklch(0.75 0.14 220); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
    .llm__item p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.6; }
    .llm__item p strong { color: white; font-weight: 600; }
    .llm__visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 28px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.8; }
    .llm__visual-header { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .llm__dot { width: 10px; height: 10px; border-radius: 50%; }
    .llm__line { margin-bottom: 4px; }
    .llm__c-grey { color: rgba(255,255,255,0.35); }
    .llm__c-blue { color: oklch(0.75 0.14 220); }
    .llm__c-green { color: oklch(0.75 0.18 145); }
    .llm__c-white { color: rgba(255,255,255,0.9); }
    .llm__c-orange { color: oklch(0.78 0.16 60); }

    .rank__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
    .rank__process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
    .rank__process::before { content: ''; position: absolute; top: 34px; left: calc(12.5% + 16px); right: calc(12.5% + 16px); height: 1px; background: var(--border); z-index: 0; }
    .rank__step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px; position: relative; z-index: 1; }
    .rank__step-num { width: 48px; height: 48px; border-radius: 50%; background: white; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 20px; transition: background 0.2s, border-color 0.2s, color 0.2s; }
    .rank__step:hover .rank__step-num { background: var(--navy); color: white; border-color: var(--navy); }
    .rank__step h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
    .rank__step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

    .pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
    .pricing__card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; transition: border-color 0.2s, box-shadow 0.2s; }
    .pricing__card:hover { border-color: var(--border-dark); box-shadow: 0 8px 32px rgba(15,23,42,0.08); }
    .pricing__card--featured { background: var(--navy); border-color: var(--navy); color: white; }
    .pricing__card--featured h3, .pricing__card--featured .pricing__price, .pricing__card--featured .pricing__period { color: white; }
    .pricing__card--featured .pricing__item { color: rgba(255,255,255,0.75); }
    .pricing__card--featured .pricing__divider { background: rgba(255,255,255,0.12); }
    .pricing__card--featured .pricing__desc { color: rgba(255,255,255,0.6); }
    .pricing__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
    .pricing__label--featured { color: oklch(0.75 0.14 220); }
    .pricing__price { font-family: var(--font-head); font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--navy); }
    .pricing__price sup { font-size: 24px; vertical-align: super; font-weight: 600; }
    .pricing__period { font-size: 14px; color: var(--text-muted); margin-top: 6px; margin-bottom: 8px; }
    .pricing__desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
    .pricing__divider { height: 1px; background: var(--border); margin-bottom: 24px; }
    .pricing__items { display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 32px; }
    .pricing__item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
    .pricing__item svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
    .pricing__card--featured .pricing__item svg { stroke: oklch(0.75 0.14 220); }

    .faq__list { max-width: 720px; margin: 56px auto 0; }
    .faq__item { border-top: 1px solid var(--border); }
    .faq__item:last-child { border-bottom: 1px solid var(--border); }
    .faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--text); transition: color 0.15s; }
    .faq__q:hover { color: var(--accent); }
    .faq__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s, border-color 0.2s; }
    .faq__icon svg { width: 14px; height: 14px; stroke: var(--text-muted); fill: none; stroke-width: 2; stroke-linecap: round; transition: transform 0.25s; }
    .faq__item.open .faq__icon { background: var(--navy); border-color: var(--navy); }
    .faq__item.open .faq__icon svg { stroke: white; transform: rotate(45deg); }
    .faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
    .faq__a-inner { padding-bottom: 24px; font-size: 15px; color: var(--text-muted); line-height: 1.75; }
    .faq__item.open .faq__a { max-height: 400px; }

    @media (max-width: 900px) {
      .why__split { grid-template-columns: 1fr; gap: 48px; }
      .llm__inner { grid-template-columns: 1fr; gap: 48px; }
      .rank__process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
      .rank__process::before { display: none; }
      .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
      .offer__header, .rank__header { flex-direction: column; align-items: flex-start; }
    }
    @media (max-width: 640px) {
      .hero { padding: 48px 0 64px; }
      .why__stats { grid-template-columns: 1fr 1fr; }
      .rank__process { grid-template-columns: 1fr; }
    }

/* ===== from services.html ===== */
.services-hero { padding: 72px 0; border-bottom: 1px solid var(--border); }
    .service-detail {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      padding: 80px 0;
      border-bottom: 1px solid var(--border);
    }
    .service-detail:last-of-type { border-bottom: none; }
    .service-detail:nth-child(even) .service-detail__text { order: 2; }
    .service-detail:nth-child(even) .service-detail__visual { order: 1; }
    .service-detail__visual {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    .service-detail__visual-inner { text-align: center; padding: 32px; }
    .service-detail__num {
      font-family: var(--font-head);
      font-size: 80px; font-weight: 700;
      color: var(--border);
      line-height: 1; letter-spacing: -0.05em;
      margin-bottom: 12px;
    }
    .service-detail h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
    .service-detail__list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
    .service-detail__item {
      display: flex; gap: 10px; align-items: flex-start;
      font-size: 14.5px; color: var(--text-muted);
    }
    .service-detail__item::before {
      content: ''; display: block;
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); margin-top: 8px; flex-shrink: 0;
    }
    @media (max-width: 768px) {
      .service-detail { grid-template-columns: 1fr; gap: 32px; }
      .service-detail:nth-child(even) .service-detail__text { order: 1; }
      .service-detail:nth-child(even) .service-detail__visual { order: 2; }
    }

/* ===== from blog.html ===== */
.blog-hero { padding: 72px 0; border-bottom: 1px solid var(--border); }
    .blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }
    .blog-card {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
      cursor: pointer;
    }
    .blog-card:hover { border-color: var(--border-dark); box-shadow: 0 8px 32px rgba(15,23,42,0.08); transform: translateY(-2px); }
    .blog-card__image {
      aspect-ratio: 16/9;
      background: var(--bg);
      display: flex; align-items: center; justify-content: center;
      border-bottom: 1px solid var(--border);
      font-family: monospace; font-size: 12px;
      color: var(--text-light); padding: 16px; text-align: center;
    }
    .blog-card__body { padding: 28px; }
    .blog-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
    .blog-card__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
    .blog-card__date { font-size: 12px; color: var(--text-light); }
    .blog-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
    .blog-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
    .blog-card__footer {
      display: flex; align-items: center; justify-content: space-between;
      margin-top: 20px; padding-top: 20px;
      border-top: 1px solid var(--border);
    }
    .blog-card__author { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
    .blog-card__avatar {
      width: 28px; height: 28px; border-radius: 50%;
      background: var(--accent-light);
      display: flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; color: var(--accent-dark); flex-shrink: 0;
    }
    .blog-card__read { font-size: 12px; color: var(--text-light); }
    @media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* ===== from blog-post.html ===== */
/* ===== BLOG POST PAGE STYLES ===== */

    .post-hero {
      padding: 64px 0 56px;
      border-bottom: 1px solid var(--border);
    }

    .post-hero__inner {
      max-width: 760px;
    }

    .post-hero__meta {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

    .post-hero__cat {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      background: var(--accent-light);
      padding: 5px 12px;
      border-radius: 100px;
    }

    .post-hero__date {
      font-size: 13px;
      color: var(--text-light);
    }

    .post-hero__read {
      font-size: 13px;
      color: var(--text-light);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .post-hero__read::before {
      content: '';
      display: block;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--border-dark);
    }

    .post-hero h1 {
      font-size: clamp(30px, 4vw, 52px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.1;
      text-wrap: balance;
      margin-bottom: 24px;
    }

    .post-hero__excerpt {
      font-size: clamp(16px, 1.5vw, 19px);
      color: var(--text-muted);
      line-height: 1.7;
      max-width: 640px;
    }

    .post-hero__author {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 32px;
      padding-top: 32px;
      border-top: 1px solid var(--border);
    }

    .post-hero__avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-head);
      font-size: 15px;
      font-weight: 700;
      color: var(--accent-dark);
      flex-shrink: 0;
    }

    .post-hero__author-info { display: flex; flex-direction: column; }
    .post-hero__author-name { font-size: 14px; font-weight: 600; color: var(--text); }
    .post-hero__author-role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

    /* ===== LAYOUT ===== */
    .post-layout {
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 64px;
      padding: 64px 0 96px;
      align-items: start;
    }

    /* ===== FEATURED IMAGE ===== */
    .post-featured-image {
      aspect-ratio: 16/7;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 48px;
      font-family: monospace;
      font-size: 13px;
      color: var(--text-light);
      text-align: center;
      overflow: hidden;
      position: relative;
    }

    .post-featured-image__inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    /* ===== ARTICLE BODY ===== */
    .post-body {
      font-size: 17px;
      line-height: 1.8;
      color: var(--text);
    }

    .post-body p {
      margin-bottom: 24px;
      color: var(--text-muted);
    }

    .post-body h2 {
      font-size: clamp(22px, 2.5vw, 30px);
      font-weight: 700;
      letter-spacing: -0.03em;
      margin: 48px 0 16px;
      color: var(--text);
    }

    .post-body h3 {
      font-size: clamp(18px, 2vw, 22px);
      font-weight: 600;
      letter-spacing: -0.02em;
      margin: 36px 0 12px;
      color: var(--text);
    }

    .post-body ul,
    .post-body ol {
      margin: 0 0 24px 0;
      padding-left: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .post-body ul li,
    .post-body ol li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      font-size: 16px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .post-body ul li::before {
      content: '';
      display: block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      margin-top: 10px;
      flex-shrink: 0;
    }

    .post-body ol {
      counter-reset: ol-counter;
    }

    .post-body ol li {
      counter-increment: ol-counter;
    }

    .post-body ol li::before {
      content: counter(ol-counter);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--accent-light);
      color: var(--accent-dark);
      font-family: var(--font-head);
      font-size: 12px;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 4px;
    }

    .post-body blockquote {
      margin: 32px 0;
      padding: 24px 28px;
      border-left: 3px solid var(--accent);
      background: var(--bg);
      border-radius: 0 var(--radius) var(--radius) 0;
    }

    .post-body blockquote p {
      font-size: 18px;
      font-style: italic;
      color: var(--navy);
      margin: 0;
      line-height: 1.65;
    }

    .post-body blockquote cite {
      display: block;
      font-size: 13px;
      font-style: normal;
      color: var(--text-muted);
      margin-top: 10px;
      font-weight: 600;
    }

    .post-body .callout {
      background: var(--accent-light);
      border: 1px solid oklch(0.85 0.08 220);
      border-radius: var(--radius);
      padding: 20px 24px;
      margin: 32px 0;
      font-size: 15px;
      color: var(--navy);
      line-height: 1.65;
    }

    .post-body .callout strong {
      font-weight: 700;
      display: block;
      margin-bottom: 6px;
      font-family: var(--font-head);
    }

    .post-body code {
      font-family: 'Courier New', monospace;
      font-size: 14px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 5px;
      padding: 2px 7px;
      color: var(--navy);
    }

    .post-body pre {
      background: var(--navy);
      border-radius: var(--radius);
      padding: 24px 28px;
      overflow-x: auto;
      margin: 28px 0;
    }

    .post-body pre code {
      background: none;
      border: none;
      padding: 0;
      color: oklch(0.75 0.14 220);
      font-size: 13px;
      line-height: 1.8;
    }

    .post-divider {
      height: 1px;
      background: var(--border);
      margin: 48px 0;
    }

    /* ===== TAGS ===== */
    .post-tags {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 48px;
      padding-top: 32px;
      border-top: 1px solid var(--border);
    }

    .post-tags__label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .post-tag {
      font-size: 12px;
      font-weight: 500;
      color: var(--text-muted);
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 5px 14px;
      transition: border-color 0.15s, color 0.15s;
    }

    .post-tag:hover {
      border-color: var(--border-dark);
      color: var(--text);
    }

    /* ===== AUTHOR BIO ===== */
    .post-author-bio {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
      display: flex;
      gap: 20px;
      margin-top: 48px;
      align-items: flex-start;
    }

    .post-author-bio__avatar {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-head);
      font-size: 18px;
      font-weight: 700;
      color: var(--accent-dark);
      flex-shrink: 0;
    }

    .post-author-bio h4 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
    .post-author-bio__role { font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
    .post-author-bio p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

    /* ===== SIDEBAR ===== */
    .post-sidebar {
      position: sticky;
      top: calc(var(--nav-h) + 32px);
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .sidebar-toc {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px;
    }

    .sidebar-toc__title {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    .sidebar-toc__list {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .sidebar-toc__item {
      font-size: 13.5px;
      color: var(--text-muted);
      padding: 7px 10px;
      border-radius: 7px;
      transition: background 0.15s, color 0.15s;
      line-height: 1.4;
      cursor: pointer;
    }

    .sidebar-toc__item:hover,
    .sidebar-toc__item.active {
      background: white;
      color: var(--text);
    }

    .sidebar-toc__item.active {
      font-weight: 600;
      color: var(--accent);
    }

    .sidebar-toc__item--h3 {
      padding-left: 20px;
      font-size: 13px;
    }

    .sidebar-cta {
      background: var(--navy);
      border-radius: var(--radius-lg);
      padding: 24px;
      text-align: center;
    }

    .sidebar-cta h4 {
      color: white;
      font-size: 17px;
      margin-bottom: 10px;
    }

    .sidebar-cta p {
      font-size: 13px;
      color: rgba(255,255,255,0.6);
      line-height: 1.6;
      margin-bottom: 18px;
    }

    .sidebar-share {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px 24px;
    }

    .sidebar-share__title {
      font-family: var(--font-head);
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 14px;
    }

    .sidebar-share__btns {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .share-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 14px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: white;
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      color: var(--text-muted);
      cursor: pointer;
      transition: border-color 0.15s, color 0.15s, background 0.15s;
      text-decoration: none;
    }

    .share-btn:hover {
      border-color: var(--border-dark);
      color: var(--text);
      background: var(--bg);
    }

    .share-btn svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
      flex-shrink: 0;
    }

    /* ===== RELATED POSTS ===== */
    .related { padding: 72px 0; background: var(--bg); border-top: 1px solid var(--border); }
    .related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
    .related-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
    .related-card:hover { border-color: var(--border-dark); box-shadow: 0 6px 24px rgba(15,23,42,0.07); transform: translateY(-2px); }
    .related-card__img { aspect-ratio: 16/9; background: var(--bg); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: monospace; font-size: 11px; color: var(--text-light); }
    .related-card__body { padding: 20px; }
    .related-card__cat { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
    .related-card h4 { font-size: 16px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
    .related-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
    .related-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-light); }

    /* ===== READING PROGRESS ===== */
    .reading-progress {
      position: fixed;
      top: var(--nav-h);
      left: 0;
      width: 0%;
      height: 2px;
      background: var(--accent);
      z-index: 99;
      transition: width 0.1s linear;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 960px) {
      .post-layout { grid-template-columns: 1fr; }
      .post-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
      .sidebar-toc { grid-column: 1 / -1; }
      .related__grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
      .post-sidebar { grid-template-columns: 1fr; }
      .related__grid { grid-template-columns: 1fr; }
      .post-author-bio { flex-direction: column; }
    }

/* ===== from about.html ===== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .about-visual {
      background: var(--bg); border: 1px solid var(--border);
      border-radius: var(--radius-lg); aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center; padding: 32px;
    }
    .about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
    .about-value { padding: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
    .about-value h4 { font-size: 17px; font-weight: 600; margin: 12px 0 8px; }
    .about-value p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
    .team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
    .team-card { text-align: center; }
    .team-card__avatar {
      width: 80px; height: 80px; border-radius: 50%;
      background: var(--accent-light);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-head); font-size: 22px; font-weight: 700;
      color: var(--accent-dark); margin: 0 auto 16px;
    }
    .team-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
    .team-card__role { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 8px; }
    .team-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
    @media (max-width: 900px) {
      .about-split { grid-template-columns: 1fr; }
      .about-values { grid-template-columns: 1fr; }
      .team-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ===== from contact.html ===== */
.contact-layout {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 80px;
      padding: 72px 0 96px;
      align-items: start;
    }
    .contact-info h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
    .contact-info > p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }
    .contact-details { display: flex; flex-direction: column; gap: 20px; }
    .contact-detail { display: flex; gap: 14px; align-items: flex-start; }
    .contact-detail__icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: var(--bg); border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .contact-detail__icon svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .contact-detail h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
    .contact-detail p { font-size: 14px; color: var(--text-muted); margin: 0; }

    .contact-form {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 40px;
    }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
    .form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
    .form-group input,
    .form-group select,
    .form-group textarea {
      font-family: var(--font-body);
      font-size: 15px;
      color: var(--text);
      background: var(--bg);
      border: 1.5px solid var(--border);
      border-radius: 9px;
      padding: 12px 16px;
      transition: border-color 0.15s, box-shadow 0.15s;
      outline: none;
      width: 100%;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px oklch(0.62 0.18 220 / 0.1);
      background: white;
    }
    .form-group textarea { resize: vertical; min-height: 120px; }
    .form-group select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235A6A82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      padding-right: 36px;
    }

    .form-success { display: none; text-align: center; padding: 48px 32px; }
    .form-success__icon {
      width: 56px; height: 56px; border-radius: 50%;
      background: oklch(0.75 0.18 145 / 0.15);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px;
    }
    .form-success__icon svg { width: 28px; height: 28px; stroke: oklch(0.55 0.18 145); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .form-success h3 { font-size: 24px; margin-bottom: 10px; }
    .form-success p { font-size: 15px; color: var(--text-muted); }

    @media (max-width: 768px) {
      .contact-layout { grid-template-columns: 1fr; gap: 48px; }
      .form-row { grid-template-columns: 1fr; }
    }

/* ===== from service-seo-consultancy.html, service-technical-seo.html, service-organic-seo.html, service-local-seo.html, service-international-seo.html, service-web-design.html ===== */
.svc-intro { padding: 80px 0; }
    .svc-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .svc-intro__visual {
      background: var(--bg); border: 1px solid var(--border);
      border-radius: var(--radius-lg); aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }
    .svc-intro__icon-wrap { width: 120px; height: 120px; border-radius: 28px; background: white; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(15,23,42,0.06); }
    .svc-intro__icon-wrap svg { width: 56px; height: 56px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .svc-intro__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-head); font-size: 60px; font-weight: 700; color: var(--border); letter-spacing: -0.04em; line-height: 1; }
    @media (max-width: 900px) { .svc-intro__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== from tools.html ===== */
.tools-hero { padding: 72px 0; border-bottom: 1px solid var(--border); }
    .tool-row-card {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: center; padding: 80px 0;
      border-bottom: 1px solid var(--border);
    }
    .tool-row-card:last-of-type { border-bottom: none; }
    .tool-row-card:nth-child(even) .tool-row-card__text { order: 2; }
    .tool-row-card:nth-child(even) .tool-row-card__visual { order: 1; }
    .tool-row-card__visual {
      background: var(--bg); border: 1px solid var(--border);
      border-radius: var(--radius-lg); aspect-ratio: 4/3;
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }
    .tool-row-card__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-head); font-size: 60px; font-weight: 700; color: var(--border); letter-spacing: -0.04em; line-height: 1; }
    .tool-row-card__icon { width: 120px; height: 120px; border-radius: 28px; background: white; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(15,23,42,0.06); }
    .tool-row-card__icon svg { width: 56px; height: 56px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .tool-row-card h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
    .tool-row-card__features { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; margin-bottom: 28px; }
    .tool-row-card__feature {
      display: flex; gap: 10px; align-items: flex-start;
      font-size: 14.5px; color: var(--text-muted);
    }
    .tool-row-card__feature::before {
      content: ''; display: block;
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); margin-top: 8px; flex-shrink: 0;
    }
    @media (max-width: 768px) {
      .tool-row-card { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
      .tool-row-card:nth-child(even) .tool-row-card__text { order: 1; }
      .tool-row-card:nth-child(even) .tool-row-card__visual { order: 2; }
    }

/* ===== from coming-soon.html ===== */
body.cs-page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
    }

    /* ===== TOP BAR ===== */
    .cs-topbar {
      position: relative;
      z-index: 2;
      padding: 28px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .cs-logo {
      font-family: var(--font-head);
      font-weight: 700;
      font-size: 20px;
      color: var(--navy);
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .cs-logo-mark {
      width: 28px; height: 28px;
      background: var(--navy);
      border-radius: 7px;
      display: flex; align-items: center; justify-content: center;
    }

    .cs-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: white;
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 6px 14px 6px 8px;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-muted);
    }

    .cs-status-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 4px oklch(0.62 0.18 220 / 0.18);
      animation: cs-pulse 2s ease-in-out infinite;
    }

    @keyframes cs-pulse {
      0%, 100% { box-shadow: 0 0 0 4px oklch(0.62 0.18 220 / 0.18); }
      50%      { box-shadow: 0 0 0 8px oklch(0.62 0.18 220 / 0.08); }
    }

    /* ===== HERO ===== */
    .cs-main {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 32px 0 80px;
      overflow: hidden;
    }

    .cs-bg-glow {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 50% 0%, oklch(0.92 0.06 220 / 0.7) 0%, transparent 65%),
        radial-gradient(ellipse 70% 40% at 50% 100%, oklch(0.95 0.04 220 / 0.5) 0%, transparent 70%);
      pointer-events: none;
    }

    .cs-bg-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 64px 64px;
      opacity: 0.4;
      mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 80%);
      -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 80%);
      pointer-events: none;
    }

    .cs-inner {
      position: relative;
      text-align: center;
      max-width: 720px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    .cs-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 28px;
    }

    .cs-eyebrow::before,
    .cs-eyebrow::after {
      content: '';
      display: block;
      width: 28px;
      height: 1.5px;
      background: var(--accent);
      border-radius: 2px;
    }

    .cs-title {
      font-family: var(--font-head);
      font-size: clamp(56px, 10vw, 132px);
      font-weight: 700;
      letter-spacing: -0.055em;
      line-height: 0.95;
      color: var(--navy);
      margin-bottom: 28px;
      text-wrap: balance;
    }

    .cs-title em {
      font-style: normal;
      color: var(--accent);
    }

    .cs-brand-line {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 32px;
      padding: 8px 18px;
      background: white;
      border: 1px solid var(--border);
      border-radius: 100px;
      font-family: var(--font-head);
      font-weight: 600;
      font-size: 14px;
      color: var(--navy);
      letter-spacing: -0.01em;
      box-shadow: 0 1px 4px rgba(15,23,42,0.04);
    }

    .cs-brand-line svg {
      width: 16px; height: 16px;
    }

    .cs-sub {
      font-size: clamp(16px, 1.7vw, 19px);
      color: var(--text-muted);
      line-height: 1.65;
      max-width: 520px;
      margin: 0 auto 44px;
      text-wrap: balance;
    }

    /* ===== COUNTDOWN ===== */
    .cs-countdown {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-bottom: 48px;
      flex-wrap: wrap;
    }

    .cs-count-unit {
      background: white;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 18px 8px 14px;
      min-width: 92px;
      box-shadow: 0 4px 16px rgba(15,23,42,0.04);
      transition: transform 0.2s, border-color 0.2s;
    }

    .cs-count-unit:hover {
      transform: translateY(-2px);
      border-color: var(--border-dark);
    }

    .cs-count-num {
      font-family: var(--font-head);
      font-size: 40px;
      font-weight: 700;
      color: var(--navy);
      letter-spacing: -0.04em;
      line-height: 1;
      font-variant-numeric: tabular-nums;
    }

    .cs-count-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-light);
      margin-top: 8px;
    }

    .cs-count-sep {
      font-family: var(--font-head);
      font-size: 36px;
      font-weight: 300;
      color: var(--border-dark);
      line-height: 1;
      align-self: center;
      margin-top: -8px;
    }

    /* ===== EMAIL FORM ===== */
    .cs-form {
      display: flex;
      align-items: stretch;
      gap: 8px;
      background: white;
      padding: 7px;
      border-radius: 14px;
      border: 1px solid var(--border);
      max-width: 460px;
      margin: 0 auto 18px;
      box-shadow: 0 4px 20px rgba(15,23,42,0.06);
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .cs-form:focus-within {
      border-color: var(--accent);
      box-shadow: 0 0 0 4px oklch(0.62 0.18 220 / 0.1);
    }

    .cs-form input {
      flex: 1;
      border: none;
      outline: none;
      background: transparent;
      padding: 10px 14px;
      font-family: var(--font-body);
      font-size: 15px;
      color: var(--text);
      min-width: 0;
    }

    .cs-form input::placeholder {
      color: var(--text-light);
    }

    .cs-form button {
      border: none;
      cursor: pointer;
      background: var(--navy);
      color: white;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 14.5px;
      padding: 0 22px;
      border-radius: 9px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.15s, transform 0.1s;
    }

    .cs-form button:hover {
      background: var(--navy-mid);
      transform: translateY(-1px);
    }

    .cs-form-note {
      font-size: 12.5px;
      color: var(--text-light);
      max-width: 460px;
      margin: 0 auto;
    }

    .cs-success {
      display: none;
      background: oklch(0.95 0.08 145);
      border: 1px solid oklch(0.85 0.12 145);
      color: oklch(0.35 0.15 145);
      max-width: 460px;
      margin: 0 auto 18px;
      padding: 14px 20px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 500;
      text-align: center;
    }

    .cs-success.show { display: block; }

    /* ===== SOCIAL ===== */
    .cs-social {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: 56px;
    }

    .cs-social-btn {
      width: 40px; height: 40px;
      border-radius: 10px;
      background: white;
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      transition: border-color 0.15s, color 0.15s, transform 0.15s;
    }

    .cs-social-btn:hover {
      border-color: var(--border-dark);
      color: var(--navy);
      transform: translateY(-2px);
    }

    .cs-social-btn svg {
      width: 16px; height: 16px;
      fill: currentColor;
    }

    /* ===== FOOTER ===== */
    .cs-footer {
      position: relative;
      z-index: 2;
      padding: 24px 0 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 13px;
      color: var(--text-light);
      border-top: 1px solid var(--border);
    }

    .cs-footer a { color: var(--text-muted); transition: color 0.15s; }
    .cs-footer a:hover { color: var(--text); }
    .cs-footer__links { display: flex; gap: 24px; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 640px) {
      .cs-topbar { padding: 20px 0; }
      .cs-countdown { gap: 8px; }
      .cs-count-unit { min-width: 72px; padding: 14px 4px 10px; border-radius: 12px; }
      .cs-count-num { font-size: 30px; }
      .cs-count-sep { font-size: 26px; }
      .cs-form { flex-direction: column; gap: 6px; padding: 8px; }
      .cs-form button { padding: 12px 22px; justify-content: center; }
      .cs-footer { flex-direction: column; gap: 14px; text-align: center; }
      .cs-footer__links { flex-wrap: wrap; justify-content: center; gap: 16px; }
    }

    @media (max-width: 420px) {
      .cs-count-unit:nth-child(7),
      .cs-count-sep:nth-child(6) { display: none; }
    }

/* ============================================= */
/*  UTILITIES (extracted from inline style="")   */
/* ============================================= */
.u1 { --accent: oklch(0.62 0.18 220); }
.u2 { font-family: Roboto; background-color: rgb(248, 248, 248); }
.u3 { color:var(--text-muted); }
.u4 { font-family: 'Space Grotesk'; }
.u5 { color: rgb(109, 113, 117); }
.u6 { background:#FF5F57; }
.u7 { background:#FFBD2E; }
.u8 { background:#28C840; }
.u9 { margin-left:8px;font-size:12px; }
.u10 { margin-top:16px; }
.u11 { width:100%;justify-content:center; }
.u12 { font-size:36px;padding-top:6px; }
.u13 { color:white; }
.u14 { color:rgba(255,255,255,0.4);font-size:14px;margin-top:4px; }
.u15 { display:flex;gap:20px; }
.u16 { background:oklch(0.62 0.18 220); }
.u17 { background:oklch(0.62 0.18 145); }
.u18 { background:oklch(0.62 0.18 60); }
.u19 { background:oklch(0.62 0.18 330); }
.u20 { background:oklch(0.62 0.18 0); }
.u21 { max-width:600px; }
.u22 { margin-top:16px;max-width:520px; }
.u23 { margin-top:24px; }
.u24 { font-family:var(--font-body);color:var(--text-muted);font-size:13px; }
.u25 { margin-top:0; }
.u26 { text-decoration:none;color:inherit; }
.u27 { font-size:11px;margin-bottom:4px; }
.u28 { display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-light);margin-bottom:24px; }
.u29 { color:var(--text-muted);transition:color 0.15s; }
.u30 { font-size:11px;margin-bottom:4px;opacity:0.6; }
.u31 { width:100%;justify-content:center;font-size:14px; }
.u32 { width:16px;height:16px;fill:currentColor;flex-shrink:0; }
.u33 { margin-top:20px; }
.u34 { display:flex;gap:12px;margin-top:32px;flex-wrap:wrap; }
.u35 { margin-bottom:0; }
.u36 { padding-bottom:96px; }
.u37 { margin-bottom:28px; }
.u38 { background:var(--bg); }
.u39 { margin-bottom:20px; }
.u40 { margin-bottom:24px; }
.u41 { text-align:center;margin:0 auto; }
.u42 { justify-content:center; }
.u43 { max-width:680px; }
.u44 { margin-top:16px;max-width:540px; }
.u45 { margin-bottom:14px; }
.u46 { display:flex;align-items:center;gap:8px;cursor:pointer; }
.u47 { width:auto; }
.u48 { color:rgba(255,255,255,0.4); }
.u49 { margin-top:8px; }
.u50 { font-weight:400;color:var(--text-light); }
.u51 { font-family:var(--font-body);font-size:14.5px; }
.u52 { background:oklch(0.62 0.18 220);color:white;border-color:oklch(0.62 0.18 220); }
.u53 { background:oklch(0.62 0.18 145);color:white;border-color:oklch(0.62 0.18 145); }
.u54 { background:oklch(0.65 0.2 30);color:white;border-color:oklch(0.65 0.2 30); }
.u55 { background:oklch(0.55 0.25 350);color:white;border-color:oklch(0.55 0.25 350); }
.u56 { background:#0F172A;color:white;border-color:#0F172A; }
.u57 { display:none; }
.u58 { margin-top:12px; }
.u59 { display:flex;align-items:center;justify-content:space-between;width:100%;max-width:var(--max-w); }
