:root {
  --brand: #ff4a4a;
  --brand-dark: #dc3434;
  --brand-soft: #fff1f1;
  --ink: #212121;
  --text: #555d65;
  --muted: #737980;
  --line: #dadde0;
  --line-dark: #b9bec3;
  --page: #ffffff;
  --subtle: #f6f6f6;
  --success: #23734d;
  --success-soft: #eef8f2;
  --warning: #8a5a00;
  --warning-soft: #fff7e6;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  font-family: "Lato", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--page);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.shipping-bar {
  min-height: 36px;
  padding: 9px 20px;
  color: #ffffff;
  font-size: 0.78rem;
  text-align: center;
  background: var(--ink);
}

.shipping-bar a {
  margin-left: 4px;
  text-underline-offset: 3px;
}

.store-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.store-header__main {
  display: grid;
  grid-template-columns: 240px minmax(280px, 1fr) auto;
  gap: 36px;
  align-items: center;
  width: min(100% - 40px, var(--content));
  min-height: 82px;
  margin: 0 auto;
}

.store-logo {
  width: 196px;
  height: auto;
}

.search-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  color: #8a8d91;
  border: 1px solid #eeeeee;
  background: var(--subtle);
}

.search-preview strong {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 400;
}

.account-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.account-nav a {
  text-decoration: none;
}

.account-nav a:hover {
  color: var(--brand);
}

.category-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  width: min(100% - 40px, var(--content));
  min-height: 54px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.category-nav a {
  padding: 19px 0 16px;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
}

.category-nav a:hover,
.category-nav a[aria-current="page"] {
  color: var(--brand);
  border-color: var(--brand);
}

main {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding-bottom: 64px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.breadcrumbs a {
  text-underline-offset: 3px;
}

.breadcrumbs strong {
  color: var(--text);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  min-height: 320px;
  margin-bottom: 32px;
  overflow: hidden;
  background: #f4f2f2;
}

.intro__copy {
  align-self: center;
  max-width: 690px;
  padding: 52px 56px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.3vw, 3.65rem);
  line-height: 1.03;
}

.intro__copy > p:not(.section-label, .intro__note) {
  max-width: 630px;
  margin-bottom: 18px;
  font-size: 1.04rem;
  line-height: 1.6;
}

.intro__note {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.intro__visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #ffffff;
}

.intro__visual::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 70px;
  background: linear-gradient(90deg, #f4f2f2, transparent);
  content: "";
}

.intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 10%;
  transform: scale(1.12);
}

.calculator {
  border: 1px solid var(--line);
  background: #ffffff;
}

.calculator__heading {
  padding: 32px 40px 24px;
  text-align: center;
}

.calculator__heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0 40px;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--subtle);
}

.progress__item {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px 24px;
  color: var(--muted);
}

.progress__item:not(:last-child)::after {
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 18px;
  width: 1px;
  background: var(--line);
  content: "";
}

.progress__item > span {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  font-weight: 900;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: #ffffff;
  place-items: center;
}

.progress__item strong,
.progress__item small {
  display: block;
}

.progress__item strong {
  margin-bottom: 2px;
  color: inherit;
  font-size: 0.9rem;
}

.progress__item small {
  font-size: 0.75rem;
}

.progress__item.is-active {
  color: var(--ink);
  background: #ffffff;
}

.progress__item.is-active > span {
  color: #ffffff;
  border-color: var(--brand);
  background: var(--brand);
}

.progress__item.is-complete {
  color: var(--success);
}

.progress__item.is-complete > span {
  color: #ffffff;
  border-color: var(--success);
  background: var(--success);
}

.calculator__content {
  padding: 44px 48px 48px;
}

.step {
  max-width: 900px;
  margin: 0 auto;
}

.step__header {
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
}

.step__header > p:first-child {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step__header h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.step__header > p:last-child:not(:first-child) {
  margin-bottom: 0;
  line-height: 1.55;
}

.method-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.choice-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 126px;
  padding: 21px;
  color: var(--text);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #ffffff;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.choice-card:hover {
  border-color: var(--brand);
}

.choice-card.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.choice-card__radio {
  position: relative;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: #ffffff;
}

.choice-card.is-selected .choice-card__radio {
  border: 6px solid var(--brand);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
}

.choice-card small {
  font-size: 0.84rem;
  line-height: 1.5;
}

.availability-note {
  margin: -12px 0 28px;
  padding: 15px 18px;
  color: var(--warning);
  border-left: 4px solid #d59b31;
  background: var(--warning-soft);
}

.availability-note p {
  margin: 5px 0 0;
  line-height: 1.5;
}

.brand-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.brand-picker legend {
  width: 100%;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 900;
}

.brand-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.brand-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 14px 16px;
  color: var(--text);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #ffffff;
}

.brand-card.is-selected {
  border: 2px solid var(--brand);
}

.brand-card:disabled {
  opacity: 0.58;
  background: var(--subtle);
}

.brand-card strong,
.brand-card small {
  display: block;
}

.brand-card strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.05rem;
}

.brand-card small {
  font-size: 0.78rem;
}

.brand-logo-frame {
  display: grid;
  width: 88px;
  height: 62px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  background: #ffffff;
  place-items: center;
}

.brand-logo-frame img {
  width: 78px;
  max-height: 48px;
  object-fit: contain;
}

.brand-logo-frame--liz img {
  width: auto;
  height: 72px;
  max-width: none;
  max-height: none;
  transform: translateY(-2px);
}

.brand-check {
  display: grid;
  width: 25px;
  height: 25px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  border-radius: 50%;
  background: var(--brand);
  place-items: center;
}

.available-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.82rem;
  border: 1px solid var(--line);
  background: var(--subtle);
}

.available-brand {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
}

.available-brand img {
  width: 42px;
  height: 28px;
  object-fit: contain;
  background: #ffffff;
}

.measurement-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.measurement-figure {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--subtle);
}

.measurement-figure img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.measurement-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.measurement-form {
  display: grid;
  gap: 24px;
}

.measurement-field {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
}

.measurement-field__number {
  display: grid;
  width: 34px;
  height: 34px;
  color: #ffffff;
  font-weight: 900;
  border-radius: 50%;
  background: var(--brand);
  place-items: center;
}

.measurement-field__content label {
  display: block;
  margin: 5px 0 7px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.measurement-field__content > p:not(.field-error) {
  margin-bottom: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.input-unit {
  display: flex;
  width: min(100%, 320px);
  height: 50px;
  border: 1px solid var(--line-dark);
  background: #ffffff;
}

.input-unit:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(255 74 74 / 12%);
}

.input-unit input {
  width: 100%;
  min-width: 0;
  padding: 0 13px;
  color: var(--ink);
  border: 0;
  outline: 0;
}

.input-unit span {
  display: grid;
  min-width: 52px;
  color: var(--muted);
  font-size: 0.84rem;
  border-left: 1px solid var(--line);
  background: var(--subtle);
  place-items: center;
}

.measurement-field.has-error .input-unit {
  border-color: var(--brand-dark);
}

.field-error {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 700;
}

.request-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  color: #8a251c;
  font-size: 0.82rem;
  line-height: 1.5;
  border-left: 3px solid #d92d20;
  background: #fff1f0;
}

.measurement-tip {
  margin: 28px 0 0 354px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.5;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
}

.conversion-form {
  max-width: 800px;
  margin: 0 auto;
}

.conversion-fields {
  display: grid;
  grid-template-columns: 1fr 0.8fr auto 1fr;
  gap: 16px;
  align-items: end;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--subtle);
}

.select-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.select-field select {
  width: 100%;
  min-height: 50px;
  padding: 0 40px 0 13px;
  color: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: #ffffff;
}

.select-field select:focus {
  border-color: var(--brand);
  outline: 3px solid rgb(255 74 74 / 12%);
}

.conversion-arrow {
  display: grid;
  width: 36px;
  height: 50px;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 900;
  place-items: center;
}

.conversion-preview {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
}

.conversion-preview > span {
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 900;
}

.conversion-preview__brand {
  display: flex;
  gap: 13px;
  align-items: center;
}

.conversion-preview__brand small,
.conversion-preview__brand strong {
  display: block;
}

.conversion-preview__brand small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.conversion-preview__brand strong {
  color: var(--ink);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.step-actions--end {
  justify-content: flex-end;
}

.step-actions--center {
  justify-content: center;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 20px;
  font-weight: 900;
  border-radius: 2px;
}

.primary-button {
  color: #ffffff;
  border: 1px solid var(--brand);
  background: var(--brand);
}

.primary-button:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.primary-button.is-loading {
  cursor: wait;
  opacity: 0.7;
}

.secondary-button {
  color: var(--ink);
  border: 1px solid var(--line-dark);
  background: #ffffff;
}

.secondary-button:hover {
  border-color: var(--ink);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.choice-card:focus-visible,
.brand-card:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(255 74 74 / 26%);
  outline-offset: 3px;
}

.result-step {
  max-width: 820px;
  text-align: center;
}

.result-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.result-brand .brand-logo-frame {
  width: 72px;
  height: 48px;
}

.result-kicker {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-step h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.result-size {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(3.6rem, 10vw, 6rem);
  line-height: 1;
}

.result-step.is-warning .result-size {
  color: var(--brand-dark);
  font-size: clamp(2.1rem, 7vw, 3.7rem);
}

.result-message {
  max-width: 600px;
  margin: 0 auto 26px;
  line-height: 1.55;
}

.brand-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.brand-result-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  background: #ffffff;
}

.brand-result-card h4,
.brand-result-card__size,
.brand-result-card p {
  grid-column: 2;
}

.brand-result-card .brand-logo-frame {
  grid-row: 1 / span 3;
}

.brand-result-card h4 {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.brand-result-card__size {
  display: block;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.brand-result-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.brand-result-card.is-empty {
  border-top-color: #d59b31;
}

.brand-result-card.is-approximate {
  border-top-color: #d59b31;
  background: #fffdf8;
}

.brand-result-card__status {
  display: inline-block;
  margin-left: 7px;
  padding: 3px 6px;
  color: var(--warning);
  font-size: 0.62rem;
  font-weight: 900;
  border: 1px solid #eed49f;
  background: var(--warning-soft);
  vertical-align: middle;
}

.conversion-result {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 26px;
}

.conversion-result__card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--subtle);
}

.conversion-result__card.is-highlighted {
  border: 2px solid var(--brand);
  background: var(--brand-soft);
}

.conversion-result__card small {
  color: var(--muted);
}

.conversion-result__card > strong {
  color: var(--ink);
  font-size: 1.45rem;
}

.conversion-result__arrow {
  display: grid;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 900;
  place-items: center;
}

.result-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--subtle);
}

.result-details div {
  padding: 16px;
}

.result-details div:not(:last-child) {
  border-right: 1px solid var(--line);
}

.result-details dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.74rem;
}

.result-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.result-explanation {
  padding: 21px;
  text-align: left;
  border-left: 4px solid var(--success);
  background: var(--success-soft);
}

.result-explanation h4 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.result-explanation p {
  margin-bottom: 0;
  line-height: 1.55;
}

.result-warning {
  margin-top: 16px;
  padding: 16px 18px;
  color: var(--warning);
  font-size: 0.82rem;
  line-height: 1.5;
  border: 1px solid #eed49f;
  background: var(--warning-soft);
}

.why-section {
  max-width: 820px;
  margin: 48px auto 0;
  text-align: center;
}

