/* worldtop shop - mobile first, editorial */
:root {
  --bg: #f5f2ec;
  --paper: #fffdf9;
  --ink: #151412;
  --muted: #6e685f;
  --line: #e3ddd2;
  --soft: #ece7dd;
  --ok: #2e6a4c;
  --err: #a1352a;
  --radius: 16px;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
main { padding: 0 20px 56px; max-width: 980px; margin: 0 auto; }

/* ---------- top bar ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; max-width: 980px; margin: 0 auto;
}
.wordmark {
  text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: .22em;
}
.wordmark em { font: italic 400 19px/1 var(--display); letter-spacing: 0; margin-left: 2px; }
.ig { font-size: 14px; color: var(--muted); text-decoration: none; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 12vw, 84px); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(32px, 8vw, 48px); }
h3 { font-size: 28px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 14px;
}
.lead { font-size: 18px; color: var(--muted); margin: 18px 0 0; max-width: 34em; }
.muted { color: var(--muted); }
small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 6px; }

/* ---------- hero ---------- */
.hero { padding: 28px 0 8px; }
.cta-row { display: grid; gap: 10px; margin-top: 28px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 32px 0 0;
}
.stats div { background: var(--paper); padding: 14px 10px; text-align: center; }
.stats b { display: block; font: 400 26px/1.1 var(--display); }
.stats span { font-size: 12px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 54px; padding: 14px 22px; border: 0; border-radius: 14px;
  background: var(--ink); color: #fff; font: 600 16px/1.2 var(--body); text-decoration: none;
  cursor: pointer; transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.985); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- sections ---------- */
section { margin-top: 64px; }
.section-head { margin-bottom: 22px; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: var(--radius); overflow: hidden;
}
.grid a { aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.grid a:hover img { transform: scale(1.03); }

.packages { display: grid; gap: 14px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px;
  display: flex; flex-direction: column;
}
.card .top-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price { font: 400 44px/1 var(--display); }
.card ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.card li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.card li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 600; }
.card .slot { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.badge {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li {
  counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 18px 64px; position: relative;
}
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 400 20px/32px var(--display); text-align: center;
}
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 15px; }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: -3px; font: 400 26px/1 var(--display); }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: var(--muted); }

.final { text-align: center; padding: 48px 0 8px; }
.final .btn { max-width: 360px; margin: 26px auto 0; }

/* ---------- form ---------- */
.form-wrap { max-width: 560px; margin: 0 auto; }
.back { display: inline-block; margin: 6px 0 22px; color: var(--muted); text-decoration: none; font-size: 15px; }
.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.form-head .price { font-size: 40px; }
.slot-note {
  margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px;
}
form { margin-top: 26px; display: grid; gap: 20px; }
label.field { display: block; font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
input[type=text], input[type=email], input[type=url], textarea {
  width: 100%; margin-top: 8px; padding: 14px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--body); appearance: none;
}
textarea { resize: vertical; min-height: 116px; }
input:focus, textarea:focus { outline: none; border-color: var(--ink); }
.at { position: relative; }
.at { display: block; }
.at span { position: absolute; left: 15px; top: 50%; transform: translateY(calc(-50% + 3px)); color: var(--muted);
  font: 400 16px/1 var(--body); }
.at input { padding-left: 32px; }

.drop {
  display: block; margin-top: 8px; padding: 26px 18px; text-align: center; cursor: pointer;
  border: 1.5px dashed #c9c1b3; border-radius: var(--radius); background: var(--paper);
}
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop strong { display: block; font: 400 24px/1.2 var(--display); }
.drop:focus-within { border-color: var(--ink); }
.previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.previews:empty { display: none; }
.previews div {
  aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--soft);
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted);
}
.previews img { width: 100%; height: 100%; object-fit: cover; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; font-weight: 400; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.secure { text-align: center; font-size: 13px; color: var(--muted); margin: -8px 0 0; }

.alert {
  margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #f7e6e2; color: var(--err);
  font-size: 15px; border: 1px solid #ecc9c2;
}
.progress { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--ink); transition: width .2s ease; }
.progress-label { text-align: center; font-size: 13px; color: var(--muted); margin-top: -12px; }

/* ---------- status ---------- */
.status-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px;
  margin-top: 24px;
}
.status-card .code { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.timeline { list-style: none; padding: 0; margin: 22px 0 0; }
.timeline li { padding: 10px 0 10px 32px; position: relative; color: var(--muted); }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid #c9c1b3; background: var(--paper);
}
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ink); border-color: var(--ink); }
.timeline li + li::after {
  content: ""; position: absolute; left: 9.5px; top: -10px; height: 26px; border-left: 1.5px solid var(--line);
}

/* ---------- legal / footer ---------- */
.legal { max-width: 680px; margin: 0 auto; }
.legal h1 { font-size: 48px; margin: 10px 0 8px; }
.legal h2 { font-size: 26px; margin: 34px 0 8px; }
.legal p, .legal li { color: #3a3732; }

footer {
  border-top: 1px solid var(--line); padding: 28px 20px 40px; font-size: 13px; color: var(--muted);
  max-width: 980px; margin: 0 auto;
}
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
footer a { color: var(--ink); }

table.orders { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 20px; }
table.orders td, table.orders th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }

/* ---------- wider screens ---------- */
@media (min-width: 760px) {
  main { padding: 0 32px 72px; }
  .top { padding: 24px 32px; }
  .hero { padding-top: 56px; }
  .cta-row { grid-template-columns: max-content max-content; }
  .cta-row .btn { width: auto; min-width: 220px; }
  .packages { grid-template-columns: 1fr 1fr; gap: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(6, 1fr); }
  section { margin-top: 88px; }
}

/* ---------- upsell, packages, package page ---------- */
.upsell { margin: -6px 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.card.featured { border: 1.5px solid var(--ink); }
.pack-price { margin: 14px 0 0; display: flex; align-items: baseline; gap: 10px; }
.pack-price .was { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.save { margin: 6px 0 0; font-size: 14px; color: var(--ok); font-weight: 600; }
.save-pill {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--ok); background: #e3efe7;
  border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: 1px;
}
.addon { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--paper); }
.addon.on { border-color: var(--ink); }
.addon-head { font-size: 15px; }
.addon-file { display: none; margin-top: 12px; }
.addon.on .addon-file { display: block; }
.drop.small { padding: 16px 14px; }
.drop.small strong { font-size: 19px; }
.credits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.credit {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px;
  display: flex; flex-direction: column; gap: 8px; text-align: center;
}
.credit b { font: 400 48px/1 var(--display); }
.credit span { color: var(--muted); font-size: 14px; }
.credit .btn { min-height: 46px; padding: 10px 12px; font-size: 15px; }
.btn.disabled { opacity: .45; pointer-events: none; }
.kids { list-style: none; padding: 0; margin: 12px 0 0; }
.kids li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
