:root {
  --indigo: #1a237e;
  --indigo-dark: #121654;
  --indigo-soft: rgba(26, 35, 126, 0.08);
  --gold: #d4a373;
  --gold-dark: #b8875a;
  --paper: #f7f6f3;
  --ink: #12131c;
  --muted: #5c5d6b;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 24px 60px rgba(26, 35, 126, 0.12);
  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.landing-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.landing-wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.landing-skip {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--indigo-dark);
  font-weight: 600;
}

.landing-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 35, 126, 0.06);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.landing-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--indigo);
  text-decoration: none;
}

.landing-logo span {
  color: var(--gold-dark);
}

.landing-nav {
  display: flex;
  gap: 1.75rem;
}

.landing-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.landing-nav a:hover {
  color: var(--indigo);
}

/* Hero */
.landing-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(212, 163, 115, 0.18), transparent 55%),
    radial-gradient(900px 400px at 10% 0%, rgba(26, 35, 126, 0.06), transparent 50%);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .landing-hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--indigo);
  background: var(--white);
  border: 1px solid rgba(26, 35, 126, 0.1);
  margin-bottom: 1.25rem;
}

.landing-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.landing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--indigo-dark);
  margin: 0 0 1rem;
}

.landing-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 32ch;
  margin: 0 0 1.75rem;
}

.landing-sub em {
  font-style: italic;
  color: var(--indigo);
}

.landing-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn-landing-primary,
.btn-landing-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-landing-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26, 35, 126, 0.28);
}

.btn-landing-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
}

.btn-landing-ghost {
  background: transparent;
  color: var(--indigo);
  border: 1px solid rgba(26, 35, 126, 0.2);
}

.btn-landing-ghost:hover {
  background: var(--white);
}

.landing-micro {
  font-size: 0.875rem;
  color: var(--muted);
}

.landing-micro strong {
  color: var(--indigo);
}

.landing-hero-signed .landing-welcome-name {
  color: var(--gold-dark);
}

.landing-signed-footnote a {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: none;
}

.landing-signed-footnote a:hover {
  text-decoration: underline;
}

/* Hero illustration */
.hero-scene {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0.5rem;
}

.hero-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-box-wrap {
  position: relative;
  z-index: 1;
}

.hero-box {
  width: clamp(140px, 26vw, 180px);
  height: clamp(112px, 21vw, 144px);
  background: linear-gradient(145deg, #e8c9a8 0%, var(--gold) 45%, #c9956a 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    0 16px 40px rgba(26, 35, 126, 0.15);
  position: relative;
}

.hero-box::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border: 2px dashed rgba(26, 35, 126, 0.15);
  border-radius: 4px;
}

.hero-qr-mini {
  position: absolute;
  right: 10%;
  bottom: 14%;
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}

.hero-phone {
  position: relative;
  z-index: 2;
  margin-left: -1.25rem;
  margin-bottom: 0;
  transform: rotate(-8deg);
  filter: drop-shadow(var(--shadow));
}

.hero-phone-shell {
  position: relative;
  width: clamp(150px, 28vw, 190px);
  aspect-ratio: 9 / 18;
  background: linear-gradient(160deg, #2e3675 0%, var(--indigo) 45%, var(--indigo-dark) 100%);
  border-radius: 28px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.hero-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  translate: -50% 0;
  width: 36%;
  height: 22px;
  background: var(--indigo-dark);
  border-radius: 0 0 12px 12px;
}

.hero-phone-inner {
  position: relative;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, #ebeef8 0%, #dfe4f5 100%);
  overflow: hidden;
}

.hero-phone-screen-content {
  padding: 1.75rem 0.85rem 0.85rem;
  height: 100%;
}

.hero-phone-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--indigo);
  margin-bottom: 0.35rem;
}

.hero-fake-scan {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.hero-fake-scan span {
  width: 28px;
  height: 28px;
  background: repeating-linear-gradient(
    90deg,
    var(--indigo) 0 3px,
    transparent 3px 6px
  ),
    repeating-linear-gradient(
      0deg,
    var(--indigo) 0 3px,
    transparent 3px 6px
    );
  background-size: 12px 12px;
  background-repeat: repeat;
  border-radius: 4px;
  opacity: 0.85;
}

.hero-scan-beam {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: beam 2.6s ease-in-out infinite;
}

@keyframes beam {
  0%, 100% {
    opacity: 0.4;
    transform: scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.manifest-overlay {
  position: absolute;
  right: clamp(-40px, -4vw, -12px);
  top: 18%;
  z-index: 5;
  width: min(220px, 52vw);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26, 35, 126, 0.1);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.manifest-overlay-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.manifest-overlay-title strong {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--indigo);
}

.manifest-overlay-live {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.manifest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.manifest-list li {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(26, 35, 126, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.manifest-list li:last-child {
  border-bottom: 0;
}

.manifest-qty {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--indigo);
}

@media (max-width: 520px) {
  .hero-row {
    flex-direction: column;
    align-items: center;
    padding-top: 0.5rem;
  }

  .hero-phone {
    margin-left: 0;
    margin-top: 1rem;
    transform: rotate(0deg);
  }

  .manifest-overlay {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 280px;
    margin-top: 1.25rem;
  }
}

/* Products */
.landing-products {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  background: var(--white);
  border-block: 1px solid rgba(26, 35, 126, 0.06);
}

.landing-section-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2.75rem;
}

.landing-section-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.landing-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--indigo-dark);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.landing-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.product-card {
  background: var(--paper);
  border: 1px solid rgba(26, 35, 126, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  border-color: rgba(212, 163, 115, 0.45);
  box-shadow: 0 16px 40px rgba(26, 35, 126, 0.08);
}

.product-card.highlight {
  background: linear-gradient(160deg, var(--white) 0%, var(--indigo-soft) 120%);
  border-color: rgba(26, 35, 126, 0.14);
  position: relative;
}

.product-card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--indigo);
  background: var(--gold);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.product-card.highlight .product-card-tag {
  color: var(--indigo-dark);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--indigo-dark);
}

.product-card .desc {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--indigo);
  letter-spacing: -0.02em;
}

.product-price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

/* Privacy */
.landing-privacy {
  padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(5rem, 12vw, 7rem);
}

.privacy-panel {
  background: var(--indigo);
  color: rgba(255, 255, 255, 0.92);
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(1.75rem, 5vw, 2.75rem);
  box-shadow: 0 32px 80px rgba(26, 35, 126, 0.35);
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .privacy-panel {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.privacy-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--white);
}

.privacy-block h3 span {
  color: var(--gold);
}

.privacy-block p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.privacy-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(212, 163, 115, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--gold);
}

.privacy-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 800px) {
  .privacy-divider {
    width: 1px;
    height: auto;
    min-height: 120px;
  }
}

@media (max-width: 799px) {
  .privacy-divider {
    margin: 0.25rem 0;
  }
}

/* Footer */
.landing-footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.landing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.landing-footer a {
  color: var(--indigo);
  text-decoration: none;
  font-weight: 500;
}

.landing-footer a:hover {
  text-decoration: underline;
}

.landing-footer-brand {
  letter-spacing: 0.01em;
}
