:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --bg-soft: #f7f8fa;
  --surface: #ffffff;
  --surface-warm: #fff7ed;
  --text: #162033;
  --muted: #667085;
  --soft: #42526a;
  --line: #d8e1e8;
  --line-strong: #b9c8d3;
  --violet: #0b3558;
  --violet-deep: #082944;
  --violet-soft: #e9f1f7;
  --cyan: #119da4;
  --cyan-soft: #e7f8fa;
  --orange: #ff7a00;
  --orange-soft: #fff0df;
  --green: #2fa66a;
  --green-soft: #eaf8ef;
  --danger: #bf3f4a;
  --shadow: 0 22px 60px rgba(11, 53, 88, 0.12);
  --shadow-soft: 0 12px 34px rgba(11, 53, 88, 0.08);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* SetupBudget homepage template alignment */
.site-header {
  position: sticky;
  top: 0;
  grid-template-columns: auto 1fr auto;
  gap: clamp(18px, 3vw, 42px);
  width: min(1480px, calc(100vw - 48px));
  min-height: 64px;
  margin: 18px auto 0;
  padding: 10px 28px;
  border: 1px solid rgba(216, 225, 232, 0.95);
  border-radius: 14px 14px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(11, 53, 88, 0.08);
}

.brand-button {
  flex-direction: row;
}

.brand-logo {
  width: clamp(154px, 13vw, 210px);
}

.main-nav {
  gap: clamp(12px, 2vw, 30px);
}

.main-nav a,
.main-nav button {
  min-height: 32px;
  padding: 0;
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav button:hover {
  background: transparent;
  color: var(--orange);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.login-link {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--violet-deep);
  font-weight: 850;
}

.header-cta {
  min-height: 40px;
  padding-inline: 22px;
}

.header-actions .language-picker {
  max-width: 116px;
}

body {
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 122, 0, 0.07), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(158, 223, 227, 0.28), transparent 34%),
    var(--bg);
}

main {
  width: min(1340px, calc(100vw - 48px));
  max-width: none;
  padding: 18px 0 0;
}

.hero-section {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.78fr);
  gap: clamp(44px, 7vw, 86px);
  align-items: center;
  min-height: 520px;
  padding: 38px clamp(32px, 5vw, 72px) 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.hero-section::before {
  display: none;
}

.hero-watermark {
  position: absolute;
  left: -12px;
  top: 36px;
  width: min(330px, 30vw);
  opacity: 0.055;
  pointer-events: none;
  transform: rotate(-10deg);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.eyebrow {
  color: #058196;
  font-size: 12px;
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 640px;
  color: var(--violet-deep);
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1.05;
}

.accent-orange {
  color: var(--orange);
}

.hero-copy p {
  max-width: 560px;
  margin-top: 18px;
  color: #344766;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 850;
}

.hero-proof svg {
  color: var(--cyan);
}

.setup-plan-preview {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(216, 225, 232, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(11, 53, 88, 0.13);
}

.plan-preview-header,
.budget-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan-preview-header span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-deep);
  font-weight: 900;
}

.plan-preview-header small,
.budget-summary small {
  display: block;
  margin-top: 6px;
  color: #66758f;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.plan-preview-header > strong {
  color: var(--violet-deep);
  font-size: 18px;
}

.plan-preview-list {
  display: grid;
  gap: 0;
  border: 1px solid rgba(216, 225, 232, 0.9);
  border-radius: 10px;
  overflow: hidden;
}

.plan-preview-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px 14px;
  background: #ffffff;
}

.plan-preview-list article + article {
  border-top: 1px solid rgba(216, 225, 232, 0.84);
}

.plan-row-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #f4f7fa;
  color: var(--violet-deep);
}

.plan-preview-list small {
  color: #66758f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-preview-list strong {
  display: block;
  margin-top: 4px;
  color: var(--violet-deep);
  font-size: 14px;
}

.plan-preview-list p {
  margin: 3px 0 0;
  color: #40516e;
  font-size: 12px;
  line-height: 1.35;
}

.plan-preview-list aside {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.plan-preview-list em {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: #087b86;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.budget-summary {
  padding-top: 2px;
}

.budget-summary span {
  flex: 1;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5ee;
}

.budget-summary i {
  display: block;
  width: 52%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
}

.budget-summary button {
  min-height: 40px;
  padding-inline: 18px;
  border: 0;
  border-radius: 8px;
  background: var(--violet-deep);
  color: white;
  font-weight: 900;
}

.category-panel,
.home-trust-section,
.planning-section,
.final-cta {
  width: min(1180px, calc(100vw - 72px));
  margin: 28px auto 0;
}

.category-panel {
  padding: 16px 20px 20px;
  border: 1px solid rgba(216, 225, 232, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(11, 53, 88, 0.08);
}

.category-panel h2,
.home-trust-section h2 {
  margin: 0 0 16px;
  color: var(--violet-deep);
  font-size: 24px;
  text-align: center;
}

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

.home-category-card {
  display: grid;
  gap: 10px;
  min-height: 86px;
  place-items: center;
  padding: 14px 10px;
  border: 1px solid rgba(216, 225, 232, 0.95);
  border-radius: 10px;
  background: #ffffff;
  color: var(--violet-deep);
  box-shadow: 0 10px 24px rgba(11, 53, 88, 0.045);
  text-align: center;
}

.home-category-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 18px 32px rgba(17, 157, 164, 0.12);
  transform: translateY(-2px);
}

.home-category-card svg {
  color: var(--violet-deep);
}

.home-category-card strong {
  font-size: 13px;
  line-height: 1.2;
}

.home-trust-grid,
.planning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-trust-grid article,
.planning-grid article {
  display: flex;
  gap: 14px;
  min-height: 102px;
  padding: 18px;
  border: 1px solid rgba(216, 225, 232, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(11, 53, 88, 0.06);
}

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

.planning-grid article {
  display: grid;
}

.home-trust-grid svg,
.planning-grid svg {
  flex: 0 0 auto;
  color: var(--violet-deep);
}

.home-trust-grid h3,
.planning-grid h3 {
  margin: 0;
  color: var(--violet-deep);
  font-size: 15px;
}

.home-trust-grid p,
.planning-grid p {
  margin: 6px 0 0;
  color: #40516e;
  font-size: 13px;
  line-height: 1.45;
}

.planning-section .section-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(11, 53, 88, 0.96), rgba(8, 41, 68, 0.98));
  color: white;
}

