:root {
  --ink: #07101f;
  --ink-soft: #101a2d;
  --paper: #f7f6f0;
  --white: #ffffff;
  --lime: #c7ff20;
  --mint: #72f2c2;
  --slate: #99a7bb;
  --line: #d9ddd8;
  --blue: #2457e6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select {
  font: inherit;
}

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

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hero-shell {
  min-height: 700px;
  overflow: hidden;
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 42%, rgba(36, 87, 230, 0.17), transparent 29%),
    radial-gradient(circle at 8% 92%, rgba(114, 242, 194, 0.08), transparent 24%),
    linear-gradient(135deg, #050c18 0%, #081426 58%, #0a1221 100%);
  border-radius: 0 0 56px 56px;
}

.hero-shell::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -20px;
  width: 390px;
  height: 220px;
  opacity: 0.22;
  background-image: radial-gradient(var(--mint) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000, transparent);
}

.site-header {
  position: relative;
  z-index: 20;
  max-width: 1420px;
  height: 92px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 28px;
  letter-spacing: -1.2px;
}

.brand-mark {
  width: 34px;
  height: 40px;
  position: relative;
  display: inline-block;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--lime);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  clip-path: inherit;
  background: var(--ink-soft);
}

.brand-mark i {
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  right: 1px;
  top: 13px;
  background: var(--mint);
  transform: rotate(30deg);
}

.site-header nav {
  display: flex;
  gap: 34px;
  font-weight: 600;
}

.site-header nav a {
  transition: color 180ms ease;
}

.site-header nav a:hover {
  color: var(--lime);
}

.header-action {
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 22px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1420px;
  margin: 0 auto;
  padding: 66px 48px 82px;
  display: grid;
  grid-template-columns: minmax(500px, 0.92fr) minmax(580px, 1.08fr);
  gap: 40px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  font-size: 12px;
}

