:root {
  --color-primary: #6F30D8;
  --color-on-primary: oklch(99% 0 0);
  --color-primary-container: oklch(93% 0.035 265);
  --color-on-primary-container: oklch(25% 0.03 265);

  --color-surface: oklch(99% 0.004 265);
  --color-surface-container-low: oklch(97% 0.006 265);
  --color-surface-container: oklch(95% 0.008 265);
  --color-surface-container-high: oklch(93% 0.01 265);
  --color-surface-container-highest: oklch(90% 0.012 265);

  --color-on-surface: oklch(19% 0.015 265);
  --color-on-surface-variant: oklch(42% 0.015 265);

  --color-success: oklch(58% 0.16 150);
  --color-warning: oklch(58% 0.14 85);

  --shadow-1: 0 1px 2px oklch(20% 0.01 265 / 0.3);
  --shadow-2: 0 1px 3px oklch(20% 0.01 265 / 0.3), 0 4px 8px 3px oklch(20% 0.01 265 / 0.15);
  --shadow-3: 0 4px 8px 3px oklch(20% 0.01 265 / 0.18), 0 1px 3px oklch(20% 0.01 265 / 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#features,
#solutions,
#cta {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: 'Roboto', system-ui, sans-serif;
  background: var(--color-surface);
  color: var(--color-on-surface);
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

::selection {
  background: oklch(85% 0.05 265);
}

a {
  color: inherit;
}

h1, h2 {
  font-family: 'Fraunces', 'Poppins', 'Roboto', system-ui, sans-serif;
}

/* Buttons */
.btn {
  border: none;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 12px 24px;
  font-size: 14px;
  box-shadow: var(--shadow-1);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
  box-shadow: var(--shadow-2);
}

.btn--outline {
  background: oklch(100% 0 0);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 11px 24px;
  font-size: 14px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  row-gap: 12px;
  padding: 16px 64px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(100% 0 0);
  box-shadow: 0 1px 2px oklch(20% 0.01 265 / 0.08), 0 2px 12px oklch(20% 0.01 265 / 0.06);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, oklch(52% 0.2 275), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark--sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.nav__logo {
  height: 44px;
  width: auto;
  display: block;
}

.nav__wordmark {
  font-family: 'Poppins', 'Roboto', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  row-gap: 10px;
}

.nav__links a {
  color: var(--color-on-surface-variant);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.nav__cta--desktop {
  display: inline-flex;
}

.nav__links .nav__cta {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: oklch(18% 0.02 265);
  transition: transform 0.2s, opacity 0.2s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 88px 64px 140px;
  overflow: visible;
  background: linear-gradient(120deg, oklch(90% 0.045 290) 0%, oklch(95% 0.025 280) 35%, oklch(96% 0.03 95) 70%, oklch(97% 0.035 90) 100%);
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.hero__copy {
  flex: 1;
  min-width: 340px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: oklch(100% 0 0);
  color: var(--color-on-primary-container);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-1);
}

.hero__title {
  font-family: 'Fraunces', 'Poppins', 'Roboto', system-ui, sans-serif;
  font-size: 56px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  color: oklch(15% 0.03 270);
}

.accent {
  font-weight: 800;
  font-style: italic;
  color: var(--color-primary);
}

.hero__title .accent {
  white-space: nowrap;
}

.hero__subcopy {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-on-surface-variant);
  max-width: 480px;
  margin: 0 0 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-on-surface-variant);
  font-size: 14px;
}

.hero__visual {
  flex: 1;
  min-width: 340px;
  position: relative;
  overflow: visible;
}

.browser-card-photo {
  display: block;
  width: 100%;
  height: auto;
}

.browser-card__screenshot {
  display: block;
  width: 100%;
  height: auto;
}

/* Browser mockup */
.browser-card {
  border-radius: 28px;
  background: oklch(100% 0 0);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  border: 1px solid var(--color-surface-container-highest);
}

.browser-card--small {
  border-radius: 24px;
  box-shadow: 0 4px 8px 3px oklch(20% 0.01 265 / 0.15);
}

.browser-card__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--color-surface-container);
  border-bottom: 1px solid var(--color-surface-container-highest);
}

.browser-card__chrome--small {
  padding: 12px 16px;
  background: var(--color-surface-container-low);
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-surface-container-highest);
  display: inline-block;
}

.dot--sm {
  width: 9px;
  height: 9px;
}

.dot--red {
  background: #ff5f57;
}

.dot--yellow {
  background: #ffbd2e;
}

