/* Rebondo — look épuré et premium : fond clair, dégradé violet → rose, ombres douces */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --surface: #ffffff;
  --ink: #0e1020;
  --ink-2: #2a2e45;
  --muted: #5d6278;
  --line: #e7e8f0;
  --line-2: #d6d8e4;
  --brand: #6b4dff;
  --brand-2: #ff4f8b;
  --brand-soft: #f1edff;
  --grad: linear-gradient(135deg, #6b4dff 0%, #b04dff 50%, #ff4f8b 100%);
  --good: #12a150;
  --danger: #d93025;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(14, 16, 32, .06);
  --shadow: 0 1px 2px rgba(14, 16, 32, .05), 0 10px 30px -12px rgba(14, 16, 32, .18);
  --shadow-lg: 0 2px 4px rgba(14, 16, 32, .04), 0 30px 60px -20px rgba(40, 20, 120, .35);
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 32px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -.03em; }
.logo-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); box-shadow: 0 4px 12px -2px rgba(107, 77, 255, .55); }
.site-header nav { display: flex; gap: 28px; margin-right: auto; }
.site-header nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s; }
.site-header nav a:hover { color: var(--ink); }
#account { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 38px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background .15s, border-color .15s, box-shadow .15s, transform .1s;
}
.btn:hover { border-color: #c3c6d6; background: #fafafd; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 1px 2px rgba(14, 16, 32, .1), 0 8px 20px -6px rgba(107, 77, 255, .55);
}
.btn-primary:hover { background: var(--grad); filter: brightness(1.06); border-color: transparent; box-shadow: 0 1px 2px rgba(14, 16, 32, .1), 0 12px 26px -6px rgba(107, 77, 255, .6); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-sun { background: var(--brand-soft); color: var(--brand); border-color: #ddd4ff; }
.btn-sun:hover { background: #e9e2ff; border-color: #cfc3ff; }
.btn-ghost { background: transparent; box-shadow: none; border-color: transparent; }
.btn-ghost:hover { background: var(--bg-soft); border-color: transparent; }
.btn-sm { padding: 7px 12px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn .lock { font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .22); color: #fff; padding: 2px 9px; border-radius: 99px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: #e8f7ee; color: var(--good); border: 1px solid #c9ecd7;
}
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); border: 1px solid #ddd4ff; border-radius: 999px;
  padding: 6px 14px;
}
.sticker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px rgba(255, 79, 139, .2); }

