:root {
  --bg: #fff8f6;
  --bg-2: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #fff1ee;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #f0d9d3;
  --line-strong: #ffc9c0;
  --primary: #ff6b6b;
  --primary-2: #ff8a65;
  --primary-dark: #e8505b;
  --navy: #111827;
  --info-bg: #eefaff;
  --info: #0e7490;
  --success-bg: #ecfdf5;
  --success: #047857;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 10px 26px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 24px 60px rgba(15, 23, 42, 0.11);
  --shadow-lg: 0 34px 90px rgba(15, 23, 42, 0.14);
  --shadow-coral: 0 22px 48px rgba(255, 107, 107, 0.22);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --pill: 999px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 107, 107, 0.16), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(255, 138, 101, 0.13), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 54%, #fff 100%);
  color: var(--text);
  font-family: system-ui, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 44px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(240, 217, 211, 0.78);
  backdrop-filter: blur(20px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 950; }
.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-coral);
}
.brand-mark::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 12px 10px 0 rgba(255, 255, 255, 0.58);
  transform: translate(-4px, -4px);
}
.brand-copy { display: grid; gap: 0; line-height: 1; }
.brand-text { font-size: 24px; letter-spacing: -0.03em; }
.brand-sub { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.site-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 14px;
  border: 1px solid transparent; border-radius: var(--pill);
  color: #475569; font-size: 14px; font-weight: 850;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { background: var(--surface-soft); border-color: var(--line-strong); color: var(--primary-dark); outline: 0; }
.site-nav .nav-cta { background: var(--ink); color: #fff; box-shadow: var(--shadow-xs); }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { background: var(--primary); border-color: transparent; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-coral); }
.site-main { min-height: calc(100vh - 180px); }

.home-hero { position: relative; overflow: hidden; padding: 86px 0 72px; }
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(4px); }
.hero-glow-a { top: 72px; left: -120px; width: 280px; height: 280px; background: rgba(255, 107, 107, .13); }
.hero-glow-b { right: -130px; bottom: 40px; width: 330px; height: 330px; background: rgba(255, 138, 101, .12); }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--primary-dark); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.hero-copy h1, .tool-header h1, .tool-hero h1 {
  max-width: 820px; margin: 8px 0 18px; color: var(--ink);
  font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.065em;
}
.hero-copy p, .tool-title-card p { max-width: 680px; margin: 0; color: #475569; font-size: 18px; font-weight: 620; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary-link, .secondary-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 18px; border-radius: var(--pill); font-weight: 950;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.primary-link { background: var(--primary); color: #fff; box-shadow: var(--shadow-coral); }
.primary-link:hover { background: var(--primary-dark); transform: translateY(-1px); }
.secondary-link { background: rgba(255,255,255,.72); border: 1px solid var(--line); color: var(--ink); }
.secondary-link:hover { background: #fff; border-color: var(--line-strong); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-trust span {
  display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px;
  background: rgba(255,255,255,.74); border: 1px solid rgba(240,217,211,.9); border-radius: var(--pill);
  color: #475569; font-size: 13px; font-weight: 850; box-shadow: var(--shadow-xs);
}
.hero-panel {
  position: relative; padding: clamp(24px, 4vw, 38px); overflow: hidden;
  background: rgba(255,255,255,.9); border: 1px solid rgba(240,217,211,.86); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(18px);
}
.hero-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.panel-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.panel-topline strong { color: var(--primary-dark); }
.search-label { display: block; margin-bottom: 12px; color: var(--ink); font-size: 22px; font-weight: 950; letter-spacing: -0.04em; }
.search-field {
  display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 0 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.search-field:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 6px rgba(255,107,107,.13); }
.search-icon { position: relative; display: inline-block; flex: 0 0 22px; width: 22px; height: 22px; border: 2px solid var(--primary); border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 8px; height: 2px; background: var(--primary); border-radius: 2px; transform: rotate(45deg); }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 17px; font-weight: 700; }
.search-field input::placeholder { color: var(--muted-2); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.hero-metrics div { padding: 14px 12px; background: var(--bg); border: 1px solid rgba(240,217,211,.82); border-radius: 18px; }
.hero-metrics strong { display: block; color: var(--ink); font-size: 20px; line-height: 1.1; }
.hero-metrics span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 800; }

