:root {
  --ink: #15233d;
  --ink-soft: #58657a;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #e9e5da;
  --red: #ef4550;
  --red-dark: #ce2e3a;
  --yellow: #f8cb46;
  --green: #10865b;
  --green-soft: #e9f6ef;
  --blue: #225ad5;
  --blue-soft: #eef4ff;
  --shadow: 0 18px 48px rgba(22, 35, 61, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  align-items: center;
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 82px;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  gap: 11px;
  letter-spacing: -0.05em;
}

.brand-ball {
  background: linear-gradient(var(--red) 0 48%, var(--ink) 48% 54%, var(--white) 54%);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: inline-block;
  height: 30px;
  position: relative;
  width: 30px;
}

.brand-ball span {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50%;
  height: 9px;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 9px;
}

.nav-links {
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--ink);
}

.ghost-button,
.primary-button,
.secondary-button {
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ghost-button {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 22px;
}

.primary-button {
  background: var(--red);
  border: 0;
  box-shadow: 0 8px 20px rgba(239, 69, 80, 0.24);
  color: var(--white);
  padding: 17px 28px;
}

.secondary-button {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 17px 28px;
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

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

main {
  margin: 0 auto;
  max-width: 1330px;
  padding: 0 clamp(20px, 5vw, 64px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(48px, 7vw, 96px);
  grid-template-columns: 0.98fr 1fr;
  min-height: 635px;
  padding: 60px 0 52px;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 20px;
}

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

h1 {
  font-family: "Syne", "Manrope", Arial, sans-serif;
  font-size: clamp(46px, 5.2vw, 67px);
  letter-spacing: -0.075em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 35px 0 29px;
}

.pilot-note {
  color: #687487;
  font-size: 12px;
  line-height: 1.6;
  max-width: 440px;
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 25px;
  position: relative;
}

.hero-panel::before {
  background: var(--yellow);
  border-radius: 999px;
  content: "";
  height: 42px;
  position: absolute;
  right: -20px;
  top: -20px;
  width: 42px;
}

.live-row {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
  margin-bottom: 29px;
}

.live-dot {
  background: #11b365;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #e5faed;
  height: 9px;
  width: 9px;
}

.pill {
  background: var(--blue-soft);
  border-radius: 999px;
  color: var(--blue);
  margin-left: auto;
  padding: 8px 15px;
}

.notification-card {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  gap: 15px;
  margin-bottom: 24px;
  padding: 21px 20px;
}

.notification-icon {
  align-items: center;
  background: var(--red);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 43px;
  font-family: "Syne", sans-serif;
  font-size: 23px;
  height: 43px;
  justify-content: center;
}

.small-label {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.notification-card h2 {
  font-size: 15px;
  letter-spacing: -0.03em;
  margin-bottom: 5px;
}

.notification-card div > p:last-child {
  color: var(--ink-soft);
  font-size: 12px;
  margin: 0;
}

.time {
  color: var(--ink-soft);
  font-size: 11px;
  margin-left: auto;
  align-self: flex-start;
}

.watch-grid {
  background: var(--paper);
  border-radius: 19px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px 8px;
}

.watch-grid div {
  border-right: 1px solid var(--line);
  padding: 2px 15px;
}

.watch-grid div:last-child {
  border: 0;
}

.watch-grid strong {
  display: block;
  font-size: 23px;
  letter-spacing: -0.05em;
  margin-bottom: 4px;
}

.watch-grid span {
  color: var(--ink-soft);
  font-size: 11px;
}

.pricing,
.availability,
.stores {
  border-top: 1px solid var(--line);
  padding: 62px 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 36px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2,
.workflow h2 {
  font-size: clamp(27px, 3vw, 34px);
  letter-spacing: -0.065em;
  margin: 0;
}

.section-note {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-width: 360px;
  text-align: right;
}

.filters {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(265px, 1fr) 270px 230px;
  margin-bottom: 26px;
}

.filters input,
.filters select,
.alert-dialog input,
.alert-dialog select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  height: 53px;
  padding: 0 17px;
  width: 100%;
}

.filters input:focus,
.filters select:focus,
.alert-dialog input:focus,
.alert-dialog select:focus {
  border-color: var(--red);
  outline: 3px solid rgba(239, 69, 80, 0.12);
}

.plan-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(280px, 420px));
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  min-height: 395px;
  padding: 30px;
  position: relative;
}

.plan-card.pro {
  border: 2px solid var(--red);
  box-shadow: 0 15px 35px rgba(239, 69, 80, 0.1);
}

.recommendation {
  background: var(--red);
  border-radius: 999px;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 7px 13px;
  position: absolute;
  right: 22px;
  top: 22px;
}

.plan-name {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.06em;
  margin-bottom: 9px;
}

.plan-description {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 27px;
}

.plan-card ul {
  color: var(--ink-soft);
  display: grid;
  font-size: 13px;
  gap: 13px;
  list-style: none;
  margin: 0 0 29px;
  padding: 0;
}

.plan-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 800;
  margin-right: 10px;
}

.plan-button {
  border: 0;
  margin-top: auto;
  text-align: center;
  width: 100%;
}

.manage-button {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  margin-top: 15px;
  text-decoration: underline;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 263px;
  padding: 22px;
}

.product-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.category {
  background: #f3f1ea;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
}

.status {
  align-items: center;
  color: var(--green);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
}

.status::before {
  background: #14ad67;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.status.out-of-stock {
  color: var(--ink-soft);
}

.status.out-of-stock::before {
  background: #adb4c0;
}

.status.pending {
  color: #936400;
}

.status.pending::before {
  background: var(--yellow);
}

.product-card h3 {
  font-size: 18px;
  letter-spacing: -0.045em;
  line-height: 1.35;
  margin: 0 0 7px;
}

.store-line {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: auto;
}

.product-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 21px;
  padding-top: 17px;
}

