/* ==========================================================================
   RoomServiceBell — Landing page
   Self-hosted fonts (CSP: font-src 'self'), no inline styles.
   ========================================================================== */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
    --ink: #0d1b2a;
    --ink-2: #1b2b3f;
    --ink-soft: #46566b;
    --muted: #6b7a8f;
    --cream: #faf7f2;
    --sand: #f2ece2;
    --line: #e8e1d5;
    --white: #ffffff;
    --gold: #c39a5a;
    --gold-2: #e0bf86;
    --gold-deep: #9c7536;
    --teal: #1f8a7a;
    --violet: #6c5ce7;
    --rose: #d9607a;
    --amber: #e39b2d;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 2px 8px rgba(13, 27, 42, .04);
    --shadow: 0 10px 30px -10px rgba(13, 27, 42, .18), 0 4px 10px -4px rgba(13, 27, 42, .06);
    --shadow-lg: 0 40px 80px -20px rgba(13, 27, 42, .35), 0 18px 36px -18px rgba(13, 27, 42, .25);
    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { text-wrap: balance; margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-weight: 600; font-size: .95rem; border-radius: 999px; padding: .8rem 1.35rem; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: 0 8px 20px -8px rgba(13, 27, 42, .55), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(13, 27, 42, .6), inset 0 1px 0 rgba(255,255,255,.12); background: var(--ink-2); }
