:root {
  color-scheme: dark;
  --page: #07100b;
  --surface: #0c1710;
  --surface-raised: #101d14;
  --surface-soft: #0a140e;
  --line: rgba(209, 239, 215, 0.1);
  --line-strong: rgba(209, 239, 215, 0.17);
  --text: #eff5ed;
  --muted: #9aa79b;
  --quiet: #6f7c71;
  --green: #b7fa87;
  --green-strong: #80df69;
  --green-deep: #173a25;
  --content: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 74% 8%, rgba(32, 99, 52, 0.16), transparent 34rem),
    var(--page);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

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

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.section-wrap,
.header-inner {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden,
.skip-link:not(:focus) {
  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:focus {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--green);
  color: #07100b;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(209, 239, 215, 0.07);
  background: rgba(7, 16, 11, 0.84);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.045em;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(183, 250, 135, 0.38);
  border-radius: 10px;
  background: linear-gradient(145deg, #c3ff8c, #78d55c);
  color: #07100b;
  font-size: 19px;
  font-weight: 850;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: #b4beb5;
  font-size: 13px;
  font-weight: 530;
}

.main-nav a,
.header-cta {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.main-nav a:hover {
  color: var(--green);
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid rgba(183, 250, 135, 0.28);
  border-radius: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
}

.header-cta:hover {
  border-color: var(--green);
  background: rgba(183, 250, 135, 0.08);
}

.hero {
  position: relative;
  display: grid;
  min-height: 590px;
  overflow-x: clip;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 40px;
  right: -100px;
  width: 570px;
  height: 470px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(42, 127, 66, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  padding-bottom: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--green);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot,
.live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-strong);
  box-shadow: 0 0 12px rgba(128, 223, 105, 0.56);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 630px;
  margin-bottom: 22px;
  font-size: clamp(46px, 5.6vw, 70px);
  font-weight: 590;
  letter-spacing: -0.075em;
  line-height: 1.055;
}

h1 span {
  color: var(--green);
}

.hero-description {
  max-width: 475px;
  margin-bottom: 25px;
  color: #a7b2a8;
  font-size: 16px;
  line-height: 1.75;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c2cdc3;
  font-size: 12px;
}

.proof-icon {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: rgba(128, 223, 105, 0.14);
  color: var(--green);
  font-size: 11px;
}

.proof-divider {
  width: 3px;
  height: 3px;
  margin-inline: 5px;
  border-radius: 50%;
  background: #617063;
}

.converter-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(209, 239, 215, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(21, 39, 26, 0.96), rgba(11, 21, 15, 0.98) 66%),
    var(--surface);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.025);
}

.converter-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.converter-heading .eyebrow {
  margin-bottom: 5px;
  font-size: 10px;
}

.converter-heading h2 {
  margin-bottom: 0;
  font-size: 21px;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.converter-spark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(183, 250, 135, 0.16);
  border-radius: 11px;
  background: rgba(183, 250, 135, 0.08);
  color: var(--green);
  font-size: 18px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #9daa9d;
  font-size: 11px;
  font-weight: 560;
}

.select-control,
.value-input,
.result-value {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(4, 11, 7, 0.52);
}

.select-control {
  padding: 0 12px;
  color: #e4ece3;
  font-size: 13px;
}

.select-control option {
  background: #101d14;
  color: var(--text);
}

.category-select {
  margin-bottom: 20px;
}

.unit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  align-items: end;
  gap: 11px;
}

.unit-field {
  min-width: 0;
}

.value-input,
.result-value {
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: var(--text);
  font-size: 19px;
  font-weight: 580;
  letter-spacing: -0.035em;
}

.value-input {
  margin-bottom: 9px;
  appearance: textfield;
}

.value-input::-webkit-inner-spin-button,
.value-input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.result-value {
  margin-bottom: 9px;
  border-color: rgba(128, 223, 105, 0.25);
  background: rgba(88, 161, 67, 0.09);
  color: var(--green);
  overflow-wrap: anywhere;
}

.swap-button {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 55px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #142319;
  color: var(--green);
  cursor: pointer;
  font-size: 19px;
  transition: transform 180ms ease, background 180ms ease;
}

.swap-button:hover {
  transform: rotate(180deg);
  background: #203728;
}

.conversion-note {
  min-height: 21px;
  margin: 14px 0 19px;
  color: #a9b5aa;
  font-size: 12px;
}

.converter-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 10px;
}

.converter-footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-dot {
  width: 5px;
  height: 5px;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #829084;
  font-size: 11px;
}

.scroll-line {
  width: 27px;
  height: 1px;
  background: var(--green-strong);
}