/* ---------- Accueil ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.hero { position: relative; padding: 84px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -280px; width: 1200px; height: 760px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(107, 77, 255, .16), transparent 70%) 30% 40% / 60% 70% no-repeat,
    radial-gradient(closest-side, rgba(255, 79, 139, .13), transparent 70%) 72% 45% / 55% 65% no-repeat;
}
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); margin: 22px auto 20px; max-width: 920px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.trust { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-top: 22px; color: var(--muted); font-size: 14px; }
.trust > span::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 6px; }

.showcase { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 64px; padding-bottom: 20px; }
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 16;
  border-radius: 38px; padding: 9px; background: #0e1020;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone canvas { width: 100%; height: 100%; display: block; border-radius: 30px; background: #0b0f1e; }
.phone.side { width: 220px; opacity: .92; }
.phone-caption {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow);
}
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3b5c; margin-right: 6px; animation: pulse 1.4s infinite; vertical-align: 1px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 72px; }
.feature { background: var(--surface); padding: 22px; }
.feature b { display: block; font-family: var(--font-display); font-size: 16px; margin: 8px 0 2px; }
.feature span { color: var(--muted); font-size: 14px; }
.feature .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); font-size: 18px; }

section { padding: 96px 0; }
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: block; color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 { font-size: clamp(30px, 4.2vw, 46px); }
.section-title p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 18px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); margin: 0; }

.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff;
  background: var(--grad); margin-bottom: 18px; box-shadow: 0 8px 18px -8px rgba(107, 77, 255, .7);
}

.gallery { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.thumb { text-align: center; }
.thumb canvas {
  width: 100%; aspect-ratio: 9 / 16; display: block; border-radius: 20px;
  border: 6px solid #0e1020; background: #0b0f1e; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.thumb:hover canvas { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.thumb strong { display: block; margin-top: 14px; font-family: var(--font-display); font-size: 16px; }
.thumb span { font-size: 13px; color: var(--muted); }

.offer {
  max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.offer-left { background: #0e1020; color: #fff; padding: 44px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.offer-left::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; bottom: -140px; border-radius: 50%; background: var(--grad); filter: blur(60px); opacity: .55; }
.offer-left > * { position: relative; z-index: 1; }
.offer-left .plan { font-size: 14px; font-weight: 600; color: #c9c3ff; text-transform: uppercase; letter-spacing: .08em; }
.offer-left .big { font-family: var(--font-display); font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin: 12px 0 6px; }
.offer-left .once { font-size: 18px; font-weight: 600; }
.offer-left .strike { color: #a9adc6; margin-top: 18px; font-size: 14px; }
.offer-right { padding: 40px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { padding-left: 32px; position: relative; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800;
}
.free-note { text-align: center; margin-top: 28px; color: var(--muted); }
.compare { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.final-cta { text-align: center; padding: 96px 0; }
.final-box { background: #0e1020; color: #fff; border-radius: 28px; padding: 64px 32px; position: relative; overflow: hidden; }
.final-box::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: var(--grad); filter: blur(90px); opacity: .45; }
.final-box > * { position: relative; }
.final-box h2 { font-size: clamp(30px, 4.6vw, 50px); }
.final-box p { color: #b9bdd4; margin: 0 0 28px; font-size: 18px; }
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 14px; background: var(--bg); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-row a { color: var(--muted); text-decoration: none; }
.footer-row a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Pages légales ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 28px 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 21px; margin: 38px 0 12px; scroll-margin-top: 90px; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--brand); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--bg-soft); font-weight: 600; }
.legal .box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.todo { color: #b42318; background: #fdecea; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.legal-toc { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; }
.legal-toc a { font-size: 14px; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.legal-toc a[aria-current="page"] { background: var(--brand-soft); border-color: #ddd4ff; color: var(--brand); }

/* ---------- Auth & succès ---------- */
.center-page { min-height: calc(100vh - 67px); display: grid; place-items: center; padding: 32px 16px; background: var(--bg-soft); }
.form-card { width: 100%; max-width: 420px; }
.form-card h1 { font-size: 28px; }
.input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 15px; margin-bottom: 12px; transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(107, 77, 255, .14); }
.form-error { color: var(--danger); font-size: 14px; min-height: 20px; margin: 0 0 8px; }
.form-card .field .input { margin-bottom: 0; }
.opt { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix > span {
  display: grid; place-items: center; padding: 0 12px; color: var(--muted); font-weight: 600;
  border: 1px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; background: var(--bg-soft);
}
.input-prefix .input { border-radius: 0 10px 10px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 4px 0 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.check a { color: var(--brand); }
.check.waiver { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; color: var(--ink-2); }
.secure a { color: var(--muted); }

/* ---------- Studio ---------- */
body.studio-page { background: var(--bg-soft); }
.studio { display: grid; grid-template-columns: 372px 1fr; gap: 24px; padding: 24px; max-width: 1320px; margin: 0 auto; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px; max-height: calc(100vh - 115px); overflow-y: auto; overflow-x: hidden; min-width: 0;
  position: sticky; top: 91px;
}
.step-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 26px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.step-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.step-title .n {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none;
  font-size: 12px; font-weight: 800; color: #fff; background: var(--grad);
}
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mode-btn {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-align: left; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.mode-btn span { font-size: 16px; width: 20px; text-align: center; color: var(--brand); }
.mode-btn:hover { border-color: var(--line-2); background: #fbfbfe; }
.mode-btn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(107, 77, 255, .12); }
.mode-desc { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.hint { color: var(--muted); font-size: 12.5px; margin: 8px 0 14px; }
.hint.warn { color: #8a5300; background: #fff6e0; border: 1px solid #f7dfa6; border-radius: 10px; padding: 8px 10px; margin-top: -4px; }
.compat-warn {
  max-width: 420px; margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; text-align: center;
  color: #8a5300; background: #fff6e0; border: 1px solid #f7dfa6;
}

.field { display: block; margin-bottom: 14px; }
.field > span { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field output { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.field input[type="range"] { width: 100%; accent-color: var(--brand); }
.field .input { margin-bottom: 0; padding: 9px 12px; }
.row { display: flex; gap: 8px; align-items: center; }
.row .input { flex: 1; }
.hidden { display: none !important; }

.advanced { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.advanced > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); list-style: none; display: flex; justify-content: space-between; }
.advanced > summary::after { content: "+"; font-size: 18px; line-height: 1; }
.advanced[open] > summary::after { content: "–"; }
.advanced[open] > summary { margin-bottom: 16px; }

.dropzone {
  width: 100%; display: grid; gap: 4px; justify-items: center; text-align: center;
  padding: 20px 14px; margin-bottom: 14px;
  border: 1.5px dashed #c9bfff; border-radius: 12px;
  background: linear-gradient(180deg, #faf8ff, #f4f0ff); color: var(--ink);
  font: inherit; cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone strong { font-size: 15px; font-weight: 600; }
.dropzone span { font-size: 12.5px; color: var(--muted); }
.dropzone:hover, .dropzone.dragging { border-color: var(--brand); background: #f1edff; }
.dropzone.loaded { border-style: solid; border-color: #b9e6cb; background: #f0fbf4; }
.dropzone.busy { opacity: .6; pointer-events: none; }
body.dragging-file .dropzone { border-color: var(--brand); background: #ece6ff; }
.field-label { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.templates { display: grid; gap: 8px; }
.templates .mode-btn { white-space: normal; }
select.input { min-width: 0; max-width: 100%; }

.stage { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
#view {
  height: min(calc(100vh - 320px), 900px); min-height: 360px; aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: 28px; border: 8px solid #0e1020; background: #000;
  box-shadow: var(--shadow-lg);
}
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.status { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.export-btn { min-width: 300px; }

/* ---------- Dialogues ---------- */
dialog {
  border: 0; border-radius: 22px; background: var(--surface); color: var(--ink);
  padding: 0; width: min(460px, calc(100vw - 32px)); box-shadow: 0 40px 80px -20px rgba(14, 16, 32, .45);
}
dialog::backdrop { background: rgba(14, 16, 32, .5); backdrop-filter: blur(4px); }
.dialog-body { padding: 28px; }
dialog h2 { font-size: 24px; }
.pay-head { background: #0e1020; color: #fff; padding: 28px; position: relative; overflow: hidden; }
.pay-head::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -120px; border-radius: 50%; background: var(--grad); filter: blur(50px); opacity: .6; }
.pay-head > * { position: relative; z-index: 1; }
.pay-head h2 { margin: 0 0 8px; font-size: 20px; color: #d9d4ff; font-weight: 700; }
.pay-price { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.03em; }
.pay-price small { font-size: 16px; font-weight: 500; color: #b9bdd4; letter-spacing: 0; }
.secure { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.progress { height: 8px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; margin: 18px 0 8px; }
.progress > div { height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }

#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 100; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: #0e1020; color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 14px; transition: opacity .4s; box-shadow: 0 14px 30px -10px rgba(14, 16, 32, .5); }
.toast-error { background: #b42318; }
.toast-ok { background: #0e1020; border-left: 4px solid #3ddc84; }
.toast.out { opacity: 0; }

@media (max-width: 980px) {
  .phone.side { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 320px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .panel { padding: 18px; }
  .export-btn { min-width: 0; }
}
@media (max-width: 760px) {
  .studio { grid-template-columns: 1fr; }
  .panel { position: static; max-height: none; order: 2; }
  #view { height: auto; width: 100%; max-width: 400px; }
  .export-btn { width: 100%; max-width: 400px; }
}
@media (max-width: 640px) {
  .site-header { padding: 12px 16px; gap: 12px; }
  .site-header nav { display: none; }
  .logo { margin-right: auto; }
  .hide-sm { display: none; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .features { grid-template-columns: 1fr; }
  .offer-left, .offer-right { padding: 28px; }
  .offer-left .big { font-size: 68px; }
  section { padding: 64px 0; }
}
