:root {
  --ink: #25214f;
  --muted: #68677c;
  --line: #dddfea;
  --soft: #f6f7fb;
  --surface: #ffffff;
  --accent: #e33a19;
  --accent-dark: #bf2d15;
  --success: #197a4f;
  --danger: #b3261e;
  --shadow: 0 18px 48px rgba(37, 33, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 223, 234, 0.85);
  backdrop-filter: blur(14px);
}

.landing-logo img {
  width: min(100%, 260px);
  display: block;
}

.landing-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-nav a,
.nav-login-toggle,
.landing-footer a,
.link-button {
  text-decoration: none;
}

.landing-nav a:hover,
.nav-login-toggle:hover,
.landing-footer a:hover,
.link-button:hover {
  color: var(--accent);
}

.login-dropdown {
  position: relative;
}

.nav-login-toggle {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.login-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 20;
  width: min(380px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-transform: none;
}

.login-dropdown-panel[hidden] {
  display: none;
}

.login-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}

.login-dropdown-head {
  margin-bottom: 16px;
}

.login-dropdown-head h2 {
  font-size: 1.65rem;
}

.login-dropdown-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(227, 58, 25, 0.22);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

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

.button.wide {
  width: 100%;
}

.hero-section {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  padding: clamp(56px, 7vw, 94px) clamp(18px, 5vw, 72px) 48px;
  overflow: hidden;
}

.hero-copy {
  max-width: 690px;
}

.test-stamp {
  display: inline-flex;
  transform: rotate(-3deg);
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.8vw, 5.35rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.hero-lead,
.section-heading p,
.pricing-panel p,
.order-panel p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 38px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 720px;
  color: var(--muted);
  font-weight: 800;
}

.hero-points span {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: min(960px, 62vw);
  max-width: none;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.page-section {
  padding: clamp(70px, 8vw, 112px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

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

.feature-card {
  min-height: 340px;
  display: grid;
  grid-template-rows: minmax(150px, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(37, 33, 79, 0.08);
}

.feature-media {
  display: grid;
  place-items: center;
  min-height: 180px;
  background: linear-gradient(135deg, #f6f7fb, #ffffff);
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-weight: 900;
}

.feature-body {
  padding: 22px;
}

.feature-body p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-section {
  background: var(--soft);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 24px;
}

.contact-section {
  display: block;
}

.pricing-panel,
.order-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 10px 26px rgba(37, 33, 79, 0.08);
}

.contact-panel {
  max-width: 820px;
}

.billing-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.billing-toggle label,
.addon-item,
.check-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  font-weight: 800;
}

.billing-toggle label:has(input:checked),
.addon-item:has(input:checked),
.check-line:has(input:checked) {
  border-color: var(--accent);
  background: #fff7f4;
}

.price-summary {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.price-summary span,
.price-summary small {
  display: block;
  color: var(--muted);
}

.price-summary strong {
  display: block;
  margin: 4px 0;
  font-size: 2.3rem;
}

.included-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.included-list strong {
  width: 100%;
}

.included-list span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}

.addon-grid {
  display: grid;
  gap: 10px;
}

.addon-item {
  align-items: center;
}

.addon-item span {
  display: block;
}

.addon-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.landing-form {
  display: grid;
  gap: 14px;
}

.compact-form {
  margin-top: 16px;
}

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

.span-2 {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd3df;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(227, 58, 25, 0.16);
  border-color: var(--accent);
}

.check-line {
  display: flex;
  color: var(--ink);
}

.check-line input,
.addon-item input,
.billing-toggle input {
  width: auto;
  margin-top: 2px;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-weight: 800;
}

.form-status.ok {
  color: var(--success);
}

.form-status.bad {
  color: var(--danger);
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}

.contact-card strong {
  color: var(--ink);
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.landing-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .landing-header {
    grid-template-columns: 1fr;
  }

  .landing-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-cta {
    width: max-content;
  }

  .hero-section,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .landing-header {
    position: static;
    gap: 16px;
  }

  .landing-nav {
    gap: 12px;
    font-size: 0.8rem;
  }

  .login-dropdown {
    position: static;
  }

  .login-dropdown-panel {
    top: auto;
    right: 18px;
    left: 18px;
    width: auto;
    margin-top: 16px;
  }

  .login-dropdown-panel::before {
    display: none;
  }

  .hero-section {
    min-height: 0;
    padding-top: 38px;
  }

  .hero-points,
  .feature-grid,
  .form-grid,
  .billing-toggle {
    grid-template-columns: 1fr;
  }
}
