/* nanafinance.com home page. Pure CSS: the site allows no scripts or inline styles. */
:root {
  --ink: #1C2733; --sub: #5E6B79; --faint: #8A96A3; --primary: #2F74D0; --primary-dark: #1F5DB3; --sky: #5BB8F5;
  --sky-soft: #DCEEFF; --tint: #F3F9FF; --line: #E4EBF2; --pink: #E0789E; --green: #3DBB8A;
  --head-a: #3567C2; --head-b: #6CB4EE;
  --radius: 20px; --shadow: 0 18px 50px rgba(28, 60, 110, 0.14); --shadow-sm: 0 6px 20px rgba(28, 60, 110, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* Type */
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -1.6px; margin: 0 0 20px; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 16px; font-weight: 800; }
h3 { font-size: 19px; letter-spacing: -0.2px; margin: 14px 0 8px; }
p { font-size: 17px; line-height: 1.6; color: var(--sub); margin: 0 0 16px; }
.lead { font-size: 20px; max-width: 540px; }
.sub { max-width: 620px; margin-left: auto; margin-right: auto; margin-bottom: 44px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.hl { background: linear-gradient(90deg, var(--head-a), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.light { color: #fff; }
p.light { color: rgba(255, 255, 255, 0.88); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; color: #fff; background: var(--primary); border-radius: 12px; padding: 11px 18px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; box-shadow: 0 6px 16px rgba(47, 116, 208, 0.25); }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--primary); box-shadow: none; border: 1.5px solid var(--line); }
.btn.ghost:hover { background: var(--tint); }
.btn.big { font-size: 17px; padding: 15px 24px; border-radius: 14px; }
.btn.white { background: #fff; color: var(--primary); }
.btn.white:hover { background: var(--tint); }
.btn.outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); box-shadow: none; }
.btn.outline-white:hover { background: rgba(255, 255, 255, 0.12); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.cta-row.center { justify-content: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(228, 235, 242, 0.7); }
.nav-in { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; }
.brand.small span { font-size: 20px; }
.links { display: flex; gap: 26px; margin-left: 18px; }
.links a { color: var(--sub); text-decoration: none; font-weight: 600; font-size: 15px; }
.links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #E3F1FF 0%, rgba(227, 241, 255, 0) 60%), linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; padding-top: 64px; padding-bottom: 80px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--sub); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 9px; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232F74D0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero-art { position: relative; min-height: 600px; display: flex; justify-content: center; align-items: center; }
.blob { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #9FD3FA, #3B78C9 70%); filter: blur(2px); opacity: 0.25; }

/* Phone frames */
.phone { position: relative; margin: 0; width: 290px; border-radius: 46px; padding: 11px; background: #0F1722; box-shadow: var(--shadow), inset 0 0 0 2px #2A3442; }
.phone img { border-radius: 36px; width: 100%; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #0F1722; border-radius: 14px; z-index: 1; }
.phone.tilt { transform: rotate(-4deg); }
.phone.mini { width: 170px; border-radius: 30px; padding: 7px; }
.phone.mini img { border-radius: 24px; }
.phone.mini::before { top: 12px; width: 54px; height: 15px; margin-left: -27px; }

/* Floating notifications */
.toast { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow); min-width: 250px; }
.toast b { display: block; font-size: 14px; }
.toast small { display: block; font-size: 13px; color: var(--sub); margin-top: 2px; }
.t1 { top: 70px; right: -6px; animation: float 6s ease-in-out infinite; }
.t2 { bottom: 70px; left: -10px; animation: float 6s ease-in-out 1.5s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .t1, .t2 { animation: none; } html { scroll-behavior: auto; } }
.ticon { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.ticon.pink { background: var(--pink); }
.ticon.green { background: var(--green); }
.ticon svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; padding-top: 22px; padding-bottom: 22px; }
.strip span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.strip svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: 100px 0; }
.section.tint { background: var(--tint); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { font-size: 15.5px; margin: 0; }
.ficon { width: 48px; height: 48px; border-radius: 14px; background: var(--sky-soft); display: inline-flex; align-items: center; justify-content: center; }
.ficon svg { width: 26px; height: 26px; fill: none; stroke: var(--primary); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Spotlights */
.spot { padding: 90px 0; }
.spot.alt { background: var(--tint); }
.spot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spot-in.rev .spot-copy { order: 2; }
.spot-art { display: flex; justify-content: center; position: relative; }
.spot-art.duo { min-height: 600px; }
.spot-art.duo .phone { z-index: 2; transform: translateX(40px); }
.spot-art.duo .phone.back { position: absolute; z-index: 1; transform: translateX(-90px) rotate(-6deg) scale(0.88); opacity: 0.9; top: 30px; }
.bullets { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 11px; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Alerts */
.alerts { background: linear-gradient(135deg, var(--head-a) 0%, var(--head-b) 100%); }
.eyebrow.light { color: rgba(255, 255, 255, 0.85); }
.alerts-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.stack { display: grid; gap: 12px; }
.note { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 14px 18px 14px 14px; box-shadow: 0 12px 30px rgba(16, 40, 90, 0.22); }
.note:nth-child(2) { margin-left: 28px; }
.note:nth-child(3) { margin-left: 56px; opacity: 0.94; }
.note:nth-child(4) { margin-left: 28px; opacity: 0.9; }
.note > span:nth-child(2) { flex: 1; min-width: 0; }
.note b { display: block; font-size: 15px; }
.note small { display: block; font-size: 13.5px; color: var(--sub); margin-top: 2px; }
.note em { font-style: normal; font-size: 12.5px; color: var(--faint); align-self: flex-start; }

/* Household */
.house-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.house-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.people { display: flex; align-items: center; gap: 0; }
.av { width: 76px; height: 76px; border-radius: 38px; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: #fff; box-shadow: var(--shadow-sm); border: 4px solid #fff; }
.a1 { background: linear-gradient(135deg, #3567C2, #5BB8F5); }
.a2 { background: linear-gradient(135deg, #C9568A, #E9A0BE); }
.link-line { width: 90px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 10px, transparent 10px 18px); }
.shared { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.shared-top b { display: block; font-size: 18px; }
.shared-top small { color: var(--sub); font-size: 14px; }
.row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row span { color: var(--sub); }
.roles { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pill { font-size: 13px; font-weight: 600; color: var(--primary-dark); background: var(--sky-soft); padding: 6px 12px; border-radius: 999px; }

/* Everywhere */
.every-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.every-art { position: relative; padding-bottom: 40px; }
.browser { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F4F6F9; border-bottom: 1px solid var(--line); }
.bar i { width: 11px; height: 11px; border-radius: 6px; background: #D9DEE5; }
.bar span { margin-left: 14px; font-size: 13px; color: var(--sub); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 12px; }
.every-art .phone.mini { position: absolute; right: -14px; bottom: 0; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 20px 30px 20px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 24px; font-weight: 400; color: var(--primary); }
details[open] summary::after { content: "−"; }
details p { font-size: 16px; padding-bottom: 6px; }
.small-link { margin-top: 30px; font-weight: 600; }

/* Final CTA */
.final { background: linear-gradient(135deg, var(--head-a) 0%, var(--head-b) 100%); padding: 90px 0; text-align: center; }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, 0.9); font-size: 19px; }

/* Footer */
.foot { background: #0F1722; color: #A9B4C0; padding: 48px 0; }
.foot-in { display: grid; gap: 18px; }
.foot .brand { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot nav a { color: #D5DCE4; text-decoration: none; font-weight: 600; font-size: 15px; }
.foot nav a:hover { color: #fff; }
.foot p { color: #8794A2; font-size: 13.5px; margin: 0; max-width: 760px; }

/* Smaller screens */
@media (max-width: 960px) {
  .links { display: none; }
  .hero-in, .spot-in, .alerts-in, .house-in, .every-in { grid-template-columns: 1fr; gap: 44px; }
  .spot-in.rev .spot-copy { order: 0; }
  .hero-in { padding-top: 40px; }
  .hero-art { min-height: 520px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .section, .spot { padding: 72px 0; }
  .every-art .phone.mini { right: 6px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav-cta .btn.ghost { display: none; }
  .grid { grid-template-columns: 1fr; }
  .lead { font-size: 18px; }
  .phone { width: 250px; }
  .toast { min-width: 0; max-width: 250px; }
  .t1 { right: 0; top: 30px; }
  .t2 { left: 0; bottom: 30px; }
  .spot-art.duo { min-height: 520px; }
  .spot-art.duo .phone { transform: translateX(28px); }
  .spot-art.duo .phone.back { transform: translateX(-60px) rotate(-6deg) scale(0.85); }
  .note:nth-child(n) { margin-left: 0; }
  .strip-in { justify-content: flex-start; }
  .every-art .phone.mini { width: 120px; right: 0; }
  h1 { letter-spacing: -1px; }
}

/* "Coming soon" pop-up, opened by links to #soon */
.soon { display: none; position: fixed; inset: 0; z-index: 50; align-items: center; justify-content: center; padding: 16px; }
.soon:target { display: flex; }
.soon-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 34, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.soon-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 24px; padding: 34px 28px 28px; text-align: center; box-shadow: 0 30px 80px rgba(15, 23, 34, 0.35); animation: pop .18s ease-out; }
.soon-card h2 { font-size: 30px; margin: 14px 0 10px; }
.soon-card p { font-size: 16.5px; }
.soon-card .btn { width: 100%; margin-top: 8px; }
.soon-x { position: absolute; top: 12px; right: 16px; font-size: 28px; line-height: 1; color: var(--faint); text-decoration: none; }
.soon-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--sky-soft); display: inline-flex; align-items: center; justify-content: center; }
.soon-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Beta badges */
.beta { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--primary-dark); background: var(--sky-soft); border-radius: 6px; padding: 3px 7px; margin-left: 2px; align-self: center; }
.beta-chip { display: inline-block; font-size: 12px; letter-spacing: 0.8px; color: #fff; background: var(--primary); border-radius: 999px; padding: 4px 10px; margin-right: 8px; vertical-align: 1px; }
