:root {
  color-scheme: light;
  --bg: #f4fbf8;
  --surface: #ffffff;
  --surface-soft: #f8fffb;
  --ink: #0b1f1b;
  --muted: #5d6f6b;
  --line: #d5e8e2;
  --line-strong: #b7d6cf;
  --primary: #0f766e;
  --primary-strong: #0a5f59;
  --primary-soft: #e6f6f1;
  --accent: #d6f462;
  --accent-soft: #f0fac1;
  --danger: #b42318;
  --glass: rgba(255, 255, 255, 0.4);
  --glass-strong: rgba(255, 255, 255, 0.56);
  --glass-border: rgba(255, 255, 255, 0.34);
  --shadow: 0 22px 60px rgba(10, 95, 89, 0.16);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --page: min(1320px, calc(100% - 2rem));
  --header-pad: clamp(0.85rem, 4vw, 5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(214, 244, 98, 0.28), transparent 23rem),
    radial-gradient(circle at 86% 14%, rgba(15, 118, 110, 0.18), transparent 26rem),
    radial-gradient(circle at 50% 88%, rgba(214, 244, 98, 0.18), transparent 24rem),
    linear-gradient(90deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f7fffb 0%, #eef8f4 48%, #f7ffe7 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.72rem var(--header-pad);
  background: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.top-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.top-nav a,
.site-footer a {
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.top-nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 900;
}

main {
  width: var(--page);
  margin: 0 auto;
}

[id] {
  scroll-margin-top: 5.5rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 640px);
  gap: clamp(1.25rem, 4vw, 4.5rem);
  align-items: start;
  min-height: calc(100vh - 68px);
  padding: clamp(1.35rem, 3vw, 2.6rem) 0 1.2rem;
}

.hero > * {
  min-width: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: clamp(1rem, 4vw, 3rem) auto auto 35%;
  z-index: -1;
  width: min(48vw, 580px);
  height: min(48vw, 580px);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 50%;
  background:
    linear-gradient(rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.08)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.08)) 0 50% / 100% 1px no-repeat;
  opacity: 0.75;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(214, 244, 98, 0.28);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.05rem;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.62rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  color: var(--primary-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 0.84rem;
  font-weight: 850;
}

.hero-actions,
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.05rem;
}

.hero-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
  max-width: 560px;
  margin: 1.15rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.38rem;
  padding: 0.58rem 0.86rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.2);
}

.button.primary:hover {
  background: var(--primary-strong);
}

.button.ghost {
  background: var(--accent);
  color: #18201e;
  box-shadow: 0 12px 24px rgba(214, 244, 98, 0.22);
}

.button.subtle {
  background: var(--glass-strong);
  border-color: var(--glass-border);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.tool-panel {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 0 rgba(255, 255, 255, 0);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: clamp(0.82rem, 1.7vw, 1.05rem);
  overflow: hidden;
}

.tool-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.84), transparent);
  pointer-events: none;
}

.tool-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), transparent, rgba(255, 255, 255, 0.32));
  pointer-events: none;
}

.tool-panel > * {
  position: relative;
  z-index: 1;
}

.panel-head,
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.72rem;
}

.panel-head h2 {
  max-width: none;
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #405000;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem;
}

label {
  display: grid;
  gap: 0.32rem;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 900;
}

.range-field {
  grid-column: 1 / -1;
}

select,
input[type="range"] {
  min-width: 0;
  width: 100%;
}

select {
  min-height: 2.32rem;
  padding: 0 0.68rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfffd;
  color: var(--ink);
  font-weight: 750;
  outline: none;
}

select:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

input[type="range"] {
  accent-color: var(--primary);
}

.range-note {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.74rem;
}

.result-card {
  min-height: 4.15rem;
  padding: 0.58rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
  box-shadow: inset 0 3px 0 rgba(15, 118, 110, 0.06);
}

