/* Loftline pages for www.chapiware.com. Dusk theme; the legal pages use a calm cream sheet. */
:root { --cream:#FFF3DC; --paper:#FFF9EE; --ink:#2A1B5E; --text:#2B2540; --gold:#FFC83D; --gold-deep:#B45309; --purple:#5A48B8; --peach:#F2A07A; --card:rgba(42,27,94,.55); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font:17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; color:var(--cream);
       background:linear-gradient(var(--purple), #9A6FC4 45%, var(--peach)) fixed; min-height:100vh; }
a { color:inherit; }
.skip { position:absolute; left:-999px; top:0; background:var(--gold); color:var(--ink); padding:.6rem 1rem; z-index:10; }
.skip:focus { left:0; }
.top { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.9rem 1.25rem; max-width:64rem; margin:0 auto; flex-wrap:wrap; }
.top .brand { font-weight:800; text-decoration:none; letter-spacing:.02em; }
.top nav { display:flex; gap:1.1rem; flex-wrap:wrap; font-weight:600; }
.top nav a { text-decoration:none; opacity:.92; } .top nav a:hover { text-decoration:underline; }
.top nav a.lang { padding:.1rem .7rem; border:1.5px solid rgba(255,243,220,.6); border-radius:999px; }
main { max-width:64rem; margin:0 auto; padding:0 1.25rem 2rem; }
section { margin:3.2rem 0; }
h1, h2, h3 { line-height:1.15; margin:0 0 .6rem; }
h2 { font-size:clamp(1.7rem, 4.5vw, 2.3rem); text-align:center; margin-bottom:1.4rem; }
.hero { text-align:center; margin-top:1.5rem; }
.app-icon { border-radius:32px; box-shadow:0 16px 40px rgba(27,16,64,.45); }
.hero h1 { font-size:clamp(3rem, 11vw, 5rem); letter-spacing:-.01em; margin:.5rem 0 .1rem; }
.tagline { font-size:clamp(1.2rem, 3.5vw, 1.6rem); font-weight:700; margin:0 0 .8rem; }
.lead { max-width:40rem; margin:0 auto 1.4rem; opacity:.95; font-size:1.1rem; }
.btn { display:inline-block; padding:.75rem 1.5rem; border-radius:999px; font-weight:800; background:var(--gold); color:var(--ink); text-decoration:none; box-shadow:0 5px 0 var(--gold-deep); }
.btn.soon { background:rgba(255,243,220,.18); color:var(--cream); box-shadow:none; border:2px solid rgba(255,243,220,.7); }
.btn.ghost { background:transparent; color:var(--cream); box-shadow:none; border:2px solid var(--cream); }
.badges { list-style:none; display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; padding:0; margin:1.2rem 0 1.8rem; }
.badges li { background:var(--card); padding:.3rem .9rem; border-radius:999px; font-size:.95rem; font-weight:700; }
.phone { max-width:340px; margin:0 auto; border-radius:34px; overflow:hidden; box-shadow:0 22px 50px rgba(27,16,64,.55); border:6px solid #17102E; background:#17102E; }
.phone video { display:block; width:100%; height:auto; }
.band { background:rgba(27,16,64,.28); border-radius:28px; padding:2rem 1.25rem; }
.steps { list-style:none; display:grid; grid-template-columns:repeat(auto-fit, minmax(15rem, 1fr)); gap:1.2rem; padding:0; margin:0; }
.steps li { text-align:center; padding:0 .5rem; }
.steps .n { display:inline-grid; place-items:center; width:2.6rem; height:2.6rem; border-radius:50%; background:var(--gold); color:var(--ink); font-weight:800; margin-bottom:.5rem; }
.cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(16rem, 1fr)); gap:1rem; }
.card { background:var(--card); border-radius:22px; padding:1.2rem 1.4rem; }
.card h3 { color:var(--gold); font-size:1.15rem; }
.card p { margin:0; opacity:.95; }
.gallery { display:flex; gap:1rem; overflow-x:auto; padding:.4rem .2rem 1rem; scroll-snap-type:x mandatory; }
.gallery img { height:min(70vh, 520px); width:auto; border-radius:26px; box-shadow:0 14px 34px rgba(27,16,64,.45); scroll-snap-align:center; flex:none; }
.modes { display:grid; grid-template-columns:repeat(auto-fit, minmax(13rem, 1fr)); gap:.8rem; margin:0; }
.modes div { background:var(--card); border-radius:18px; padding:.9rem 1.1rem; }
.modes dt { font-weight:800; color:var(--gold); } .modes dd { margin:.2rem 0 0; }
.promise { text-align:center; } .promise p { max-width:40rem; margin:0 auto 1rem; }
details { background:var(--card); border-radius:16px; padding:.9rem 1.2rem; margin:.6rem 0; }
summary { cursor:pointer; font-weight:800; }
details p { margin:.6rem 0 0; }
.contact { text-align:center; }
.foot { text-align:center; padding:1.5rem 1rem 3rem; font-size:.95rem; opacity:.95; }
.foot a { text-decoration:underline; }
/* legal and support pages */
.doc { background:var(--paper); color:var(--text); border-radius:28px; padding:2rem clamp(1.1rem, 4vw, 2.6rem) 2.4rem; margin-top:1rem; max-width:48rem; }
.doc h1 { color:var(--ink); font-size:clamp(2rem, 6vw, 2.6rem); }
.doc h2 { text-align:left; color:var(--ink); font-size:1.3rem; margin:2rem 0 .5rem; }
.doc .lead, .doc .meta { margin:.2rem 0 1rem; max-width:none; opacity:.85; }
.doc a { color:#4A38A8; }
.doc .box { background:#F1E9FF; border-radius:18px; padding:1rem 1.3rem; margin:1.4rem 0; }
.doc .box h2 { margin-top:.2rem; }
.doc details { background:#F6F0FF; }
.doc summary { color:var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }
