:root {
  --paper: #fbf8f5;
  --card: #ffffff;
  --ink: #1f1b1a;
  --muted: #635b57;
  --soft: #8a807b;
  --line: #ebe2dc;
  --red: #e44836;
  --red-dark: #c0331f;
  --tint: #fdf0eb;
  --dark: #211c1a;
  --green: #2f7a3d;
  --green-bg: #eaf6ed;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "DM Sans", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.035em;
  margin: 0;
}

em {
  font-style: normal;
  color: var(--red);
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 700 17px var(--display);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-style: normal;
  font-size: 14px;
}

.phone-tag {
  font: 600 11px var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--tint);
  color: var(--red-dark);
  border-radius: 999px;
  padding: 3px 8px;
  margin-left: 6px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.header-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  line-height: 1.2;
}

.header-price s {
  color: var(--soft);
}

.header-price strong {
  color: var(--red-dark);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-paid {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.top-paid:hover {
  color: var(--red-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(228, 72, 54, 0.35);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.ghost:hover {
  background: var(--tint);
}

/* In-app warning banner */
.inapp-banner {
  background: #fff4d6;
  border-bottom: 1px solid #f0dca0;
  color: #4f3b00;
  padding: 12px 0;
}

.inapp-banner .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

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

.inapp-actions button, .inapp-actions a {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #d9c27a;
  background: #fff;
  color: #3b2c00;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 56px 0 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--soft);
  text-transform: uppercase;
}

.kicker:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.05;
  margin: 16px 0;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 24px;
}

.launch-offer {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.launch-offer s {
  font-size: 20px;
  color: var(--soft);
}

.launch-offer strong {
  font-size: 32px;
  font-family: var(--display);
  color: var(--red-dark);
}

.launch-badge {
  display: inline-block;
  background: var(--tint);
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(228, 72, 54, 0.2);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ticks li:before {
  content: "✓";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-cta .note {
  font-size: 13px;
  color: var(--soft);
}

/* Device preview */
.hero-art {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone {
  width: 280px;
  max-width: 80vw;
  aspect-ratio: 9/18;
  background: var(--dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(60, 25, 10, 0.22);
  position: relative;
}

.phone-screen {
  height: 100%;
  background: var(--paper);
  border-radius: 30px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ph-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--muted);
}

.ph-bar b {
  font: 700 15px var(--display);
  color: var(--ink);
}

.ph-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.ph-clip {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #2a2421, #1a1514);
  color: #fff;
  padding: 16px;
  justify-content: space-between;
  position: relative;
}

.ph-clip-badge {
  font-size: 11px;
  font-weight: 800;
  background: rgba(228, 72, 54, 0.3);
  color: #ff9d8f;
  border: 1px solid rgba(228, 72, 54, 0.5);
  padding: 4px 8px;
  border-radius: 6px;
  align-self: flex-start;
}

.ph-clip-title {
  font: 700 16px var(--display);
  line-height: 1.3;
}

.ph-clip-stat {
  font-size: 12px;
  color: #d1c5be;
  display: flex;
  justify-content: space-between;
}

.ph-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.ph-post {
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 5px 12px;
  font-weight: 700;
  font-size: 12px;
}

.hero-art .badge {
  position: absolute;
  left: -20px;
  bottom: 30px;
  background: var(--dark);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.hero-art .badge b {
  display: block;
  font-size: 15px;
  color: #ffb4a9;
  margin-bottom: 2px;
}

/* Sections */
.section {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: #f7f1eb;
}

.head {
  margin-bottom: 36px;
}

.head h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  margin: 10px 0 8px;
}

.head p {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

/* Feature grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(40, 20, 10, 0.04);
}

.card-num {
  font: 800 13px var(--display);
  color: var(--red);
  background: var(--tint);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* Buy section */
.buy-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: flex-start;
}

.buy-box {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(60, 25, 10, 0.09);
  position: relative;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.price s {
  font-size: 22px;
  color: var(--soft);
}

.price strong {
  font-size: 40px;
  font-family: var(--display);
  color: var(--red-dark);
}

.price span {
  font-size: 14px;
  color: var(--muted);
}

.buy-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.buy-list li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.buy-list li:before {
  content: "✓";
  color: var(--red);
  font-weight: 800;
}

.buyer-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.buyer-fields label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.buyer-fields input {
  height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 0 14px;
  font: 500 15px var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.buyer-fields input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228, 72, 54, 0.15);
}

.buyer-fields .hint {
  font-size: 12px;
  color: var(--soft);
  margin: 0;
}

.buy-box .btn {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
}

.payment-status {
  margin: 14px 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  min-height: 20px;
  text-align: center;
}

.payment-status.payment-error {
  color: #b91c1c;
  background: #fef2f2;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

.payment-status.payment-success {
  color: var(--green);
  background: var(--green-bg);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}

.already-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-decoration: underline;
  margin-top: 8px;
}

.pay-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--soft);
  text-align: center;
}

.pay-foot a {
  color: var(--ink);
  text-decoration: underline;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  transition: border-color 0.15s;
}

details[open] {
  border-color: #d8c8bf;
}

summary {
  font: 700 17px var(--display);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--red);
}

details[open] summary:after {
  content: "–";
}

details p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.fine {
  font-size: 13px;
  color: var(--soft);
  margin-top: 24px;
}

/* Final CTA */
.final {
  background: var(--dark);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 40px 0 60px;
}

.final h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 8px;
}

.final p {
  color: #d1c5be;
  font-size: 16px;
  margin: 0;
}

.final p b {
  color: #ff9d8f;
}

/* Modal for Delivery / Success */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 28, 26, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--card);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.modal h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.modal p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

.license-box {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  text-align: left;
}

.license-box label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--soft);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.license-key {
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}

.modal-actions {
  display: grid;
  gap: 10px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  font-size: 13px;
  color: var(--soft);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .lede {
    margin-inline: auto;
  }
  .launch-offer {
    justify-content: center;
  }
  .ticks {
    text-align: left;
    max-width: 380px;
    margin-inline: auto;
  }
  .hero-cta {
    align-items: center;
  }
  .hero-art .badge {
    left: 0;
    bottom: -10px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .buy-wrap {
    grid-template-columns: 1fr;
  }
  .final {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
}
