/* ==========================================================================
   landing.css — single stylesheet for all landing pages
   (home, functions/faq/pricing/feature via landing/layout.html.twig,
    privacy/cookies via landing/legal.html.twig)
   Sections are page-scoped so page types keep their own design:
   - body.home       → landing home (templates/landing/index.html.twig)
   - body.page-sub   → faq / pricing / functions / feature (landing/layout.html.twig)
   - body.page-legal → privacy / cookies (landing/legal.html.twig)
   ========================================================================== */

/* ---------- Shared base ---------- */
:root {
    --ivory: #FBF7F0;
    --paper: #F5EEE2;
    --butter: #F3E3B5;
    --sage: #8A9A7B;
    --sage-dark: #5E6E52;
    --terracotta: #C98B76;
    --blush: #EBCFC4;
    --mocha: #8B6B5A;
    --ink: #2E2A26;
    --muted: #6F665D;
    --line: rgba(46, 42, 38, .12);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
    --script: "Pinyon Script", cursive;
    --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--ivory); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
section[id] { scroll-margin-top: 96px; }
.eyebrow { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; }
.serif { font-family: var(--serif); }

/* Counter clock (services) in the plan cards — subpages only */
.muted { color: var(--muted); font-size: .85rem; text-align: center; }

/* ---------- Home (index) ---------- */
body.home { overflow-x: hidden; }