.final-cta h2 {
  margin: 0;
  color: white;
  font-size: 32px;
}

.final-cta p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.final-cta .eyebrow {
  color: #9edfe3;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr auto;
  gap: 34px;
  align-items: start;
  width: min(1480px, calc(100vw - 48px));
  margin: 28px auto 24px;
  padding: 26px 34px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(135deg, #082944, #0b3558);
  color: white;
}

.footer-logo {
  width: 160px;
  height: auto;
  filter: brightness(1.12);
}

.footer-brand p,
.footer-newsletter p,
.footer-brand small {
  color: rgba(255, 255, 255, 0.76);
}

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

.footer-columns div {
  display: grid;
  gap: 9px;
}

.footer-links strong,
.footer-newsletter strong {
  color: #ffffff;
}

.footer-links a,
.footer-links button {
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 13px;
  text-align: left;
}

.footer-newsletter label {
  display: flex;
  margin-top: 12px;
}

.footer-newsletter input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px 0 0 8px;
}

.footer-newsletter button {
  min-height: 42px;
  padding-inline: 18px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--orange);
  color: white;
  font-weight: 900;
}

.footer-language {
  color: rgba(255, 255, 255, 0.78);
}

.footer-language select {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(430px, calc(100vw - 28px));
    padding: 10px 14px;
  }

  .brand-logo {
    width: 166px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .login-link,
  .header-cta,
  .header-actions .language-picker {
    display: none;
  }

  .header-actions::after {
    content: "☰";
    color: var(--violet-deep);
    font-size: 26px;
    line-height: 1;
  }

  main {
    width: min(430px, calc(100vw - 28px));
    padding-top: 0;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 34px 18px 22px;
  }

  .hero-watermark {
    left: auto;
    right: -34px;
    top: 26px;
    width: 180px;
    opacity: 0.055;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 9.2vw, 46px);
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    gap: 8px;
  }

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

  .setup-plan-preview {
    padding: 14px;
  }

  .plan-preview-list article {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    padding: 13px 10px;
  }

  .plan-row-icon {
    width: 30px;
    height: 30px;
  }

  .plan-preview-list em {
    display: none;
  }

  .budget-summary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .budget-summary button {
    width: 100%;
  }

  .category-panel,
  .home-trust-section,
  .planning-section,
  .final-cta {
    width: min(430px, calc(100vw - 28px));
    margin-top: 22px;
  }

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

  .home-category-card {
    min-height: 74px;
    padding: 10px 6px;
  }

  .home-category-card strong {
    font-size: 10px;
  }

  .home-category-card svg {
    width: 22px;
    height: 22px;
  }

  .home-trust-grid,
  .planning-grid {
    grid-template-columns: 1fr;
  }

  .home-trust-grid article,
  .planning-grid article {
    min-height: 0;
  }

  .final-cta {
    display: grid;
    padding: 22px;
  }

  .final-cta h2 {
    font-size: 26px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(430px, calc(100vw - 28px));
    gap: 22px;
    padding: 24px 22px;
  }

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

  .footer-newsletter label {
    display: grid;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    border-radius: 8px;
  }
}

/* Final header logo rendering fix */
body #app .site-header .brand-button {
  overflow: visible;
}

body #app .site-header .brand-logo {
  display: block;
  height: auto;
  max-height: none;
  aspect-ratio: 492 / 112;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 981px) {
  body #app .site-header {
    grid-template-columns: minmax(300px, auto) 1fr auto;
  }

  body #app .site-header .brand-button {
    width: 300px;
    min-width: 300px;
  }

  body #app .site-header .brand-logo {
    width: 300px;
    min-width: 300px;
  }
}

@media (max-width: 980px) {
  body #app .site-header .brand-logo {
    width: 166px;
    min-width: 166px;
  }
}

/* Header logo visibility fix */
@media (min-width: 981px) {
  body #app .site-header .brand-button {
    display: flex;
    align-items: center;
    min-width: 282px;
    overflow: visible;
  }

  body #app .site-header .brand-logo {
    display: block;
    width: 272px;
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: 492 / 112;
    object-fit: contain;
    object-position: left center;
  }
}

@media (min-width: 981px) {
  body #app main .category-panel .home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 981px) {
  .site-header .brand-logo {
    width: 232px;
    max-height: 54px;
    object-fit: contain;
  }

  .hero-section {
    grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.82fr);
    gap: clamp(48px, 6vw, 76px);
    min-height: 560px;
    padding: 52px clamp(46px, 5.5vw, 82px) 44px;
  }

  .hero-copy h1 {
    max-width: 610px;
    font-size: clamp(48px, 4.9vw, 64px);
    line-height: 1.08;
  }

  .setup-plan-preview {
    max-width: 510px;
    justify-self: end;
    padding: 22px;
  }

  .plan-preview-list article {
    grid-template-columns: 54px minmax(0, 1fr) 104px;
    min-height: 82px;
    padding: 16px;
  }

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

  .home-category-card {
    min-height: 106px;
  }
}

/* Desktop-only homepage clarity pass */
.plan-product-thumb {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 232, 0.92);
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #eef6f8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(11, 53, 88, 0.08);
}

.plan-product-thumb::before,
.plan-product-thumb::after {
  content: "";
  position: absolute;
  display: block;
}