.section { padding: 66px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.section-heading h2, .section-card-head h2, .panel-heading h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.16; letter-spacing: -0.055em; }
.section-heading p:not(.eyebrow) { max-width: 620px; margin: 6px 0 0; color: var(--muted); font-weight: 620; }
.category-jump { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.category-jump a { padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); color: var(--primary-dark); font-size: 13px; font-weight: 900; box-shadow: var(--shadow-xs); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.tool-card {
  position: relative; display: flex; gap: 16px; min-height: 182px; padding: 24px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(240,217,211,.9); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tool-card::after { content: ""; position: absolute; inset: auto 18px 0 18px; height: 3px; background: linear-gradient(90deg, transparent, rgba(255,107,107,.7), transparent); opacity: 0; transition: opacity .18s ease; }
.tool-card:hover, .tool-card:focus-visible { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-md); outline: 0; }
.tool-card:hover::after, .tool-card:focus-visible::after { opacity: 1; }
.tool-card-featured { min-height: 225px; padding: 30px; }
.tool-icon {
  display: inline-grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px;
  border-radius: 22px; background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 13px; font-weight: 950; box-shadow: var(--shadow-coral);
}
.tool-card-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; min-width: 0; }
.tool-card-meta { width: fit-content; padding: 5px 10px; background: var(--surface-soft); border: 1px solid var(--line-strong); border-radius: var(--pill); color: var(--primary-dark); font-size: 12px; font-weight: 950; }
.tool-card strong { display: block; margin-top: 2px; color: var(--ink); font-size: 20px; line-height: 1.34; letter-spacing: -0.04em; }
.tool-card small { display: block; color: var(--muted); font-size: 14px; line-height: 1.58; }
.tool-card-action { display: inline-flex; align-items: center; width: fit-content; margin-top: 10px; color: var(--primary-dark); font-size: 14px; font-weight: 950; }
.tool-card-action::after { content: "→"; margin-left: 6px; transition: transform .15s ease; }
.tool-card:hover .tool-card-action::after { transform: translateX(4px); }
.category-block { padding: 34px; background: rgba(255,255,255,.72); border: 1px solid rgba(240,217,211,.86); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.category-block + .category-block { margin-top: 28px; }
.category-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.category-heading h3 { margin: 0; color: var(--ink); font-size: 25px; letter-spacing: -0.04em; }
.category-heading p { margin: 5px 0 0; color: var(--muted); }
.category-heading span { flex: 0 0 auto; padding: 7px 12px; background: var(--info-bg); border: 1px solid #c6edf8; border-radius: var(--pill); color: var(--info); font-size: 13px; font-weight: 950; }
.empty-state { margin: 0 0 24px; padding: 24px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); text-align: center; box-shadow: var(--shadow-xs); }

.tool-page { padding: 50px 0 78px; }
.tool-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: stretch; margin-bottom: 24px; }
.tool-title-card, .tool-side-card, .calculator-panel, .section-card {
  background: rgba(255,255,255,.92); border: 1px solid rgba(240,217,211,.92); border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
}
.tool-title-card { padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, #fff 0%, #fff6f3 100%); }
.tool-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.tool-meta-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.tool-meta-row span, .tool-hero-note { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 950; }
.tool-meta-row span:first-child { background: var(--primary); color: #fff; }
.tool-meta-row span:not(:first-child), .tool-hero-note { background: var(--surface-soft); border: 1px solid var(--line-strong); color: var(--primary-dark); }
.tool-hero-note { width: fit-content; margin-top: 24px; }

.tool-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tool-quick-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 9px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--pill);
  background: rgba(255,255,255,.78); color: var(--ink);
  font-size: 13px; font-weight: 950; box-shadow: var(--shadow-xs);
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.tool-quick-link:hover, .tool-quick-link:focus-visible {
  background: #fff; border-color: var(--primary); color: var(--primary-dark);
  transform: translateY(-1px); box-shadow: var(--shadow-sm); outline: 0;
}

.tool-side-card { display: flex; flex-direction: column; justify-content: center; padding: 28px; background: var(--ink); color: #fff; }
.side-card-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 22px; background: rgba(255,255,255,.13); color: #fff; font-weight: 950; }
.tool-side-card strong { font-size: 20px; letter-spacing: -0.04em; }
.tool-side-card p { margin: 8px 0 20px; color: #cbd5e1; }
.tool-side-card a { display: inline-flex; justify-content: center; width: fit-content; padding: 10px 14px; border-radius: var(--pill); background: #fff; color: var(--ink); font-weight: 950; }
.notice-box { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; padding: 18px 20px; background: var(--info-bg); border: 1px solid #c6edf8; border-radius: var(--radius-lg); color: #155e75; box-shadow: var(--shadow-xs); }
.notice-icon { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--info); color: #fff; font-size: 15px; font-weight: 950; }
.notice-box strong { display: block; margin-bottom: 2px; color: #0e7490; font-weight: 950; }
.notice-list ul { margin: 8px 0 0; padding-left: 18px; }
.notice-list li + li { margin-top: 6px; }
.ad-slot { display: grid; place-items: center; min-height: 96px; margin: 18px 0; background: rgba(255,255,255,.52); border: 1px solid rgba(240,217,211,.65); border-radius: var(--radius-lg); }
.calculator-panel { padding: clamp(26px, 4vw, 44px); }
.panel-heading { margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
label { display: grid; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 950; }
input, select, textarea { width: 100%; min-height: 58px; padding: 13px 15px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; color: var(--text); outline: 0; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
textarea { min-height: 220px; resize: vertical; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, select:focus, textarea:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 6px rgba(255,107,107,.13); }
button { min-height: 56px; padding: 13px 24px; border: 0; border-radius: var(--pill); background: var(--primary); color: #fff; font-weight: 950; cursor: pointer; box-shadow: var(--shadow-coral); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
button:hover, button:focus-visible { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 20px 38px rgba(232,80,91,.20); outline: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.result-box { margin-top: 26px; padding: 24px; background: var(--ink); border-radius: var(--radius-lg); color: #fff; font-size: 18px; font-weight: 850; box-shadow: var(--shadow-md); }
.result-box:empty { display: none; }
.result-metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.result-metric { display: grid; gap: 4px; min-height: 92px; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.08); }
.result-metric span { color: #cbd5e1; font-size: 13px; font-weight: 850; }
.result-metric strong { color: #fff; font-size: 22px; line-height: 1.2; }
.result-metric small { color: #cbd5e1; font-size: 12px; font-weight: 700; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.result-action-button { min-height: 46px; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--pill); background: var(--primary); color: #fff; font-size: 14px; font-weight: 950; box-shadow: var(--shadow-xs); }
.result-action-button:hover, .result-action-button:focus-visible { background: var(--primary-dark); box-shadow: var(--shadow-sm); }
.result-action-secondary { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-xs); }
.result-action-secondary:hover, .result-action-secondary:focus-visible { background: var(--surface-soft); border-color: var(--line-strong); color: var(--primary-dark); }
.ondo-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; max-width: min(420px, calc(100% - 32px)); padding: 13px 16px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: 14px; font-weight: 850; text-align: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.ondo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.section-card { margin-top: 28px; padding: clamp(24px, 4vw, 34px); }
.section-card-head { margin-bottom: 18px; }
.summary-list { display: grid; gap: 12px; }
.summary-list p { margin: 0; padding: 16px 18px; background: var(--surface-soft); border: 1px solid var(--line-strong); border-radius: 20px; color: var(--ink); font-weight: 800; }
.aeo-section { scroll-margin-top: 96px; }
.aeo-list, .example-list, .step-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.aeo-list li, .example-list li, .step-list li { position: relative; padding: 16px 18px 16px 46px; background: #fff; border: 1px solid rgba(240,217,211,.92); border-radius: 20px; color: #475569; box-shadow: var(--shadow-xs); }
.aeo-list li::before, .example-list li::before { content: ""; position: absolute; left: 18px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--surface-soft); }
.step-list { counter-reset: guide-step; }
.step-list li { counter-increment: guide-step; }
.step-list li::before { content: counter(guide-step); position: absolute; left: 14px; top: 14px; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 950; }
.use-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.use-case-grid span { display: flex; align-items: center; min-height: 62px; padding: 14px 16px; background: #fff; border: 1px solid rgba(240,217,211,.92); border-radius: 20px; color: var(--ink); font-weight: 850; box-shadow: var(--shadow-xs); }
.faq-list { display: grid; gap: 12px; }
.faq-section details { overflow: hidden; background: #fff; border: 1px solid rgba(240,217,211,.92); border-radius: 20px; box-shadow: var(--shadow-xs); }
.faq-section summary { position: relative; cursor: pointer; padding: 18px 58px 18px 20px; color: var(--ink); font-weight: 950; list-style: none; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; position: absolute; top: 50%; right: 20px; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-soft); color: var(--primary-dark); transform: translateY(-50%); font-weight: 950; }
.faq-section details[open] summary { border-bottom: 1px solid var(--line); }
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p { margin: 0; padding: 18px 20px; color: #475569; }
.related-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.related-list a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; background: #fff; border: 1px solid rgba(240,217,211,.92); border-radius: 20px; box-shadow: var(--shadow-xs); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.related-list a:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.related-list span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 15px; background: var(--surface-soft); color: var(--primary-dark); font-size: 12px; font-weight: 950; }
.related-list strong { color: var(--ink); font-size: 15px; }

.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 124px; padding: 30px 0; }
.footer-brand { color: var(--ink); font-size: 22px; font-weight: 950; letter-spacing: -0.04em; }
.footer-brand-block p { margin: 6px 0 0; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; font-size: 14px; font-weight: 850; }
.footer-meta a { color: var(--primary-dark); }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .hero-layout, .tool-hero { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .home-hero { padding: 54px 0 44px; }
  .section { padding: 46px 0; }
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
  .header-inner { min-height: auto; padding: 14px 0; }
  .site-nav { justify-content: flex-start; width: 100%; overflow-x: auto; padding-bottom: 2px; flex-wrap: nowrap; }
  .site-nav a { flex: 0 0 auto; min-height: 38px; padding: 8px 12px; font-size: 13px; }
  .hero-copy h1, .tool-hero h1 { font-size: 39px; }
  .hero-copy p, .tool-title-card p { font-size: 16px; }
  .hero-panel, .tool-title-card, .calculator-panel, .section-card, .category-block { border-radius: 24px; padding: 24px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .section-heading, .category-heading { align-items: flex-start; flex-direction: column; }
  .category-jump { justify-content: flex-start; }
  .tool-card, .tool-card-featured { min-height: auto; padding: 22px; border-radius: 24px; }
  .tool-icon { flex-basis: 50px; width: 50px; height: 50px; border-radius: 19px; }
  .button-row button { width: 100%; }
  .result-action-button { flex: 1 1 calc(50% - 10px); }
  .footer-meta { justify-content: flex-start; }
}
@media (max-width: 430px) {
  .container { width: min(100% - 22px, var(--container)); }
  .brand-text { font-size: 22px; }
  .hero-copy h1, .tool-hero h1 { font-size: 34px; }
  .tool-card { gap: 12px; }
  .result-action-button { flex-basis: 100%; }
  input, select, textarea, button { min-height: 54px; }
}

/* ONDO Compact Utility UI refinement */
:root {
  --container: 1080px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, .06);
  --shadow-md: 0 16px 42px rgba(15, 23, 42, .09);
  --shadow-coral: 0 14px 30px rgba(255, 107, 107, .16);
}

body {
  background:
    radial-gradient(circle at 6% 0%, rgba(255, 107, 107, .10), transparent 26%),
    linear-gradient(180deg, #fff8f6 0%, #f8fafc 58%, #fff 100%);
}
.container { width: min(var(--container), calc(100% - 40px)); }
.header-inner { min-height: 64px; }
.brand-mark { width: 38px; height: 38px; border-radius: 14px; box-shadow: 0 12px 26px rgba(255, 107, 107, .18); }
.brand-text { font-size: 21px; }
.brand-sub { font-size: 10px; }
.site-nav a { min-height: 36px; padding: 7px 12px; font-size: 13px; }

.home-hero-compact { padding: 58px 0 46px; }
.compact-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 34px; }
.hero-copy h1 { max-width: 680px; font-size: clamp(38px, 5vw, 62px); letter-spacing: -0.06em; }
.hero-copy p { max-width: 620px; font-size: 17px; }
.hero-search-mobile { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.compact-finder { padding: 26px; border-radius: 22px; box-shadow: var(--shadow-md); }
.search-label { font-size: 19px; }
.search-field { min-height: 58px; border-radius: 18px; }
.compact-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-metrics div { padding: 11px 10px; border-radius: 14px; }
.compact-metrics strong { font-size: 18px; }
.compact-section { padding: 42px 0; }
.compact-section-heading { margin-bottom: 18px; }
.section-heading h2, .section-card-head h2, .panel-heading h2 { font-size: clamp(24px, 2.8vw, 34px); }
.compact-featured-grid { gap: 16px; }
.tool-grid { gap: 16px; }
.tool-card, .tool-card-featured { min-height: 140px; padding: 18px; border-radius: 18px; box-shadow: var(--shadow-xs); }
.tool-card:hover, .tool-card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tool-icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 16px; box-shadow: 0 10px 24px rgba(255, 107, 107, .16); }
.tool-card strong { font-size: 18px; }
.tool-card small { font-size: 13px; line-height: 1.5; }
.compact-category-block { padding: 22px; border-radius: 20px; }
.category-block + .category-block { margin-top: 18px; }
.category-heading { margin-bottom: 16px; }
.category-heading h3 { font-size: 22px; }

.tool-page { padding: 28px 0 58px; }
.tool-hero-compact { grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; margin-bottom: 16px; }
.tool-title-card, .tool-side-card, .calculator-panel, .section-card { border-radius: 20px; box-shadow: var(--shadow-sm); }
.tool-title-card { padding: clamp(22px, 4vw, 34px); }
.tool-hero h1 { margin: 6px 0 12px; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.06; letter-spacing: -0.055em; }
.tool-title-card p { max-width: 760px; font-size: 16px; line-height: 1.58; }
.tool-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 800; }
.tool-breadcrumb a { color: var(--primary-dark); }
.tool-meta-row { gap: 8px; margin-bottom: 10px; }
.tool-meta-row span, .tool-hero-note, .meta-chip { min-height: 28px; padding: 5px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 900; }
.meta-primary, .tool-meta-row span:first-child { background: var(--primary); color: #fff; }
.tool-hero-note { margin-top: 16px; }
.tool-quick-actions { gap: 8px; margin-top: 14px; }
.tool-quick-link { min-height: 36px; padding: 7px 12px; font-size: 12px; }
button.tool-quick-link { border: 1px solid var(--line-strong); background: rgba(255,255,255,.78); color: var(--ink); box-shadow: var(--shadow-xs); }
.tool-check-card { padding: 22px; background: #111827; }
.side-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.side-card-icon { width: 46px; height: 46px; margin: 0; border-radius: 16px; font-size: 12px; }
.side-card-label { color: #fda4af; font-size: 11px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.tool-side-card strong { font-size: 18px; }
.side-check-list { display: grid; gap: 8px; margin: 12px 0 16px; padding: 0; list-style: none; }
.side-check-list li { position: relative; padding-left: 18px; color: #dbe7f3; font-size: 13px; line-height: 1.45; }
.side-check-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.side-card-link { display: inline-flex; justify-content: center; width: fit-content; padding: 8px 12px; border-radius: var(--pill); background: #fff; color: var(--ink); font-size: 13px; font-weight: 950; }

.calculator-panel { margin-top: 16px; padding: clamp(22px, 3vw, 32px); }
.compact-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.panel-badge { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border-radius: var(--pill); background: var(--success-bg); border: 1px solid #bbf7d0; color: var(--success); font-size: 12px; font-weight: 950; }
.form-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
label { gap: 6px; font-size: 14px; }
input, select, textarea { min-height: 50px; padding: 11px 13px; border-radius: 14px; }
textarea { min-height: 210px; }
button { min-height: 50px; padding: 11px 18px; }
.button-row { margin-top: 18px; }
.result-box { margin-top: 18px; padding: 18px; border-radius: 16px; font-size: 16px; line-height: 1.62; }
.result-metric-grid { gap: 10px; }
.result-metric { min-height: 82px; padding: 12px; border-radius: 13px; }
.result-metric strong { font-size: 20px; }
.result-table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); }
.result-table { width: 100%; min-width: 640px; border-collapse: collapse; color: #fff; font-size: 13px; }
.result-table th, .result-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: right; white-space: nowrap; }
.result-table th:first-child, .result-table td:first-child { text-align: center; }
.result-table th { color: #cbd5e1; font-weight: 950; background: rgba(255,255,255,.08); }
.result-table tr:last-child td { border-bottom: 0; }
.result-download { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 14px; padding: 10px 16px; border-radius: var(--pill); background: #fff; color: var(--ink); font-size: 14px; font-weight: 950; box-shadow: var(--shadow-xs); }
.result-download:hover, .result-download:focus-visible { color: var(--primary-dark); outline: 0; }
.mask-canvas-shell { margin-top: 18px; padding: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.mask-canvas-shell canvas { display: block; width: min(100%, 1000px); height: auto; margin: 0 auto; border-radius: 12px; background: #fff; box-shadow: var(--shadow-xs); touch-action: none; }
.result-actions { margin-top: 12px; }
.result-action-button { min-height: 42px; padding: 9px 14px; font-size: 13px; }

.knowledge-overview { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 16px; }
.section-card { margin-top: 0; padding: 22px; border-radius: 20px; }
.section-card + .section-card { margin-top: 16px; }
.compact-head { margin-bottom: 12px; }
.compact-summary-list { gap: 9px; }
.summary-list p { padding: 13px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; }
.compact-notice { margin: 0; padding: 16px; border-radius: 18px; }
.notice-box { margin-bottom: 16px; }
.notice-list ul { margin-top: 6px; font-size: 13px; line-height: 1.52; }
.knowledge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.aeo-section { scroll-margin-top: 84px; }
.aeo-list li, .example-list li, .step-list li { padding: 13px 14px 13px 42px; border-radius: 14px; font-size: 14px; line-height: 1.55; }
.aeo-list li::before, .example-list li::before { left: 17px; top: 21px; width: 8px; height: 8px; box-shadow: 0 0 0 4px var(--surface-soft); }
.step-list li::before { left: 12px; top: 12px; width: 22px; height: 22px; font-size: 11px; }
.compact-use-cases { grid-template-columns: 1fr; gap: 10px; }
.use-case-grid span { min-height: 52px; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.faq-section { margin-top: 16px; }
.faq-section details { border-radius: 16px; }
.faq-section summary { padding: 15px 52px 15px 18px; }
.faq-section details p { padding: 15px 18px; }
.related-section { margin-top: 16px; }
.related-list { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.related-list a { min-height: 56px; padding: 12px 14px; border-radius: 16px; }
.related-list span { width: 34px; height: 34px; border-radius: 13px; }

.static-page { padding: 34px 0 68px; }
.static-page-hero { margin-bottom: 16px; padding: clamp(24px, 4vw, 36px); background: rgba(255,255,255,.92); border: 1px solid rgba(240,217,211,.92); border-radius: 22px; box-shadow: var(--shadow-sm); }
.static-page-hero h1 { margin: 8px 0 10px; color: var(--ink); font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.055em; line-height: 1.1; }
.static-page-hero p { margin: 0 0 12px; max-width: 720px; color: var(--muted); font-weight: 650; }
.static-content h2 { margin: 22px 0 8px; color: var(--ink); font-size: 22px; letter-spacing: -0.04em; }
.static-content h2:first-child { margin-top: 0; }
.static-content p { margin: 0 0 14px; color: #475569; }

.site-footer { margin-top: 28px; }
.compact-footer-inner { min-height: 98px; padding: 22px 0; }
.footer-meta { gap: 12px; }
.footer-meta a { color: #475569; }
.footer-meta a:hover { color: var(--primary-dark); }

@media (max-width: 1000px) {
  .compact-hero-layout, .tool-hero-compact, .knowledge-overview, .knowledge-grid { grid-template-columns: 1fr; }
  .tool-check-card { min-height: auto; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 24px, var(--container)); }
  .home-hero-compact { padding: 38px 0 30px; }
  .hero-copy h1 { font-size: 36px; }
  .tool-page { padding-top: 18px; }
  .tool-hero h1 { font-size: 32px; }
  .tool-title-card, .tool-side-card, .calculator-panel, .section-card, .static-page-hero { border-radius: 18px; padding: 18px; }
  .tool-side-card { display: none; }
  .tool-quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-quick-link { width: 100%; padding-left: 8px; padding-right: 8px; text-align: center; }
  .compact-panel-heading { flex-direction: column; }
  .panel-badge { width: fit-content; }
  .form-grid { grid-template-columns: 1fr; }
  .result-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-action-button { width: 100%; }
  .category-heading span { font-size: 12px; }
}
@media (max-width: 430px) {
  .container { width: min(100% - 18px, var(--container)); }
  .hero-copy h1, .tool-hero h1 { font-size: 30px; }
  .site-nav { gap: 6px; }
  .site-nav a { padding: 7px 10px; }
  .tool-quick-actions, .result-actions { grid-template-columns: 1fr; }
  input, select, textarea, button { min-height: 48px; }
  .result-metric-grid { grid-template-columns: 1fr; }
}

/* Compact SEO/AEO information layout */
.knowledge-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-top: 18px;
}

.insight-card,
.knowledge-grid .section-card,
.faq-section.section-card,
.related-section.section-card {
  margin-top: 0;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(240, 217, 211, .9);
  box-shadow: var(--shadow-xs);
}

.insight-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.insight-card-head,
.compact-head,
.section-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.insight-card-head h2,
.section-card-head h2,
.panel-heading h2 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.insight-card-head .eyebrow,
.section-card-head .eyebrow {
  margin-bottom: 2px;
}

.insight-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 15px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 950;
}

.notice-insight-icon {
  background: var(--info-bg);
  color: var(--info);
}

.summary-list {
  display: grid;
  gap: 10px;
}

.summary-list p {
  margin: 0;
  padding: 0 0 0 12px;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--primary);
  border-radius: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.58;
}

.notice-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  position: relative;
  margin: 0;
  padding-left: 16px;
  color: #155e75;
  font-size: 14px;
  line-height: 1.56;
}

.notice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--info);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.aeo-list,
.example-list,
.step-list {
  gap: 10px;
}

.aeo-list li,
.example-list li,
.step-list li {
  padding: 12px 14px 12px 38px;
  border-radius: 16px;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.58;
}

.aeo-list li::before,
.example-list li::before {
  left: 16px;
  top: 20px;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px var(--surface-soft);
}

.step-list li::before {
  left: 12px;
  top: 12px;
  width: 21px;
  height: 21px;
}

.use-case-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.use-case-grid span {
  min-height: auto;
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .knowledge-overview,
  .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .insight-card,
  .knowledge-grid .section-card,
  .faq-section.section-card,
  .related-section.section-card {
    padding: 20px;
    border-radius: 18px;
  }
}

/* FAQ and related tools spacing */
.faq-section.section-card {
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
}

.related-section.section-card {
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
}

.faq-section .section-card-head,
.related-section .section-card-head {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.faq-section .section-card-head .eyebrow,
.related-section .section-card-head .eyebrow {
  line-height: 1;
  margin: 0 0 5px;
}

.faq-section .section-card-head h2,
.related-section .section-card-head h2 {
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.22;
}

.faq-list {
  gap: 14px;
  margin-top: 18px;
}

.faq-section details {
  border-radius: 18px;
}

.faq-section summary {
  padding: 17px 56px 17px 20px;
}

.faq-section summary::after {
  right: 20px;
}

.faq-section details p {
  padding: 17px 20px 19px;
}

.related-list {
  gap: 14px;
}

.related-list a {
  min-height: 64px;
  padding: 15px 16px;
  border-radius: 18px;
}

@media (max-width: 720px) {
  .faq-section.section-card,
  .related-section.section-card {
    margin-top: 28px;
    padding: 20px;
    border-radius: 18px;
  }

  .faq-section .section-card-head,
  .related-section .section-card-head {
    margin-bottom: 18px;
  }

  .faq-list,
  .related-list {
    gap: 12px;
  }
}