.categories-section {
  padding-top: 56px;
  padding-bottom: 87px;
}

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

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading h2,
.faq-intro h2 {
  margin-bottom: 0;
  font-size: clamp(27px, 3.2vw, 37px);
  font-weight: 560;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.section-heading > p,
.faq-intro > p:last-child {
  max-width: 300px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
}

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

.category-card {
  position: relative;
  display: grid;
  min-height: 147px;
  align-content: start;
  gap: 3px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(17, 30, 20, 0.88), rgba(10, 19, 13, 0.84));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 250, 135, 0.3);
  background: linear-gradient(145deg, rgba(24, 43, 29, 0.94), rgba(11, 22, 14, 0.92));
}

.category-icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 9px;
  place-items: center;
  border: 1px solid rgba(183, 250, 135, 0.14);
  border-radius: 10px;
  background: rgba(183, 250, 135, 0.07);
  color: var(--green);
  font-size: 18px;
}

.icon-weight {
  color: #b7d6a0;
}

.icon-temperature {
  font-size: 22px;
}

.icon-volume {
  color: #8bd1a2;
}

.icon-area {
  color: #c8d99a;
}

.icon-speed {
  color: #8be1c2;
}

.icon-time {
  color: #c5dfa0;
}

.category-name {
  font-size: 14px;
  font-weight: 620;
}

.category-example {
  color: var(--muted);
  font-size: 11px;
}

.category-example span {
  padding-inline: 3px;
  color: var(--green-strong);
}

.card-arrow {
  position: absolute;
  top: 17px;
  right: 17px;
  color: #819082;
  font-size: 13px;
  transition: color 160ms ease, transform 160ms ease;
}

.category-card:hover .card-arrow {
  transform: translate(2px, -2px);
  color: var(--green);
}

.popular-section {
  padding: 75px 0 82px;
  border-block: 1px solid rgba(209, 239, 215, 0.06);
  background: linear-gradient(180deg, rgba(13, 24, 16, 0.78), rgba(9, 17, 12, 0.5));
}

.popular-heading {
  margin-bottom: 22px;
}

.search-box {
  display: flex;
  width: min(290px, 100%);
  min-height: 43px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(4, 11, 7, 0.45);
  color: #829084;
}

.search-icon {
  font-size: 21px;
  line-height: 1;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}

.search-box input::placeholder {
  color: #788579;
}

.search-box:focus-within {
  border-color: rgba(183, 250, 135, 0.5);
}

.search-box kbd {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #819082;
  font-family: inherit;
  font-size: 10px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.popular-card {
  display: grid;
  min-height: 72px;
  grid-template-columns: 39px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 22, 15, 0.68);
  transition: border-color 160ms ease, background 160ms ease;
}

.popular-card:hover {
  border-color: rgba(183, 250, 135, 0.26);
  background: rgba(20, 36, 24, 0.83);
}

.popular-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  background: rgba(183, 250, 135, 0.07);
  color: #a6c798;
  font-size: 10px;
  font-weight: 650;
}

.popular-card strong,
.popular-card small {
  display: block;
}

.popular-card strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popular-card small {
  margin-top: 3px;
  color: var(--quiet);
  font-size: 10px;
}

.popular-arrow {
  color: #758477;
  font-size: 13px;
  transition: color 160ms ease, transform 160ms ease;
}

.popular-card:hover .popular-arrow {
  transform: translate(2px, -2px);
  color: var(--green);
}

.no-results {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.steps-section {
  padding-top: 84px;
  padding-bottom: 89px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.step-card {
  min-height: 157px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 22, 15, 0.6);
}

.step-number {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--green-strong);
  font-size: 11px;
  font-weight: 670;
  letter-spacing: 0.12em;
}

.step-card h3 {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 610;
}

.step-card p {
  max-width: 280px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.faq-section {
  padding: 75px 0 82px;
  border-top: 1px solid rgba(209, 239, 215, 0.07);
  background: rgba(11, 20, 14, 0.58);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 9vw, 120px);
}

.faq-intro .eyebrow {
  margin-bottom: 10px;
}

.faq-intro > p:last-child {
  margin-top: 13px;
  margin-bottom: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--green);
  font-size: 19px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 570px;
  margin: -2px 28px 17px 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  border-top: 1px solid rgba(209, 239, 215, 0.07);
}

.footer-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-size: 15px;
}

.footer-brand .brand-mark {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  font-size: 16px;
}

.footer-inner > p,
.copyright {
  margin-bottom: 0;
  color: var(--quiet);
  font-size: 11px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
    gap: 32px;
    padding-top: 54px;
    padding-bottom: 96px;
  }

  h1 {
    font-size: clamp(42px, 6vw, 58px);
  }

  .converter-card {
    padding: 22px;
  }

  .main-nav {
    gap: 17px;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 87px;
  }

  .hero-copy {
    padding-bottom: 0;
  }
}