.plan-product-thumb.laptop::before {
  width: 25px;
  height: 16px;
  border: 2px solid var(--violet-deep);
  border-radius: 3px;
  background: linear-gradient(135deg, #9edfe3, #ffffff);
}

.plan-product-thumb.laptop::after {
  bottom: 10px;
  width: 33px;
  height: 4px;
  border-radius: 999px;
  background: var(--violet-deep);
}

.plan-product-thumb.mic::before {
  width: 12px;
  height: 25px;
  border-radius: 999px;
  background: linear-gradient(180deg, #182033, #0b3558);
}

.plan-product-thumb.mic::after {
  bottom: 9px;
  width: 24px;
  height: 15px;
  border-bottom: 3px solid var(--violet-deep);
  border-left: 3px solid var(--violet-deep);
  border-right: 3px solid var(--violet-deep);
  border-radius: 0 0 999px 999px;
}

.plan-product-thumb.light::before {
  width: 22px;
  height: 22px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  background: radial-gradient(circle, #fff3d6 0 38%, #ffb04d 39% 100%);
}

.plan-product-thumb.light::after {
  bottom: 6px;
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: var(--violet-deep);
}

.plan-product-thumb.camera::before {
  width: 27px;
  height: 18px;
  border-radius: 5px;
  background: var(--violet-deep);
}

.plan-product-thumb.camera::after {
  width: 12px;
  height: 12px;
  border: 3px solid #9edfe3;
  border-radius: 50%;
  background: #ffffff;
}

@media (min-width: 981px) {
  .site-header {
    width: min(1420px, calc(100vw - 56px));
    min-height: 72px;
    padding: 12px 34px;
  }

  .brand-button {
    min-width: 236px;
  }

  .brand-logo {
    width: 232px;
    max-height: 54px;
    object-fit: contain;
  }

  main {
    width: min(1280px, calc(100vw - 64px));
  }

  .hero-section {
    grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.82fr);
    gap: clamp(48px, 6vw, 76px);
    min-height: 560px;
    padding: 52px clamp(46px, 5.5vw, 82px) 44px;
  }

  .hero-copy h1 {
    max-width: 610px;
    font-size: clamp(48px, 4.9vw, 64px);
    line-height: 1.08;
  }

  .hero-copy p {
    max-width: 570px;
    margin-top: 20px;
  }

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

  .setup-plan-preview {
    max-width: 510px;
    justify-self: end;
    padding: 22px;
  }

  .plan-preview-header > strong {
    font-size: 20px;
  }

  .plan-preview-list article {
    grid-template-columns: 54px minmax(0, 1fr) 104px;
    min-height: 82px;
    padding: 16px;
  }

  .plan-preview-list p {
    max-width: 250px;
    line-height: 1.35;
  }

  .category-panel {
    padding: 20px 22px 22px;
  }

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

  .home-category-card {
    min-height: 106px;
  }

  .home-category-card strong {
    max-width: 150px;
    font-size: 14px;
  }

  .home-trust-section {
    margin-top: 34px;
  }
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(251, 245, 235, 0.96)),
    repeating-linear-gradient(90deg, rgba(109, 69, 215, 0.045) 0 1px, transparent 1px 48px),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

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

svg {
  flex: 0 0 auto;
}

#app {
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 58px);
  border-bottom: 1px solid rgba(234, 223, 206, 0.82);
  background: rgba(255, 250, 242, 0.86);
  backdrop-filter: blur(18px);
  max-width: 100vw;
  overflow-x: hidden;
}

.brand-button,
.main-nav a,
.main-nav button,
.footer-links a,
.goal-card,
.primary-action,
.ghost-action,
.check-card,
.budget-card,
.segmented label,
.channel-toggle,
.rec-link {
  cursor: pointer;
}

.brand-button {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.brand-button small {
  display: block;
}

.brand-button small {
  width: 100%;
  margin-top: -3px;
  padding-left: 60px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-logo {
  display: block;
  width: clamp(172px, 18vw, 246px);
  height: auto;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.main-nav a,
.main-nav button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--soft);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.main-nav a:hover,
.main-nav button:hover {
  background: var(--violet-soft);
  color: var(--violet-deep);
}

.footer-links a {
  border: 0;
  background: transparent;
  color: inherit;
}

.locale-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--soft);
  font-size: 13px;
  white-space: nowrap;
}

.locale-pill span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: middle;
}

.language-picker {
  display: inline-flex;
  align-items: center;
}

.language-picker::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.language-picker select {
  min-height: 26px;
  padding: 0 20px 0 2px;
  border: 0;
  background: transparent;
  color: var(--soft);
  font: inherit;
  outline: none;
  cursor: pointer;
}

.language-picker select:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(109, 69, 215, 0.14);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 0 56px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 156px);
  padding: 18px 0 38px;
}

.hero-copy h1,
.wizard-header h1,
.results-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p,
.wizard-header p,
.results-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-actions,
.wizard-actions,
.bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.primary-action,
.ghost-action,
.rec-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 750;
}

.primary-action {
  border: 1px solid rgba(255, 122, 0, 0.42);
  background: linear-gradient(135deg, var(--orange), #ff5f00);
  color: white;
  box-shadow: 0 14px 28px rgba(255, 122, 0, 0.24);
}

.primary-action:hover {
  filter: brightness(1.03);
}

.primary-action.compact {
  min-height: 40px;
  padding: 0 14px;
}

.ghost-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.ghost-action:hover {
  border-color: rgba(109, 69, 215, 0.28);
  background: var(--violet-soft);
}

.smart-preview {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(218, 200, 174, 0.76);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 234, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.preview-topline,
.rec-top,
.rec-footer,
.selection-bar,
.stack-heading,
.result-summary,
.selected-goal-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-topline span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--violet-deep);
  font-weight: 800;
}

.preview-topline strong {
  color: var(--green);
  font-size: 13px;
}

.mini-stack {
  display: grid;
  gap: 10px;
}

.mini-stack > div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.mini-stack > div.active {
  border-color: rgba(32, 198, 215, 0.42);
  background: linear-gradient(135deg, var(--cyan-soft), #ffffff);
}

.mini-stack small,
.result-summary small,
.selection-bar small,
.selected-goal-panel small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mini-stack strong,
.selection-bar strong,
.selected-goal-panel strong {
  font-size: 17px;
}

.mini-stack p {
  margin: 0;
  color: var(--soft);
  line-height: 1.45;
}

.trust-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 50px rgba(11, 53, 88, 0.08);
}

.trust-row::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -2px;
  left: 6%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.82;
}

.trust-social,
.trust-row-item {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 22px;
}

.trust-row-item {
  border-left: 1px solid rgba(216, 225, 232, 0.72);
}

.trust-row-item > svg {
  color: var(--violet-deep);
}

.trust-row-item:nth-child(3) > svg {
  color: var(--cyan);
}

.trust-row strong {
  display: block;
  color: var(--violet-deep);
  font-size: 15px;
}

.trust-social strong {
  color: var(--orange);
  letter-spacing: 2px;
}

.trust-row p {
  margin: 5px 0 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.42;
}

.avatar-stack {
  display: flex;
  min-width: 78px;
}

