:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --surface-3: #e8ebf4;
  --ink: #14182b;
  --ink-soft: #5f667e;
  --ink-faint: #8f96aa;
  --line: #dfe3ed;
  --line-strong: #cdd3e1;
  --navy: #171c39;
  --navy-2: #22284d;
  --primary: #6657f5;
  --primary-2: #8a6cff;
  --primary-soft: #eeebff;
  --cyan: #17b9c4;
  --green: #12a879;
  --orange: #ee8d36;
  --rose: #ef5b7d;
  --amber: #d99b24;
  --blue: #3985e8;
  --violet: #7359e8;
  --slate: #65718b;
  --shadow-sm: 0 1px 2px rgba(21, 24, 45, .05), 0 5px 18px rgba(21, 24, 45, .04);
  --shadow-md: 0 18px 50px rgba(26, 30, 60, .10);
  --shadow-lg: 0 30px 80px rgba(17, 21, 48, .20);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1180px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0e1120;
  --surface: #15192b;
  --surface-2: #1b2035;
  --surface-3: #242a42;
  --ink: #f2f3fa;
  --ink-soft: #a7aec2;
  --ink-faint: #767f98;
  --line: #2a3049;
  --line-strong: #39415e;
  --navy: #0b0e1b;
  --navy-2: #151a31;
  --primary-soft: #28234d;
  --shadow-sm: 0 5px 20px rgba(0, 0, 0, .15);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

button, input, select, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

button { color: inherit; }

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 40%, transparent);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 72px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .25s ease, background .25s ease;
}

.topbar.is-scrolled { box-shadow: var(--shadow-sm); }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--primary), #8e68fb);
  box-shadow: 0 9px 20px rgba(102, 87, 245, .25);
}

.brand-symbol svg { width: 30px; height: 30px; }
.brand-symbol svg path {
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-size: 16px; letter-spacing: -.02em; }
.brand-name small { margin-top: 4px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.desktop-nav a {
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  transition: color .2s ease, background .2s ease;
}

.desktop-nav a:hover { background: var(--surface-2); color: var(--ink); }

.topbar-actions { display: flex; align-items: center; gap: 7px; }

.icon-button {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.icon-button:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-1px); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button span { color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.icon-button kbd { padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-faint); background: var(--surface-2); font-family: inherit; font-size: 10px; }
.theme-button { padding: 0; }
.theme-button .moon-icon, [data-theme="dark"] .theme-button .sun-icon { display: none; }
[data-theme="dark"] .theme-button .moon-icon { display: block; }
.menu-button { display: none; padding: 0; }

.mobile-nav {
  padding: 8px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-nav a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 650;
}

.search-dialog {
  width: min(calc(100% - 32px), 650px);
  max-height: min(720px, calc(100dvh - 40px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-dialog::backdrop { background: rgba(8, 10, 24, .68); backdrop-filter: blur(5px); }
.search-dialog[open] { animation: dialog-in .18s ease-out both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(-12px) scale(.98); } }

.search-dialog-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.search-dialog-head svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; stroke-linecap: round; }
.search-dialog-head input { width: 100%; padding: 6px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px; }
.search-dialog-head input::placeholder { color: var(--ink-faint); }
.search-dialog-head button { padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--ink-faint); font-size: 11px; cursor: pointer; }
.search-dialog-body { min-height: 230px; max-height: 520px; padding: 10px; overflow: auto; }
.search-result { display: flex; align-items: center; gap: 12px; padding: 11px; border: 1px solid transparent; border-radius: 13px; transition: .15s ease; }
.search-result:hover, .search-result.is-selected { border-color: var(--line); background: var(--surface-2); }
.search-result .mini-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.search-result .mini-icon svg { width: 21px; height: 21px; }
.search-result div { min-width: 0; }
.search-result strong, .search-result small { display: block; }
.search-result strong { font-size: 14px; }
.search-result small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result > span:last-child { margin-left: auto; color: var(--ink-faint); }
.search-empty { display: grid; min-height: 210px; place-items: center; align-content: center; text-align: center; color: var(--ink-soft); }
.search-empty strong { display: block; color: var(--ink); }
.search-dialog-foot { display: flex; gap: 17px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink-faint); background: var(--surface-2); font-size: 11px; }

