:root {
  --ink: #1d2930;
  --muted: #5f6e75;
  --paper: #fffaf2;
  --panel: #ffffff;
  --soft: #edf5f1;
  --line: #d9e1dd;
  --accent: #df6f45;
  --accent-dark: #a34627;
  --green: #658f80;
  --blue: #526f9d;
  --shadow: 0 18px 42px rgba(29, 41, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.review-banner {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.theme-toggle {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 42px;
  align-items: center;
  padding: 70px 0 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

h3 {
  font-size: 1.25rem;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-art {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: #f2f6f3;
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.look-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(29, 41, 48, 0.08);
  backdrop-filter: blur(12px);
}

.look-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 14px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.look-choice span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 0.8rem;
}

.look-choice.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

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

.option-card,
.signoff-box,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(29, 41, 48, 0.08);
}

.option-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  overflow: hidden;
  transition: box-shadow 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.option-card.is-selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(29, 41, 48, 0.14), var(--shadow);
  transform: translateY(-2px);
}

.option-label {
  padding: 10px 16px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.refresh .option-label {
  background: var(--accent);
}

.search .option-label {
  background: var(--green);
}

.aio .option-label {
  background: var(--blue);
}

.option-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.look-preview {
  display: grid;
  gap: 8px;
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8faf9;
}

.look-preview span {
  display: block;
  border-radius: 6px;
}

.look-warm .look-preview {
  grid-template-columns: 1fr 0.72fr;
  background: #fff4e8;
}

.look-warm .look-preview span:nth-child(1) {
  grid-column: 1 / -1;
  height: 34px;
  background: #df6f45;
}

.look-warm .look-preview span:nth-child(2) {
  height: 58px;
  background: #f2d1ad;
}

.look-warm .look-preview span:nth-child(3) {
  height: 58px;
  background: #f8e5d1;
}

.look-studio .look-preview {
  grid-template-columns: 0.78fr 1fr;
  background: #eef6f2;
}

.look-studio .look-preview span:nth-child(1) {
  height: 102px;
  background: #1d2930;
}

.look-studio .look-preview span:nth-child(2) {
  height: 46px;
  background: #658f80;
}

.look-studio .look-preview span:nth-child(3) {
  height: 46px;
  background: #d7e8e1;
}

.look-advisor .look-preview {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  background: #f3f5fa;
}

.look-advisor .look-preview span:nth-child(1) {
  height: 96px;
  background: #526f9d;
}

.look-advisor .look-preview span:nth-child(2) {
  height: 72px;
  background: #a9bbd5;
}

.look-advisor .look-preview span:nth-child(3) {
  height: 48px;
  background: #d7deea;
}

.option-body p,
.option-body li,
.policy-card p,
.policy-card li {
  color: var(--muted);
}

.option-body ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 19px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

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

.offer-list p {
  margin: 0;
  color: var(--muted);
}

.offer-list strong {
  color: var(--ink);
}

.signoff-box {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(260px, 1fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 5vw, 50px);
}

.signoff-box h2 {
  max-width: 10ch;
  margin-bottom: 0;
}

.signoff-box .button {
  justify-self: end;
  width: min(100%, 420px);
  min-width: 0;
  min-height: 58px;
  padding: 0 26px;
  text-align: center;
  overflow-wrap: anywhere;
  line-height: 1.1;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.policy-layout {
  max-width: 820px;
  padding: 58px 0;
}

.policy-card {
  padding: 26px;
}

.site-demo .demo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: center;
  padding: 70px 0;
}

.demo-panel,
.demo-cards article,
.studio-services article,
.advisor-table div,
.advisor-checklist {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(29, 41, 48, 0.08);
}

.demo-panel {
  padding: 28px;
}

.demo-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.demo-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.demo-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.demo-cards,
.studio-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.demo-cards article,
.studio-services article {
  padding: 22px;
}

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

.work-steps article {
  border-top: 2px solid var(--line);
  padding-top: 18px;
}

.work-steps span {
  color: var(--accent-dark);
  font-weight: 900;
}

.work-steps h3 {
  margin: 8px 0 10px;
}

.work-steps p {
  color: var(--muted);
}

.demo-cards h2,
.studio-services h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.demo-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.savings-layout,
.about-layout,
.budget-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.savings-list,
.about-copy,
.budget-list {
  display: grid;
  gap: 14px;
}

.savings-list p,
.about-copy p,
.budget-list p {
  margin: 0;
  color: var(--muted);
}

.savings-list strong,
.budget-list strong {
  color: var(--ink);
}

.friendly-demo {
  --paper: #fff8ee;
  --soft: #f7eadb;
}

html[data-theme="night"] body {
  background: #111a20;
  color: #f7fbf8;
}

html[data-theme="night"] body,
html[data-theme="night"] .friendly-demo,
html[data-theme="night"] .studio-demo,
html[data-theme="night"] .advisor-demo {
  --ink: #f7fbf8;
  --muted: #c0cbd0;
  --paper: #111a20;
  --panel: #18242c;
  --soft: #20313a;
  --line: #34454e;
  --accent-dark: #f0a56f;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

html[data-theme="night"] .topbar,
html[data-theme="night"] .review-banner {
  background: rgba(17, 26, 32, 0.96);
  color: #f7fbf8;
}

html[data-theme="night"] .section.alt,
html[data-theme="night"] .studio-band {
  background: #162129;
}

html[data-theme="night"] .look-choice span {
  background: #f7fbf8;
  color: #18242c;
}

html[data-theme="night"] .look-choice.is-selected,
html[data-theme="night"] .button {
  background: #f7fbf8;
  color: #111a20;
}

html[data-theme="night"] .button.secondary {
  background: transparent;
  color: #f7fbf8;
}

html[data-theme="night"] .dark-demo-topbar {
  background: rgba(17, 26, 32, 0.96);
}

.warm-note {
  background: #fff2df;
}

.studio-demo {
  --paper: #f7f8f6;
  --ink: #151f25;
  --accent-dark: #4e7d6f;
}

.dark-demo-topbar {
  background: rgba(21, 31, 37, 0.94);
  color: #fff;
}

.dark-demo-topbar .nav,
.dark-demo-topbar .brand {
  color: #fff;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  min-height: 340px;
}

.studio-grid span {
  border-radius: 8px;
  background: #151f25;
}

.studio-grid span:nth-child(2),
.studio-grid span:nth-child(3) {
  background: #88ad9e;
}

.studio-grid span:nth-child(1) {
  grid-row: span 2;
}

.studio-band {
  background: #151f25;
  color: #fff;
}

.studio-services article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.studio-services span {
  color: #9fc7b7;
  font-weight: 900;
}

.studio-services p {
  color: rgba(255, 255, 255, 0.72);
}

.advisor-demo {
  --paper: #f7f8fb;
  --accent-dark: #486895;
}

.advisor-checklist {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.advisor-checklist span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.advisor-checklist span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--blue);
}

.advisor-table {
  display: grid;
  gap: 10px;
}

.advisor-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 18px;
}

.advisor-table span {
  color: var(--muted);
}

@media (max-width: 820px) {
  .review-banner,
  .topbar-inner,
  .topbar-actions,
  .footer-inner,
  .signoff-box,
  .section-head {
    display: grid;
  }

  .hero,
  .look-picker,
  .chooser-grid,
  .site-demo .demo-hero,
  .demo-cards,
  .studio-services,
  .work-steps,
  .demo-split,
  .savings-layout,
  .about-layout,
  .budget-layout {
    grid-template-columns: 1fr;
  }

  .look-picker {
    position: static;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    max-width: 9ch;
  }

  .signoff-box {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .signoff-box h2 {
    max-width: 12ch;
  }

  .signoff-box .button {
    justify-self: stretch;
    width: 100%;
  }

  .advisor-table div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .signoff-box {
    padding: 24px 18px;
  }

  .signoff-box h2 {
    max-width: 11ch;
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .signoff-box .button {
    min-height: 54px;
    padding: 0 14px;
    font-size: 0.95rem;
  }
}