.avatar-stack span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-right: -8px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.avatar-stack span:nth-child(2) {
  background: linear-gradient(135deg, var(--orange), #ffb04d);
}

.avatar-stack span:nth-child(3) {
  background: linear-gradient(135deg, #9edfe3, var(--cyan));
}

.score-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.score-strip span {
  min-height: 42px;
  padding: 10px;
  border-radius: var(--radius);
  background: #111827;
  color: white;
  font-size: 12px;
  text-align: center;
}

.question-section,
.how-section,
.resources-section,
.wizard-shell,
.provider-status {
  padding: 34px 0;
  scroll-margin-top: 94px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.section-heading h2,
.roadmap-copy h2 {
  margin: 0;
  color: #101828;
  font-size: 34px;
  line-height: 1.08;
}

.section-heading p,
.roadmap-copy p {
  margin: 12px 0 0;
  color: var(--soft);
  line-height: 1.6;
}

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

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

.goal-card {
  display: grid;
  min-height: 188px;
  align-content: start;
  gap: 11px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.goal-card:hover,
.goal-card.selected {
  border-color: rgba(109, 69, 215, 0.42);
  background: linear-gradient(135deg, #ffffff, var(--violet-soft));
  transform: translateY(-2px);
}

.goal-card.selected {
  box-shadow: 0 18px 42px rgba(109, 69, 215, 0.16);
}

.goal-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--cyan-soft);
  color: #0c8190;
}

.goal-icon.small {
  width: 40px;
  height: 40px;
}

.goal-card:nth-child(2n) .goal-icon {
  background: var(--violet-soft);
  color: var(--violet-deep);
}

.goal-card:nth-child(3n) .goal-icon {
  background: var(--orange-soft);
  color: #a45a12;
}

.goal-card strong,
.quality-row strong,
.recommendation-card h3 {
  color: var(--text);
}

.goal-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.48;
}

.goal-card small {
  margin-top: auto;
  color: var(--violet-deep);
  font-weight: 800;
}

.selection-bar {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.principles-grid,
.provider-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.principles-grid article,
.provider-check,
.wizard-card,
.roadmap-panel,
.stack-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.principles-grid article,
.provider-check {
  padding: 18px;
}

.principles-grid svg {
  color: var(--violet);
}

.principles-grid h3,
.provider-check strong {
  margin: 10px 0 6px;
}

.principles-grid p,
.provider-check p {
  margin: 0;
  color: var(--soft);
  line-height: 1.52;
}

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

.provider-pill {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(32, 198, 215, 0.28);
  border-radius: var(--radius);
  background: var(--cyan-soft);
}

.provider-pill.verify {
  border-color: rgba(245, 158, 76, 0.34);
  background: var(--orange-soft);
}

.provider-pill strong {
  font-size: 13px;
}

.provider-pill span {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
}

.wizard-header,
.results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.wizard-header h1,
.results-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.stepper button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--soft);
  font-weight: 800;
  text-align: left;
}

.stepper span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-warm);
  color: var(--violet-deep);
  font-size: 12px;
}

.stepper button.active,
.stepper button.done {
  border-color: rgba(109, 69, 215, 0.36);
  background: var(--violet-soft);
  color: var(--violet-deep);
}

.wizard-card {
  padding: clamp(16px, 3vw, 24px);
}

.selected-goal-panel {
  justify-content: flex-start;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
}

.selected-goal-panel p {
  margin: 4px 0 0;
  color: var(--soft);
}

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

.check-card,
.budget-card,
.channel-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
}

.check-card input,
.budget-card input,
.segmented input,
.channel-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-card span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: transparent;
}

.check-card.checked {
  border-color: rgba(47, 166, 106, 0.42);
  background: var(--green-soft);
}

.check-card.checked span {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.text-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.text-field textarea,
.text-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--text);
  outline: none;
}

.text-field textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

.text-field input {
  min-height: 44px;
  padding: 0 12px;
}

.text-field textarea:focus,
.text-field input:focus {
  border-color: rgba(109, 69, 215, 0.56);
  box-shadow: 0 0 0 4px rgba(109, 69, 215, 0.11);
}

.wizard-actions {
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.quality-list {
  display: grid;
  gap: 12px;
}

.quality-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.quality-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

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

.segmented label {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.segmented label.selected {
  border-color: rgba(109, 69, 215, 0.44);
  background: var(--violet-soft);
  color: var(--violet-deep);
}

.helper-message,
.saved-note,
.not-yet {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(245, 158, 76, 0.3);
  border-radius: var(--radius);
  background: var(--orange-soft);
  color: #73420e;
  line-height: 1.45;
}

.empty-helper,
.empty-result {
  display: grid;
  min-height: 180px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-warm);
  color: var(--soft);
  text-align: center;
}

.empty-helper h2,
.empty-helper p,
.empty-result p {
  margin: 0;
}

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

.budget-card {
  display: grid;
  align-content: start;
  min-height: 142px;
}

.budget-card span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--violet-soft);
  color: var(--violet-deep);
}

.budget-card strong {
  line-height: 1.25;
}

.budget-card small {
  color: var(--muted);
  line-height: 1.42;
}

.budget-card.selected {
  border-color: rgba(109, 69, 215, 0.46);
  background: linear-gradient(135deg, #ffffff, var(--violet-soft));
}

.custom-budget {
  display: none;
  max-width: 340px;
}

.custom-budget.visible {
  display: grid;
}

.results-hero {
  align-items: center;
}

.result-summary {
  display: grid;
  justify-items: start;
  min-width: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.result-summary span {
  color: var(--violet-deep);
  font-weight: 800;
}

.result-summary strong {
  font-size: 20px;
}

.guidance-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.guidance-strip span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px;
  border: 1px solid rgba(47, 166, 106, 0.28);
  border-radius: var(--radius);
  background: var(--green-soft);
  color: #155f39;
  font-weight: 750;
}

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

.stack-section {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
}

.stack-heading {
  align-items: flex-start;
}

.stack-heading h2 {
  margin: 0;
  font-size: 22px;
}

.stack-heading p {
  max-width: 360px;
  margin: 3px 0 0;
  color: var(--soft);
  line-height: 1.45;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.keep-card,
.recommendation-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.keep-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.keep-card > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.keep-card strong,
.keep-card p {
  display: block;
}

.keep-card p {
  margin: 4px 0 0;
  color: var(--soft);
  line-height: 1.45;
}

.recommendation-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.recommendation-card.free {
  border-color: rgba(32, 198, 215, 0.28);
  background: linear-gradient(135deg, #ffffff, var(--cyan-soft));
}

.recommendation-card h3 {
  margin: 0;
  font-size: 18px;
}

.recommendation-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.5;
}

.category-pill,
.smart-pick,
.provider-badge,
.free-badge,
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.category-pill {
  background: var(--surface-warm);
  color: #805217;
}

.smart-pick {
  background: var(--violet);
  color: white;
}

.provider-badge {
  background: var(--violet-soft);
  color: var(--violet-deep);
}

.free-badge {
  background: var(--cyan-soft);
  color: #0c8190;
}

.score-badge {
  background: #111827;
  color: white;
}

.rec-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--soft);
  font-size: 13px;
}