@media (max-width: 680px) {
  .section-wrap,
  .header-inner {
    width: min(100% - 36px, var(--content));
  }

  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    min-height: 37px;
    padding-inline: 11px;
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 87px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    max-width: 500px;
    font-size: clamp(43px, 11vw, 62px);
  }

  .hero-description {
    max-width: 500px;
    font-size: 14px;
  }

  .converter-card {
    padding: 21px;
  }

  .scroll-cue {
    bottom: 28px;
  }

  .categories-section {
    padding-top: 47px;
    padding-bottom: 62px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .section-heading > p {
    margin-bottom: 0;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .category-card {
    min-height: 139px;
    padding: 15px;
  }

  .popular-section {
    padding: 57px 0 62px;
  }

  .popular-heading {
    gap: 17px;
  }

  .search-box {
    width: 100%;
  }

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

  .steps-section {
    padding-top: 62px;
    padding-bottom: 63px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 22px;
  }

  .step-card {
    min-height: 0;
    padding: 17px;
  }

  .step-number {
    margin-bottom: 8px;
  }

  .faq-section {
    padding: 58px 0 64px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-inner {
    min-height: 78px;
  }

  .footer-inner > p {
    display: none;
  }
}

@media (max-width: 380px) {
  .section-wrap,
  .header-inner {
    width: calc(100% - 28px);
  }

  .unit-row {
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: 7px;
  }

  .swap-button {
    width: 33px;
    height: 33px;
  }

  .select-control {
    padding-inline: 8px;
    font-size: 12px;
  }

  .converter-footer {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 31px;
  color: var(--quiet);
  font-size: 11px;
}

.breadcrumbs a {
  color: #b6c2b7;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.category-hero {
  position: relative;
  overflow-x: clip;
  padding-top: 37px;
  padding-bottom: 76px;
}

.category-hero::before {
  position: absolute;
  z-index: -1;
  top: 50px;
  right: -70px;
  width: 540px;
  height: 410px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(42, 127, 66, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.category-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
}

.category-intro h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 5.4vw, 66px);
}

.category-intro h1 span {
  color: var(--green);
}

.category-description {
  max-width: 500px;
  margin-bottom: 24px;
  color: #a7b2a8;
  font-size: 15px;
  line-height: 1.8;
}

.category-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #bec9bf;
  font-size: 11px;
}

.category-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.category-facts span span {
  color: var(--green);
  font-size: 13px;
}

.category-calculator {
  width: 100%;
}

.category-links-section {
  padding-top: 47px;
  padding-bottom: 81px;
}

.category-pair-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.category-pair-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-pair-card {
  display: grid;
  min-height: 76px;
  grid-template-columns: 39px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 22, 15, 0.68);
  transition: border-color 160ms ease, background 160ms ease;
}

.category-pair-card:hover {
  border-color: rgba(183, 250, 135, 0.26);
  background: rgba(20, 36, 24, 0.83);
}

.pair-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 9px;
  background: rgba(183, 250, 135, 0.07);
  color: #a6c798;
  font-size: 10px;
  font-weight: 650;
}

.category-pair-card strong,
.category-pair-card small {
  display: block;
}

.category-pair-card strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-pair-card small {
  margin-top: 3px;
  color: var(--quiet);
  font-size: 10px;
}

.category-pair-card small span {
  padding-inline: 3px;
  color: var(--green-strong);
}

.category-pair-card .popular-arrow {
  color: #758477;
  font-size: 13px;
  transition: color 160ms ease, transform 160ms ease;
}

.category-pair-card:hover .popular-arrow {
  transform: translate(2px, -2px);
  color: var(--green);
}

.category-reference {
  padding: 73px 0 76px;
  border-block: 1px solid rgba(209, 239, 215, 0.06);
  background: linear-gradient(180deg, rgba(13, 24, 16, 0.78), rgba(9, 17, 12, 0.5));
}

.category-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(8, 16, 10, 0.7);
}

.category-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}

.category-table th,
.category-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.category-table thead th {
  color: #aebcaf;
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-table tbody th {
  color: var(--green);
  font-weight: 620;
}

.category-table td {
  color: #c1ccc2;
}

.category-table tbody tr:last-child th,
.category-table tbody tr:last-child td {
  border-bottom: 0;
}

.category-formula {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.category-formula strong {
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 900px) {
  .category-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
    gap: 32px;
  }

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

@media (max-width: 760px) {
  .category-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .category-calculator {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .category-hero {
    padding-top: 28px;
    padding-bottom: 59px;
  }

  .breadcrumbs {
    margin-bottom: 25px;
  }

  .category-intro h1 {
    font-size: clamp(43px, 11vw, 60px);
  }

  .category-description {
    font-size: 14px;
  }

  .category-links-section {
    padding-top: 43px;
    padding-bottom: 59px;
  }

  .category-pair-grid {
    grid-template-columns: 1fr;
  }

  .category-pair-grid-two {
    grid-template-columns: 1fr;
  }

  .category-reference {
    padding: 55px 0 59px;
  }

  .category-table th,
  .category-table td {
    padding: 12px 13px;
  }
}
