:root {
  --brand-primary: #e8792d;
  --brand-primary-hover: #d86b1f;
  --brand-primary-active: #c75d18;
  --brand-primary-soft: #fff7ed;
  --brand-primary-soft-2: #ffedd5;
  --brand-primary-border: #fed7aa;
  --brand-primary-ink: #7c2d12;
  --brand-focus-ring: rgba(232, 121, 45, 0.32);
  --orange-700: var(--brand-primary-hover);
  --orange-600: var(--brand-primary);
  --orange-500: var(--brand-primary);
  --orange-100: var(--brand-primary-soft);
  --success-600: #16a34a;
  --ink: #17202a;
  --muted: #5f6875;
  --line: #e8e1d8;
  --panel: #ffffff;
  --soft: #fff8f1;
  --shadow: 0 20px 60px rgba(38, 31, 24, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffaf5;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--brand-focus-ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.9rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 250, 245, 0.94);
  border-bottom: 1px solid rgba(232, 225, 216, 0.8);
  backdrop-filter: blur(14px);
}

.nav,
.section-inner,
.footer-inner,
.hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #2f3844;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-login {
  font-weight: 700;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.78rem 1.05rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-small {
  min-height: 38px;
  padding: 0.56rem 0.9rem;
}

.button-primary {
  background: var(--orange-600);
  color: #fff;
  box-shadow: 0 10px 24px rgba(238, 116, 19, 0.28);
}

.button-primary:hover {
  background: var(--orange-700);
}

.button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button-full {
  width: 100%;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 46px;
  padding: 64px 0 44px;
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions,
.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-metrics div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero-metrics dt {
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  border: 1px solid rgba(255, 138, 29, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 240, 223, 0.9), rgba(255, 255, 255, 0.9)),
    #fff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(23, 32, 42, 0.08);
}

.download-page {
  background:
    linear-gradient(180deg, rgba(255, 247, 237, 0.92), rgba(255, 255, 255, 0.96)),
    #fffaf5;
}

.download-hero {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 42px;
  margin: 0 auto;
  padding: 54px 0 44px;
}

.download-copy h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.download-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.download-actions .button {
  min-width: 0;
  text-align: center;
}

.download-actions .button-disabled {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #8a94a3;
  box-shadow: none;
  cursor: not-allowed;
}

.download-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.download-banner {
  overflow: hidden;
  border: 1px solid rgba(255, 138, 29, 0.25);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.download-banner img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.section {
  padding: 78px 0;
}

.band {
  background: #fff;
  border-block: 1px solid var(--line);
}

.trust-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.trust-row p,
.section-heading p,
.signup-callout p {
  color: var(--muted);
  margin: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.feature-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-weight: 900;
}

.split-band {
  background:
    linear-gradient(120deg, rgba(249, 115, 22, 0.14), rgba(234, 88, 12, 0.08)),
    #fff;
  border-block: 1px solid var(--line);
}

.signup-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.signup-callout > div:first-child {
  max-width: 720px;
}

.site-footer {
  background: #17202a;
  color: #fff;
  padding: 42px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  color: #fff;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-inner nav a {
  color: #fff;
  text-decoration: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 24px;
  background: rgba(23, 32, 42, 0.64);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(900px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.signup-form,
.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.signup-form label,
.request-form label {
  display: grid;
  gap: 7px;
  color: #2f3844;
  font-weight: 700;
}

.signup-form input,
.request-form input,
.request-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d9d1c7;
  border-radius: 8px;
  padding: 0.72rem 0.78rem;
  color: var(--ink);
  font: inherit;
}

.request-form textarea {
  resize: vertical;
}

.checkbox-row,
.signup-business-type,
.form-message,
.button-full,
.request-form label:has(textarea) {
  grid-column: 1 / -1;
}

.signup-business-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 1px solid #d9d1c7;
  border-radius: 8px;
  padding: 12px;
}

.signup-business-type legend {
  padding: 0 6px;
  color: #2f3844;
  font-weight: 800;
}

.radio-row {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px !important;
  min-height: 44px;
  border: 1px solid #e4ded6;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700 !important;
}

.radio-row input {
  min-height: 18px;
}

.checkbox-row {
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  font-weight: 600 !important;
}

.checkbox-row input {
  min-height: 20px;
  margin-top: 3px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--success-600);
  font-weight: 800;
}

.legal-page {
  padding: 54px 20px 76px;
}

.legal-article {
  width: min(860px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(24px, 5vw, 52px);
}

.legal-article h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.legal-article h2 {
  margin-top: 30px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.legal-article p,
.legal-article li {
  color: #414c59;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0;
  }

  .nav-links {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .download-hero,
  .trust-row {
    grid-template-columns: 1fr;
  }

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

  .download-hero {
    min-height: auto;
    padding-top: 42px;
  }

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

  .signup-callout,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav,
  .section-inner,
  .footer-inner,
  .hero,
  .download-hero {
    width: min(100% - 28px, 1160px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    gap: 28px;
  }

  .hero-actions,
  .callout-actions {
    flex-direction: column;
  }

  .hero-metrics,
  .download-actions,
  .feature-grid,
  .signup-form,
  .request-form {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .modal {
    padding: 22px;
  }

  .legal-page {
    padding-inline: 14px;
  }
}
