:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5d6b82;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --line: #dce3ee;
  --blue: #2563eb;
  --blue-dark: #1748b5;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --shadow: 0 18px 44px rgba(16, 24, 40, 0.14);
}

* {
  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.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: rgba(11, 15, 24, 0.58);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand,
.site-header nav,
.hero-actions,
.payment-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-header nav {
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.nav-cta {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  padding: 116px clamp(20px, 7vw, 92px) 76px;
  color: #ffffff;
  background-image: url("assets/quickgreet-ui-preview.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 24, 0.56);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: #c9d8ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.4vw, 24px);
}

.hero-actions,
.payment-actions,
.order-form,
.result-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.order-form {
  display: flex;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.light {
  color: var(--ink);
  background: #ffffff;
}

.button.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  color: var(--blue);
  border-color: #b8c8f6;
  background: #ffffff;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-band div {
  padding: 22px clamp(20px, 5vw, 72px);
  background: #ffffff;
}

.signal-band strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.signal-band span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 7vw, 92px);
}

.section-heading,
.section-copy {
  max-width: 760px;
}

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

.section-copy p,
.price-panel p,
.faq p {
  color: var(--muted);
  font-size: 17px;
}

.product-shot {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.35fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--soft);
}

.preview-image {
  width: 100%;
  border: 1px solid rgba(23, 32, 51, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.feature-card,
.price-panel,
.steps div,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-card {
  padding: 24px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-mark {
  display: block;
  width: 34px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 4px;
}

.feature-mark.blue {
  background: var(--blue);
}

.feature-mark.green {
  background: var(--green);
}

.feature-mark.amber {
  background: var(--amber);
}

.feature-mark.red {
  background: var(--red);
}

.pricing {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(260px, 0.55fr);
  gap: 24px;
  align-items: stretch;
  background: #101828;
}

.price-panel {
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #344054;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.fine-print {
  margin: 18px 0 0;
  font-size: 13px;
}

.payment-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  padding: 24px;
  background: #ffffff;
}

.steps span {
  color: var(--blue);
  font-weight: 900;
}

.steps p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.faq {
  background: var(--soft);
}

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

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-bottom: 0;
}

.site-footer {
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 32px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

.result-page {
  min-height: 100svh;
  background: var(--soft);
}

.result-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 8vw, 88px) 0;
}

.result-brand {
  margin-bottom: 24px;
  color: var(--ink);
}

.result-panel {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.result-panel h1 {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 58px);
}

#license-key {
  white-space: pre-wrap;
  word-break: break-all;
  margin: 24px 0 0;
  padding: 18px;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .product-shot,
  .pricing {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-header nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding-top: 106px;
    background-position: 63% center;
  }

  .signal-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .order-form {
    width: 100%;
  }
}