.rec-meta strong {
  color: var(--text);
}

.score-line {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee3d1;
}

.score-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.rec-footer {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.rec-link {
  min-height: 38px;
  width: fit-content;
  padding: 0 12px;
  border: 1px solid rgba(109, 69, 215, 0.28);
  background: var(--violet-soft);
  color: var(--violet-deep);
  font-size: 13px;
}

.muted-link {
  border-color: rgba(32, 198, 215, 0.26);
  background: var(--cyan-soft);
  color: #0c8190;
}

.checks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.checks-row span {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.not-yet {
  margin-top: 0;
  padding: 10px;
  font-size: 13px;
}

.roadmap-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 18px;
  align-items: start;
  margin: 18px 0;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(229, 251, 253, 0.74)),
    #ffffff;
}

.roadmap-controls {
  display: grid;
  gap: 12px;
}

.roadmap-controls .text-field {
  margin-top: 0;
}

.channel-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.channel-toggle {
  justify-content: center;
  min-height: 44px;
  padding: 10px;
  font-size: 13px;
}

.channel-toggle.checked {
  border-color: rgba(109, 69, 215, 0.42);
  background: var(--violet-soft);
  color: var(--violet-deep);
}

.saved-note {
  margin-top: 0;
  border-color: rgba(47, 166, 106, 0.3);
  background: var(--green-soft);
  color: #155f39;
}

.roadmap-data {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.roadmap-data summary {
  cursor: pointer;
  color: var(--violet-deep);
  font-weight: 800;
}

.roadmap-data pre {
  max-height: 340px;
  overflow: auto;
  margin: 12px 0 0;
  padding: 14px;
  border-radius: var(--radius);
  background: #111827;
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.55;
}

.provider-status {
  margin-top: 12px;
}

.provider-check-grid {
  margin-bottom: 14px;
}

.bottom-actions {
  justify-content: center;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section,
  .wizard-header,
  .results-hero,
  .roadmap-panel {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 8px;
  }

  .goal-grid,
  .compact-grid,
  .principles-grid,
  .provider-check-grid,
  .stack-grid,
  .guidance-strip {
    grid-template-columns: 1fr;
  }

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

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

  .quality-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 14px;
  }

  .brand-button small {
    display: none;
  }

  .locale-pill {
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    font-size: 12px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    overflow: visible;
  }

  .main-nav button {
    width: 100%;
  }

  main {
    width: calc(100vw - 36px);
    max-width: 354px;
    margin-left: 18px;
    margin-right: auto;
    padding: 20px 0 56px;
  }

  .hero-copy h1,
  .wizard-header h1,
  .results-hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 34px;
    line-height: 1.04;
  }

  .hero-copy p,
  .wizard-header p,
  .results-hero p {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 15px;
  }

  .eyebrow {
    width: 100%;
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  .section-heading h2,
  .roadmap-copy h2 {
    font-size: 27px;
  }

  .provider-rail,
  .budget-grid,
  .checklist-grid,
  .score-strip,
  .channel-row,
  .stepper,
  .segmented {
    grid-template-columns: 1fr;
  }

  .goal-card {
    min-height: 160px;
  }

  .wizard-actions,
  .selection-bar,
  .preview-topline,
  .stack-heading,
  .rec-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .wizard-actions .primary-action,
  .wizard-actions .ghost-action,
  .hero-actions .primary-action,
  .hero-actions .ghost-action,
  .selection-bar .primary-action {
    width: 100%;
  }
}

/* Focused visual polish layer */
:root {
  --bg: #fbfaf7;
  --bg-soft: #f7f8fa;
  --surface: #ffffff;
  --surface-warm: #fff7ed;
  --text: #162033;
  --muted: #6c7180;
  --soft: #42526a;
  --line: #d8e1e8;
  --line-strong: #b9c8d3;
  --violet: #0b3558;
  --violet-deep: #082944;
  --violet-soft: #e9f1f7;
  --cyan: #119da4;
  --cyan-soft: #e7f8fa;
  --orange: #ff7a00;
  --orange-soft: #fff0df;
  --shadow: 0 26px 70px rgba(11, 53, 88, 0.13);
  --shadow-soft: 0 16px 42px rgba(11, 53, 88, 0.09);
  --shadow-violet: 0 22px 48px rgba(255, 122, 0, 0.18);
}

body {
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.98) 0%, rgba(247, 248, 250, 0.98) 48%, rgba(231, 248, 250, 0.72) 100%),
    linear-gradient(115deg, rgba(255, 122, 0, 0.08), transparent 38%),
    linear-gradient(245deg, rgba(17, 157, 164, 0.1), transparent 42%),
    var(--bg);
}

.site-header {
  min-height: 70px;
  border-bottom-color: rgba(216, 225, 232, 0.78);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(11, 53, 88, 0.05);
}

.brand-logo {
  filter: drop-shadow(0 13px 18px rgba(11, 53, 88, 0.12));
}

.main-nav button {
  color: #333b50;
}

.locale-pill {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 20px rgba(30, 22, 10, 0.04);
}

main {
  max-width: 1220px;
  padding-top: 20px;
}

.hero-section {
  position: relative;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.68fr);
  gap: clamp(28px, 5vw, 58px);
  min-height: min(760px, calc(100vh - 92px));
  padding: clamp(34px, 7vh, 78px) 0 clamp(38px, 7vh, 72px);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 18px -22px auto auto;
  width: min(46vw, 540px);
  height: min(34vw, 390px);
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(118, 81, 232, 0.18), transparent 62%),
    linear-gradient(42deg, rgba(24, 191, 208, 0.17), transparent 58%);
  clip-path: polygon(18% 8%, 100% 0, 92% 74%, 38% 100%, 0 72%);
  opacity: 0.7;
  z-index: -1;
}

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

.hero-copy h1 {
  max-width: 720px;
  color: #091123;
  font-size: clamp(56px, 7.2vw, 92px);
  line-height: 0.94;
}

.hero-copy p {
  max-width: 660px;
  margin-top: 24px;
  font-size: clamp(17px, 1.45vw, 20px);
  color: #3d465c;
}

.eyebrow {
  gap: 9px;
  margin-bottom: 16px;
  color: var(--violet-deep);
  letter-spacing: 0;
}

.eyebrow svg {
  color: var(--violet);
}