.dot--green {
  background: #28c840;
}

.dot--success {
  background: var(--color-success);
}

.browser-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.browser-card__body--cta {
  padding: 22px;
  gap: 12px;
}

.browser-card__row {
  display: flex;
  gap: 18px;
}

.skeleton-block {
  border-radius: 16px;
  background: var(--color-surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skeleton-block--icon {
  flex: 1.1;
  height: 150px;
}

.skeleton-block--tall {
  height: 130px;
  border-radius: 14px;
}

.skeleton-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.skeleton-bar {
  border-radius: 5px;
  background: var(--color-surface-container-high);
}

.skeleton-bar--pill {
  border-radius: 100px;
  background: var(--color-primary);
  height: 22px;
  margin-top: 6px;
}

.browser-card__thumbs {
  display: flex;
  gap: 14px;
}

.thumb {
  flex: 1;
  height: 78px;
  border-radius: 12px;
  background: var(--color-surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Score card */
.score-card {
  position: absolute;
  right: -24px;
  bottom: -32px;
  width: 220px;
  background: oklch(100% 0 0);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.score-gauge {
  position: relative;
  width: 112px;
  height: 112px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.score-gauge--reveal {
  opacity: 0;
  transform: scale(0.82);
}

.score-gauge__svg {
  transform: rotate(-90deg);
}

.score-gauge__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-gauge__label span:first-child {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.score-gauge__unit {
  font-size: 11px;
  color: var(--color-on-surface-variant);
}

.score-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-on-surface);
  margin-top: 4px;
}

.score-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: oklch(35% 0.14 150);
  background: oklch(94% 0.05 150);
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 4px;
}

/* Section title */
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0 0 56px;
  color: oklch(18% 0.02 265);
}

.solutions__eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 12px;
}

.solutions .section-title {
  margin-bottom: 16px;
}

.solutions__subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--color-on-surface-variant);
  max-width: 560px;
  margin: 0 auto 56px;
}

/* Trust bar */
.trust-bar {
  background: oklch(100% 0 0);
  border-bottom: 1px solid var(--color-surface-container-highest);
  padding: 28px 64px;
}

.trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-bar__label {
  font-size: 14px;
  color: var(--color-on-surface-variant);
  white-space: nowrap;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}

.trust-bar__logo {
  display: flex;
  align-items: center;
}

.trust-bar__logo svg {
  height: 22px;
  width: auto;
  display: block;
}

.trust-bar__logo--gemini {
  color: oklch(25% 0.01 265);
}

/* Features */
.features {
  background: #FFF9E8;
  padding: 88px 64px;
}

.features__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: oklch(100% 0 0);
  border-radius: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: 0 4px 8px 3px oklch(20% 0.01 265 / 0.15);
  transform: translateY(-4px);
}

.feature-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__icon svg {
  width: 40px;
  height: 40px;
}

.feature-card__title {
  font-size: 16px;
  font-weight: 600;
  color: oklch(18% 0.02 265);
}

.feature-card--featured {
  grid-row: span 2;
  padding: 32px 28px;
}

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  background: var(--color-primary-container);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
}

.feature-card__title--large {
  font-family: 'Fraunces', 'Poppins', 'Roboto', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.feature-card--featured .feature-card__desc {
  font-size: 15px;
}

.feature-card__ai-chip {
  margin-top: auto;
  align-self: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: oklch(100% 0 0);
  border-radius: 20px;
  padding: 20px 12px;
  box-shadow: 0 8px 24px oklch(20% 0.02 265 / 0.12);
}

.feature-card__ai-chip-label {
  font-size: 14px;
  font-weight: 700;
  color: oklch(18% 0.02 265);
}

.feature-card__ai-chip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feature-card__ai-chip-logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.feature-card__ai-chip-logo svg {
  height: 15px;
  width: auto;
  display: block;
}

.feature-card__ai-chip-name {
  font-size: 11px;
  font-weight: 600;
  color: oklch(18% 0.02 265);
  white-space: nowrap;
}

.feature-card__ai-chip-logo--gemini {
  color: oklch(25% 0.01 265);
}

.feature-card__ai-chip-divider {
  width: 1px;
  height: 14px;
  background: var(--color-surface-container-highest);
  flex-shrink: 0;
}

.feature-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-on-surface-variant);
}

/* Features — hero-matched styling */
.features .section-title {
  font-family: 'Fraunces', 'Poppins', 'Roboto', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -1px;
  color: oklch(15% 0.03 270);
}