.btn-ghost { background: rgba(255,255,255,.6); border-color: var(--line); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--white); border-color: #d9cfbf; transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn-light:hover { transform: translateY(-2px); background: var(--cream); }
.btn-outline-light { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn-outline-light:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(250, 247, 242, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; }
.logo strong { font-weight: 700; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(140deg, var(--ink) 0%, #2a3f5a 100%); color: var(--gold-2); box-shadow: 0 6px 14px -6px rgba(13,27,42,.6), inset 0 1px 0 rgba(255,255,255,.14); }
.logo-mark .ic { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-login, .nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 1.2rem; }
.nav-login-desktop { font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav-login-desktop:hover { color: var(--gold-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.nav-toggle .ic { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 560px; height: 560px; right: -120px; top: -160px; background: radial-gradient(circle at 30% 30%, #f3d7a6, rgba(243,215,166,0) 70%); animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 520px; height: 520px; left: -200px; bottom: -220px; background: radial-gradient(circle at 50% 50%, #cfe3e0, rgba(207,227,224,0) 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(13,27,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(13,27,42,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.08); } }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; min-height: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(31,138,122,.15); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(31,138,122,.15); } 50% { box-shadow: 0 0 0 7px rgba(31,138,122,.05); } }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.03; letter-spacing: -.03em; margin: 1.4rem 0 1.4rem; font-variation-settings: "opsz" 144, "SOFT" 30; }
.hero h1 em, .section-head h2 em, .split-copy h2 em, .sec-copy h2 em, .cta h2 em { font-weight: 400; color: var(--gold-deep); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.hero-ctas.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; padding: 0; margin: 1.8rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .ic { width: 17px; height: 17px; color: var(--teal); stroke-width: 2.4; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; text-align: left; }
.phone { position: relative; width: 300px; height: 610px; border-radius: 48px; padding: 12px; background: linear-gradient(160deg, #24364d, #0b1622 55%, #1a2a3d); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08); transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 22px; left: 50%; width: 96px; height: 26px; border-radius: 20px; background: #05090f; transform: translateX(-50%); z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: linear-gradient(180deg, #fbf8f3 0%, #f4efe6 100%); padding: 48px 16px 76px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.ps-status { position: absolute; top: 18px; left: 28px; right: 26px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.ps-icons .ic { width: 14px; height: 14px; }
.ps-hello small { display: block; color: var(--muted); font-size: 11.5px; }
.ps-hello strong { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.ps-wifi { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; background: var(--ink); color: var(--white); }
.ps-wifi-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(224,191,134,.18); color: var(--gold-2); }
.ps-wifi-ic .ic { width: 17px; height: 17px; }
.ps-wifi small { display: block; font-size: 10.5px; color: #9fb0c5; }
.ps-wifi b { font-size: 13px; letter-spacing: .02em; }
.ps-copy { margin-left: auto; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.1); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ps-tile { display: flex; flex-direction: column; gap: 14px; padding: 12px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 12.5px; }
.ps-tile .ic { width: 30px; height: 30px; padding: 6px; border-radius: 9px; }
.t-amber .ic { background: #fdf0dc; color: var(--amber); }
.t-teal .ic { background: #dff1ee; color: var(--teal); }
.t-violet .ic { background: #ebe8fd; color: var(--violet); }
.t-rose .ic { background: #fbe5ea; color: var(--rose); }
.ps-request { padding: 12px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); }
.ps-req-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.ps-request small { color: var(--muted); font-size: 11px; }
.ps-bar { height: 5px; border-radius: 5px; background: #eee7dc; margin: 10px 0 7px; overflow: hidden; }
.ps-bar span { display: block; height: 100%; width: 62%; border-radius: 5px; background: linear-gradient(90deg, var(--teal), #49b8a5); animation: progress 3.5s var(--ease) infinite alternate; }
@keyframes progress { from { width: 38%; } to { width: 72%; } }
.ps-tabs { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 54px; display: flex; justify-content: space-around; align-items: center; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); color: #a2adbb; }
.ps-tabs .ic { width: 20px; height: 20px; }
.ps-tabs .on { color: var(--ink); }

.chip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip-go { background: #dff1ee; color: #17705f; }
.chip-new { background: #fdf0dc; color: #a86a0d; }
.chip-wait { background: #ebe8fd; color: #5143c9; }
.chip-done { background: #eef0f3; color: #5d6878; }

.float-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 11px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid rgba(232,225,213,.8); box-shadow: var(--shadow); font-size: 13px; line-height: 1.35; }
.float-card small { display: block; color: var(--muted); font-size: 11.5px; }
.float-card b { font-weight: 600; }
.fc-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
.fc-ic .ic { width: 18px; height: 18px; }
.fc-amber { background: #fdf0dc; color: var(--amber); }
.fc-teal { background: #dff1ee; color: var(--teal); }
.fc-violet { background: #ebe8fd; color: var(--violet); }
.fc-1 { top: 8px; left: -28px; animation: float-b 6s ease-in-out infinite; }
.fc-2 { bottom: 110px; right: -16px; animation: float-b 7s ease-in-out 1s infinite; }
.fc-3 { bottom: 26px; left: 10px; animation: float-b 8s ease-in-out .5s infinite; }
@keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.builtfor { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.builtfor > span { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; }
.builtfor ul { display: flex; flex-wrap: wrap; gap: .5rem 2.2rem; list-style: none; padding: 0; margin: 0; }
.builtfor li { font-family: var(--serif); font-size: 1.15rem; color: var(--ink-soft); font-style: italic; }

/* ---------- Values strip ---------- */
.values { padding: 40px 0 20px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 26px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.v-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--sand); color: var(--gold-deep); margin-bottom: 18px; }
.value h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.value p { color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; }
.kicker-light { color: var(--gold-2); }
.section-head h2, .split-copy h2, .sec-copy h2, .cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4vw, 3.3rem); letter-spacing: -.025em; line-height: 1.08; font-variation-settings: "opsz" 144; }
.section-head p { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.1rem; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddd2c0; }
.card h3 { font-size: 1.2rem; margin: 18px 0 .55rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.c-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, var(--ink), #2a3f5a); color: var(--gold-2); box-shadow: 0 8px 18px -8px rgba(13,27,42,.55); }
.c-ic .ic { width: 22px; height: 22px; }
.card-xl { grid-column: span 3; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 40px; background: linear-gradient(135deg, #fff 0%, #fbf6ee 100%); }
.card-xl h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; letter-spacing: -.02em; }
.card-xl p { font-size: 1.02rem; }
.card-xl p em { color: var(--gold-deep); font-style: normal; font-weight: 600; }
.board { border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; font-size: .9rem; }
.board-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid #f0ebe2; }
.board-row:last-child { border-bottom: 0; }
.board-row.head { background: #faf7f2; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 11px 20px; }
.board-row .rm { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.board-row .chip { font-size: 11.5px; padding: 4px 11px; }

/* ---------- Dark guest section ---------- */
.dark { position: relative; background: var(--ink); color: #e6ecf3; overflow: hidden; }
.dark::before { content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(195,154,90,.22), transparent 65%); }
.dark::after { content: ""; position: absolute; width: 600px; height: 600px; left: -250px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(31,138,122,.2), transparent 65%); }
.dark .wrap { position: relative; z-index: 1; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.split-copy .kicker { color: var(--gold-2); }
.split-copy h2 { color: var(--white); }
.split-copy h2 em { color: var(--gold-2); }
.split-copy .lead { color: #aebbcc; margin-top: 1.3rem; }
.feature-list { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 1.4rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.fl-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--gold-2); }
.feature-list h4 { color: var(--white); font-size: 1.02rem; margin-bottom: .2rem; }
.feature-list p { color: #9aa9bc; font-size: .95rem; }

.split-visual { position: relative; display: flex; justify-content: center; padding: 30px 0 110px; }
.qr-card { width: 300px; padding: 34px 30px 30px; border-radius: 26px; background: linear-gradient(170deg, #fffdf9, #f3ece0); color: var(--ink); text-align: center; box-shadow: 0 40px 80px -24px rgba(0,0,0,.6); transform: rotate(2deg); }
.qr-art { display: grid; grid-template-columns: repeat(21, 1fr); grid-template-rows: repeat(21, 1fr); gap: 0; width: 200px; height: 200px; margin: 0 auto; padding: 14px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.qr-art span { border-radius: 1.5px; margin: .5px; }
.qr-art span.on { background: var(--ink); }
.qr-label { display: inline-flex; align-items: baseline; gap: .5rem; margin-top: 20px; }
.qr-label small { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 700; color: var(--muted); }
.qr-label b { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; letter-spacing: -.02em; }
.qr-card p { margin-top: .4rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.code-card { position: absolute; bottom: 14px; right: 4%; padding: 16px 18px; border-radius: 18px; background: rgba(27,43,63,.85); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); transform: rotate(-3deg); }
.code-card small { display: block; color: #9aa9bc; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-bottom: 8px; }
.code-digits { display: flex; gap: 6px; }
.code-digits span { display: grid; place-items: center; width: 30px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--white); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 46px; left: 16%; right: 16%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); opacity: .6; }
.step { position: relative; padding: 32px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--gold-deep); margin-bottom: 22px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--white); }
.step h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Security ---------- */
.security { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; padding: 64px; border-radius: 32px; background: linear-gradient(150deg, #13263a 0%, var(--ink) 60%, #0a1520 100%); color: #e6ecf3; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.security::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(224,191,134,.13) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(120deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%); }
.security > * { position: relative; }
.sec-copy h2 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.75rem); }
.sec-copy h2 em { color: var(--gold-2); }
.sec-copy p { margin-top: 1.3rem; color: #aebbcc; font-size: 1.05rem; }
.sec-badge { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(224,191,134,.12); border: 1px solid rgba(224,191,134,.3); color: var(--gold-2); font-weight: 600; font-size: .9rem; }
.sec-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sec-grid li { display: flex; gap: .9rem; padding: 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .3s, border-color .3s; }
.sec-grid li:hover { background: rgba(255,255,255,.07); border-color: rgba(224,191,134,.3); }
.sec-grid li > .ic { width: 22px; height: 22px; color: var(--gold-2); margin-top: 2px; }
.sec-grid h4 { color: var(--white); font-size: .98rem; margin-bottom: .25rem; }
.sec-grid p { color: #9aa9bc; font-size: .88rem; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #ddd2c0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c7536' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); font-size: .97rem; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 20px 0 120px; }
.cta { position: relative; overflow: hidden; text-align: center; padding: 88px 40px; border-radius: 32px; background: linear-gradient(135deg, #1b2b3f 0%, var(--ink) 50%, #2b2418 100%); color: var(--white); box-shadow: var(--shadow-lg); }
.cta-glow { position: absolute; width: 640px; height: 640px; left: 50%; top: -340px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(224,191,134,.35), transparent 65%); }
.cta > *:not(.cta-glow) { position: relative; }
.cta h2 em { color: var(--gold-2); }
.cta p { margin: 1.2rem auto 0; max-width: 34rem; color: #b9c5d4; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--sand); }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { margin-top: .8rem; color: var(--muted); font-size: .95rem; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-cols h5 { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 1rem; }
.footer-cols a { display: block; margin-bottom: .6rem; color: var(--ink-soft); font-size: .95rem; transition: color .2s; }
.footer-cols a:hover { color: var(--gold-deep); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; color: var(--muted); font-size: .88rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: var(--line); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Reveal on scroll (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 20px; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .lead { margin: 0 auto; }
    .hero-ctas, .hero-points { justify-content: center; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .card-xl { grid-column: span 2; grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split-visual { order: 2; }
    .security { grid-template-columns: 1fr; padding: 48px 36px; }
    .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
    .faq-wrap .section-head { position: static; }
}
@media (max-width: 860px) {
    .nav-links { display: none; position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; border-radius: 10px; }
    .nav-links a:not(.btn):hover { background: var(--cream); }
    .nav-links a:not(.btn)::after { display: none; }
    .nav-login { display: block; }
    .nav-cta-mobile { display: flex; margin-top: 6px; }
    .nav-login-desktop { display: none; }
    .nav-toggle { display: block; }
    .nav { background: rgba(250, 247, 242, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 20px; }
    .section { padding: 84px 0; }
    .values-grid, .bento, .sec-grid { grid-template-columns: 1fr; }
    .card-xl { grid-column: auto; padding: 28px 22px; }
    .board-row { grid-template-columns: 48px 1fr auto; padding: 12px 14px; gap: 10px; font-size: .84rem; }
    .phone { transform: none; animation: none; }
    .float-card { font-size: 12px; }
    .fc-1 { left: -4px; top: 0; }
    .fc-2, .fc-3 { display: none; }
    .footer-bottom::before { left: 20px; right: 20px; }
    .nav-actions > .btn { display: none; }
    .security { padding: 40px 22px; border-radius: 24px; }
    .cta { padding: 64px 22px; border-radius: 24px; }
    .footer-bottom { flex-direction: column; gap: .6rem; }
    .code-card { right: 2%; }
    .builtfor { justify-content: center; text-align: center; }
    .builtfor ul { justify-content: center; gap: .4rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
