/* N7B site. One stylesheet for both languages: layout uses logical properties so RTL and LTR share it. */
:root {
  --paper: #F8F4EE;
  --paper-2: #F1EAE0;
  --paper-3: #EAE0D3;
  --card: #FFFDF9;
  --ink: #3A2E26;
  --ink-2: #6B5B4E;
  --ink-3: #9A8A7C;
  --accent: #8A5A3C;
  --accent-2: #774C31;
  --brass: #B8935A;
  --line: #E4D9CB;
  --ok: #3F7D5A;
  --ok-bg: #E4F0E8;
  --warn: #B4762A;
  --mauve: #8E6A9E;
  --chat: #ECE3D8;
  --bubble-out: #E3EFD9;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --f-display: "Amiri", serif;
  --f-body: "El Messiri", system-ui, sans-serif;
}
html[lang="en"] {
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; font-size: 16.5px; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--f-display); font-weight: 700; line-height: 1.3; letter-spacing: -.005em; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 600; line-height: 1.12; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 5.4vw, 60px); }
h2 { font-size: clamp(28px, 3.8vw, 42px); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.4; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brass); font-weight: 600; font-size: 14px; letter-spacing: .04em;
}
html[lang="en"] .eyebrow { text-transform: uppercase; font-size: 12.5px; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- header ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.bar.scrolled { border-bottom-color: var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font: 600 12px/1 Inter, sans-serif; letter-spacing: .04em;
}
.brand-name { font: 700 21px/1 var(--f-display); }
html[lang="en"] .brand-name { font-size: 24px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--accent); }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink) !important; font-size: 14px !important; background: var(--card);
}
.lang:hover { border-color: var(--brass); }
.lang svg { width: 15px; height: 15px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(138, 90, 60, .6); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--card); box-shadow: none; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(-3px); }
html[dir="ltr"] .btn .arrow { transform: scaleX(-1); }
html[dir="ltr"] .btn:hover .arrow { transform: scaleX(-1) translateX(-3px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 85% 20%, rgba(142, 106, 158, .10), transparent 70%),
    radial-gradient(520px 360px at 10% 80%, rgba(184, 147, 90, .12), transparent 70%);
}
html[dir="ltr"] .hero::before { transform: scaleX(-1); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 22px; color: var(--ink-2); font-size: 19px; max-width: 32em; }
html[lang="en"] .hero .lead { font-size: 18px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof b { font: 700 26px/1.1 var(--f-display); color: var(--ink); }
html[lang="en"] .hero-proof b { font-size: 30px; font-weight: 600; }
.hero-proof span { font-size: 14px; color: var(--ink-3); margin-top: 4px; }

/* entrance */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .28s; } .rise.d4 { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- phone + chat ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 620px; }
.stage-card {
  position: absolute; width: 236px; height: auto; border-radius: 6px;
  box-shadow: 0 30px 60px -28px rgba(58, 46, 38, .45);
  inset-inline-end: -48px; top: 40px; transform: rotate(7deg);
  animation: floaty 7s ease-in-out infinite;
}
html[dir="ltr"] .stage-card { transform: rotate(-6deg); }
@keyframes floaty { 50% { translate: 0 -10px; } }
.phone {
  position: relative; z-index: 2; width: 300px; height: 610px; border-radius: 44px; padding: 11px;
  background: #2B231D;
  box-shadow: 0 50px 90px -40px rgba(58, 46, 38, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone::before { /* island */
  content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; z-index: 3;
  width: 92px; height: 26px; border-radius: 20px; background: #2B231D;
}
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--chat); display: flex; flex-direction: column; }
.chat-head {
  display: flex; align-items: center; gap: 10px; padding: 50px 16px 12px;
  background: var(--card); border-bottom: 1px solid var(--line);
}
.chat-head .av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 600 11px Inter, sans-serif; }
.chat-head b { display: block; font-size: 14px; line-height: 1.2; }
.chat-head small { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--ok); line-height: 1.3; }
.chat-head small svg { width: 11px; height: 11px; }
.chat {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 14px 12px 18px; overflow: hidden;
  background-image: radial-gradient(rgba(58, 46, 38, .05) 1px, transparent 1px);
  background-size: 14px 14px;
}
.msg {
  max-width: 84%; padding: 7px 9px 5px; border-radius: 12px; font-size: 13px; line-height: 1.55;
  background: #fff; box-shadow: 0 1px 1px rgba(58, 46, 38, .08);
  align-self: flex-start; border-start-start-radius: 4px;
}
.msg.out { align-self: flex-end; background: var(--bubble-out); border-start-start-radius: 12px; border-start-end-radius: 4px; }
.msg img { border-radius: 8px; width: 100%; height: 190px; object-fit: cover; object-position: top; margin-bottom: 6px; }
.msg time { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.msg time svg { width: 14px; height: 10px; color: #4F9BD9; }
.replies { display: grid; gap: 4px; align-self: flex-start; width: 84%; margin-top: -4px; }
.reply {
  position: relative; overflow: hidden; text-align: center; padding: 8px; border-radius: 10px;
  background: #fff; color: #3D7FB8; font-size: 13px; font-weight: 600; box-shadow: 0 1px 1px rgba(58, 46, 38, .08);
}
.reply::after { /* tap ripple */
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(61, 127, 184, .25); translate: -50% -50%; scale: 0; opacity: 0;
}
.reply.tap::after { animation: ripple .7s ease-out; }
@keyframes ripple { 0% { scale: 0; opacity: 1; } 100% { scale: 30; opacity: 0; } }
.typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; translate: 0 0; } 30% { opacity: 1; translate: 0 -3px; } }
.pass {
  margin-top: 6px; border-radius: 10px; background: var(--card); border: 1px solid var(--line);
  padding: 12px; display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center;
}
.pass img { width: 64px; height: 64px; margin: 0; border-radius: 0; object-fit: contain; }
.pass b { display: block; font-size: 13px; }
.pass span { font-size: 11px; color: var(--ink-3); }