.features .feature-card__title {
  font-family: 'Poppins', 'Roboto', system-ui, sans-serif;
  font-weight: 700;
  color: oklch(15% 0.03 270);
}

/* Solutions */
.solutions {
  padding: 96px 64px;
  max-width: 1600px;
  margin: 0 auto;
}

.solutions__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.solution-card {
  flex: 1;
  min-width: 620px;
  background: oklch(100% 0 0);
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--color-surface-container-highest);
  box-shadow: 0 1px 2px oklch(20% 0.01 265 / 0.15);
  overflow: hidden;
}

.solution-card:nth-child(2) {
  background: linear-gradient(135deg, oklch(97% 0.035 90) 0%, oklch(96% 0.03 95) 30%, oklch(95% 0.025 280) 65%, oklch(90% 0.045 290) 100%);
}

.solution-card__main {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
}

.solution-card__content {
  order: 1;
}

.solution-card__image {
  order: 2;
}

.solution-card__image {
  flex: 0 0 58%;
  margin-bottom: 0;
  height: auto;
  min-height: 200px;
}

.solution-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.solution-card__content .solution-card__header {
  margin-bottom: 16px;
}

.solution-card__content .solution-card__points {
  margin-bottom: 16px;
}

.image-slot {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  background: var(--color-surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-surface-variant);
  font-size: 13px;
  margin-bottom: 24px;
}

.image-slot--thumb {
  height: 64px;
  border-radius: 12px;
  margin-bottom: 0;
}

.solution-card__image--custom {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.solution-card__image--custom img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Hotel hero mockup (Rapid Template preview) */
.hotel-mock {
  position: relative;
  width: 100%;
  height: 420px;
  min-height: 280px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-surface-container-high);
}

.hotel-mock__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.solution-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.solution-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--color-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card__title {
  display: block;
  width: 100%;
  font-family: 'Fraunces', 'Poppins', 'Roboto', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: oklch(18% 0.02 265);
  margin: 0 0 12px;
  text-align: center;
}

.solution-card__price {
  width: fit-content;
  text-align: center;
  white-space: nowrap;
  margin: 0 auto 24px;
  background: oklch(100% 0 0);
  color: var(--color-on-primary-container);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-1);
}

.solution-card__price strong {
  color: var(--color-primary);
  font-weight: 800;
}

.solution-card__points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.solution-card__points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solution-card__points svg {
  flex-shrink: 0;
}

.solution-card__points span {
  font-size: 15px;
  color: oklch(20% 0.02 265);
  line-height: 1.4;
}

.solution-card__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
  margin-bottom: 12px;
}

.toggle-chevron {
  transition: transform 0.25s;
}

.solution-card__toggle[aria-expanded="true"] .toggle-chevron {
  transform: rotate(180deg);
}

.solution-card__detail {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-on-surface-variant);
  background: var(--color-surface-container-low);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}

.solution-card__thumbs {
  display: flex;
  gap: 12px;
}

.solution-card__thumbs .image-slot--thumb {
  flex: 1;
}

/* CTA */
.cta {
  background: oklch(90% 0.045 290);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  gap: 64px;
  width: calc(100% - 128px);
  max-width: 1472px;
  margin: 0 auto 64px;
  border-radius: 32px;
}

.cta__copy {
  flex: 1;
  min-width: 380px;
}

.cta__title {
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0 0 20px;
  color: oklch(18% 0.02 265);
}

.cta__subcopy {
  font-size: 17px;
  color: var(--color-on-surface-variant);
  margin: 0 0 32px;
}

.cta__visual {
  flex: 1;
  min-width: 380px;
  position: relative;
}

.cta__chat-card {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
}

.callout {
  position: absolute;
  right: -16px;
  top: 20%;
  background: oklch(100% 0 0);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-3);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
}

.callout svg {
  flex-shrink: 0;
}

.callout__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.callout__lines .skeleton-bar {
  background: var(--color-surface-container-highest);
  border-radius: 3px;
}

/* Footer */
.footer {
  background: #1C1C1F;
  padding: 64px 64px 32px;
  border-top: 1px solid #343438;
}

