:root {
  --bg: #faf7f2;
  --bg-alt: #f1ebe2;
  --ink: #1f1a15;
  --muted: #6f655a;
  --accent: #d9532b;
  --accent-dark: #b8431f;
  --card: #ffffff;
  --border: #e6ddd0;
  --radius: 14px;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
nav .cta { font-size: 0.95rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; font-size: 1.05rem; transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.small { padding: 10px 20px; font-size: 0.9rem; }
.btn.block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -1.5px; font-weight: 800; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.sub { margin: 20px 0 28px; font-size: 1.15rem; color: var(--muted); max-width: 44ch; }
.hero .price-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.hero .price { font-size: 1.6rem; font-weight: 800; }
.hero .ship { color: var(--muted); font-size: 0.95rem; }
.trust { display: flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
.stars { color: #e8a33d; letter-spacing: 2px; }

/* CSS product illustration */
.product-visual {
  background: linear-gradient(160deg, #efe7da, #e2d6c3);
  border-radius: 24px; position: relative; overflow: hidden;
  aspect-ratio: 1 / 1;
}
.product-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stand { position: relative; width: 260px; height: 200px; }
.stand .laptop-screen {
  position: absolute; bottom: 96px; left: 30px; width: 200px; height: 128px;
  background: linear-gradient(180deg, #2b2b30, #17171a); border-radius: 8px 8px 2px 2px;
  border: 4px solid #3a3a40; transform: perspective(600px) rotateX(-6deg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.stand .laptop-screen::after {
  content: ""; position: absolute; inset: 8px;
  background: linear-gradient(135deg, #d9532b22, #d9532b08), #202024; border-radius: 4px;
}
.stand .leg-a, .stand .leg-b {
  position: absolute; bottom: 0; width: 10px; height: 105px; border-radius: 6px;
  background: linear-gradient(180deg, #b9b3aa, #8e887f);
}
.stand .leg-a { left: 64px; transform: rotate(18deg); }
.stand .leg-b { right: 64px; transform: rotate(-18deg); }
.stand .base { position: absolute; bottom: 0; left: 40px; right: 40px; height: 10px; background: #9b958c; border-radius: 6px; }
.badge {
  position: absolute; top: 20px; right: 20px; background: var(--ink); color: var(--bg);
  border-radius: 999px; padding: 8px 16px; font-size: 0.8rem; font-weight: 700; z-index: 2;
}

/* Logo strip */
.strip { background: var(--ink); color: #cfc6ba; padding: 16px 0; font-size: 0.9rem; }
.strip .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Sections */
section.block { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
h2.title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -1px; margin-bottom: 12px; font-weight: 800; }
p.lede { color: var(--muted); max-width: 56ch; margin-bottom: 40px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.card .ico { font-size: 1.6rem; margin-bottom: 12px; display: block; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Reviews */
.review { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.review p { font-size: 0.97rem; margin: 10px 0 14px; }
.review .who { color: var(--muted); font-size: 0.88rem; }

/* Offer */
.offer {
  background: var(--ink); color: var(--bg); border-radius: 24px; padding: 56px 48px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.offer h2 { font-size: 2rem; letter-spacing: -1px; margin-bottom: 12px; }
.offer p { color: #cfc6ba; }
.offer .code { background: #ffffff14; border: 1px dashed #ffffff44; padding: 4px 12px; border-radius: 8px; font-family: ui-monospace, monospace; }
.offer-box { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 28px; text-align: center; }
.offer-box .big { font-size: 2.4rem; font-weight: 800; }
.offer-box .strike { text-decoration: line-through; color: var(--muted); margin-right: 8px; font-size: 1.2rem; }
.offer-box small { color: var(--muted); display: block; margin: 10px 0 18px; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin-top: 10px; }

/* Footer */
footer { padding: 40px 0 60px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--border); margin-top: 40px; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 56px 0; align-items: start; }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
form input, form select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 1rem; background: var(--card); color: var(--ink); font-family: inherit;
}
form input:focus, form select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.summary { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: sticky; top: 24px; }
.summary .line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.97rem; }
.summary .line.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.15rem; }
.summary .line .neg { color: #1c8a4c; }
.promo-row { display: flex; gap: 8px; margin: 14px 0; }
.promo-row input { flex: 1; }
.note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* Thanks */
.thanks { text-align: center; padding: 96px 24px; max-width: 620px; margin: 0 auto; }
.thanks .check {
  width: 72px; height: 72px; border-radius: 50%; background: #1c8a4c; color: #fff;
  font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.thanks h1 { font-size: 2rem; letter-spacing: -1px; margin-bottom: 12px; }
.thanks p { color: var(--muted); }
.thanks .order { margin-top: 18px; font-family: ui-monospace, monospace; background: var(--bg-alt); display: inline-block; padding: 8px 16px; border-radius: 8px; }

@media (max-width: 820px) {
  .hero, .checkout-grid, .offer { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .product-visual { min-height: 300px; }
}
