/* entrelac.app (Nov 7, 2026): the app's Aura look on the web.
   The rose-and-lavender sky, colour clouds that drift and move at their own pace as you scroll
   (and lean a little toward the mouse), glass cards, Domine and Elsie, and at night the app's
   midnight sky with twinkling stars and the odd shooting star. Everything that moves stops with
   Reduce Motion. Colours are the app's (src/theme: Dusk palette, neutrals, glass). */


:root {
  color-scheme: light;
  --base: #FCF5EC; --sky-top: #F6E8F0; --sky-mid: #EDE7FA;
  --ink: #22313F; --muted: #5C6975;
  --primary: #6266B4; --on-primary: #FFFFFF;
  --button: linear-gradient(135deg, #8B8FCD, #6468B6 55%, #5559A8);
  --soft: #E8E9F7; --on-soft: #575CB0;
  --love: #FFBBC0; --love-soft: #FFE9EA; --on-love-soft: #B03842;
  --success-soft: #EEF3EA; --on-success-soft: #58704A;
  --glass: rgba(255,255,255,0.62); --glass-border: rgba(255,255,255,0.75); --glass-edge: rgba(255,255,255,0.9);
  --glass-shadow: 0 10px 28px rgba(60,50,110,0.10); --track: rgba(255,255,255,0.65);
  --store: #22313F; --on-store: #FFFFFF;
  --stage: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,233,234,0.85));
  --glow: rgba(255,255,255,0.8);
  --tint-lav: rgba(232,233,247,0.85); --tint-pink: rgba(255,233,234,0.85); --tint-sage: rgba(238,243,234,0.9); --tint-peach: rgba(255,237,229,0.9);
  --card-lav: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(232,233,247,0.92));
  --card-peach: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,237,229,0.94));
  --card-pink: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,233,234,0.94));
  --pro: linear-gradient(150deg, #8B8FCD, #6468B6 55%, #5559A8); --pro-ink: #FFFFFF; --pro-accent: #E8E9F7; --pro-shadow: 0 14px 34px rgba(85,89,168,0.28);
  --cloud-love: 255,187,192; --cloud-primary: 139,143,205; --cloud-accent: 254,189,161;
  --header: rgba(252,245,236,0.82);
  --focus: #6266B4;
  --star-opacity: 0;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --base: #05060B; --sky-top: #0A0C22; --sky-mid: #0A0B1B;
  --ink: #EEF2F6; --muted: #9AA8B5;
  --primary: #ADB0DD; --on-primary: #1A1C3D;
  --button: linear-gradient(135deg, #CDCFEE, #ADB0DD 55%, #9DA1D4);
  --soft: #2B2E4A; --on-soft: #CBCDEE;
  --love-soft: #42262A; --on-love-soft: #FFCDD1;
  --success-soft: #27311F; --on-success-soft: #CFDBC5;
  --glass: rgba(30,34,58,0.6); --glass-border: rgba(255,255,255,0.12); --glass-edge: rgba(255,255,255,0.08);
  --glass-shadow: 0 10px 28px rgba(0,0,0,0.35); --track: rgba(255,255,255,0.06);
  --store: #EEF2F6; --on-store: #05060B;
  --stage: linear-gradient(180deg, rgba(30,34,58,0.4), rgba(43,46,74,0.8));
  --glow: rgba(173,176,221,0.22);
  --tint-lav: rgba(43,46,74,0.75); --tint-pink: rgba(66,38,42,0.75); --tint-sage: rgba(39,49,31,0.75); --tint-peach: rgba(64,41,31,0.75);
  --card-lav: linear-gradient(180deg, rgba(30,34,58,0.45), rgba(43,46,74,0.85));
  --card-peach: linear-gradient(180deg, rgba(30,34,58,0.45), rgba(64,41,31,0.85));
  --card-pink: linear-gradient(180deg, rgba(30,34,58,0.45), rgba(66,38,42,0.85));
  --pro: linear-gradient(150deg, #2B2E4A, #1E2140 60%, #42262A); --pro-ink: #EEF2F6; --pro-accent: #CBCDEE; --pro-shadow: 0 10px 28px rgba(0,0,0,0.35);
  --cloud-love: 132,99,113; --cloud-primary: 91,94,127; --cloud-accent: 132,100,97;
  --header: rgba(5,6,11,0.78);
  --focus: #ADB0DD;
  --star-opacity: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { position: relative; margin: 0; background: var(--base); color: var(--ink); font-family: Domine, Georgia, serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; transition: background-color .6s ease, color .4s ease; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 14px; background: var(--ink); color: var(--base); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.kicker { font-family: Elsie, Georgia, serif; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
h1, h2, h3 { line-height: 1.2; }
.h2 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 42px); }
.lead { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.glass { background: var(--glass); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-edge), var(--glass-shadow); }
.btn { min-height: 48px; padding: 0 24px; border-radius: 24px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px Domine, Georgia, serif; text-decoration: none; cursor: pointer; transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, filter .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: var(--button); color: var(--on-primary); box-shadow: 0 8px 22px rgba(85,89,168,0.28); }
.btn-soft { background: var(--soft); color: var(--on-soft); }

/* ---------- The sky ---------- */
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky-wash { position: absolute; left: 0; right: 0; top: 0; height: 1100px; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--base) 100%); transition: background .6s ease; }
.cloud { position: absolute; border-radius: 50%; will-change: transform; }
.cloud i { display: block; width: 100%; height: 100%; border-radius: 50%; animation: drift var(--ms) ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(var(--dx), var(--dy)) scale(var(--sc)); } }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: var(--star-opacity); transition: opacity .9s ease; }
.page { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background: var(--header); box-shadow: 0 1px 0 var(--glass-border), 0 8px 24px rgba(0,0,0,0.06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-family: Elsie, Georgia, serif; font-size: 34px; line-height: 1; color: var(--primary); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0 20px; flex: 1 1 auto; }
.nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover::after { transform: scaleX(1); }
.header-end { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--glass-border); background: var(--glass); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.theme-toggle svg { position: absolute; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; }
.theme-toggle .moon { transform: translateY(30px) rotate(-40deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .sun { transform: translateY(-30px) rotate(40deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .moon { transform: none; opacity: 1; }
@media (max-width: 640px) {
  .nav { order: 3; flex-basis: 100%; gap: 0 16px; font-size: 15px; }
  .header-end { margin-left: auto; }
  .header-end .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 72px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { margin: 12px 0 0; font-size: clamp(42px, 6.2vw, 68px); line-height: 1.08; font-weight: 700; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(24px) rotate(2deg); animation: word-in .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes word-in { to { opacity: 1; transform: none; } }
.woven { position: relative; white-space: nowrap; }
.threads { position: absolute; left: -2%; right: -2%; bottom: -0.32em; width: 104%; height: 0.5em; overflow: visible; pointer-events: none; }
.threads path { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s cubic-bezier(.65,0,.35,1) forwards 1s; }
.threads path + path { animation-delay: 1.25s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin-top: 30px; font-size: 19px; max-width: 34rem; opacity: 0; animation: fade-up .9s ease forwards .7s; }
.hero-cta { opacity: 0; animation: fade-up .9s ease forwards .95s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.stores { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.store { min-height: 56px; padding: 0 20px 0 16px; border-radius: 16px; background: var(--store); color: var(--on-store); display: inline-flex; align-items: center; gap: 12px; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 12px; opacity: .8; }
.store strong { font-size: 18px; }
.note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.launch { margin-top: 26px; padding: 18px; border-radius: 24px; max-width: 34rem; position: relative; }
.launch form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.launch .field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.launch label { font-size: 15px; font-weight: 700; }
.launch input[type=email] { height: 48px; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--track); color: var(--ink); padding: 0 14px; font: 16px Domine, Georgia, serif; transition: border-color .2s ease, box-shadow .2s ease; }
.launch input[type=email]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent); }
.launch .fine { margin: 0; flex-basis: 100%; font-size: 13px; color: var(--muted); }
.launch .msg { margin: 0; flex-basis: 100%; font-size: 14px; min-height: 0; }
.launch .msg.error { color: #B3261E; }
:root[data-theme="dark"] .launch .msg.error { color: #F2B8B5; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.launch .done { display: none; align-items: center; gap: 14px; }
.launch.is-done form { display: none; }
.launch.is-done .done { display: flex; animation: pop-in .6s cubic-bezier(.34,1.56,.64,1); }
.done .tick { width: 44px; height: 44px; border-radius: 22px; background: var(--success-soft); color: var(--on-success-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* The stage: a glass base the people rise out of. */
.stage { position: relative; width: 100%; max-width: 540px; margin: 0 auto; }
.stage .base { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 44px; background: var(--stage); }
.stage .glow { position: absolute; left: 50%; bottom: 16%; width: 88%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, transparent 62%); }
.stage .art { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; }
.stage .art img { display: block; }
.fadeb { -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%); mask-image: linear-gradient(to bottom, #000 74%, transparent 100%); }
.bob { animation: bob 7s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.hero-stage { aspect-ratio: 1 / 1.02; opacity: 0; animation: stage-in 1.2s cubic-bezier(.2,.8,.2,1) forwards .35s; }
@keyframes stage-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-stage .base { height: 60%; }
.hero-stage .art { cursor: pointer; }
.hero-stage .art img { width: 92%; margin-bottom: 3%; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.hero-stage .art:hover img { transform: scale(1.02) translateY(-4px); }
.chip { position: absolute; z-index: 3; padding: 10px 16px 10px 10px; border-radius: 26px; display: flex; align-items: center; gap: 10px; line-height: 1.3; opacity: 0; animation: chip-in .8s cubic-bezier(.34,1.56,.64,1) forwards; }
.chip strong { font-size: 14px; }
.chip small { font-size: 12px; color: var(--muted); }
.chip-a { top: 4%; left: -8px; --rot: -3deg; animation-delay: 1.3s; }
.chip-b { bottom: -14px; right: -8px; --rot: 3deg; animation-delay: 1.6s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(16px) scale(.8) rotate(0deg); } to { opacity: 1; transform: rotate(var(--rot)); } }
.orb { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: block; }
.orb-me { background: radial-gradient(circle at 35% 30%, #FFFFFF, #E8E9F7 45%, #ADB0DD); box-shadow: 0 0 16px rgba(139,143,205,0.6); }
.orb-you { background: radial-gradient(circle at 35% 30%, #FFFFFF, #FFE9EA 45%, #FFBBC0); box-shadow: 0 0 16px rgba(255,187,192,0.7); margin-left: -18px; }
:root[data-theme="dark"] .orb-me { background: radial-gradient(circle at 35% 30%, #6C70B8, #2B2E4A 75%); box-shadow: 0 0 16px rgba(90,94,140,0.5); }
:root[data-theme="dark"] .orb-you { background: radial-gradient(circle at 35% 30%, #A0707A, #42262A 75%); box-shadow: 0 0 16px rgba(140,90,100,0.5); }
.chip .orb-me, .chip .orb-you { animation: breathe 2.4s ease-in-out infinite alternate; }
.chip .orb-you { animation-delay: 1.2s; }
@keyframes breathe { to { box-shadow: 0 0 26px rgba(255,187,192,0.9); } }
.envelope { width: 40px; height: 40px; border-radius: 50%; background: var(--love-soft); color: var(--on-love-soft); display: flex; align-items: center; justify-content: center; }
.chip .label { font-family: Elsie, Georgia, serif; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--on-love-soft); }

/* Hearts that float around the people, and the ones a tap sends up. */
.heart { position: absolute; z-index: 2; pointer-events: none; animation: flutter var(--ms) ease-in-out var(--delay) infinite alternate; }
@keyframes flutter { from { transform: translateY(0) rotate(var(--r)); } to { transform: translateY(-16px) rotate(calc(var(--r) * -1)); } }
.burst { position: absolute; z-index: 4; pointer-events: none; width: 22px; height: 22px; animation: burst 1.3s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.1) rotate(var(--r)); } }
.hug-toast { position: absolute; left: 50%; top: 30%; z-index: 5; padding: 8px 16px; border-radius: 20px; background: var(--love-soft); color: var(--on-love-soft); font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none; animation: toast 1.8s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.9); } 15%, 75% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -14px); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-top: 72px; padding-bottom: 72px; }
.grid-feat { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1040px) { .grid-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-feat { grid-template-columns: minmax(0, 1fr); } }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.feature { border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; position: relative; }
.feature::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.35), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.feature:hover::after { opacity: 1; }
:root[data-theme="dark"] .feature::after { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.08), transparent 55%); }
.feature .pic { height: 170px; margin: 8px 8px 0; border-radius: 22px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.feature .pic img { height: 140px; max-width: 80%; object-fit: contain; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.feature:hover .pic img { transform: translateY(-6px) scale(1.05); }
.feature .pic img.pair { height: 120px; max-width: 46%; }
.feature .pic img.pair + img.pair { margin-left: -10px; }
.feature .txt { padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.extra { padding: 16px 18px; border-radius: 22px; display: flex; gap: 14px; align-items: flex-start; }
.icon-tile { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--soft); color: var(--on-soft); display: flex; align-items: center; justify-content: center; }
.extra strong { font-size: 17px; display: block; }
.extra span { font-size: 15px; line-height: 1.5; color: var(--muted); }

.scene { margin: 160px 0 0; padding: 0 22px 22px; border-radius: 32px; display: flex; flex-direction: column; gap: 6px; }
.scene .rise { position: relative; height: 200px; margin: 0 -12px; }
.scene .rise > div { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; }
.scene img { display: block; width: var(--w); max-width: var(--max); transform: translateY(70px) scale(.9); opacity: 0; transition: transform 1.1s cubic-bezier(.34,1.4,.64,1), opacity .6s ease; }
.scene.in img { transform: none; opacity: 1; }
.scene figcaption strong { font-size: 19px; display: block; }
.scene figcaption span { font-size: 15px; line-height: 1.55; color: var(--muted); }

.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "head pic" "steps pic"; column-gap: 40px; row-gap: 32px; align-items: start; }
.how-head { grid-area: head; align-self: end; }
.how-pic { grid-area: pic; align-self: center; width: 100%; max-width: 520px; margin: 0 auto; }
.how-pic img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 40px; }
.how-steps { grid-area: steps; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; position: relative; }
@media (max-width: 860px) { .how { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "pic" "steps"; } }
.how-steps::before { content: ''; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 3px; border-radius: 3px; background: var(--soft); }
.how-steps::after { content: ''; position: absolute; left: 39px; top: 40px; width: 3px; height: calc((100% - 80px) * var(--progress, 0)); border-radius: 3px; background: var(--button); }
.step { padding: 16px 18px; border-radius: 22px; display: flex; gap: 16px; align-items: flex-start; position: relative; z-index: 1; }
.step .n { flex-shrink: 0; width: 44px; height: 44px; border-radius: 22px; background: var(--button); color: var(--on-primary); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step strong { font-size: 18px; display: block; }
.step span { font-size: 15px; line-height: 1.55; color: var(--muted); }

.privacy { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.privacy > div { flex: 1 1 340px; min-width: 0; }
.privacy ul { flex: 1 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.promise { padding: 16px 18px; border-radius: 22px; display: flex; gap: 14px; align-items: flex-start; }
.check { flex-shrink: 0; width: 32px; height: 32px; border-radius: 16px; background: var(--success-soft); color: var(--on-success-soft); display: flex; align-items: center; justify-content: center; }
.check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s ease .2s; }
.in .check path, .promise.in .check path { stroke-dashoffset: 0; }
.promise strong { font-size: 17px; display: block; }
.promise span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.sofa-stage { aspect-ratio: 1 / 0.84; max-width: 460px; margin-top: 28px; }
.sofa-stage .base { height: 62%; }
.sofa-stage .art img { width: 96%; margin-bottom: 2%; }

.prices { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .prices { grid-template-columns: minmax(0, 1fr); } }
.price { padding: 26px; border-radius: 28px; display: flex; flex-direction: column; gap: 12px; }
.price .amount { font-size: 36px; font-weight: 700; }
.price .amount small { font-size: 16px; font-weight: 400; }
.price ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.pro { background: var(--pro); color: var(--pro-ink); box-shadow: var(--pro-shadow); position: relative; isolation: isolate; }
.pro .kicker, .pro .sub { color: var(--pro-accent); }
.pro::before { content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: 30px; background: conic-gradient(from var(--angle, 0deg), #FFBBC0, #FEBDA1, #BAC8AF, #ADB0DD, #FFBBC0); animation: turn 6s linear infinite; }
.pro::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 28px; background: var(--pro); }
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes turn { to { --angle: 360deg; } }
.pro .shine { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; pointer-events: none; }
.pro .shine::before { content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent); transform: rotate(10deg); animation: shine 5.5s ease-in-out infinite 2s; }
@keyframes shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }

.faq { max-width: 860px; }
.faq details { padding: 0; border-radius: 22px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-size: 17px; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: translateY(-70%) rotate(45deg); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: 0; padding: 0 20px 18px; font-size: 16px; line-height: 1.6; color: var(--muted); animation: fade-up .35s ease; }
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

.site-footer { padding-bottom: 48px; }
.site-footer .glass { padding: 22px 26px; border-radius: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; font-size: 15px; color: var(--muted); }
.site-footer .brand { font-size: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 22px; flex: 1 1 auto; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* The match picture comes in a day and a night version. */
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

/* Things that slide in as you scroll to them. */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js .scene img { opacity: 1; transform: none; }

/* ---------- Small pages (Support, Delete your account) ---------- */
.small-page { max-width: 760px; padding-top: 24px; padding-bottom: 64px; }
.small-page h1 { margin: 10px 0 0; font-size: clamp(34px, 5vw, 46px); }
.small-hero { display: flex; align-items: center; gap: 16px; }
.small-hero > div { flex: 1; }
.small-hero img { width: clamp(110px, 22vw, 170px); height: auto; }
.card { margin-top: 18px; padding: 22px; border-radius: 26px; }
.card h2 { margin: 0; font-size: 19px; }
.card p { margin: 10px 0 0; color: var(--muted); }
.card ol { margin: 12px 0 0; padding-left: 22px; line-height: 1.8; }
.mail { margin-top: 14px; width: 100%; }
.small-page h2.section-title { margin: 40px 0 0; font-size: 26px; }
.small-page ul.plain { margin: 12px 0 0; padding-left: 22px; line-height: 1.75; }
.links { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.links a { min-height: 44px; display: inline-flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .scene img { opacity: 1; transform: none; }
}