.hero-actions {
  gap: 14px;
  margin-top: 32px;
}

.primary-action,
.ghost-action,
.rec-link {
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-action {
  min-height: 48px;
  padding-inline: 20px;
  border-color: rgba(255, 122, 0, 0.48);
  background:
    linear-gradient(135deg, #ff8a18 0%, #ff6a00 82%, #ffb04d 140%);
  box-shadow: var(--shadow-violet);
}

.primary-action:hover,
.goal-card:hover,
.recommendation-card:hover,
.rec-link:hover {
  transform: translateY(-2px);
}

.ghost-action {
  min-height: 48px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(30, 22, 10, 0.06);
}

.smart-preview {
  position: relative;
  gap: 18px;
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(255, 247, 234, 0.9) 48%, rgba(233, 251, 253, 0.9)),
    #ffffff;
  box-shadow: 0 30px 80px rgba(35, 26, 12, 0.16);
}

.smart-preview::before {
  content: "";
  position: absolute;
  inset: -8px 22px auto 22px;
  height: 8px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.preview-topline strong {
  color: #16724a;
}

.mini-stack > div {
  padding: 15px;
  border-color: rgba(234, 218, 193, 0.9);
  box-shadow: 0 10px 24px rgba(30, 22, 10, 0.05);
}

.mini-stack > div.active {
  border-color: rgba(24, 191, 208, 0.5);
  background:
    linear-gradient(135deg, rgba(233, 251, 253, 0.95), rgba(255, 255, 255, 0.96));
  box-shadow: 0 16px 32px rgba(24, 191, 208, 0.12);
}

.score-strip span {
  background:
    linear-gradient(135deg, #0c1426, #17213a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.question-section,
.how-section,
.resources-section,
.wizard-shell,
.provider-status {
  padding-block: clamp(28px, 5vw, 52px);
}

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

.section-heading h2,
.roadmap-copy h2 {
  color: #0b1324;
}

.goal-grid {
  gap: 16px;
}

.goal-card {
  position: relative;
  min-height: 184px;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
  border-color: rgba(234, 218, 193, 0.86);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.86)),
    #ffffff;
  box-shadow: 0 16px 38px rgba(30, 22, 10, 0.075);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.goal-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(118, 81, 232, 0.2), rgba(24, 191, 208, 0.42));
}

.goal-card:hover,
.goal-card.selected {
  border-color: rgba(118, 81, 232, 0.46);
  background:
    linear-gradient(145deg, #ffffff, rgba(240, 233, 255, 0.78) 62%, rgba(233, 251, 253, 0.7));
  box-shadow: 0 24px 52px rgba(74, 51, 155, 0.14);
}

.goal-card strong {
  max-width: 92%;
  font-size: 18px;
  line-height: 1.16;
}

.goal-card p {
  max-width: 95%;
  font-size: 14px;
}

.goal-card small {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(240, 233, 255, 0.74);
  color: var(--violet-deep);
  font-size: 12px;
}

.goal-icon {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 251, 253, 1), rgba(255, 255, 255, 0.82));
  box-shadow: 0 10px 20px rgba(24, 191, 208, 0.12);
}

.selection-bar,
.principles-grid article,
.provider-check,
.wizard-card,
.roadmap-panel,
.stack-section,
.result-summary {
  border-color: rgba(234, 218, 193, 0.82);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.wizard-header,
.results-hero {
  margin-bottom: 22px;
}

.wizard-header h1,
.results-hero h1 {
  color: #091123;
}

.stepper {
  gap: 12px;
  margin-bottom: 18px;
}

.stepper button {
  min-height: 54px;
  border-color: rgba(234, 218, 193, 0.9);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(30, 22, 10, 0.045);
}

.stepper button.active,
.stepper button.done {
  border-color: rgba(118, 81, 232, 0.42);
  background: linear-gradient(135deg, rgba(240, 233, 255, 0.95), rgba(255, 255, 255, 0.9));
}

.stepper button.active span,
.stepper button.done span {
  background: var(--violet);
  color: white;
}

.wizard-card {
  padding: clamp(18px, 3vw, 28px);
}

.selected-goal-panel {
  border-color: rgba(24, 191, 208, 0.28);
  background: linear-gradient(135deg, rgba(233, 251, 253, 0.72), rgba(255, 253, 248, 0.94));
}

.check-card,
.budget-card,
.channel-toggle,
.quality-row,
.segmented label {
  border-color: rgba(234, 218, 193, 0.88);
  box-shadow: 0 8px 20px rgba(30, 22, 10, 0.045);
}

.check-card:hover,
.budget-card:hover,
.channel-toggle:hover,
.segmented label:hover {
  border-color: rgba(118, 81, 232, 0.34);
}

.budget-card.selected,
.segmented label.selected {
  box-shadow: 0 14px 30px rgba(118, 81, 232, 0.12);
}

.helper-message,
.not-yet {
  border-color: rgba(238, 154, 61, 0.28);
  background: rgba(255, 240, 217, 0.72);
  color: #70410e;
}

.results-hero {
  padding: 26px;
  border: 1px solid rgba(234, 218, 193, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 233, 255, 0.62) 58%, rgba(233, 251, 253, 0.72));
  box-shadow: var(--shadow-soft);
}

.result-summary {
  border-color: rgba(118, 81, 232, 0.18);
}

.guidance-strip span {
  border-color: rgba(24, 191, 208, 0.3);
  background: linear-gradient(135deg, rgba(233, 251, 253, 0.95), rgba(234, 248, 239, 0.86));
}

.stack-section {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.stack-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.stack-heading h2 {
  font-size: 23px;
}

.keep-card,
.recommendation-card {
  border-color: rgba(234, 218, 193, 0.88);
  box-shadow: 0 10px 24px rgba(30, 22, 10, 0.045);
}

.recommendation-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.recommendation-card:hover {
  border-color: rgba(118, 81, 232, 0.28);
  box-shadow: 0 18px 38px rgba(30, 22, 10, 0.08);
}

.recommendation-card.free {
  border-color: rgba(24, 191, 208, 0.28);
  background: linear-gradient(135deg, #ffffff, rgba(233, 251, 253, 0.82));
}

.category-pill,
.provider-badge,
.free-badge,
.score-badge,
.smart-pick,
.checks-row span {
  letter-spacing: 0;
}

.provider-badge {
  background: rgba(240, 233, 255, 0.86);
}

.free-badge {
  background: rgba(233, 251, 253, 0.94);
}

.score-badge {
  background: #0c1426;
}

.rec-link {
  box-shadow: 0 10px 22px rgba(118, 81, 232, 0.09);
}

.checks-row span {
  background: rgba(255, 253, 248, 0.9);
  color: #5c6374;
}

.roadmap-panel {
  padding: 22px;
  border-color: rgba(24, 191, 208, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 251, 253, 0.76) 58%, rgba(255, 240, 217, 0.42));
}

.roadmap-data[hidden] {
  display: none;
}

.provider-status .section-heading p {
  max-width: 680px;
}

.provider-check {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.9));
}

