@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/barlow-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/barlow-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/barlow-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/barlow-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --night: oklch(14.5% 0.018 255);
  --night-deep: oklch(10.5% 0.014 255);
  --asphalt: oklch(20.5% 0.025 255);
  --asphalt-raised: oklch(24% 0.034 255);
  --steel: oklch(31% 0.043 255);
  --route: oklch(64% 0.16 250);
  --route-hover: oklch(70% 0.15 246);
  --route-bright: oklch(79% 0.115 239);
  --profit: oklch(74% 0.19 150);
  --ink: oklch(98% 0.005 250);
  --ink-soft: oklch(88% 0.018 252);
  --ink-muted: oklch(76% 0.025 255);
  --ink-faint: oklch(63% 0.03 255);
  --line: color-mix(in oklch, var(--steel) 74%, transparent);
  --line-soft: color-mix(in oklch, var(--steel) 42%, transparent);
  --focus: oklch(83% 0.12 238);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 72% 4%, color-mix(in oklch, var(--route) 9%, transparent), transparent 30rem),
    var(--night);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

::selection {
  background: color-mix(in oklch, var(--route) 74%, transparent);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.seo-visually-hidden {
  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;
  top: 12px;
  left: 18px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease-out);
}

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

.seo-shell {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
}

.seo-eyebrow,
.rail-label,
.editorial-list__type {
  color: var(--route-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 240ms var(--ease-out),
    background 240ms var(--ease-out),
    border-color 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}

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

.button--primary {
  background: var(--route);
  box-shadow: 0 16px 42px color-mix(in oklch, var(--route) 23%, transparent);
  color: var(--ink);
}

.button--primary:hover {
  background: var(--route-hover);
  box-shadow: 0 20px 50px color-mix(in oklch, var(--route) 31%, transparent);
}

.button--quiet {
  border-color: var(--line);
  background: color-mix(in oklch, var(--asphalt) 68%, transparent);
  color: var(--ink-soft);
}

.button--quiet:hover {
  border-color: var(--route-bright);
  background: var(--asphalt-raised);
  color: var(--ink);
}

/* Shared header */

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid color-mix(in oklch, var(--ink) 11%, transparent);
  background: color-mix(in oklch, var(--night-deep) 86%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.seo-header__inner {
  display: flex;
  width: min(calc(100% - 48px), 1440px);
  height: 100%;
  align-items: center;
  gap: clamp(22px, 3vw, 50px);
  margin-inline: auto;
}

.seo-brand {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.seo-brand img {
  border: 1px solid color-mix(in oklch, var(--ink) 14%, transparent);
  border-radius: 12px;
}

.seo-brand small {
  color: var(--route-bright);
  font-size: 0.7em;
}

.seo-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.seo-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}

.seo-header nav a:hover {
  color: var(--route-bright);
}

.seo-header__app {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  border-bottom: 1px solid var(--route);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

/* Hero and breadcrumbs */

.seo-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(70px, 10vw, 136px) clamp(68px, 9vw, 116px);
}

.seo-hero::before {
  position: absolute;
  top: -9rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid color-mix(in oklch, var(--route) 18%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem color-mix(in oklch, var(--route) 2%, transparent);
  content: "";
  pointer-events: none;
}

.seo-hero .seo-shell {
  position: relative;
}

.seo-hero h1 {
  max-width: 1050px;
  margin-top: 20px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.35rem, 7vw, 6.9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.seo-hero__summary {
  max-width: 780px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.48;
}

.seo-hero--index h1 {
  max-width: 1150px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.breadcrumbs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
}

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

.breadcrumbs span[aria-current] {
  max-width: min(54vw, 560px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.seo-meta span + span::before {
  margin-right: 22px;
  color: var(--route);
  content: "•";
}

/* Editorial article */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(280px, 350px);
  gap: clamp(58px, 8vw, 112px);
  align-items: start;
  padding-block: clamp(78px, 10vw, 136px);
}

.seo-prose {
  min-width: 0;
  color: var(--ink-soft);
}

.seo-prose > :first-child {
  margin-top: 0;
}

.seo-prose h2,
.seo-prose h3,
.seo-prose h4,
.sources h2,
.editorial-note h2 {
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.seo-prose h2,
.sources h2,
.editorial-note h2 {
  margin-top: 3.8rem;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  font-weight: 600;
}

.seo-prose h3 {
  margin-top: 2.65rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 600;
}

.seo-prose h4 {
  margin-top: 2rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.seo-prose p,
.seo-prose ul,
.seo-prose ol,
.sources p,
.sources ul,
.editorial-note p {
  margin-top: 1.15rem;
}

.seo-prose ul,
.seo-prose ol,
.sources ul {
  padding-left: 1.35rem;
}

.seo-prose li + li,
.sources li + li {
  margin-top: 0.6rem;
}

.seo-prose strong {
  color: var(--ink);
  font-weight: 600;
}

.seo-prose a,
.sources a {
  color: var(--route-bright);
  text-decoration-color: color-mix(in oklch, var(--route) 65%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.seo-prose a:hover,
.sources a:hover {
  color: var(--ink);
}

.seo-prose blockquote {
  margin: 2rem 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--route);
  color: var(--ink);
  font-size: 1.1rem;
}

.seo-prose blockquote p {
  margin: 0;
}

.seo-prose table {
  display: block;
  width: 100%;
  margin-top: 1.8rem;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.94rem;
  white-space: nowrap;
}

.seo-prose th,
.seo-prose td {
  min-width: 150px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.seo-prose th {
  border-bottom-color: var(--line);
  color: var(--ink);
  font-weight: 600;
}

.seo-prose tr:hover td {
  background: color-mix(in oklch, var(--asphalt) 40%, transparent);
}

.seo-prose code {
  padding: 0.12em 0.36em;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: var(--night-deep);
  color: var(--profit);
  font-size: 0.88em;
}

.seo-prose pre {
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: var(--night-deep);
}

.sources,
.editorial-note {
  margin-top: 4rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

.sources p,
.editorial-note p {
  color: var(--ink-muted);
}

.sources li {
  padding-block: 0.35rem;
}

.sources small {
  display: block;
  margin-top: 0.28rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.55;
}

.article-rail {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 20px;
}

.rail-link,
.app-cta {
  padding: 26px;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--asphalt) 78%, transparent);
}

.rail-link {
  border-radius: 14px;
}

.rail-link h2,
.app-cta h2 {
  margin-top: 13px;
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.rail-link h2 a {
  text-decoration: none;
}

.rail-link h2 a:hover {
  color: var(--route-bright);
}

.rail-link > p:last-child,
.app-cta > p:not(.rail-label) {
  margin-top: 13px;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.app-cta {
  position: relative;
  overflow: hidden;
  border-color: color-mix(in oklch, var(--route) 55%, var(--line));
  border-radius: 14px;
  background:
    linear-gradient(150deg, color-mix(in oklch, var(--route) 16%, transparent), transparent 55%),
    var(--asphalt);
}

.app-cta::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 11rem;
  height: 11rem;
  border: 1px solid color-mix(in oklch, var(--route) 34%, transparent);
  border-radius: 50%;
  content: "";
}

.app-cta__actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.store-badge-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.store-badge-link {
  min-height: 48px;
  display: block;
  padding: 4px;
  border-radius: 10px;
}

.store-badge-link img {
  display: block;
  width: auto;
  object-fit: contain;
}

.store-badge-link:first-child img {
  width: 144px;
  height: 48px;
}

.store-badge-link:nth-child(2) img {
  width: 155px;
  height: 60px;
}

.related-section {
  padding-block: clamp(76px, 10vw, 130px);
  border-block: 1px solid var(--line-soft);
  background: var(--night-deep);
}

.related-section__heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.related-section__heading h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.related-links {
  border-top: 1px solid var(--line);
}

.related-links > a {
  display: grid;
  min-height: 104px;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}

.related-links > a:hover {
  background: color-mix(in oklch, var(--route) 7%, transparent);
}

.related-links > a > span {
  color: var(--ink-faint);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
}

.related-links div {
  display: grid;
  gap: 3px;
}

.related-links small {
  color: var(--route-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-links strong {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 600;
}

.related-links b {
  color: var(--route-bright);
  font-size: 1.2rem;
}

/* Hub pages */

.seo-index {
  padding-block: clamp(76px, 10vw, 128px);
}

.seo-index__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.editorial-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 42px);
  align-items: start;
  padding-block: clamp(30px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.editorial-list__number {
  color: var(--ink-faint);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
}

.editorial-list h2 {
  max-width: 780px;
  margin-top: 9px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.editorial-list h2 a {
  text-decoration: none;
}

.editorial-list h2 a:hover {
  color: var(--route-bright);
}

.editorial-list li > div > p:last-child {
  max-width: 760px;
  margin-top: 17px;
  color: var(--ink-muted);
}

.editorial-list__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--route-bright);
  font-weight: 700;
  text-decoration: none;
}

.index-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(40px, 9vw, 130px);
  align-items: end;
  margin-bottom: clamp(86px, 12vw, 160px);
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid color-mix(in oklch, var(--route) 48%, var(--line));
  background:
    linear-gradient(140deg, color-mix(in oklch, var(--route) 13%, transparent), transparent 54%),
    var(--asphalt);
}

.index-conversion h2 {
  margin-top: 15px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.index-conversion > div:last-child > p {
  color: var(--ink-muted);
}

.index-conversion .button {
  margin-top: 25px;
}

.index-conversion .store-badge-row {
  flex-flow: row wrap;
  align-items: center;
  margin-top: 25px;
}

/* Calculators */

.calculator-section {
  padding-block: clamp(72px, 10vw, 126px);
  border-bottom: 1px solid var(--line-soft);
  background: var(--night-deep);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: start;
}

.calculator-intro {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.calculator-intro h2 {
  margin-top: 18px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.calculator-intro > p:last-child {
  margin-top: 24px;
  color: var(--ink-muted);
}

.calculator-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--asphalt);
  box-shadow: 0 28px 80px color-mix(in oklch, var(--night-deep) 55%, transparent);
}

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

.calculator-fields--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calculator-field {
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.calculator-field b {
  color: var(--route-bright);
}

.calculator-input {
  display: flex;
  min-height: 54px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--night-deep);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.calculator-input:focus-within {
  border-color: var(--route-bright);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--route) 17%, transparent);
}

.calculator-input input {
  min-width: 0;
  flex: 1;
  padding: 13px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.calculator-input input::placeholder {
  color: var(--ink-faint);
  opacity: 0.76;
}

.calculator-input small {
  flex: 0 0 auto;
  padding-right: 13px;
  color: var(--ink-faint);
  font-size: 0.76rem;
  font-weight: 500;
}

.calculator-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.calculator-form__footer p {
  max-width: 420px;
  color: var(--ink-faint);
  font-size: 0.82rem;
  line-height: 1.5;
}

.calculator-form__footer button {
  cursor: pointer;
}

.calculator-form__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.calculator-error {
  margin-top: 20px;
  padding: 13px 15px;
  border-left: 3px solid oklch(68% 0.2 25);
  background: color-mix(in oklch, oklch(58% 0.16 25) 11%, transparent);
  color: oklch(88% 0.08 30);
  font-size: 0.92rem;
}

.calculator-result {
  display: block;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--route);
}

.calculator-result[hidden],
.calculator-error[hidden] {
  display: none;
}

.calculator-result__lead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.calculator-result__lead span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.calculator-result__lead strong {
  color: var(--profit);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.calculator-result dl {
  margin: 24px 0 0;
}

.calculator-result dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.calculator-result dt {
  color: var(--ink-muted);
}

.calculator-result dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.calculator-result > p {
  margin-top: 18px;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

/* Footer */

.seo-footer {
  padding-block: 48px;
  background: var(--night-deep);
}

.seo-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.seo-footer__inner > div > p {
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.seo-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 25px;
}

.seo-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.seo-footer nav a:hover {
  color: var(--route-bright);
}

.seo-footer__inner > p {
  justify-self: end;
  color: var(--ink-faint);
  font-size: 0.8rem;
  text-align: right;
}

@media (max-width: 980px) {
  .article-layout,
  .calculator-layout,
  .index-conversion {
    grid-template-columns: 1fr;
  }

  .article-rail,
  .calculator-intro {
    position: static;
  }

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

  .index-conversion {
    align-items: start;
  }

  .seo-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .seo-footer nav {
    justify-content: flex-end;
  }

  .seo-footer__inner > p {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 16px;
  }

  .seo-shell,
  .seo-header__inner {
    width: min(calc(100% - 32px), 1280px);
  }

  .seo-header__inner {
    gap: 18px;
  }

  .seo-header nav {
    margin-left: auto;
    gap: 14px;
  }

  .seo-header nav a {
    font-size: 0.85rem;
  }

  .seo-header nav a:last-child,
  .seo-header__app {
    display: none;
  }

  .seo-hero {
    padding-block: 54px 68px;
  }

  .seo-hero::before {
    opacity: 0.55;
  }

  .seo-hero h1 {
    font-size: clamp(3.15rem, 15vw, 5.2rem);
  }

  .breadcrumbs {
    gap: 7px;
    margin-bottom: 24px;
  }

  .breadcrumbs span[aria-current] {
    display: none;
  }

  .seo-meta {
    display: grid;
    gap: 4px;
  }

  .seo-meta span + span::before {
    display: none;
  }

  .article-layout {
    gap: 52px;
    padding-block: 68px;
  }

  .article-rail {
    grid-template-columns: 1fr;
  }

  .related-section__heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-links > a {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .editorial-list li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .editorial-list__action {
    grid-column: 2;
  }

  .calculator-fields,
  .calculator-fields--compact {
    grid-template-columns: 1fr;
  }

  .calculator-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .calculator-form__footer .button {
    width: 100%;
  }

  .calculator-form__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .seo-footer__inner {
    grid-template-columns: 1fr;
  }

  .seo-footer nav {
    justify-content: flex-start;
  }

  .seo-footer__inner > p {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .seo-brand span {
    font-size: 1.1rem;
  }

  .seo-header nav a {
    font-size: 0.8rem;
  }

  .seo-hero h1 {
    font-size: clamp(2.9rem, 15.5vw, 4.2rem);
  }

  .seo-hero__summary {
    font-size: 1.06rem;
  }

  .rail-link,
  .app-cta,
  .calculator-form {
    padding: 21px;
  }

  .editorial-list li {
    grid-template-columns: 1fr;
  }

  .editorial-list__action {
    grid-column: auto;
  }

  .index-conversion {
    padding: 26px;
  }

  .calculator-result__lead {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