.eyebrow.dark {
  color: #3b6b64;
}

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(58px, 5.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.hero-copy h1 span {
  color: var(--lime);
}

.hero-description {
  max-width: 520px;
  margin: 30px 0 28px;
  color: #b8c1d0;
  font-size: 22px;
  line-height: 1.5;
}

.search-box {
  width: min(580px, 100%);
  height: 68px;
  display: grid;
  grid-template-columns: 54px 1fr 74px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(11, 21, 38, 0.8);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.search-box:focus-within {
  border-color: var(--mint);
}

.search-mark {
  width: 20px;
  height: 20px;
  justify-self: center;
  border: 3px solid var(--mint);
  border-radius: 50%;
  position: relative;
}

.search-mark::after {
  content: "";
  width: 8px;
  height: 3px;
  position: absolute;
  right: -6px;
  bottom: -3px;
  background: var(--mint);
  transform: rotate(45deg);
  border-radius: 3px;
}

.search-box input {
  min-width: 0;
  color: white;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 18px;
}

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

.search-box button {
  height: 100%;
  border: 0;
  background: var(--lime);
  color: var(--ink);
  font-size: 34px;
  cursor: pointer;
}

.lime-button {
  margin-top: 28px;
  padding: 17px 26px;
  border: 0;
  border-radius: 13px;
  background: var(--lime);
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(199, 255, 32, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lime-button span {
  display: inline-block;
  margin-left: 30px;
  font-size: 25px;
}

.lime-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(199, 255, 32, 0.22);
}

.hero-visual {
  min-height: 500px;
  position: relative;
}

.metric-card,
.calculator-card {
  position: absolute;
  border: 1px solid rgba(180, 197, 220, 0.34);
  background: linear-gradient(150deg, rgba(22, 36, 57, 0.96), rgba(11, 20, 35, 0.96));
  box-shadow: 0 30px 70px rgba(0,0,0,0.32);
  backdrop-filter: blur(16px);
}

.metric-card {
  border-radius: 22px;
  padding: 26px;
}

.metric-label {
  color: #d9e0ec;
  font-size: 14px;
}

.metric-label i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.metric-card strong {
  display: block;
  margin-top: 18px;
  color: white;
  font-size: 34px;
}

.metric-card strong em {
  color: var(--mint);
  font-size: 16px;
  font-style: normal;
}

.metric-card small {
  color: #aab6c8;
}

.metric-total {
  width: 350px;
  height: 245px;
  right: 48px;
  top: 0;
}

.metric-chip {
  position: absolute;
  right: 24px;
  top: 76px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 99px;
  font-weight: 800;
  font-size: 12px;
}

.line-chart {
  height: 70px;
  margin: 18px 0 8px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.line-chart i {
  flex: 1;
  height: 3px;
  background: var(--mint);
  border-radius: 10px;
  transform: translateY(var(--y, 0)) rotate(var(--r, 0));
}

.line-chart i:nth-child(1) { --y: -10px; --r: -12deg; }
.line-chart i:nth-child(2) { --y: -22px; --r: 10deg; }
.line-chart i:nth-child(3) { --y: -18px; --r: -8deg; }
.line-chart i:nth-child(4) { --y: -31px; --r: -10deg; }
.line-chart i:nth-child(5) { --y: -39px; --r: 8deg; }
.line-chart i:nth-child(6) { --y: -47px; --r: -12deg; }

.calculator-card {
  z-index: 3;
  width: 238px;
  left: 42px;
  top: 114px;
  padding: 14px;
  border-radius: 20px;
}

.calculator-display {
  padding: 10px 5px 16px;
  text-align: right;
}

.calculator-display strong {
  display: block;
  color: var(--mint);
  font-size: 19px;
}

.calculator-display small {
  color: #aab6c8;
}

.calculator-keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.calculator-keys span {
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  color: white;
  background: linear-gradient(145deg, #2a374b, #1c293c);
  font-weight: 700;
}

.calculator-keys .active {
  background: var(--lime);
  color: var(--ink);
}

.metric-energy {
  z-index: 2;
  width: 220px;
  height: 244px;
  left: 300px;
  top: 270px;
}

.bar-chart {
  height: 82px;
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.bar-chart i {
  flex: 1;
  max-width: 9px;
  border-radius: 9px 9px 2px 2px;
  background: linear-gradient(var(--mint), #32b98c);
}

.metric-energy small {
  font-size: 9px;
  white-space: nowrap;
}

.metric-margin {
  width: 165px;
  height: 230px;
  right: 0;
  top: 228px;
}

.donut {
  width: 78px;
  height: 78px;
  margin: 20px auto 15px;
  border-radius: 50%;
  background: conic-gradient(var(--mint) 0 68%, #27364a 68% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #111d2f;
}

.tools-section,
.promise-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 76px 48px;
}

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

.section-heading h2,
.promise-section h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: #596476;
  line-height: 1.6;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.tool-card {
  min-height: 290px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d6d9d5;
  border-radius: 24px;
  background: rgba(255,255,255,0.56);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: #9ba8a2;
  box-shadow: 0 22px 50px rgba(20, 32, 45, 0.1);
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #d8f7e9;
  font-size: 32px;
  font-weight: 900;
}

.round-arrow {
  width: 45px;
  height: 45px;
  border: 1px solid #cfd4cf;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
}

.tool-card h3 {
  max-width: 300px;
  margin: 25px 0 12px;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.tool-card p {
  margin: 0;
  color: #526076;
  line-height: 1.55;
}

.tool-meta {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #647266;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.empty-state {
  padding: 40px;
  border: 1px dashed #aeb8ae;
  border-radius: 20px;
  text-align: center;
}

.promise-section {
  padding-top: 42px;
  padding-bottom: 100px;
}

.promise-section h2 {
  max-width: 720px;
}

.promise-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.promise-grid article {
  padding: 28px 0;
  border-top: 2px solid var(--ink);
}

.promise-grid span {
  color: #5b766f;
  font-size: 12px;
  font-weight: 900;
}

.promise-grid h3 {
  margin: 25px 0 10px;
  font-size: 21px;
}

.promise-grid p {
  max-width: 330px;
  color: #566175;
  line-height: 1.55;
}

.site-footer {
  min-height: 180px;
  padding: 52px max(48px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 28px;
  color: white;
  background: var(--ink);
}

.site-footer p {
  color: #abb6c7;
}

.site-footer > div {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  color: #abb6c7;
  font-size: 13px;
}

.legal-page {
  min-height: 70vh;
}

.legal-content {
  max-width: 1080px;
  margin: 72px auto 110px;
  padding: 0 64px 76px;
  overflow: hidden;
  border: 1px solid #d7ddd8;
  border-radius: 32px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 30px 80px rgba(7,16,31,0.1);
}

.legal-content h1 {
  margin: 0 -64px;
  padding: 0 64px 24px;
  color: white;
  background:
    radial-gradient(circle at 86% 25%, rgba(36,87,230,0.28), transparent 30%),
    var(--ink);
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-content .legal-lead {
  max-width: none;
  margin: 0 -64px 44px;
  padding: 0 64px 52px;
  color: #b8c3d3;
  border-bottom: 5px solid var(--lime);
  background:
    radial-gradient(circle at 86% -80%, rgba(36,87,230,0.28), transparent 32%),
    var(--ink);
  font-size: 20px;
  line-height: 1.65;
}

.legal-content > .eyebrow {
  margin: 0 -64px;
  padding: 54px 64px 18px;
  color: var(--mint);
  background:
    radial-gradient(circle at 86% 120%, rgba(36,87,230,0.28), transparent 30%),
    var(--ink);
}

.legal-content h2 {
  margin: 46px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.legal-content h2::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 3px;
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--mint);
}

.legal-content p,
.legal-content li {
  color: #536176;
  font-size: 17px;
  line-height: 1.75;
}

.legal-content a {
  color: #255f54;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 36px;
  padding: 22px;
  border: 1px solid #cbd7d0;
  border-radius: 16px;
  border-left: 5px solid var(--lime);
  background: linear-gradient(120deg, #eef6f1, #f8fbf6);
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 16px;
  width: min(940px, calc(100vw - 32px));
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: white;
  border: 1px solid #35445b;
  border-radius: 16px;
  background: #0b1527;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  transform: translateX(-50%);
}

.cookie-banner strong {
  font-size: 15px;
}

.cookie-banner p {
  margin: 3px 0;
  color: #b8c3d3;
  font-size: 12px;
  line-height: 1.35;
}

.cookie-banner a {
  color: var(--mint);
  font-size: 11px;
  text-decoration: underline;
}

.cookie-actions {
  margin-left: auto;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-actions button {
  padding: 10px 13px;
  border: 1px solid #546278;
  border-radius: 10px;
  color: white;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.cookie-actions .cookie-accept {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.header-light {
  color: var(--ink);
}

.header-light .header-action {
  color: var(--ink);
  border-color: #cad1ce;
}

.header-light nav a:hover {
  color: #397b69;
}

.calculator-nav-wrap {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.calculator-intro {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 48px 36px;
}

.calculator-intro > a {
  display: inline-block;
  margin-bottom: 46px;
  color: #526076;
  font-weight: 700;
}

.calculator-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.calculator-intro > p:last-child {
  max-width: 720px;
  color: #586478;
  font-size: 20px;
  line-height: 1.55;
}

.calculator-workspace {
  max-width: 1120px;
  margin: 20px auto 72px;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.input-panel,
.result-panel {
  border-radius: 26px;
  padding: 30px;
}

.input-panel {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  background: white;
}

.input-panel.two-columns {
  grid-template-columns: 1fr 1fr;
}

.input-panel label {
  color: #334158;
  font-size: 14px;
  font-weight: 800;
}

.input-panel label > span {
  height: 56px;
  margin-top: 9px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ccd3d0;
  border-radius: 12px;
  background: #fbfcfa;
}

.input-panel input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.input-panel b {
  color: #617069;
  white-space: nowrap;
}

.result-panel {
  min-height: 360px;
  color: white;
  background:
    radial-gradient(circle at 85% 5%, rgba(36,87,230,0.3), transparent 32%),
    var(--ink);
  box-shadow: 0 25px 60px rgba(7,16,31,0.18);
}

.result-panel p {
  margin: 0 0 8px;
  color: #b6c1d0;
}

.result-panel > strong {
  display: block;
  margin-bottom: 22px;
  color: var(--lime);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.045em;
}

.result-panel strong em {
  color: var(--mint);
  font-size: 18px;
  font-style: normal;
}

.result-panel .secondary-result {
  margin-top: -12px;
  color: white;
  font-size: 28px;
}

.result-divider {
  height: 1px;
  margin: 24px 0;
  background: rgba(255,255,255,0.14);
}

.result-split {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-split div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 13px;
  background: rgba(255,255,255,0.04);
}

.result-split span,
.result-split b {
  display: block;
}

.result-split span {
  margin-bottom: 8px;
  color: #aeb9c9;
  font-size: 12px;
}

.result-split b {
  color: white;
  font-size: 20px;
}

.result-panel > small {
  display: block;
  color: #97a6bb;
  line-height: 1.55;
}

.explanation {
  max-width: 1024px;
  margin: 0 auto 100px;
  padding: 42px;
  border-top: 1px solid var(--line);
}

.explanation h2 {
  margin: 0 0 15px;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.explanation p {
  max-width: 760px;
  color: #536176;
  font-size: 17px;
  line-height: 1.7;
}

.seo-guide {
  width: calc(100% - 96px);
  max-width: 1024px;
  margin: -48px auto 72px;
  padding: 42px 48px 48px;
  border: 1px solid #d7ddd8;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(103, 240, 198, 0.16), transparent 24%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 55px rgba(7, 16, 31, 0.08);
}

.seo-guide > h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.seo-guide > h2:not(:first-child) {
  margin-top: 14px;
}

.seo-guide > p {
  max-width: 820px;
  margin: 0;
  color: #536176;
  font-size: 17px;
  line-height: 1.75;
}

.seo-grid {
  margin: 34px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.seo-card {
  padding: 28px;
  border: 1px solid #d4dad5;
  border-radius: 22px;
  background: white;
}

.seo-card.highlight {
  color: white;
  border-color: #26354d;
  background:
    radial-gradient(circle at 90% 0, rgba(36,87,230,0.3), transparent 35%),
    var(--ink);
}

.seo-card span {
  display: block;
  margin-bottom: 15px;
  color: #397466;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.seo-card.highlight span {
  color: var(--mint);
}

.seo-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.seo-card p {
  margin: 0;
  color: #566276;
  line-height: 1.65;
}

.seo-card.highlight p {
  color: #b8c3d3;
}

.faq-list {
  margin-top: 24px;
  border-top: 1px solid #cfd6d1;
}

.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid #cfd6d1;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.faq-list p {
  max-width: 800px;
  margin: 12px 0 0;
  color: #566276;
  line-height: 1.65;
}

.related-tools {
  width: calc(100% - 96px);
  max-width: 1024px;
  margin: 0 auto 100px;
}

.ad-zone {
  width: calc(100% - 96px);
  max-width: 970px;
  min-height: 90px;
  margin: 28px auto 54px;
  overflow: hidden;
  border-radius: 18px;
}

.ad-zone:empty {
  display: none;
}

.ad-zone--calculator {
  margin-top: -28px;
}

.related-tools-header {
  margin-bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.related-tools-header h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.related-tools-header a {
  color: #345f56;
  font-weight: 800;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-tool-card {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d4dad5;
  border-radius: 20px;
  background: white;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.related-tool-card:hover {
  transform: translateY(-4px);
  border-color: #9ba8a2;
  box-shadow: 0 18px 38px rgba(20, 32, 45, .1);
}

.related-tool-card span {
  color: #397466;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.related-tool-card h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  line-height: 1.15;
}

.related-tool-card p {
  margin: 0;
  color: #596579;
  font-size: 14px;
  line-height: 1.5;
}

.related-tool-card b {
  margin-top: auto;
  padding-top: 20px;
  color: var(--ink);
  font-size: 20px;
}

.content-hub {
  padding-top: 20px;
  padding-bottom: 100px;
}

.content-hub-intro {
  max-width: 820px;
}

.content-hub-intro h2 {
  margin-bottom: 20px;
}

.content-hub-intro > p:last-child {
  color: #566175;
  font-size: 18px;
  line-height: 1.7;
}

.content-hub-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.content-hub-card {
  padding: 28px;
  border: 1px solid #d4dad5;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
}

.content-hub-card span {
  color: #397466;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.content-hub-card h3 {
  margin: 20px 0 12px;
  font-size: 23px;
  letter-spacing: -.03em;
}

.content-hub-card p {
  margin: 0 0 18px;
  color: #566175;
  line-height: 1.65;
}

.content-hub-card a {
  color: #255f54;
  font-weight: 850;
}

.contact-page {
  max-width: 1120px;
  min-height: 72vh;
  margin: 0 auto;
  padding: 72px 48px 110px;
}

.contact-intro {
  max-width: 760px;
}

.contact-intro h1,
.error-content h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.06em;
}

.contact-intro > p:last-child,
.error-content > p {
  color: #586478;
  font-size: 20px;
  line-height: 1.6;
}

.contact-card {
  margin-top: 48px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px 30px;
  color: white;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 0, rgba(36,87,230,.35), transparent 36%),
    var(--ink);
  box-shadow: 0 25px 60px rgba(7,16,31,.18);
}

.contact-label {
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-card h2 {
  margin: 12px 0 8px;
  font-size: clamp(25px, 4vw, 39px);
  letter-spacing: -.04em;
}

.contact-card p {
  margin: 0;
  color: #b8c3d3;
  line-height: 1.55;
}

.contact-actions,
.error-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.compact-button {
  margin: 0;
  padding: 14px 18px;
  border: 0;
  font-size: 14px;
  cursor: pointer;
}

.outline-button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #65738a;
  border-radius: 12px;
  color: inherit;
  font-weight: 800;
}

.copy-status {
  min-height: 20px;
  grid-column: 1 / -1;
  color: var(--mint) !important;
  font-size: 13px;
  font-weight: 800;
}

.contact-reasons {
  margin-top: 70px;
}

.contact-reasons h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.045em;
}

.contact-reasons > div {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-reasons article {
  padding: 26px 0;
  border-top: 2px solid var(--ink);
}

.contact-reasons span {
  color: #397466;
  font-size: 12px;
  font-weight: 900;
}

.contact-reasons h3 {
  margin: 20px 0 10px;
  font-size: 20px;
}

.contact-reasons p {
  color: #586478;
  line-height: 1.6;
}

.error-page {
  min-height: 100vh;
}

.error-page .site-header {
  border-bottom: 1px solid var(--line);
}

.error-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 110px 48px;
}

.error-content > p {
  max-width: 650px;
}

.error-actions {
  margin-top: 34px;
}

.error-actions .lime-button {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.error-actions .outline-button {
  color: var(--ink);
  border-color: #bcc5c0;
}

.category-page {
  min-height: 75vh;
}

.category-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 48px 50px;
}

.category-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(52px, 7vw, 84px);
  line-height: .98;
  letter-spacing: -.06em;
}

.category-hero > p:last-child {
  max-width: 760px;
  color: #586478;
  font-size: 20px;
  line-height: 1.6;
}

.category-tools {
  padding-top: 24px;
}

.category-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 48px 100px;
}

.category-copy article {
  max-width: 850px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.category-copy h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.045em;
}

.category-copy p {
  color: #586478;
  font-size: 17px;
  line-height: 1.75;
}

.converter-showcase {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 48px 82px;
}

.converter-showcase .section-heading {
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.converter-showcase .tool-grid {
  grid-template-columns: repeat(4, 1fr);
}

.converter-showcase .tool-card {
  min-height: 265px;
}

.converter-all-link {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #255f54;
  font-weight: 850;
}

.converter-hub-hero {
  position: relative;
}

.converter-hub-hero::after {
  content: "⇄";
  position: absolute;
  right: 60px;
  top: 72px;
  color: #dbe6dd;
  font-size: clamp(90px, 13vw, 170px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.converter-hub-hero > * {
  position: relative;
  z-index: 1;
}

.converter-input-panel {
  gap: 26px;
}

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

.select-shell {
  padding-right: 8px !important;
}

.select-shell select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.swap-button {
  width: 52px;
  height: 56px;
  border: 1px solid #b7c5bd;
  border-radius: 14px;
  color: var(--ink);
  background: #dff7ea;
  font-size: 25px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

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

.converter-result-panel {
  min-height: 405px;
}

.converter-result-panel > strong {
  overflow-wrap: anywhere;
  font-size: clamp(34px, 4.4vw, 54px);
}

.copy-result-button {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 11px;
  color: white;
  background: rgba(255,255,255,.07);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.copy-result-button:hover {
  border-color: var(--mint);
  color: var(--mint);
}

@media (max-width: 1050px) {
  .site-header nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

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

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

  .hero-visual {
    min-height: 500px;
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
  }

  .tool-grid,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 250px;
  }

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

  .content-hub-grid {
    grid-template-columns: 1fr;
  }

  .converter-showcase .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-reasons > div {
    grid-template-columns: 1fr;
  }

  .related-tool-card {
    min-height: 160px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-shell {
    border-radius: 0 0 30px 30px;
  }

  .site-header {
    height: 78px;
    padding: 0 20px;
  }

  .brand {
    font-size: 23px;
  }

  .brand-mark {
    width: 28px;
    height: 33px;
  }

  .header-action {
    width: 40px;
    height: 40px;
  }

  .hero-grid {
    padding: 44px 20px 58px;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-visual {
    display: none;
  }

  .tools-section,
  .promise-section {
    padding: 58px 20px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .calculator-intro {
    padding: 46px 20px 24px;
  }

  .calculator-intro > a {
    margin-bottom: 34px;
  }

  .calculator-workspace {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }

  .input-panel.two-columns {
    grid-template-columns: 1fr;
  }

  .result-split {
    grid-template-columns: 1fr;
  }

  .explanation {
    margin: 0 20px 70px;
    padding: 34px 0;
  }

  .seo-guide {
    width: calc(100% - 40px);
    margin: -30px auto 54px;
    padding: 30px 22px 34px;
    border-radius: 22px;
  }

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

  .related-tools {
    width: calc(100% - 40px);
    margin-bottom: 70px;
  }

  .ad-zone {
    width: calc(100% - 40px);
    min-height: 100px;
    margin-bottom: 42px;
  }

  .related-tools-header {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    padding: 46px 20px;
  }

  .site-footer > div {
    flex-wrap: wrap;
  }

  .legal-content {
    margin: 30px 12px 70px;
    padding: 0 24px 54px;
    border-radius: 24px;
  }

  .legal-content > .eyebrow {
    margin: 0 -24px;
    padding: 38px 24px 14px;
  }

  .legal-content h1 {
    margin: 0 -24px;
    padding: 0 24px 20px;
  }

  .legal-content .legal-lead {
    margin: 0 -24px 34px;
    padding: 0 24px 38px;
  }

  .cookie-banner {
    left: 12px;
    bottom: 10px;
    width: calc(100vw - 24px);
    padding: 13px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    transform: none;
  }

  .cookie-actions {
    margin-left: 0;
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }

  .contact-page {
    padding: 48px 20px 70px;
  }

  .contact-card {
    padding: 26px 22px;
    grid-template-columns: 1fr;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-status {
    grid-column: auto;
  }

  .error-content {
    padding: 80px 20px;
  }

  .category-hero {
    padding: 48px 20px 30px;
  }

  .category-copy {
    padding: 0 20px 70px;
  }

  .converter-showcase {
    padding: 10px 20px 62px;
  }

  .converter-showcase .tool-grid {
    grid-template-columns: 1fr;
  }

  .converter-hub-hero::after {
    display: none;
  }

  .converter-unit-row {
    grid-template-columns: 1fr 46px;
  }

  .converter-unit-row label:first-child {
    grid-column: 1 / -1;
  }

  .converter-unit-row label:last-child {
    grid-column: 1;
    grid-row: 2;
  }

  .swap-button {
    width: 46px;
    grid-column: 2;
    grid-row: 2;
  }
}

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

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