.price-label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.source-link,
.watch-button {
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
}

.source-link {
  background: var(--paper);
}

.watch-button {
  background: var(--ink);
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.empty-result {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--ink-soft);
  padding: 34px;
  text-align: center;
}

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

.store-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 236px;
  padding: 25px;
}

.store-card.featured {
  border-color: #f3cbd0;
}

.store-badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 25px;
  padding: 8px 13px;
}

.store-badge.ready {
  background: var(--green-soft);
  color: var(--green);
}

.store-badge.online {
  background: var(--blue-soft);
  color: var(--blue);
}

.store-badge.next {
  background: #fff4da;
  color: #946300;
}

.store-card h3 {
  font-size: 19px;
  letter-spacing: -0.045em;
  margin-bottom: 9px;
}

.store-card p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 17px;
}

.store-card a {
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
}

.workflow {
  align-items: start;
  background: var(--ink);
  border-radius: 28px;
  color: var(--white);
  display: grid;
  gap: 50px;
  grid-template-columns: 0.8fr 1.4fr;
  margin: 0 0 60px;
  padding: 47px clamp(25px, 5vw, 52px);
}

.steps {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li > span {
  color: #f7c839;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

.steps strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.steps p {
  color: #b8c1d1;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1330px;
  padding: 28px clamp(20px, 5vw, 64px) 42px;
}

.site-footer p {
  margin-bottom: 9px;
}

.footer-brand {
  color: var(--ink);
  font-size: 18px;
}

.footer-brand .brand-ball {
  height: 25px;
  width: 25px;
}

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

.footer-links a,
.checkbox a {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: underline;
}

.legal-page {
  max-width: 920px;
  padding-bottom: 70px;
  padding-top: 64px;
}

.legal-page h1 {
  max-width: 760px;
}

.legal-updated {
  color: var(--ink-soft);
  font-size: 13px;
  margin-bottom: 32px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 16px;
  padding: 27px;
}

.legal-card h2 {
  font-size: 21px;
  letter-spacing: -0.05em;
  margin-bottom: 11px;
}

.legal-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 13px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.warning-card {
  border-color: #f5d49b;
  background: #fff8e8;
}

.contact-placeholder {
  background: var(--paper);
  border-radius: 14px;
  padding: 14px;
}

.alert-dialog {
  background: var(--white);
  border: 0;
  border-radius: 25px;
  box-shadow: 0 24px 70px rgba(21, 35, 61, 0.2);
  max-width: 470px;
  padding: 34px;
  width: calc(100% - 34px);
}

.alert-dialog::backdrop {
  background: rgba(16, 25, 40, 0.42);
  backdrop-filter: blur(3px);
}

.close-button {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 29px;
  line-height: 1;
  position: absolute;
  right: 21px;
  top: 19px;
}

.alert-dialog .eyebrow {
  margin-bottom: 10px;
}

.alert-dialog h2 {
  font-size: 27px;
  letter-spacing: -0.06em;
  margin-bottom: 11px;
}

.dialog-intro {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.alert-dialog form {
  display: grid;
  gap: 17px;
}

.selected-plan {
  background: var(--blue-soft);
  border-radius: 11px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
  padding: 14px;
}

.preferences-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0;
  padding: 13px 14px 15px;
}

.preferences-group legend {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 0 7px;
}

.preferences-options {
  display: grid;
  gap: 10px;
}

.preference-toggle {
  align-items: center;
  color: var(--ink-soft);
  display: flex !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  gap: 10px !important;
}

.preference-toggle input {
  accent-color: var(--red);
  height: 17px;
  padding: 0;
  width: 17px;
}

.alert-dialog label {
  color: var(--ink-soft);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 9px;
}

.checkbox {
  align-items: center;
  display: flex !important;
  gap: 10px !important;
  margin: 4px 0 7px;
}

.checkbox input {
  accent-color: var(--red);
  height: 17px;
  padding: 0;
  width: 17px;
}

.submit-alert {
  width: 100%;
}

.submit-alert:disabled {
  cursor: wait;
  opacity: 0.64;
}

.portal-button {
  justify-self: center;
}

.dialog-status {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
  margin: 18px 0 0;
  min-height: 19px;
}

.toast {
  background: var(--ink);
  border-radius: 12px;
  bottom: 24px;
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 13px;
  left: 50%;
  opacity: 0;
  padding: 15px 20px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 1030px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 62px;
  }

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

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

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

@media (max-width: 720px) {
  .site-header {
    height: 72px;
  }

  .nav-links,
  .site-header .ghost-button {
    display: none;
  }

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

  .hero-actions,
  .section-heading,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .section-note {
    text-align: left;
  }

  .filters,
  .product-grid,
  .plan-grid,
  .store-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .watch-grid strong {
    font-size: 19px;
  }

  .workflow {
    margin-bottom: 40px;
    padding: 34px 25px;
  }

  .site-footer {
    gap: 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