.trust-page {
  display: grid;
  gap: 22px;
  padding: clamp(30px, 5vw, 58px) 0;
}

.trust-hero {
  max-width: 860px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(234, 218, 193, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 233, 255, 0.58) 58%, rgba(233, 251, 253, 0.68));
  box-shadow: var(--shadow-soft);
}

.trust-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #091123;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 0.98;
}

.trust-hero p {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.6;
}

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

.trust-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(234, 218, 193, 0.86);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.86)),
    #ffffff;
  box-shadow: 0 16px 38px rgba(30, 22, 10, 0.075);
}

.trust-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--cyan-soft);
  color: #0c8190;
}

.trust-card:nth-child(2n) > span {
  background: var(--violet-soft);
  color: var(--violet-deep);
}

.trust-card:nth-child(3n) > span {
  background: var(--orange-soft);
  color: #a45a12;
}

.trust-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.18;
}

.trust-card p,
.trust-note p {
  margin: 0;
  color: var(--soft);
  line-height: 1.55;
}

.trust-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(24, 191, 208, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(233, 251, 253, 0.86), rgba(255, 253, 248, 0.94));
  box-shadow: var(--shadow-soft);
}

.trust-note > svg {
  color: var(--violet);
}

.trust-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 17px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.4fr) auto;
  gap: 20px;
  align-items: center;
  width: calc(100% - 32px);
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(234, 218, 193, 0.78);
  color: var(--soft);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: var(--text);
  font-size: 18px;
}

.footer-brand span,
.footer-language span {
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
}

.footer-links a {
  padding: 4px 0;
  color: var(--soft);
  font-size: 13px;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--violet-deep);
}

.footer-language {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.footer-language select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--soft);
  padding: 0 10px;
}

@media (min-width: 981px) {
  .smart-preview {
    transform: translateY(10px) rotate(0.4deg);
  }

  .question-section {
    padding-top: 18px;
  }
}

@media (max-width: 980px) {
  main {
    padding-top: 18px;
  }

  .hero-section,
  .wizard-header,
  .results-hero,
  .roadmap-panel {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 28px;
    padding-top: 24px;
  }

  .hero-section::before {
    width: 82vw;
    height: 280px;
    opacity: 0.45;
  }

  .smart-preview {
    max-width: 640px;
  }

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

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

  .trust-row-item:nth-child(3) {
    border-left: 0;
  }

  .compact-grid,
  .stack-grid,
  .guidance-strip,
  .principles-grid,
  .provider-check-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .footer-language {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  body {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 238, 0.98) 52%, rgba(247, 252, 253, 0.95)),
      var(--bg);
  }

  .site-header {
    min-height: 0;
    gap: 10px;
    padding: 14px 18px 12px;
  }

  .brand-button {
    width: fit-content;
  }

  .brand-logo {
    width: min(190px, 58vw);
  }

  .main-nav {
    gap: 8px;
  }

  .main-nav a,
  .main-nav button {
    min-height: 34px;
    padding-inline: 10px;
    background: rgba(255, 255, 255, 0.62);
  }

  main {
    width: calc(100vw - 32px);
    max-width: none;
    margin-inline: 16px;
    padding-top: 18px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px 0 30px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 10.6vw, 46px);
    line-height: 0.98;
  }

  .hero-copy p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .smart-preview {
    gap: 13px;
    padding: 16px;
  }

  .preview-topline {
    gap: 6px;
  }

  .mini-stack {
    gap: 8px;
  }

  .mini-stack > div {
    padding: 12px;
  }

  .score-strip {
    gap: 8px;
  }

  .question-section,
  .how-section,
  .resources-section,
  .wizard-shell,
  .provider-status {
    padding-block: 28px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .goal-grid,
  .compact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .goal-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    gap: 6px 12px;
    padding: 14px;
  }

  .goal-card .goal-icon {
    grid-row: 1 / 4;
    width: 42px;
    height: 42px;
  }

  .goal-card strong {
    max-width: 100%;
    font-size: 16px;
  }

  .goal-card p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.42;
  }

  .goal-card small {
    margin-top: 2px;
    padding: 0;
    background: transparent;
  }

  .goal-card::after {
    width: 34px;
    right: 14px;
    bottom: 12px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    margin-top: 22px;
    border-radius: 16px;
  }

  .trust-social,
  .trust-row-item {
    min-height: 0;
    padding: 16px;
  }

  .trust-row-item {
    border-top: 1px solid rgba(216, 225, 232, 0.72);
    border-left: 0;
  }

  .selection-bar {
    gap: 12px;
    padding: 14px;
  }

  .wizard-header,
  .results-hero {
    gap: 14px;
    padding: 18px;
  }

  .wizard-header h1,
  .results-hero h1 {
    font-size: clamp(32px, 9vw, 38px);
  }

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

  .stepper button {
    min-height: 46px;
    padding: 8px;
    font-size: 13px;
  }

  .stepper span {
    width: 24px;
    height: 24px;
  }

  .wizard-card {
    padding: 16px;
  }

  .checklist-grid,
  .budget-grid,
  .channel-row,
  .segmented {
    grid-template-columns: 1fr;
  }

  .budget-card {
    min-height: 116px;
  }

  .quality-row {
    gap: 10px;
    padding: 12px;
  }

  .stack-section,
  .roadmap-panel {
    padding: 16px;
  }

  .recommendation-card,
  .keep-card {
    padding: 12px;
  }

  .rec-top,
  .rec-footer,
  .rec-meta {
    gap: 8px;
  }

  .trust-page {
    gap: 16px;
    padding: 22px 0 34px;
  }

  .trust-hero {
    padding: 18px;
  }

  .trust-hero h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .trust-hero p {
    font-size: 16px;
    line-height: 1.55;
  }

  .trust-card {
    min-height: 0;
    padding: 14px;
  }

  .trust-card h2 {
    font-size: 18px;
  }

  .site-footer {
    width: calc(100vw - 32px);
    margin-inline: 16px;
    padding: 22px 0 30px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

/* SetupBudget homepage final template overrides */
.site-header {
  grid-template-columns: auto 1fr auto;
  width: min(1480px, calc(100vw - 48px));
  min-height: 64px;
  margin: 18px auto 0;
  padding: 10px 28px;
  border: 1px solid rgba(216, 225, 232, 0.95);
  border-radius: 14px 14px 0 0;
  background: rgba(255, 255, 255, 0.96);
}

.brand-button {
  flex-direction: row;
}

.brand-logo {
  width: clamp(154px, 13vw, 210px);
}

.main-nav {
  gap: clamp(12px, 2vw, 30px);
}

.main-nav a,
.main-nav button {
  padding: 0;
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 800;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.login-link {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--violet-deep);
  font-weight: 850;
}

.header-cta {
  min-height: 40px;
  padding-inline: 22px;
}

main {
  width: min(1340px, calc(100vw - 48px));
  max-width: none;
  padding: 18px 0 0;
}

.hero-section {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.78fr);
  gap: clamp(44px, 7vw, 86px);
  align-items: center;
  min-height: 520px;
  padding: 38px clamp(32px, 5vw, 72px) 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.hero-section::before {
  display: none;
}

.hero-watermark {
  position: absolute;
  left: -12px;
  top: 36px;
  width: min(330px, 30vw);
  opacity: 0.055;
  pointer-events: none;
  transform: rotate(-10deg);
}

.hero-copy h1 {
  max-width: 640px;
  color: var(--violet-deep);
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1.05;
}

.accent-orange {
  color: var(--orange);
}

.hero-copy p {
  max-width: 560px;
  color: #344766;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 850;
}

.setup-plan-preview {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(216, 225, 232, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(11, 53, 88, 0.13);
}

.plan-preview-header,
.budget-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan-preview-header span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-deep);
  font-weight: 900;
}