.result-card span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.result-card strong {
  display: block;
  margin-top: 0.32rem;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.helper-text {
  margin: 0.58rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 2.25rem;
}

.hero-presets.quick-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.15rem 0 0;
}

.hero-presets.quick-links button:last-child {
  grid-column: auto;
}

.quick-links button {
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.quick-links button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.section {
  padding: clamp(2.65rem, 7vw, 5.8rem) 0;
  border-top: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.guide-card {
  display: block;
  min-height: 8.6rem;
  padding: 0.92rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease;
}

.guide-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.guide-card span {
  display: inline-flex;
  margin-bottom: 0.72rem;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.guide-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.18;
}

.guide-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.settings-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.settings-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.settings-table th,
.settings-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.settings-table th {
  background: #f0faf6;
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.settings-table tr:last-child td {
  border-bottom: 0;
}

.settings-table td:first-child {
  color: var(--primary);
  font-weight: 950;
}

.table-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.two-column p {
  color: var(--muted);
}

#how-it-works,
#tuning-guide {
  display: block;
}

#how-it-works > div:first-child,
#tuning-guide > div:first-child {
  max-width: 860px;
}

#how-it-works > div:first-child p,
#tuning-guide > div:first-child p {
  max-width: 76ch;
}

#how-it-works .steps,
#tuning-guide .tips-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.1rem;
}

#how-it-works .steps article,
#tuning-guide .tips-list article {
  min-height: 12rem;
}

#tuning-guide .tips-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps,
.tips-list {
  display: grid;
  gap: 1rem;
}

.steps article,
.tips-list article,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.steps span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-weight: 950;
}

.tips-list p,
details p,
.site-footer p {
  color: var(--muted);
}

.text-link {
  color: var(--primary);
  font-weight: 900;
}

.saved-list {
  display: grid;
  gap: 0.75rem;
}

.saved-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.saved-item strong,
.saved-item span {
  display: block;
}

.saved-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.faq-section {
  padding-bottom: 5rem;
}

details {
  margin-top: 0.75rem;
}