.why-section h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.why-section p {
  margin-bottom: 0;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  padding: 24px max(20px, calc((100vw - var(--content)) / 2));
  color: #ffffff;
  background: var(--ink);
}

.site-footer img {
  width: 160px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .store-header__main {
    grid-template-columns: 1fr auto;
  }

  .search-preview {
    display: none;
  }

  .intro {
    grid-template-columns: 1fr 250px;
  }

  .intro__copy {
    padding: 42px 36px;
  }

  .measurement-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
  }

  .measurement-tip {
    margin-left: 288px;
  }
}

@media (max-width: 680px) {
  .shipping-bar {
    font-size: 0.72rem;
  }

  .store-header__main {
    width: min(100% - 28px, var(--content));
    min-height: 68px;
  }

  .store-logo {
    width: 158px;
  }

  .account-nav {
    font-size: 0.7rem;
  }

  .account-nav span,
  .account-nav a:first-child {
    display: none;
  }

  .category-nav {
    width: min(100% - 28px, var(--content));
    min-height: 46px;
  }

  .category-nav a {
    padding-block: 15px 12px;
  }

  main {
    width: min(100% - 24px, var(--content));
  }

  .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .intro__copy {
    padding: 34px 24px 28px;
  }

  .intro__visual {
    display: none;
  }

  .calculator__heading {
    padding: 27px 20px 20px;
  }

  .progress {
    padding: 0;
  }

  .progress__item {
    justify-content: center;
    min-height: 62px;
    padding: 10px 6px;
  }

  .progress__item > div {
    display: none;
  }

  .progress__item:not(:last-child)::after {
    top: 14px;
    bottom: 14px;
  }

  .calculator__content {
    padding: 30px 18px 34px;
  }

  .method-options,
  .brand-options,
  .brand-results {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 108px;
  }

  .measurement-layout {
    grid-template-columns: 1fr;
  }

  .measurement-figure {
    max-width: 300px;
    margin-inline: auto;
  }

  .measurement-tip {
    margin-left: 0;
  }

  .conversion-fields {
    grid-template-columns: 1fr;
  }

  .conversion-arrow {
    width: 100%;
    height: 24px;
    transform: rotate(90deg);
  }

  .conversion-preview,
  .conversion-result {
    grid-template-columns: 1fr;
  }

  .conversion-preview > span,
  .conversion-result__arrow {
    transform: rotate(90deg);
  }

  .conversion-preview__brand {
    justify-content: center;
    text-align: left;
  }

  .step-actions {
    flex-direction: column-reverse;
  }

  .step-actions .primary-button,
  .step-actions .secondary-button {
    width: 100%;
  }

  .result-details {
    grid-template-columns: 1fr;
  }

  .result-details div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Identidade do site independente */
body {
  background: #fafafa;
}

.independent-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid #e3e3e3;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.site-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-wordmark img {
  width: 190px;
  height: auto;
}

.independent-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: #555d65;
  font-size: 0.78rem;
  font-weight: 700;
}

.independent-nav a {
  text-decoration: none;
}

.independent-nav > a:not(.store-link):hover {
  color: #ff4a4a;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  color: #ffffff;
  font-weight: 900;
  border: 1px solid #ff4a4a;
  border-radius: 4px;
  background: #ff4a4a;
  text-decoration: none;
}

.store-link:hover {
  border-color: #dc3434;
  background: #dc3434;
}

.store-link--header {
  min-height: 40px;
  padding: 9px 15px;
  color: #ffffff;
}

main {
  padding-top: 0;
}

.standalone-hero {
  max-width: 940px;
  margin: 0 auto;
  padding: 76px 24px 56px;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #555d65;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  width: 34px;
  height: 1px;
  background: #c8c8c8;
  content: "";
}