.hero-home {
  position: relative;
  min-height: 620px;
  padding: 84px 0 78px;
  background:
    radial-gradient(circle at 15% 20%, rgba(118, 87, 249, .22), transparent 27%),
    radial-gradient(circle at 84% 74%, rgba(25, 183, 195, .14), transparent 25%),
    linear-gradient(135deg, #11152d 0%, #191d3d 55%, #141934 100%);
  color: #fff;
  overflow: hidden;
}

.hero-home::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  content: "";
}

.hero-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
}

.hero-orb::before, .hero-orb::after { position: absolute; border: 1px solid rgba(255,255,255,.055); border-radius: inherit; content: ""; }
.hero-orb::before { inset: 30px; }
.hero-orb::after { inset: 67px; }
.orb-one { top: -120px; right: 8%; }
.orb-two { bottom: -175px; left: 4%; width: 330px; height: 330px; }

.hero-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  align-items: center;
  gap: 75px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9c7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #56dbc4;
  box-shadow: 0 0 0 5px rgba(86, 219, 196, .12);
}

.eyebrow-dark { color: var(--primary); }

.hero-content h1 {
  max-width: 690px;
  margin: 20px 0 20px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-content h1 em {
  color: #a99cff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 28px;
  color: #bac0d8;
  font-size: 18px;
  line-height: 1.75;
}

.hero-search {
  display: flex;
  width: min(100%, 590px);
  height: 62px;
  padding: 0 17px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 17px;
  background: rgba(255,255,255,.095);
  color: #fff;
  box-shadow: 0 15px 45px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
  cursor: pointer;
  text-align: left;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.hero-search:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.13); }