.footer__top {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer__brand {
  max-width: 280px;
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__wordmark {
  font-size: 16px;
  font-weight: 600;
  color: #F7F7F5;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #A8A8AE;
  margin: 0;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 600;
  color: #F7F7F5;
  margin-bottom: 16px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 14px;
  color: #A8A8AE;
  text-decoration: none;
  transition: color 0.15s;
}

.footer__col a:hover {
  color: var(--color-primary);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-badge {
  width: 41px;
  height: 41px;
  border-radius: 12px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #F7F7F5;
  transition: background 0.15s;
}

.social-badge svg {
  width: 18px;
  height: 18px;
}

.social-badge:hover {
  background: #5A26AE;
}

.footer__bottom {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #343438;
  font-size: 13px;
  color: #A8A8AE;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: #A8A8AE;
  text-decoration: none;
  transition: color 0.15s;
}

.footer__legal a:hover {
  color: var(--color-primary);
}

/* AI Visibility modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: oklch(15% 0.03 270 / 0.55);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: oklch(100% 0 0);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-3);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--color-on-surface-variant);
  cursor: pointer;
  transition: background 0.15s;
}

.modal__close:hover {
  background: var(--color-surface-container);
}

.modal__title {
  font-family: 'Fraunces', 'Poppins', 'Roboto', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: oklch(15% 0.03 270);
  margin: 0 0 12px;
  padding-right: 32px;
}

.modal__title--center {
  text-align: center;
  padding-right: 0;
}

.modal__subcopy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-on-surface-variant);
  margin: 0 0 24px;
}

.modal__subcopy--center {
  text-align: center;
  margin-bottom: 0;
}

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

.modal__input {
  flex: 1;
  min-width: 220px;
  border: 1.5px solid var(--color-surface-container-highest);
  border-radius: 100px;
  padding: 13px 22px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-on-surface);
  background: var(--color-surface);
}

.modal__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(60% 0.2 295 / 0.18);
}

.modal__submit {
  padding: 13px 28px;
  font-size: 15px;
}

.modal__error {
  font-size: 14px;
  color: oklch(50% 0.19 27);
  background: oklch(96% 0.02 27);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0 0;
}

.modal__note {
  font-size: 12px;
  color: var(--color-on-surface-variant);
  margin: 20px 0 0;
}

.modal__spinner {
  width: 56px;
  height: 56px;
  margin: 8px auto 24px;
  border-radius: 50%;
  border: 5px solid var(--color-surface-container-high);
  border-top-color: var(--color-primary);
  animation: modal-spin 0.9s linear infinite;
}

@keyframes modal-spin {
  to { transform: rotate(360deg); }
}

.modal__scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.score-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.score-tile .score-gauge {
  width: 96px;
  height: 96px;
}

.score-tile .score-gauge__svg {
  width: 96px;
  height: 96px;
}

.score-tile .score-gauge__label span:first-child {
  font-size: 26px;
}

.score-tile__label {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--color-on-surface);
}

.modal__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.modal__actions .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
}

body.modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
  .nav, .hero, .features, .solutions, .cta, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav__cta--desktop {
    display: none;
  }

  .nav__logo {
    height: 40px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    background: oklch(100% 0 0);
    box-shadow: 0 8px 16px oklch(20% 0.01 265 / 0.12);
    padding: 0 24px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav__links.nav__links--open {
    opacity: 1;
    padding: 8px 24px 20px;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-surface-container-highest);
  }

  .nav__links .nav__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__title .accent {
    white-space: normal;
  }

  .hero__copy {
    min-width: 0;
  }

  .score-card {
    width: 154px;
    padding: 17px;
    gap: 4px;
    right: -16px;
    bottom: -22px;
  }

  .score-gauge {
    width: 78px;
    height: 78px;
  }

  .score-gauge__svg {
    width: 78px;
    height: 78px;
  }

  .score-gauge__label span:first-child {
    font-size: 22px;
  }

  .score-gauge__unit {
    font-size: 8px;
  }

  .score-card__title {
    font-size: 9px;
  }

  .score-card__status {
    font-size: 8px;
    padding: 3px 8px;
  }

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

  .solution-card {
    min-width: 100%;
  }

  .solution-card__main {
    flex-direction: column;
  }

  .solution-card__image {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .cta {
    border-radius: 20px;
    padding: 40px 24px;
    flex-direction: column;
    gap: 32px;
    width: auto;
    max-width: none;
    margin: 0 24px 48px;
  }

  .cta__copy,
  .cta__visual {
    min-width: 0;
    width: 100%;
  }

  .cta__title {
    font-size: 30px;
    overflow-wrap: break-word;
  }

  .callout {
    right: 8px;
  }

  .modal__dialog {
    padding: 32px 24px;
  }

  .modal__scores {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}