.standalone-hero h1 {
  max-width: 830px;
  margin: 0 auto 18px;
  color: #212121;
  font-family: "Lato", Arial, sans-serif;
  font-size: clamp(3rem, 6.4vw, 5.3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.standalone-hero h1 em {
  display: block;
  color: #ff4a4a;
  font-style: normal;
  font-weight: 900;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto;
  color: #555d65;
  font-size: 1.02rem;
  line-height: 1.65;
}

.recommended-store {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  margin-top: 28px;
  padding: 10px 10px 10px 16px;
  color: #737980;
  font-size: 0.72rem;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  background: #ffffff;
}

.recommended-store > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 7px 11px;
  color: #212121;
  font-weight: 900;
  border-radius: 3px;
  background: #fff1f1;
  text-decoration: none;
}

.recommended-store img {
  width: 112px;
}

.calculator {
  scroll-margin-top: 88px;
  border-color: #dadde0;
  border-radius: 14px;
  box-shadow: 0 22px 60px rgb(0 0 0 / 7%);
  overflow: hidden;
}

.choice-card__radio {
  display: none;
}

.choice-card {
  border-radius: 0;
}

.choice-card.is-selected {
  box-shadow: inset 4px 0 0 var(--brand);
}

.progress__item > span {
  display: block;
  flex-basis: auto;
  width: auto;
  height: auto;
  color: var(--muted);
  font-size: 0.7rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.progress__item.is-active > span,
.progress__item.is-complete > span {
  color: var(--brand);
  border: 0;
  background: transparent;
}

.calculator__heading h2,
.step__header h3,
.why-section h2,
.shop-section h2,
.seo-content h2,
.seo-content h3 {
  font-family: "Lato", Arial, sans-serif;
  font-weight: 900;
}

.calculator__heading h2 {
  color: #212121;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.shop-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 44px;
  padding: 36px 40px;
  color: #555d65;
  border: 1px solid #dadde0;
  border-radius: 12px;
  background: #ffffff;
}

.shop-section h2 {
  margin-bottom: 8px;
  color: #212121;
  font-size: 2rem;
}

.shop-section p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  line-height: 1.55;
}

.shop-actions {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.text-store-link,
.site-footer > a:last-child {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-underline-offset: 4px;
}

.result-store-link {
  grid-column: 2;
  display: inline-block;
  margin-top: 12px;
  color: #dc3434;
  font-size: 0.74rem;
  font-weight: 900;
  text-underline-offset: 3px;
}

.conversion-result__card .result-store-link {
  grid-column: auto;
}

.site-footer {
  margin-top: 70px;
  color: #f6f6f6;
  background: #212121;
}

.site-wordmark--footer {
  padding: 8px;
  background: #ffffff;
}

.site-wordmark--footer img {
  width: 190px;
  filter: none;
}

.site-footer p {
  max-width: 430px;
  text-align: center;
}

.seo-content {
  margin-top: 44px;
  padding: 38px 40px;
  color: var(--text);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.seo-content > h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.seo-content > p {
  max-width: 820px;
  line-height: 1.65;
}

.seo-content__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 26px;
}

.seo-content__columns h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.seo-content__columns p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .independent-nav > a:not(.store-link) {
    display: none;
  }

  .shop-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .shop-section p:last-child {
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .independent-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .site-wordmark {
    max-width: 46vw;
  }

  .site-wordmark img {
    width: 150px;
  }

  .store-link--header {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.7rem;
  }

  .standalone-hero {
    padding: 52px 6px 40px;
  }

  .calculator {
    scroll-margin-top: 74px;
  }

  .standalone-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .hero-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.15em;
  }

  .recommended-store {
    display: grid;
    width: 100%;
  }

  .recommended-store > a {
    justify-content: center;
  }

  .shop-section {
    padding: 28px 20px;
  }

  .available-brands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .available-brands > span:first-child {
    grid-column: 1 / -1;
  }

  .available-brand {
    justify-content: center;
    padding: 8px;
    background: #ffffff;
  }

  .seo-content {
    padding: 30px 20px;
  }

  .seo-content__columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .result-store-link {
    grid-column: 1 / -1;
  }
}