.hero-search svg { width: 22px; height: 22px; fill: none; stroke: #c2c6d9; stroke-width: 1.8; stroke-linecap: round; }
.hero-search span { flex: 1; color: #d7d9e6; }
.hero-search kbd { padding: 5px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: rgba(0,0,0,.15); color: #aeb4c9; font-family: inherit; font-size: 11px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 24px;
  color: #9ea6bf;
  font-size: 12px;
  font-weight: 650;
}

.hero-proof span { display: flex; align-items: center; gap: 6px; }
.hero-proof svg { width: 17px; height: 17px; fill: none; stroke: #56dbc4; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-dashboard {
  padding: 25px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.075);
  box-shadow: 0 35px 90px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
}

.dashboard-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.dashboard-top span { color: #8f98b6; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.dashboard-top h2 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.025em; }
.dashboard-top .online-badge { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid rgba(86,219,196,.18); border-radius: 999px; background: rgba(86,219,196,.08); color: #7ae6d3; font-size: 9px; }
.online-badge i { width: 6px; height: 6px; border-radius: 50%; background: #56dbc4; box-shadow: 0 0 0 4px rgba(86,219,196,.1); }

.quick-stack { display: grid; gap: 8px; }
.quick-card { display: flex; align-items: center; gap: 12px; padding: 11px; border: 1px solid transparent; border-radius: 15px; background: rgba(255,255,255,.07); transition: .2s ease; }
.quick-card:hover { transform: translateX(4px); border-color: rgba(255,255,255,.11); background: rgba(255,255,255,.12); }
.quick-card .quick-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: rgba(143,122,255,.16); color: #b7aaff; }
.quick-card:nth-child(2) .quick-icon { background: rgba(61,202,173,.13); color: #5de1c6; }
.quick-card:nth-child(3) .quick-icon { background: rgba(239,91,125,.13); color: #ff819e; }
.quick-card:nth-child(4) .quick-icon { background: rgba(238,141,54,.13); color: #ffb064; }
.quick-icon svg { width: 22px; height: 22px; }
.quick-card > span:nth-child(2) { min-width: 0; }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { color: #f4f5fb; font-size: 13px; }
.quick-card small { margin-top: 2px; color: #939bb5; font-size: 11px; }
.quick-card > svg { width: 17px; margin-left: auto; fill: none; stroke: #7f88a5; stroke-width: 1.8; }

.dashboard-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.dashboard-stat div { text-align: center; }
.dashboard-stat div + div { border-left: 1px solid rgba(255,255,255,.09); }
.dashboard-stat strong, .dashboard-stat span { display: block; }
.dashboard-stat strong { font-size: 19px; }
.dashboard-stat span { color: #858daa; font-size: 9px; text-transform: uppercase; }

.section { padding: 94px 0; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.section-heading > p { max-width: 440px; margin: 0 0 5px; color: var(--ink-soft); }
.section-heading.compact { margin-bottom: 25px; }

.category-showcase { background: var(--surface); }

.category-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.category-card {
  position: relative;
  display: flex;
  min-height: 190px;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.category-card:nth-child(1), .category-card:nth-child(2) { grid-column: span 6; min-height: 225px; }
.category-card:hover { z-index: 2; transform: translateY(-5px); border-color: color-mix(in srgb, var(--card-color, var(--primary)) 30%, var(--line)); box-shadow: var(--shadow-md); }
.category-card::after { position: absolute; right: -35px; bottom: -55px; width: 155px; height: 155px; border-radius: 50%; background: color-mix(in srgb, var(--card-color, var(--primary)) 8%, transparent); content: ""; transition: transform .3s ease; }
.category-card:hover::after { transform: scale(1.3); }
.category-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.category-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 16px; background: color-mix(in srgb, var(--card-color, var(--primary)) 11%, transparent); color: var(--card-color, var(--primary)); }
.category-icon svg { width: 27px; height: 27px; }
.category-card-top > svg { width: 19px; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; transition: transform .2s ease; }
.category-card:hover .category-card-top > svg { transform: translate(3px, -3px); stroke: var(--ink); }
.category-card h3 { margin: 24px 0 1px; font-size: 20px; letter-spacing: -.03em; }
.category-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.category-card.finance { --card-color: var(--green); }
.category-card.math { --card-color: var(--violet); }
.category-card.health { --card-color: var(--rose); }
.category-card.convert { --card-color: var(--blue); }
.category-card.build { --card-color: var(--slate); }
.category-card.daily { --card-color: var(--amber); }

.tools-section { background: var(--bg); }
.tools-title { margin-bottom: 26px; }
.tool-counter { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.tool-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.inline-search { position: relative; width: min(100%, 335px); flex: 0 0 auto; }
.inline-search svg { position: absolute; top: 50%; left: 14px; width: 19px; height: 19px; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; transform: translateY(-50%); }
.inline-search input { width: 100%; height: 46px; padding: 0 14px 0 43px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: var(--surface); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.inline-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 11%, transparent); }
.filter-pills { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pills button { flex: 0 0 auto; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink-soft); font-size: 12px; font-weight: 700; cursor: pointer; }
.filter-pills button:hover { background: var(--surface-2); color: var(--ink); }
.filter-pills button.is-active { border-color: var(--line); background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.tool-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 154px;
  padding: 18px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.tool-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tool-accent, var(--primary)) 35%, var(--line)); box-shadow: var(--shadow-md); }
.tool-card.is-hidden { display: none; }
.tool-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.tool-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: color-mix(in srgb, var(--tool-accent, var(--primary)) 11%, transparent); color: var(--tool-accent, var(--primary)); }
.tool-icon svg { width: 23px; height: 23px; }
.favorite-button { display: grid; width: 31px; height: 31px; padding: 0; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--ink-faint); cursor: pointer; }
.favorite-button:hover { background: var(--surface-2); color: var(--amber); }
.favorite-button svg { width: 17px; height: 17px; fill: transparent; stroke: currentColor; stroke-width: 1.7; }
.favorite-button.is-favorite svg { fill: currentColor; color: var(--amber); }
.tool-card-link { display: block; margin-top: 17px; }
.tool-card h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.tool-card p { min-height: 37px; margin: 5px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.tool-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.tool-card-foot span { color: var(--ink-faint); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tool-card-foot svg { width: 17px; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; transition: transform .2s ease; }
.tool-card:hover .tool-card-foot svg { transform: translateX(3px); stroke: var(--tool-accent, var(--primary)); }
.accent-green { --tool-accent: var(--green); }
.accent-violet { --tool-accent: var(--violet); }
.accent-cyan { --tool-accent: var(--cyan); }
.accent-blue { --tool-accent: var(--blue); }
.accent-slate { --tool-accent: var(--slate); }
.accent-amber { --tool-accent: var(--amber); }
.accent-rose { --tool-accent: var(--rose); }
.accent-orange { --tool-accent: var(--orange); }

.empty-tools { padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.empty-tools span { color: var(--ink-faint); font-size: 45px; }
.empty-tools h3 { margin: 5px 0 0; }
.empty-tools p { margin: 3px 0 15px; color: var(--ink-soft); }
.empty-tools button { padding: 9px 14px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700; cursor: pointer; }

.recent-section { padding-top: 0; }
.recent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.recent-link { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.recent-link .tool-icon { width: 38px; height: 38px; }
.recent-link strong, .recent-link small { display: block; }
.recent-link strong { font-size: 13px; }
.recent-link small { color: var(--ink-faint); font-size: 10px; }

.confidence {
  background:
    radial-gradient(circle at 20% 20%, rgba(111, 89, 235, .22), transparent 35%),
    linear-gradient(135deg, #171b38, #11152b);
  color: #fff;
}

.confidence-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 95px; align-items: center; }
.confidence-copy h2 { margin: 12px 0 18px; font-size: clamp(42px, 5vw, 62px); line-height: 1.02; letter-spacing: -.05em; }
.confidence-copy p { max-width: 430px; margin: 0; color: #aab1c9; font-size: 16px; }
.confidence-list { display: grid; gap: 8px; }
.confidence-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 21px; border: 1px solid rgba(255,255,255,.08); border-radius: 17px; background: rgba(255,255,255,.055); }
.confidence-list article > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: rgba(166,151,255,.13); color: #b8aaff; font-size: 11px; font-weight: 800; }
.confidence-list h3 { margin: 0; font-size: 15px; }
.confidence-list p { margin: 3px 0 0; color: #929ab5; font-size: 12px; }

.footer { padding: 68px 0 22px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr 1fr; gap: 55px; }
.footer-about p { max-width: 300px; margin: 17px 0 0; color: var(--ink-soft); font-size: 13px; }
.brand-footer .brand-symbol { width: 37px; height: 37px; border-radius: 11px; }
.brand-footer .brand-symbol svg { width: 26px; }
.footer nav { display: flex; flex-direction: column; gap: 8px; }
.footer nav strong { margin-bottom: 5px; font-size: 12px; }
.footer nav a { color: var(--ink-soft); font-size: 12px; }
.footer nav a:hover { color: var(--primary); }
.footer-status { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.footer-status span { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 750; }
.footer-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 12%, transparent); }
.footer-status p { margin: 8px 0 0; color: var(--ink-faint); font-size: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-faint); }

/* Evita renderizar blocos longos antes de eles se aproximarem da tela. */
@supports (content-visibility: auto) {
  .home-page .tools-section,
  .home-page .confidence,
  .tool-page .tool-content,
  .tool-page .faq-section,
  .category-page .category-info,
  .content-page .footer,
  .tool-page .footer,
  .category-page .footer,
  .home-page .footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }

  .home-page .tools-section { contain-intrinsic-size: auto 1900px; }
  .tool-page .tool-content { contain-intrinsic-size: auto 1150px; }
}

.tool-hero, .category-hero {
  padding: 38px 0 52px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 26%),
    var(--surface);
}

.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 31px; color: var(--ink-faint); font-size: 11px; font-weight: 650; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span[aria-current="page"] { color: var(--ink-soft); }

.tool-heading { display: flex; align-items: center; gap: 23px; }
.tool-heading-icon { display: grid; width: 76px; height: 76px; flex: 0 0 auto; place-items: center; border-radius: 22px; background: color-mix(in srgb, var(--tool-accent, var(--primary)) 11%, transparent); color: var(--tool-accent, var(--primary)); }
.tool-heading-icon svg { width: 37px; height: 37px; }
.tool-heading h1 { margin: 3px 0 3px; font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -.05em; }
.tool-heading p { max-width: 720px; margin: 0; color: var(--ink-soft); }
.tool-category { color: var(--tool-accent, var(--primary)); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.calculator-zone { padding: 45px 0 25px; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); gap: 20px; align-items: start; }
.calculator-card, .result-card { border: 1px solid var(--line); border-radius: 23px; background: var(--surface); box-shadow: var(--shadow-sm); }
.calculator-card { padding: 27px; }
.calculator-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.calculator-card-head span { color: var(--ink-faint); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.calculator-card-head h2 { margin: 2px 0 0; font-size: 22px; letter-spacing: -.03em; }
.soft-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--ink-soft); font-size: 11px; font-weight: 700; cursor: pointer; }
.soft-button:hover { border-color: var(--line-strong); color: var(--ink); }
.soft-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.calculator-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.field label span { color: var(--ink-faint); font-size: 10px; font-weight: 600; }
.field-control { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field textarea { min-height: 105px; padding-block: 12px; resize: vertical; }
.field select { appearance: none; padding-right: 38px; cursor: pointer; }
.field-control.has-unit input { padding-right: 55px; }
.field-unit { position: absolute; top: 50%; right: 13px; color: var(--ink-faint); font-size: 11px; font-weight: 700; transform: translateY(-50%); pointer-events: none; }
.select-chevron { position: absolute; top: 50%; right: 13px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-faint); border-bottom: 1.5px solid var(--ink-faint); transform: translateY(-65%) rotate(45deg); pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 10%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field-help { display: block; margin-top: 5px; color: var(--ink-faint); font-size: 10px; }
.field-error input, .field-error select, .field-error textarea { border-color: var(--rose); }
.field-error .field-help { color: var(--rose); }
.form-error { grid-column: 1 / -1; margin: -3px 0 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--rose) 9%, transparent); color: var(--rose); font-size: 12px; }
.calculator-submit { display: flex; grid-column: 1 / -1; min-height: 53px; margin-top: 3px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 13px; background: linear-gradient(135deg, var(--primary), #765ff4); color: #fff; box-shadow: 0 12px 25px rgba(102,87,245,.22); font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.calculator-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(102,87,245,.28); }
.calculator-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.result-card { position: sticky; top: 92px; min-height: 390px; padding: 28px; overflow: hidden; }
.result-card::before { position: absolute; top: -90px; right: -80px; width: 220px; height: 220px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 8%, transparent); content: ""; }
.result-empty { position: relative; display: flex; min-height: 330px; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.result-orbit { position: relative; display: grid; width: 90px; height: 90px; margin-bottom: 22px; place-items: center; border: 1px dashed var(--line-strong); border-radius: 50%; }
.result-orbit::before { width: 50px; height: 50px; border-radius: 16px; background: var(--primary-soft); content: ""; transform: rotate(8deg); }
.result-orbit i { position: absolute; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 10%, transparent); }
.result-empty h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.result-empty p { max-width: 250px; margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; }
.result-ready { position: relative; }
.result-ready[hidden] { display: none; }
.result-label { color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.result-value { display: block; margin: 10px 0 7px; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.045em; overflow-wrap: anywhere; }
.result-summary { min-height: 40px; margin: 0 0 20px; color: var(--ink-soft); font-size: 12px; }
.result-details { display: grid; gap: 7px; }
.result-detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.result-detail span { color: var(--ink-soft); font-size: 11px; }
.result-detail strong { font-size: 12px; text-align: right; }
.result-note { margin-top: 10px; padding: 10px; border-left: 3px solid var(--amber); border-radius: 5px 9px 9px 5px; background: color-mix(in srgb, var(--amber) 8%, transparent); color: var(--ink-soft); font-size: 10px; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.result-actions button { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink-soft); font-size: 11px; font-weight: 700; cursor: pointer; }
.result-actions button:hover { background: var(--surface-2); color: var(--ink); }
.result-actions svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ad-banner {
  position: relative;
  display: flex;
  min-height: 72px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  border-block: 1px solid var(--line);
  color: var(--ink-faint);
}
.ad-banner > span { position: absolute; top: 5px; left: 50%; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; transform: translateX(-50%); }
.ad-banner-space { min-height: 52px; width: 100%; }
.home-ad { margin-top: 0; margin-bottom: 0; }

.tool-content { padding-top: 65px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 22px; align-items: start; }
.prose-card, .related-panel { padding: 31px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); }
.prose-card h2 { margin: 8px 0 13px; font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.prose-card h3 { margin: 28px 0 7px; font-size: 17px; }
.prose-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.formula-box { margin-top: 25px; padding: 18px; border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line)); border-radius: 14px; background: var(--primary-soft); }
.formula-box span, .formula-box strong { display: block; }
.formula-box span { margin-bottom: 5px; color: var(--primary); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.formula-box strong { font-size: 13px; }
.content-checklist { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.content-checklist li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 13px; }
.content-checklist li::before { position: absolute; top: 7px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); content: ""; }
.methodology-box { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.methodology-box > span, .editorial-note > span { display: block; margin-bottom: 6px; color: var(--ink); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.methodology-box a, .editorial-note a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.methodology-box .source-link { display: inline-block; margin-top: 8px; font-size: 12px; }
.editorial-note { margin-top: 24px; padding: 14px 15px; border-radius: 12px; background: var(--bg); }
.editorial-note p { font-size: 11px; }
.disclaimer-box { margin-top: 24px; padding: 13px 15px; border-left: 3px solid var(--amber); border-radius: 6px 12px 12px 6px; background: color-mix(in srgb, var(--amber) 7%, transparent); }
.disclaimer-box strong { display: block; margin-bottom: 3px; font-size: 11px; }
.disclaimer-box p { font-size: 11px; }
.related-panel > span { color: var(--primary); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.related-panel h2 { margin: 4px 0 17px; font-size: 20px; letter-spacing: -.03em; }
.related-list { display: grid; gap: 8px; }
.related-link { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; transition: .2s ease; }
.related-link:hover { border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); transform: translateX(3px); }
.related-link .tool-icon { width: 36px; height: 36px; border-radius: 10px; }
.related-link .tool-icon svg { width: 18px; height: 18px; }
.related-link strong { font-size: 11px; }
.related-link > svg { width: 15px; margin-left: auto; fill: none; stroke: var(--ink-faint); stroke-width: 1.8; }

.faq-section { padding-top: 0; }
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.faq-wrap > div:first-child h2 { margin: 8px 0 8px; font-size: 31px; letter-spacing: -.04em; }
.faq-wrap > div:first-child p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; padding: 18px 0; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.faq-list summary span::before, .faq-list summary span::after { position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: var(--ink-soft); content: ""; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-list summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary span::after { transform: translate(-50%, -50%); }
.faq-list details p { margin: -4px 38px 18px 0; color: var(--ink-soft); font-size: 12px; }

.category-hero-content { display: flex; align-items: center; gap: 23px; }
.category-hero-icon { display: grid; width: 78px; height: 78px; place-items: center; border-radius: 22px; background: var(--primary-soft); color: var(--primary); }
.category-hero-icon svg { width: 39px; height: 39px; }
.category-hero-content span { color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.category-hero-content h1 { margin: 4px 0 5px; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -.05em; }
.category-hero-content p { max-width: 670px; margin: 0; color: var(--ink-soft); }
.category-tools { background: var(--bg); }
.category-info { padding-top: 0; }
.category-info-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 35px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.category-info h2 { margin: 8px 0 0; font-size: 29px; line-height: 1.2; letter-spacing: -.04em; }
.category-info p { margin: 0; color: var(--ink-soft); }

.page-hero { padding: 65px 0 55px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero h1 { max-width: 750px; margin: 12px 0 12px; font-size: clamp(40px, 6vw, 62px); line-height: 1.03; letter-spacing: -.055em; }
.page-hero p { max-width: 690px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.page-content { padding: 70px 0 95px; }
.legal-card { max-width: 850px; padding: 40px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.legal-card h2 { margin: 32px 0 8px; font-size: 22px; letter-spacing: -.03em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--ink-soft); }
.legal-card a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.sitemap-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sitemap-group { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.sitemap-group h2 { margin: 0 0 12px; font-size: 17px; }
.sitemap-group a { display: block; padding: 6px 0; color: var(--ink-soft); font-size: 12px; }
.sitemap-group a:hover { color: var(--primary); }

.not-found { display: grid; min-height: calc(100dvh - 300px); place-items: center; padding: 70px 20px; text-align: center; }
.not-found strong { display: block; color: var(--primary); font-size: 90px; line-height: 1; letter-spacing: -.08em; }
.not-found h1 { margin: 15px 0 5px; font-size: 34px; }
.not-found p { margin: 0 0 20px; color: var(--ink-soft); }
.primary-link { display: inline-flex; padding: 11px 17px; border-radius: 11px; background: var(--primary); color: #fff; font-weight: 750; }

.toast {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 18px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 700;
  animation: toast-in .22s ease both;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1050px) {
  .hero-home-grid { gap: 40px; grid-template-columns: 1fr 400px; }
  .hero-content h1 { font-size: 58px; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-controls { align-items: stretch; flex-direction: column; }
  .inline-search { width: 100%; }
  .footer-grid { grid-template-columns: 1.4fr .7fr .7fr; }
  .footer-status { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .hero-home { padding: 65px 0; }
  .hero-home-grid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-content h1, .hero-lead, .hero-search { margin-inline: auto; }
  .hero-proof { justify-content: center; }
  .hero-dashboard { width: min(100%, 560px); margin-inline: auto; }
  .category-card, .category-card:nth-child(1), .category-card:nth-child(2) { grid-column: span 6; min-height: 190px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .confidence-grid { grid-template-columns: 1fr; gap: 45px; }
  .calculator-layout { grid-template-columns: 1fr; }
  .result-card { position: relative; top: 0; min-height: 300px; }
  .result-empty { min-height: 245px; }
  .content-layout { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
  .category-info-grid { grid-template-columns: 1fr; gap: 15px; }
  .sitemap-groups { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .topbar-inner { height: 64px; }
  .topbar { min-height: 64px; }
  .brand-symbol { width: 38px; height: 38px; border-radius: 11px; }
  .brand-symbol svg { width: 27px; }
  .brand-name strong { font-size: 14px; }
  .brand-name small { font-size: 8px; }
  .icon-button { width: 38px; min-width: 38px; height: 38px; padding: 0; }
  .hero-home { min-height: auto; padding: 54px 0 58px; }
  .hero-content h1 { margin-top: 16px; font-size: clamp(42px, 13.5vw, 58px); }
  .hero-lead { font-size: 15px; line-height: 1.65; }
  .hero-search { height: 57px; }
  .hero-search kbd { display: none; }
  .hero-proof { gap: 10px 15px; }
  .hero-dashboard { padding: 18px; border-radius: 22px; }
  .quick-card:nth-child(4) { display: none; }
  .section { padding: 65px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 26px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading > p { font-size: 13px; }
  .category-bento { gap: 10px; }
  .category-card, .category-card:nth-child(1), .category-card:nth-child(2) { grid-column: span 12; min-height: 155px; padding: 19px; }
  .category-icon { width: 47px; height: 47px; }
  .category-card h3 { margin-top: 19px; }
  .tools-title { flex-direction: row; align-items: end; }
  .tools-title .tool-counter { display: none; }
  .filter-pills { margin-inline: -14px; padding-inline: 14px; }
  .tools-grid { grid-template-columns: 1fr; gap: 10px; }
  .tool-card { min-height: 137px; }
  .recent-grid { grid-template-columns: 1fr; }
  .confidence-copy h2 { font-size: 45px; }
  .confidence-list article { grid-template-columns: 43px 1fr; padding: 16px; gap: 12px; }
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-status { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 3px; }
  .tool-hero, .category-hero { padding: 28px 0 38px; }
  .breadcrumbs { margin-bottom: 23px; overflow-x: auto; white-space: nowrap; }
  .tool-heading, .category-hero-content { align-items: flex-start; flex-direction: column; gap: 15px; }
  .tool-heading-icon, .category-hero-icon { width: 62px; height: 62px; border-radius: 18px; }
  .tool-heading-icon svg, .category-hero-icon svg { width: 31px; height: 31px; }
  .tool-heading h1, .category-hero-content h1 { font-size: 36px; }
  .tool-heading p, .category-hero-content p { font-size: 13px; }
  .calculator-zone { padding-top: 24px; }
  .calculator-card, .result-card { border-radius: 18px; }
  .calculator-card { padding: 19px; }
  .calculator-form { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .result-card { padding: 22px; }
  .result-value { font-size: 38px; }
  .ad-banner { min-height: 62px; }
  .prose-card, .related-panel { padding: 22px; }
  .faq-list summary { font-size: 13px; }
  .search-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); border-radius: 17px; }
  .search-dialog-foot { display: none; }
  .legal-card { padding: 24px; }
  .sitemap-groups { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
