:root {
  color-scheme: light;
  --ink: #121821;
  --muted: #647084;
  --line: #dbe1ea;
  --panel: rgba(255, 255, 255, 0.9);
  --soft: #f6f8fb;
  --blue: #1570ef;
  --blue-soft: #e7f0ff;
  --yellow: #f9ff00;
  --green: #039855;
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(18, 24, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 33, 0.035) 1px, transparent 1px),
    #fbfaf7;
  background-size: 34px 34px;
}

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

button,
input {
  font: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.hero-section,
.section-grid,
.pricing-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: 44px;
  padding: 30px 0 72px;
}

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

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

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero-text,
.section-grid p,
.pricing-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 28px;
  font-size: 19px;
}

.hero-actions,
.portal-actions,
.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
}

.button.ghost {
  background: transparent;
}

.button.full {
  width: 100%;
}

.button.is-disabled {
  opacity: 0.62;
}

.product-frame,
.auth-card,
.price-card,
.section-grid article {
  border: 1px solid rgba(18, 24, 33, 0.1);
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(18, 24, 33, 0.12);
  backdrop-filter: blur(18px);
}

.product-frame {
  border-radius: 18px;
  overflow: hidden;
}

.mock-toolbar {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.mock-toolbar span {
  width: 24px;
  height: 24px;
  border: 2px solid #223044;
  border-radius: 50%;
}

.mock-toolbar span:nth-child(3) {
  background: var(--blue);
  border-color: var(--blue);
}

.mock-toolbar span:nth-child(5) {
  background: var(--yellow);
  border-color: #d8cc00;
}

.mock-canvas {
  padding: 20px;
}

.mock-canvas svg {
  display: block;
  width: 100%;
  height: auto;
}

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

.section-grid article,
.price-card,
.auth-card {
  border-radius: 14px;
  padding: 24px;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: center;
  padding: 54px 0 92px;
}

.price-label,
.fine-print,
.status-text {
  color: var(--muted);
  font-size: 13px;
}

.price-card strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 38px;
  letter-spacing: -0.045em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.portal-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.portal-shell {
  width: min(920px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 420px;
  gap: 30px;
  align-items: center;
}

.portal-brand h1 {
  margin-top: 38px;
  margin-bottom: 16px;
}

.portal-brand p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.auth-card {
  min-height: 434px;
}

.auth-form,
.lead-form,
.portal-panel {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  outline: none;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.two-column {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.two-column span {
  display: grid;
  gap: 7px;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
}

.notice {
  margin-bottom: 16px;
  border: 1px solid #f3cf72;
  border-radius: 8px;
  padding: 12px;
  background: #fff7d6;
  color: #6b4e00;
  font-size: 13px;
  line-height: 1.45;
}

.license-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 248, 251, 0.84);
}

.license-card span {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 840px) {
  .site-header,
  .site-footer {
    width: min(100% - 28px, 620px);
  }

  .hero-section,
  .section-grid,
  .pricing-section,
  .portal-shell {
    width: min(100% - 28px, 620px);
    grid-template-columns: 1fr;
  }

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

  .section-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 12px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}