/* Film grain overlay (home only) */
body.home::after {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 em, h1 em { font-style: italic; color: var(--terracotta); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 560px; }

body.home .btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 15px 30px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
body.home .btn-primary { background: var(--ink); color: var(--ivory); box-shadow: 0 10px 30px -12px rgba(46,42,38,.5); }
body.home .btn-primary:hover { transform: translateY(-2px); background: #000; box-shadow: 0 16px 36px -14px rgba(46,42,38,.6); }
body.home .btn-primary .arrow { transition: transform .35s var(--ease); }
body.home .btn-primary:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-primary:hover { background: #000; }
body.home .btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Nav (home: animated fixed bar) ---------- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s, box-shadow .4s, padding .4s; padding: 22px 0; }
nav.scrolled { background: rgba(251,247,240,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { display: block; width: 44px; height: 44px; object-fit: contain; }
.logo-text { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .02em; }
.logo-text span { color: var(--terracotta); font-style: italic; }
.nav-links { display: flex; gap: 32px; list-style: none; font-size: .9rem; }
.nav-links a { text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .login { font-size: .9rem; text-decoration: none; padding: 10px 16px; }
.nav-cta .btn { padding: 10px 22px; font-size: .88rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 130px; overflow: hidden;
    background: radial-gradient(1200px 600px at 85% 10%, rgba(243,227,181,.55), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(235,207,196,.45), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5.6rem); font-weight: 300; margin: 22px 0 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .14s); }
@keyframes rise { to { transform: none; } }
.hero .lead { opacity: 0; animation: fade 1.2s var(--ease) .75s forwards; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; opacity: 0; animation: fade 1.2s var(--ease) .95s forwards; }
.hero .eyebrow { opacity: 0; animation: fade 1s var(--ease) .05s forwards; }
.hero-meta { display: flex; gap: 28px; margin-top: 48px; font-size: .85rem; color: var(--muted); opacity: 0; animation: fade 1.2s var(--ease) 1.15s forwards; flex-wrap: wrap; }
.hero-meta b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 400; color: var(--ink); line-height: 1.1; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; justify-self: center; width: min(440px, 100%); height: 570px; opacity: 0; animation: fade 1.4s var(--ease) .4s forwards; }

/* Stationery card behind the phone */
.paper { position: absolute; left: -46px; top: 70px; width: 220px; height: 320px; z-index: 1; background: #FFFDF8; border-radius: 4px; transform: rotate(-9deg); box-shadow: 0 30px 60px -30px rgba(91,70,52,.5); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px 30px 44px; }
.paper::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(139,107,90,.22); border-radius: 2px; pointer-events: none; }
.paper::after { content: ""; position: absolute; top: 0; bottom: 0; left: 22px; width: 12px; background: linear-gradient(90deg, #E2BBAE, var(--blush) 50%, #E2BBAE); opacity: .9; }
.paper-script { font-family: var(--script); font-size: 2.3rem; line-height: 1.05; margin: 16px 0 14px; }
.paper-rule { width: 40px; height: 1px; background: var(--terracotta); }
.paper .invite-date { margin-top: 14px; font-size: .9rem; }

/* Phone with the couple's wedding site */
.phone { position: absolute; right: 8px; top: 0; z-index: 2; width: 262px; height: 540px; background: #2B2724; border-radius: 42px; padding: 10px; box-shadow: 0 50px 90px -40px rgba(60,40,30,.6), inset 0 0 0 1.5px #4A443F; animation: bob 7s ease-in-out infinite; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 76px; height: 22px; border-radius: 999px; background: #2B2724; z-index: 1; }
.screen { height: 100%; border-radius: 33px; overflow: hidden; background: var(--ivory); display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-nav { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 50px 20px 12px; font-family: var(--serif); font-style: italic; font-size: .95rem; }
.burger { display: grid; gap: 4px; }
.burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); }
.site-hero { align-self: stretch; margin: 0 12px; border-radius: 22px; padding: 26px 12px 22px; background: radial-gradient(circle at 25% 15%, rgba(255,255,255,.75), transparent 55%), linear-gradient(160deg, var(--blush), var(--butter) 60%, #DCE3D3); }
.invite-kicker { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mocha); }
.invite-names { font-family: var(--script); font-size: 2.4rem; line-height: 1.05; margin: 12px 0 4px; color: var(--ink); }
.invite-amp { font-family: var(--serif); font-style: italic; color: var(--terracotta); font-size: 1.3rem; }
.invite-date { font-family: var(--serif); letter-spacing: .25em; font-size: .85rem; margin-top: 8px; }
.countdown { display: flex; gap: 8px; margin-top: 18px; }
.countdown div { background: #fff; border: 1px solid rgba(139,107,90,.18); border-radius: 10px; padding: 7px 8px; min-width: 52px; }
.countdown b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.invite-rsvp { margin-top: 16px; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--ivory); white-space: nowrap; }
.site-tabs { margin-top: auto; width: 100%; display: flex; justify-content: space-around; padding: 12px 10px 16px; border-top: 1px solid var(--line); font-size: .62rem; color: var(--muted); }
.site-tabs .on { color: var(--ink); font-weight: 600; }

/* Floating notifications */
.toast { position: absolute; z-index: 3; display: flex; gap: 10px; align-items: center; white-space: nowrap; background: #fff; border-radius: 14px; padding: 10px 14px 10px 10px; font-size: .78rem; box-shadow: 0 22px 44px -20px rgba(60,40,30,.4); opacity: 0; }
.toast i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #fff; font-style: normal; font-size: .75rem; font-weight: 600; }
.toast i.gold { background: linear-gradient(#E2C276, #C9A24E); }
.toast b { font-weight: 600; }
.toast.t1 { left: -18px; bottom: 34px; animation: appear .8s var(--ease) 1.6s forwards, bob 6s ease-in-out 1.6s infinite; }
.toast.t2 { right: -36px; top: 36px; animation: appear .8s var(--ease) 2.2s forwards, bob 8s ease-in-out 2.2s infinite; }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-10px); } }

.branch { position: absolute; width: 190px; pointer-events: none; }
.branch.b1 { top: -36px; left: -70px; transform: rotate(-8deg); }
.branch.b2 { bottom: -30px; right: -76px; transform: rotate(168deg); }
.branch path { fill: none; stroke: var(--sage-dark); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 3.2s var(--ease) 1s forwards; }
.branch .leaf { fill: rgba(138,154,123,.18); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.seal { position: absolute; left: -54px; top: 310px; width: 110px; height: 110px; z-index: 2; filter: drop-shadow(0 10px 18px rgba(120,60,40,.35)); }
.seal .ring { animation: spin 22s linear infinite; transform-origin: 50% 50%; }
.seal text { font-family: var(--sans); font-size: 9.2px; letter-spacing: 2.6px; fill: #FBE9DF; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

.petal { position: absolute; top: -40px; width: 14px; height: 18px; background: var(--blush); border-radius: 80% 0 80% 0; opacity: .75; pointer-events: none; animation: fall linear infinite; }
.petal:nth-child(2n) { background: var(--butter); }
.petal:nth-child(3n) { background: #DCE3D3; }
@keyframes fall {
    0% { transform: translate3d(0, -10vh, 0) rotate(0deg); }
    50% { transform: translate3d(60px, 50vh, 0) rotate(200deg); }
    100% { transform: translate3d(-30px, 115vh, 0) rotate(420deg); }
}

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(var(--ink), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink); color: var(--ivory); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.6rem; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .9rem; color: var(--butter); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.problem { padding: 140px 0 120px; position: relative; }
.problem .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.problem h2 { margin: 18px 0 24px; }
.problem p + p { margin-top: 16px; }
.better { font-family: var(--serif); font-style: italic; font-size: 2rem; margin-top: 30px; color: var(--sage-dark); }
.chaos { position: relative; height: 420px; }
.note { position: absolute; width: 190px; padding: 18px 18px 22px; background: #fff; border-radius: 4px; box-shadow: 0 18px 40px -22px rgba(46,42,38,.4); font-size: .85rem; transition: transform 1.2s var(--ease); }
.note b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 4px; }
.note small { color: var(--muted); }
.note.n1 { top: 10px; left: 0; background: var(--butter); transform: rotate(-7deg); }
.note.n2 { top: 40px; right: 10px; transform: rotate(6deg); }
.note.n3 { top: 190px; left: 40px; background: var(--blush); transform: rotate(4deg); }
.note.n4 { top: 230px; right: 30px; background: #E3E8DC; transform: rotate(-5deg); }
.note.n5 { top: 120px; left: 150px; transform: rotate(-2deg); z-index: 2; }
.chaos.tidy .note { transform: rotate(0) translate(var(--tx), var(--ty)); }
.note s { color: var(--terracotta); }

/* ---------- Features ---------- */
.features { padding: 60px 0 40px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 90px; }
.section-head h2 { margin: 18px 0 18px; }
.section-head .lead { margin: 0 auto; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 50px 0; }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature-num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--terracotta); }
.feature h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 8px 0 18px; }
.feature p { color: var(--muted); }
.feature ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; font-size: .95rem; }
.feature li { display: flex; gap: 12px; align-items: baseline; }
.feature li::before { content: "✦"; color: var(--sage); font-size: .7rem; }
.aside { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--mocha); }

.mock { position: relative; background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(91,70,52,.45); padding: 26px; overflow: hidden; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E7DFD3; }
.mock-title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; justify-content: space-between; }

/* Editor mock */
.editor { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.blocks { display: grid; gap: 8px; align-content: start; }
.blocks div { font-size: .72rem; padding: 10px; border-radius: 8px; background: var(--paper); text-align: center; border: 1px dashed rgba(139,107,90,.35); }
.canvas { background: var(--ivory); border-radius: 12px; padding: 14px; display: grid; gap: 10px; min-height: 280px; }
.canvas .blk { border-radius: 8px; opacity: 0; transform: translateX(-60px) scale(.9); transition: all .9s var(--ease); }
.in .canvas .blk { opacity: 1; transform: none; }
.canvas .blk:nth-child(1) { height: 90px; background: linear-gradient(135deg, var(--blush), var(--butter)); transition-delay: .2s; display: grid; place-items: center; font-family: var(--script); font-size: 1.8rem; }
.canvas .blk:nth-child(2) { height: 46px; background: #fff; border: 1px solid var(--line); transition-delay: .5s; display: flex; justify-content: center; gap: 14px; align-items: center; font-family: var(--serif); font-size: 1.1rem; }
.canvas .blk:nth-child(3) { height: 70px; transition-delay: .8s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.canvas .blk:nth-child(3) span { border-radius: 6px; background: #DCE3D3; }
.canvas .blk:nth-child(3) span:nth-child(2) { background: var(--blush); }
.canvas .blk:nth-child(3) span:nth-child(3) { background: var(--butter); }
.canvas .blk:nth-child(4) { height: 34px; width: 50%; justify-self: center; background: var(--ink); border-radius: 999px; transition-delay: 1.1s; }
.cursor { position: absolute; width: 22px; height: 22px; left: 60px; top: 110px; opacity: 0; }
.in .cursor { animation: drag 3.6s var(--ease) 1.4s infinite; }
@keyframes drag { 0% { opacity: 0; transform: translate(0,0); } 10% { opacity: 1; } 55% { transform: translate(200px, 150px); opacity: 1; } 70%, 100% { transform: translate(200px, 150px); opacity: 0; } }

/* Seating mock */
.tables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.table { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--ivory); }
.table h4 { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; margin-bottom: 10px; display: flex; justify-content: space-between; }
.table h4 small { font-family: var(--sans); font-size: .7rem; color: var(--muted); font-weight: 400; }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seat { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 600; border: 1px dashed rgba(139,107,90,.4); color: var(--muted); }
.seat.f { border: 0; background: var(--sage); color: #fff; }
.seat.f.b { background: var(--terracotta); }
.seat.f.y { background: #D9B86A; }
.seat.drop { border: 0; background: var(--mocha); color: #fff; transform: scale(0); }
.in .seat.drop { animation: pop .7s var(--ease) 1.2s forwards; }
@keyframes pop { 0% { transform: translate(-80px, 90px) scale(.6); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.unassigned { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .72rem; color: var(--muted); }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: .74rem; color: var(--ink); }

/* Quiz mock */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 14px; height: 230px; margin-top: 10px; }
.podium .p { width: 30%; text-align: center; }
.podium .bar { border-radius: 14px 14px 4px 4px; height: 0; transition: height 1.3s var(--ease); display: flex; align-items: flex-start; justify-content: center; padding-top: 12px; font-family: var(--serif); font-size: 1.8rem; color: #fff; }
.podium .p1 .bar { background: linear-gradient(#E2C276, #C9A24E); transition-delay: .5s; }
.podium .p2 .bar { background: linear-gradient(#CFCFCF, #A8A8A8); transition-delay: .3s; }
.podium .p3 .bar { background: linear-gradient(#D9A07F, #B87A58); transition-delay: .1s; }
.in .podium .p1 .bar { height: 150px; }
.in .podium .p2 .bar { height: 110px; }
.in .podium .p3 .bar { height: 80px; }
.podium .who { font-size: .82rem; font-weight: 500; margin-bottom: 4px; }
.podium .pts { font-size: .72rem; color: var(--muted); margin-bottom: 8px; }
.question { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.question p { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 12px; color: var(--ink); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts span { font-size: .8rem; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.opts .ok { border-color: var(--sage); background: #EEF2EA; }

/* RSVP mock */
.rsvp-q { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 12px; }
.toggle { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.toggle button { border: 0; background: none; font: inherit; font-size: .88rem; padding: 9px 24px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: all .35s var(--ease); }
.toggle button.on { background: var(--ink); color: var(--ivory); }
.reveal-field { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease), opacity .6s; opacity: 0; }
.reveal-field.open { grid-template-rows: 1fr; opacity: 1; }
.reveal-field > div { overflow: hidden; }
.field { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .9rem; color: var(--muted); margin-bottom: 12px; background: var(--ivory); }
.field label { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; color: var(--sage-dark); }
.branch-line { border-left: 2px solid var(--blush); padding-left: 16px; margin-left: 8px; }
.hint { font-size: .75rem; color: var(--muted); margin-top: 4px; font-style: italic; }

/* Budget mock */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.col h5 { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.task { background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: .78rem; margin-bottom: 8px; }
.task b { display: block; font-weight: 500; }
.task small { color: var(--muted); }
.tag { display: inline-block; font-size: .62rem; padding: 2px 8px; border-radius: 999px; margin-top: 6px; }
.tag.ok { background: #E3E8DC; color: var(--sage-dark); }
.tag.late { background: #F6DFD5; color: #A55A3E; }
.budget-head { display: flex; justify-content: space-between; font-size: .82rem; margin-bottom: 8px; }
.budget-head b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.stack { height: 14px; border-radius: 999px; background: var(--paper); display: flex; overflow: hidden; }
.stack i { height: 100%; width: 0; transition: width 1.4s var(--ease); }
.stack i:nth-child(1) { background: var(--sage); transition-delay: .3s; }
.stack i:nth-child(2) { background: #B7C2AA; transition-delay: .6s; }
.stack i:nth-child(3) { background: var(--butter); transition-delay: .9s; }
.in .stack i:nth-child(1) { width: 42%; }
.in .stack i:nth-child(2) { width: 18%; }
.in .stack i:nth-child(3) { width: 12%; }
.legend { display: flex; gap: 14px; margin-top: 10px; font-size: .7rem; color: var(--muted); flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--c); }

/* Photos mock */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 80px; gap: 8px; }
.ph { border-radius: 10px; position: relative; overflow: hidden; transform: scale(.85); opacity: 0; transition: all .9s var(--ease); transition-delay: calc(var(--i) * .1s); }
.in .ph { transform: none; opacity: 1; }
.ph:nth-child(1) { grid-row: span 2; background: linear-gradient(160deg, #E8D3BE, #C9A98C); }
.ph:nth-child(2) { background: linear-gradient(160deg, #DCE3D3, #A9B79B); }
.ph:nth-child(3) { grid-row: span 2; background: linear-gradient(160deg, var(--blush), #D3A493); }
.ph:nth-child(4) { background: linear-gradient(160deg, var(--butter), #E2C27F); }
.ph:nth-child(5) { grid-column: span 2; background: linear-gradient(160deg, #EADCC6, #BFA58C); }
.ph:nth-child(6) { background: linear-gradient(160deg, #C9CFC0, #8A9A7B); }
.ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), transparent 60%); }
.facetag { position: absolute; border: 1.5px solid #fff; border-radius: 4px; width: 38px; height: 38px; top: 22%; left: 28%; opacity: 0; z-index: 1; }
.facetag span { position: absolute; top: 100%; left: -1px; margin-top: 4px; font-size: .62rem; background: #fff; color: var(--ink); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.in .facetag { animation: fade .6s var(--ease) 1.4s forwards; }
.zip { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); }
.zip span:last-child { color: var(--ink); font-weight: 500; }

/* Mini features */
.mini { padding: 80px 0 120px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.mini-card { background: var(--ivory); padding: 34px 28px; transition: background .5s var(--ease); }
.mini-card:hover { background: #fff; }
.mini-card .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); margin-bottom: 20px; transition: transform .6s var(--ease), background .5s; }
.mini-card:hover .ico { transform: rotate(-12deg) scale(1.08); background: var(--butter); }
.mini-card .ico svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mini-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.mini-card p { font-size: .9rem; color: var(--muted); }

/* ---------- Story ---------- */
.story { padding: 140px 0; background: var(--sage-dark); color: var(--ivory); position: relative; overflow: hidden; }
.story::before { content: "L&Q"; position: absolute; right: -40px; bottom: -120px; font-family: var(--script); font-size: 26rem; line-height: 1; color: rgba(251,247,240,.06); pointer-events: none; }
.story .wrap { max-width: 860px; text-align: center; position: relative; }
.story .eyebrow { color: var(--butter); }
.story h2 { margin: 20px 0 30px; }
.story h2 em { color: var(--butter); }
.story p { font-size: 1.12rem; color: rgba(251,247,240,.82); max-width: 640px; margin: 0 auto; }
.signature { font-family: var(--script); font-size: 3rem; margin-top: 40px; color: var(--butter); }
.story .stamps { display: flex; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.story .stamps span { border: 1px solid rgba(251,247,240,.3); border-radius: 999px; padding: 8px 18px; font-size: .8rem; letter-spacing: .08em; }

/* ---------- Pricing (home) ---------- */
.pricing { padding: 140px 0 120px; }
body.home .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
body.home .plan { position: relative; border: 1px solid var(--line); border-radius: 28px; padding: 60px 34px 36px; background: #fff; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
body.home .plan:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(91,70,52,.4); }
body.home .plan.featured { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
body.home .plan.featured .muted, body.home .plan.featured li { color: rgba(251,247,240,.75); }
.badge { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; background: var(--butter); color: var(--ink); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
body.home .plan h3 { font-size: 2rem; text-align: center; font-style: italic; }
body.home .price { text-align: center; margin: 18px 0 10px; font-family: var(--serif); font-size: 4rem; line-height: 1; }
body.home .price small { font-size: 1.4rem; }
.trial-note { margin-top: 6px; color: var(--sage-dark); font-weight: 500; }
body.home .plan .trial-note { color: var(--sage-dark); }
body.home .plan.featured .trial-note { color: var(--butter); }
body.home .plan ul { list-style: none; margin: 28px 0 32px; display: grid; align-content: start; gap: 12px; font-size: .9rem; color: var(--muted); flex: 1; }
body.home .plan li { display: flex; gap: 10px; }
body.home .plan li::before { content: "✓"; color: var(--sage); font-weight: 600; }
body.home .plan.featured li::before { color: var(--butter); }
.plan .btn { justify-content: center; }
body.home .plan.featured .btn-primary { background: var(--butter); color: var(--ink); }
.pricing-note { text-align: center; margin-top: 40px; color: var(--muted); font-size: .95rem; }
.pricing-note em { font-family: var(--serif); font-size: 1.15rem; color: var(--mocha); }

/* ---------- FAQ (home) ---------- */
.faq { padding: 40px 0 140px; }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq > .wrap h2 { margin-top: 18px; position: sticky; top: 120px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 26px 0; font-family: var(--serif); font-size: 1.4rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .5s var(--ease), background .4s; }
summary .plus::before, summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] summary .plus { transform: rotate(45deg); background: var(--butter); }
details .answer { color: var(--muted); padding: 0 50px 26px 0; animation: fade .6s var(--ease); }

/* ---------- Contact ---------- */
.contact { padding: 40px 0 130px; }
.contact .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.contact h2 { margin-top: 18px; }
.contact .lead + .direct { margin-top: 26px; font-size: .95rem; color: var(--muted); }
.contact .direct a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.contact .direct a:hover { border-color: var(--ink); }
.contact-form { position: relative; display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: 0 40px 70px -50px rgba(91,70,52,.45); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 6px; font: inherit; font-size: .95rem; letter-spacing: normal; text-transform: none; color: var(--ink); background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .3s, box-shadow .3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(138,154,123,.18); }
.contact-form textarea { resize: vertical; min-height: 132px; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-content: center; }

/* reCAPTCHA Enterprise: badge hidden, required inline notice instead */
.grecaptcha-badge { visibility: hidden; left: auto !important; right: 24px !important; bottom: 24px !important; }
.recaptcha-disclaimer { font-size: .72rem; line-height: 1.55; letter-spacing: .01em; color: var(--sage-dark); text-align: center; margin: 0; }
.recaptcha-disclaimer a { color: inherit; text-decoration: underline; }
.contact-status { margin: 0; border-radius: 14px; padding: 14px 18px; font-size: .92rem; line-height: 1.5; }
.contact-status.ok { background: #EEF2EA; border: 1px solid rgba(138,154,123,.5); color: var(--sage-dark); }
.contact-status.bad { background: #F9E7E1; border: 1px solid rgba(201,139,118,.5); color: #9B5B44; }
.contact-status a { color: inherit; font-weight: 500; }

/* ---------- Final CTA (home) ---------- */
.final { padding: 0 0 120px; }
.final-card { position: relative; border-radius: 32px; overflow: hidden; padding: 110px 40px; text-align: center; background: radial-gradient(700px 400px at 20% 0%, rgba(243,227,181,.9), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(235,207,196,.9), transparent 60%), var(--paper); }
.final-card h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 300; }
.final-card .lead { margin: 20px auto 40px; }
.final-card .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ring-deco { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(139,107,90,.25); }
.ring-deco.r1 { top: -90px; left: -70px; animation: float 9s ease-in-out infinite; }
.ring-deco.r2 { bottom: -110px; right: -60px; width: 320px; height: 320px; animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(20px, 16px); } }

/* ---------- Footer (all landing pages) ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; font-size: .88rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
.lang-switch { display: flex; align-items: center; gap: 8px; color: #6F665D; font-size: .88rem; }
.lang-switch span[aria-current] { color: var(--ink); font-weight: 500; }
.lang-switch a { text-decoration: underline dotted; text-underline-offset: 3px; }

/* ---------- Responsive (home) ---------- */
@media (max-width: 980px) {
    .nav-links { display: none; }
    .hero .wrap, .problem .wrap, .feature, .faq .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 56px; }
    .feature:nth-child(even) .feature-copy { order: 0; }
    .hero-visual { width: min(440px, 100%); }
    body.home .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .mini-grid { grid-template-columns: repeat(2, 1fr); }
    .faq h2 { position: static; }
    .chaos { height: 380px; max-width: 460px; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 20px; }
    .nav-cta .login { display: none; }
    .logo-text { font-size: 1.25rem; }
    .hero-visual { height: 500px; }
    .phone { width: 228px; height: 470px; right: 0; border-radius: 38px; }
    .screen { border-radius: 29px; }
    .site-nav { padding-top: 44px; }
    .invite-names { font-size: 2.1rem; }
    .countdown div { min-width: 46px; }
    .paper { left: -14px; width: 160px; height: 240px; top: 70px; padding: 24px 12px 24px 34px; }
    .paper::after { left: 18px; }
    .paper-script { font-size: 1.6rem; }
    .seal { left: -20px; top: 250px; width: 80px; height: 80px; }
    .toast { font-size: .7rem; }
    .toast.t1 { left: -6px; bottom: 20px; }
    .toast.t2 { right: -8px; top: 28px; }
    .mini-grid { grid-template-columns: 1fr; }
    .editor { grid-template-columns: 1fr; }
    .blocks { grid-template-columns: repeat(4, 1fr); }
    .kanban { grid-template-columns: 1fr 1fr; }
    .kanban .col:last-child { display: none; }
    .note { width: 160px; }
    .note.n5 { left: 90px; }
    .branch { width: 140px; }
    .branch.b1 { left: -40px; }
    .branch.b2 { right: -40px; }
    .final-card { padding: 80px 24px; }
    .contact-form { padding: 24px 20px; }
    .contact-form .row { grid-template-columns: 1fr; }
    details .answer { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; animation-delay: 0s !important; }
    .petal, .cursor { display: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   Subpages: faq / pricing / functions / feature (landing/layout.html.twig)
   ========================================================================== */
body.page-sub { line-height: 1.7; }
body.page-sub h1, body.page-sub h2, body.page-sub h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
body.page-sub h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; letter-spacing: -.01em; }
body.page-sub h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 14px; }
body.page-sub .lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }

body.page-sub nav { position: sticky; top: 0; z-index: 50; background: rgba(251,247,240,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 0; }
body.page-sub nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 28px; }
body.page-sub .logo { font-family: var(--serif); font-size: 1.3rem; }
body.page-sub .logo img { width: 38px; height: 38px; object-fit: contain; }
body.page-sub .nav-links { gap: 26px; }
body.page-sub .nav-links a:hover { color: var(--terracotta); }
body.page-sub .btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9rem; white-space: nowrap; }
body.page-sub .btn-primary { background: var(--ink); color: var(--ivory); box-shadow: none; transform: none; }
body.page-sub .btn-primary:hover { background: #000; transform: none; box-shadow: none; }
@media (max-width: 760px) { body.page-sub .nav-links { display: none; } }

body.page-sub main { padding: 70px 0 40px; }
.hero-row { margin-bottom: 26px; }
.page-lead { margin-top: 16px; }
.rich p { margin: 0 0 18px; color: var(--muted); }
.rich { max-width: 720px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 46px; }
.cards .card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .35s, box-shadow .35s; }
.cards .card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(91,70,52,.4); }
.card small { color: var(--terracotta); font-family: var(--serif); font-style: italic; }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card .go { color: var(--sage-dark); font-weight: 500; font-size: .88rem; margin-top: auto; }

.bullets { list-style: none; display: grid; gap: 10px; margin: 26px 0; font-size: .98rem; max-width: 720px; }
.bullets li { padding-left: 24px; position: relative; }
.bullets li::before { content: "✦"; position: absolute; left: 0; color: var(--sage); font-size: .75rem; top: .35em; }

.faq-item { border-bottom: 1px solid var(--line); max-width: 760px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--serif); font-size: 1.3rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .answer { color: var(--muted); padding: 0 40px 22px 0; }
.faq-item .answer a { color: var(--ink); }
.faq-item.open summary::before { content: "▾ "; color: var(--terracotta); }
.faq-item summary::before { content: "▸ "; color: var(--sage); }

body.page-sub .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 44px 0 20px; }
body.page-sub .plan { border: 1px solid var(--line); border-radius: 20px; padding: 34px 28px; background: #fff; display: flex; flex-direction: column; }
body.page-sub .plan.featured { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
body.page-sub .plan h3 { font-size: 1.8rem; font-style: italic; text-align: center; }
body.page-sub .price { text-align: center; font-family: var(--serif); font-size: 3.2rem; margin: 12px 0 4px; }
body.page-sub .price small { font-size: 1.2rem; }
body.page-sub .plan .muted { color: var(--muted); font-size: .82rem; text-align: center; }
body.page-sub .plan.featured .muted { color: rgba(251,247,240,.7); }
body.page-sub .plan ul { list-style: none; margin: 22px 0 24px; display: grid; gap: 10px; font-size: .9rem; color: var(--muted); flex: 1; }
body.page-sub .plan.featured ul { color: rgba(251,247,240,.75); }
body.page-sub .plan li::before { content: "✓ "; color: var(--sage); font-weight: 600; display: inline; }
body.page-sub .plan.featured li::before { color: var(--butter); }
body.page-sub .plan .btn { justify-content: center; }
body.page-sub .plan.featured .btn-primary { background: var(--butter); color: var(--ink); }

.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--terracotta); }

.cta-final { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 46px 34px; text-align: center; margin: 60px 0 30px; }
.cta-final p { color: var(--muted); margin: 12px auto 24px; max-width: 520px; }
.cta-final .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

body.page-sub footer { border-top: 1px solid var(--line); padding: 36px 28px 44px; font-size: .88rem; color: var(--muted); }
body.page-sub footer .wrap { max-width: 1160px; margin: 0 auto; }
@media (max-width: 900px) { body.page-sub .plans { grid-template-columns: 1fr; max-width: 460px; } }

/* ==========================================================================
   Legal pages: privacy / cookies (landing/legal.html.twig)
   ========================================================================== */
body.page-legal { line-height: 1.7; }
body.page-legal a { color: var(--sage-dark); }
body.page-legal footer a { color: var(--muted); }
body.page-legal footer a:hover { color: var(--ink); }

body.page-legal nav { position: sticky; top: 0; z-index: 50; background: rgba(251,247,240,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 0; }
body.page-legal nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
body.page-legal .logo { color: var(--ink); }
body.page-legal .logo img { width: 40px; height: 40px; object-fit: contain; }
body.page-legal .logo-text { font-size: 1.35rem; }
nav .back { font-size: .9rem; text-decoration: none; color: var(--muted); }
nav .back:hover { color: var(--ink); }

body.page-legal main { padding: 72px 0 96px; }.legal { max-width: 760px; }
.legal .eyebrow { font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sage-dark); font-weight: 500; }
.legal h1 { font-family: var(--serif); font-weight: 400; line-height: 1.08; font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 18px 0 14px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin: 44px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--muted); margin-bottom: 16px; }
.legal ul { color: var(--muted); margin: 0 0 16px 22px; display: grid; gap: 8px; }
.legal li { padding-left: 4px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal .card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin: 24px 0; }
.legal .card table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legal .card th, .legal .card td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal .card th { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.legal .card tr:last-child th, .legal .card tr:last-child td { border-bottom: none; }
.legal .card td { color: var(--muted); }

@media (max-width: 640px) {
    body.page-legal main { padding: 48px 0 64px; }
    body.page-legal footer .wrap { flex-direction: column; text-align: center; }
}