.plan-preview-header small,
.budget-summary small {
  display: block;
  margin-top: 6px;
  color: #66758f;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.plan-preview-list {
  display: grid;
  border: 1px solid rgba(216, 225, 232, 0.9);
  border-radius: 10px;
  overflow: hidden;
}

.plan-preview-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px 14px;
  background: #fff;
}

.plan-preview-list article + article {
  border-top: 1px solid rgba(216, 225, 232, 0.84);
}

.plan-row-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #f4f7fa;
  color: var(--violet-deep);
}

.plan-preview-list small {
  color: #66758f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-preview-list strong {
  display: block;
  color: var(--violet-deep);
  font-size: 14px;
}

.plan-preview-list p {
  margin: 3px 0 0;
  color: #40516e;
  font-size: 12px;
}

.plan-preview-list aside {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.plan-preview-list em {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: #087b86;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.budget-summary span {
  flex: 1;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5ee;
}

.budget-summary i {
  display: block;
  width: 52%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
}

.budget-summary button {
  min-height: 40px;
  padding-inline: 18px;
  border: 0;
  border-radius: 8px;
  background: var(--violet-deep);
  color: white;
  font-weight: 900;
}

.category-panel,
.home-trust-section,
.planning-section,
.final-cta {
  width: min(1180px, calc(100vw - 72px));
  margin: 28px auto 0;
}

.category-panel {
  padding: 16px 20px 20px;
  border: 1px solid rgba(216, 225, 232, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(11, 53, 88, 0.08);
}

.category-panel h2,
.home-trust-section h2 {
  margin: 0 0 16px;
  color: var(--violet-deep);
  font-size: 24px;
  text-align: center;
}

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

.home-category-card {
  display: grid;
  gap: 10px;
  min-height: 86px;
  place-items: center;
  padding: 14px 10px;
  border: 1px solid rgba(216, 225, 232, 0.95);
  border-radius: 10px;
  background: #fff;
  color: var(--violet-deep);
  box-shadow: 0 10px 24px rgba(11, 53, 88, 0.045);
  text-align: center;
}

.home-trust-grid,
.planning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.home-trust-grid article,
.planning-grid article {
  display: flex;
  gap: 14px;
  min-height: 102px;
  padding: 18px;
  border: 1px solid rgba(216, 225, 232, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.planning-grid article {
  display: grid;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #082944, #0b3558);
  color: white;
}

.final-cta h2 {
  margin: 0;
  color: white;
  font-size: 32px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr auto;
  gap: 34px;
  align-items: start;
  width: min(1480px, calc(100vw - 48px));
  margin: 28px auto 24px;
  padding: 26px 34px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(135deg, #082944, #0b3558);
  color: white;
}

.footer-logo {
  width: 160px;
  height: auto;
}

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

.footer-columns div {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-links button {
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 13px;
}

.footer-newsletter label {
  display: flex;
  margin-top: 12px;
}

.footer-newsletter input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px 0 0 8px;
}

.footer-newsletter button {
  min-height: 42px;
  padding-inline: 18px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: var(--orange);
  color: white;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(430px, calc(100vw - 28px));
    padding: 10px 14px;
  }

  .brand-logo {
    width: 166px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .login-link,
  .header-cta,
  .header-actions .language-picker {
    display: none;
  }

  .header-actions::after {
    content: "☰";
    color: var(--violet-deep);
    font-size: 26px;
  }

  main {
    width: min(430px, calc(100vw - 28px));
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding: 34px 18px 22px;
  }

  .hero-watermark {
    left: auto;
    right: -34px;
    top: 26px;
    width: 180px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 9.2vw, 46px);
  }

  .hero-actions {
    display: grid;
    gap: 8px;
  }

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

  .setup-plan-preview {
    padding: 14px;
  }

  .plan-preview-list article {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    padding: 13px 10px;
  }

  .plan-row-icon {
    width: 30px;
    height: 30px;
  }

  .plan-preview-list em {
    display: none;
  }

  .budget-summary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .category-panel,
  .home-trust-section,
  .planning-section,
  .final-cta {
    width: min(430px, calc(100vw - 28px));
    margin-top: 22px;
  }

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

  .home-category-card {
    min-height: 74px;
    padding: 10px 6px;
  }

  .home-category-card strong {
    font-size: 10px;
  }

  .home-trust-grid,
  .planning-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    display: grid;
    padding: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: min(430px, calc(100vw - 28px));
    gap: 22px;
    padding: 24px 22px;
  }

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

  .footer-newsletter label {
    display: grid;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    border-radius: 8px;
  }
}