/* sequence: each [data-seq] item is hidden until the script reveals it */
.js .chat [data-seq] { display: none; }
.js .chat [data-seq].on { display: block; animation: pop .45s var(--ease); }
.js .chat .replies[data-seq].on, .js .chat .pass-wrap.on { display: grid; }
.js .chat .typing-wrap.on { display: inline-flex; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chat.fade { transition: opacity .5s; opacity: 0; }

/* floating annotation chips around the phone */
.tag {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; box-shadow: 0 14px 30px -18px rgba(58, 46, 38, .4);
  opacity: 0; translate: 0 8px; transition: opacity .5s, translate .5s var(--ease);
}
.tag.on { opacity: 1; translate: 0 0; }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.tag.t1 { inset-inline-start: -14px; top: 96px; }
.tag.t2 { inset-inline-start: -14px; bottom: 64px; }
.tag.t2 .dot { background: var(--brass); box-shadow: 0 0 0 4px #F3EAD9; }

/* ---------- idea strip ---------- */
.idea { padding: 96px 0; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.idea .eyebrow { color: var(--brass); }
.idea h2 { margin-top: 16px; max-width: 18em; color: #FBF7F1; }
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid rgba(248, 244, 238, .14); }
.idea-grid > div { padding: 28px 0 0; padding-inline-end: 32px; }
.idea-grid > div + div { padding-inline-start: 32px; border-inline-start: 1px solid rgba(248, 244, 238, .14); }
.idea-grid s { display: block; text-decoration-color: rgba(184, 147, 90, .7); text-decoration-thickness: 1px; color: rgba(248, 244, 238, .5); font-size: 15px; }
.idea-grid h3 { margin-top: 10px; color: #FBF7F1; }
.idea-grid p { margin-top: 8px; color: rgba(248, 244, 238, .68); font-size: 15.5px; }

/* ---------- steps ---------- */
.steps { padding: 110px 0 40px; }
.steps-head { max-width: 40em; }
.steps-head h2 { margin-top: 14px; }
.steps-head p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step:nth-child(odd) .step-text { order: 2; }
.step-num { font: 700 15px/1 Inter, sans-serif; color: var(--brass); letter-spacing: .08em; }
.step h3 { margin-top: 14px; font-family: var(--f-display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
html[lang="en"] .step h3 { font-weight: 600; }
.step p { margin-top: 14px; color: var(--ink-2); font-size: 17.5px; max-width: 30em; }
.step ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.step li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.step li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .75em; border-radius: 50%; background: var(--brass); }

.vis {
  position: relative; min-height: 400px; border-radius: 18px; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 32px;
}

/* step 1: designer */
.designer { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; width: 100%; max-width: 440px; }
.designer .cards { position: relative; aspect-ratio: 2 / 3; }
.designer .cards img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 5px; box-shadow: 0 18px 36px -18px rgba(58, 46, 38, .5); transition: opacity .8s, transform .8s var(--ease); }
.designer .cards img.b { opacity: 0; transform: scale(.97); }
.designer.alt .cards img.a { opacity: 0; transform: scale(.97); }
.designer.alt .cards img.b { opacity: 1; transform: none; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.panel label { font-size: 11.5px; color: var(--ink-3); }
.field { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 14px; min-height: 36px; background: var(--paper); }
.field .caret { display: inline-block; width: 1.5px; height: 1em; background: var(--accent); vertical-align: -2px; margin-inline-start: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.thumbs { display: flex; gap: 8px; }
.thumbs span { width: 38px; height: 56px; border-radius: 4px; background-size: cover; background-position: top; border: 2px solid transparent; transition: border-color .3s; }
.thumbs span.on { border-color: var(--accent); }
.size { display: flex; gap: 6px; }
.size i { flex: 1; text-align: center; font-style: normal; font-size: 13px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 0; color: var(--ink-2); }

/* step 2: guest list */
.list { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -28px rgba(58, 46, 38, .45); }
.list-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.list-head .send { font-size: 12px; padding: 5px 12px; border-radius: 6px; background: var(--accent); color: #fff; }
.row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.row:last-child { border-bottom: 0; }
.row .ini { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-3); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); }
.row small { display: block; color: var(--ink-3); font-size: 12px; line-height: 1.2; }
.chip { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--paper-2); color: var(--ink-3); transition: background .4s, color .4s; }
.chip .done { display: none; }
.vis.in .row { animation: slide .6s var(--ease) both; }
.vis.in .row:nth-child(2) { animation-delay: .1s; } .vis.in .row:nth-child(3) { animation-delay: .2s; }
.vis.in .row:nth-child(4) { animation-delay: .3s; } .vis.in .row:nth-child(5) { animation-delay: .4s; } .vis.in .row:nth-child(6) { animation-delay: .5s; }
@keyframes slide { from { opacity: 0; transform: translateY(10px); } }
.row.sent .chip { background: var(--ok-bg); color: var(--ok); }
.row.sent .chip .wait { display: none; }
.row.sent .chip .done { display: inline; }

/* step 3: dashboard */
.dash { width: 100%; max-width: 420px; display: grid; gap: 14px; }
.dash-top { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.dash-top small { color: var(--ink-3); font-size: 13px; }
.dash-top .big { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.dash-top .big b { font: 700 46px/1 var(--f-display); }
html[lang="en"] .dash-top .big b { font-weight: 600; font-size: 52px; }
.dash-top .big span { color: var(--ink-3); font-size: 15px; }
.bar-stack { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: var(--paper-3); margin-top: 16px; }
.bar-stack i { display: block; height: 100%; width: 0; transition: width 1.6s var(--ease); }
.bar-stack .a { background: var(--ok); } .bar-stack .d { background: #C98F8F; } .bar-stack .p { background: var(--paper-3); }
.dash-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cell { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.cell b { display: block; font: 600 26px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.cell span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.cell span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.feed { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; font-size: 13.5px; }
.feed div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.feed div:last-child { border-bottom: 0; }
.feed em { font-style: normal; color: var(--ok); font-weight: 600; }
.feed em.no { color: #A86464; }
.feed .new { animation: slide .5s var(--ease); }

/* step 4: gate */
.gate { position: relative; width: 250px; height: 380px; border-radius: 30px; padding: 9px; background: #2B231D; box-shadow: 0 40px 70px -36px rgba(58, 46, 38, .6); }
.gate-screen { position: relative; height: 100%; border-radius: 22px; overflow: hidden; background: #F6F1EA; display: grid; place-items: center; }
.viewfinder { position: relative; width: 150px; height: 150px; padding: 14px; }
.viewfinder img { width: 100%; height: 100%; }
.viewfinder .c { position: absolute; width: 26px; height: 26px; border: 3px solid var(--accent); }
.viewfinder .c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.viewfinder .c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; }
.viewfinder .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; }
.viewfinder .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.scanline { position: absolute; inset-inline: 10px; top: 14px; height: 2px; background: var(--accent); box-shadow: 0 0 14px 2px rgba(138, 90, 60, .55); animation: scan 1.8s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 16px); } }
.gate-label { position: absolute; bottom: 26px; font-size: 13px; color: var(--ink-3); }
.offline { position: absolute; top: 20px; inset-inline-start: 50%; translate: 50% 0; display: flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
html[dir="ltr"] .offline { translate: -50% 0; }
.offline::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.result {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  background: var(--ok); color: #fff; clip-path: circle(0% at 50% 50%); transition: clip-path .55s var(--ease);
}
.result.on { clip-path: circle(80% at 50% 50%); }
.result .tick { width: 62px; height: 62px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); display: grid; place-items: center; margin-bottom: 8px; }
.result .tick svg { width: 30px; height: 30px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.result.on .tick svg { animation: draw .5s .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result b { font: 700 32px/1.1 var(--f-display); }
.result span { font-size: 14px; opacity: .9; }

/* ---------- details list ---------- */
.details { padding: 100px 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.details-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.details h2 { margin-top: 14px; }
.details-intro p { margin-top: 16px; color: var(--ink-2); }
.dl { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.dl div { padding: 22px 0 22px; border-bottom: 1px solid var(--line); padding-inline-end: 24px; }
.dl div:nth-child(even) { padding-inline: 24px 0; border-inline-start: 1px solid var(--line); }
.dl h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.dl h3 svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.dl p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ---------- faq ---------- */
.faq { padding: 100px 0; }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq h2 { margin-top: 14px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 18px; font-weight: 600;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-inline-end: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); rotate: 45deg; translate: 0 -3px; transition: rotate .3s var(--ease); }
details[open] summary::after { rotate: 225deg; translate: 0 3px; }
details p { padding: 0 0 22px; color: var(--ink-2); max-width: 38em; }

/* ---------- closing ---------- */
.closing { padding: 40px 0 110px; }
.closing-box {
  position: relative; overflow: hidden; border-radius: 24px; padding: 72px 40px; text-align: center;
  background: var(--card); border: 1px solid var(--line);
}
.closing-box::before, .closing-box::after {
  content: ""; position: absolute; width: 260px; aspect-ratio: 2 / 3; background-size: cover; border-radius: 6px;
  opacity: .9; box-shadow: 0 30px 50px -30px rgba(58, 46, 38, .5);
}
.closing-box::before { background-image: url(img/lavender-garden.jpg); inset-inline-start: -70px; top: 40px; rotate: -12deg; }
.closing-box::after { background-image: url(img/violet-watercolor.jpg); inset-inline-end: -70px; top: 30px; rotate: 10deg; }
.closing-box > * { position: relative; z-index: 1; }
.closing-box h2 { max-width: 14em; margin: 14px auto 0; }
.closing-box p { margin: 16px auto 0; color: var(--ink-2); max-width: 30em; }
.closing-box .cta { justify-content: center; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--ink-3); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--accent); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.doc { max-width: 760px; padding-top: 56px; padding-bottom: 88px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); }
.doc h2 { font-size: 23px; margin-top: 1.8em; }
html[lang="en"] .doc h2 { font-family: var(--f-body); font-weight: 600; font-size: 19px; letter-spacing: 0; }
.doc p, .doc li { color: var(--ink-2); margin-top: .7em; }
.doc ul { padding-inline-start: 1.2em; margin: 0; }
.doc .updated { color: var(--brass); font-size: 15px; margin-top: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in, .details-in, .faq-in { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 32px; padding-bottom: 64px; }
  .stage { min-height: 600px; }
  .step { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .step:nth-child(odd) .step-text { order: 0; }
  .nav a:not(.lang):not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .idea { padding: 72px 0; }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-grid > div, .idea-grid > div + div { padding: 24px 0; border-inline-start: 0; border-bottom: 1px solid rgba(248, 244, 238, .14); }
  .steps { padding-top: 80px; }
  .vis { min-height: 360px; padding: 22px 16px; }
  .designer { grid-template-columns: 130px 1fr; gap: 14px; }
  .dl { grid-template-columns: 1fr; }
  .dl div, .dl div:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
  .details, .faq { padding: 72px 0; }
  .closing-box { padding: 56px 22px; }
  .closing-box::before, .closing-box::after { width: 150px; opacity: .35; }
  .stage-card { width: 150px; inset-inline-end: -18px; }
  .tag.t1 { inset-inline-start: -6px; }
  .hero-proof { gap: 20px; }
}
@media (max-width: 380px) {
  .phone { width: 280px; height: 580px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