summary {
  cursor: pointer;
  font-weight: 950;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem var(--header-pad);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.site-footer p {
  max-width: 54ch;
  margin: 0.35rem 0 0;
}

.legal-page {
  width: min(840px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.content-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.content-hero {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.content-hero h1 {
  max-width: 920px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.content-hero p {
  max-width: 78ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.content-section {
  padding: clamp(1.75rem, 5vw, 3rem) 0;
  border-top: 1px solid var(--line);
}

.content-section > h2 {
  margin-bottom: clamp(0.9rem, 2vw, 1.35rem);
}

.content-section > p {
  margin-top: 0;
}

.content-section > .mini-table-wrap,
.content-section > .related-guides,
.content-section > .callout {
  margin-top: clamp(0.9rem, 2vw, 1.25rem);
}

.content-section > p,
.content-section li {
  color: var(--muted);
}

.mini-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.mini-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.mini-table th,
.mini-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.mini-table th {
  background: #f0faf6;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.mini-table tr:last-child td {
  border-bottom: 0;
}

.callout {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.related-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.related-guides a {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--primary);
  font-weight: 950;
  text-decoration: none;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.back-link {
  width: auto;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.glass-card,
.content-hero,
.result-card,
.quick-links button,
.guide-card,
.settings-table-wrap,
.mini-table-wrap,
.steps article,
.tips-list article,
.callout,
.related-guides a,
details,
.saved-item {
  position: relative;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 0 rgba(255, 255, 255, 0);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.glass-card,
.content-hero,
.result-card,
.quick-links button,
.guide-card,
.steps article,
.tips-list article,
.callout,
.related-guides a,
details,
.saved-item {
  overflow: hidden;
}

.glass-card::before,
.content-hero::before,
.result-card::before,
.quick-links button::before,
.guide-card::before,
.settings-table-wrap::before,
.mini-table-wrap::before,
.steps article::before,
.tips-list article::before,
.callout::before,
.related-guides a::before,
details::before,
.saved-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  pointer-events: none;
}

.glass-card::after,
.content-hero::after,
.result-card::after,
.quick-links button::after,
.guide-card::after,
.settings-table-wrap::after,
.mini-table-wrap::after,
.steps article::after,
.tips-list article::after,
.callout::after,
.related-guides a::after,
details::after,
.saved-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), transparent, rgba(255, 255, 255, 0.3));
  pointer-events: none;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    justify-items: center;
    padding-top: clamp(1.25rem, 4vw, 2rem);
  }

  .hero::before {
    inset: 2rem auto auto 50%;
    transform: translateX(-50%);
    width: min(86vw, 560px);
    height: min(86vw, 560px);
  }

  .hero-copy {
    max-width: 760px;
    text-align: center;
  }

  .hero-text {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-tags,
  .hero-actions {
    justify-content: center;
  }

  .tool-panel {
    max-width: 720px;
  }

  .quick-links,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-guides {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100% - 0.75rem);
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    padding: 0.55rem 0.7rem;
    gap: 0.65rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    display: none;
  }

  .top-nav {
    width: auto;
    justify-content: flex-end;
    gap: 0.2rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .top-nav a {
    padding: 0.35rem 0.4rem;
  }

  .hero {
    gap: 0.35rem;
    padding: 1rem 0 1rem;
  }

  .hero::before,
  .hero-kicker,
  .hero-tags,
  .hero-actions {
    display: none;
  }

  .hero-presets.quick-links {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    overflow-x: auto;
    padding: 0.1rem 0 0.25rem;
    scrollbar-width: none;
  }

  .hero-presets.quick-links::-webkit-scrollbar {
    display: none;
  }

  .hero-presets.quick-links button {
    flex: 0 0 auto;
    min-width: 9.2rem;
    min-height: 2.2rem;
    padding: 0 0.7rem;
  }

  .hero-presets.quick-links button:last-child {
    grid-column: auto;
  }

  .hero-kicker {
    margin-bottom: 0.55rem;
    font-size: 0.66rem;
  }

  .eyebrow {
    margin-bottom: 0.45rem;
    font-size: 0.66rem;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .hero-text {
    margin-top: 0.38rem;
    font-size: 0.86rem;
    line-height: 1.35;
    max-height: 1.35em;
    overflow: hidden;
  }

  .tool-panel {
    padding: 0.6rem;
  }

  .tool-panel::after {
    display: none;
  }

  .panel-head {
    align-items: center;
    flex-direction: row;
    margin-bottom: 0.7rem;
  }

  .panel-head h2 {
    max-width: 12ch;
    font-size: 1.35rem;
  }

  .status-pill {
    min-height: 1.7rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  label {
    font-size: 0.76rem;
  }

  select {
    min-height: 2.25rem;
    padding: 0 0.5rem;
    font-size: 0.82rem;
  }

  .result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.7rem;
  }

  .result-card {
    min-height: 4.2rem;
    padding: 0.55rem;
  }

  .result-card span {
    font-size: 0.68rem;
  }

  .result-card strong {
    font-size: 1.45rem;
  }

  .tool-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.7rem;
  }

  .tool-actions .button {
    min-height: 2.35rem;
    padding: 0.5rem 0.35rem;
    font-size: 0.78rem;
  }

  .helper-text {
    display: none;
  }

  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-hero {
    padding: 1rem;
  }

  .content-hero h1 {
    font-size: clamp(2rem, 8vw, 2.15rem);
    line-height: 1;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  #how-it-works .steps {
    grid-template-columns: 1fr;
  }

  #tuning-guide .tips-list {
    grid-template-columns: 1fr;
  }

  .section-head,
  .saved-item {
    flex-direction: column;
  }

  .button {
    width: auto;
  }
}
