@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #07162f;
  --ink-soft: #10264a;
  --blue: #4169f4;
  --cyan: #42d5e8;
  --mint: #b7f5e4;
  --yellow: #ffd86c;
  --paper: #f5fbff;
  --muted: #6c7d98;
  --line: rgba(10, 42, 85, .12);
  --shadow: 0 24px 70px rgba(22, 65, 130, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(183, 245, 228, .72), transparent 24rem),
    radial-gradient(circle at 92% 9%, rgba(80, 157, 255, .18), transparent 28rem),
    var(--paper);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; position: relative; z-index: 2;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; box-shadow: 0 10px 24px rgba(38, 105, 224, .24); object-fit: cover; }
.brand-name { font-family: Manrope, sans-serif; font-size: 1.08rem; }
.brand-name span { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .92rem; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(65, 105, 244, .2); border-radius: 999px; color: var(--blue) !important; background: rgba(255,255,255,.58); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; padding: 70px 0 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; color: #2757d7; background: rgba(65, 105, 244, .1); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(66, 213, 232, .15); }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.1; letter-spacing: -.055em; }
h1 { max-width: 700px; margin: 20px 0; font-size: clamp(3rem, 6.6vw, 6.2rem); }
.hero-copy { max-width: 590px; color: var(--muted); font-size: 1.13rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 14px 21px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #4f72f6, #3bc9df); box-shadow: 0 14px 30px rgba(65, 105, 244, .26); }
.button-quiet { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.68); }
.microcopy { margin: 15px 0 0; color: var(--muted); font-size: .79rem; }

.hero-art { position: relative; min-height: 480px; display: grid; place-items: center; isolation: isolate; }
.hero-art::before { content: ''; position: absolute; width: 390px; height: 390px; max-width: 88%; max-height: 88%; border-radius: 44% 56% 54% 46%; background: url('site-assets/nexaclean-soft-bg.webp') center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 28px 70px rgba(38,105,224,.12); transform: rotate(-7deg); }
.hero-art::after { content: ''; position: absolute; z-index: -1; width: 300px; height: 46px; bottom: 12%; border-radius: 50%; background: rgba(53, 113, 210, .16); filter: blur(16px); }
.hero-icon { position: relative; z-index: 1; width: min(300px, 68vw); height: auto; border-radius: 50%; filter: drop-shadow(0 25px 30px rgba(25,69,157,.28)); }
.hero-note { position: absolute; z-index: 2; right: 0; top: 14%; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.72); border-radius: 17px; background: rgba(255,255,255,.75); box-shadow: var(--shadow); backdrop-filter: blur(16px); font-size: .79rem; font-weight: 700; }
.hero-note strong { display: block; font-family: Manrope, sans-serif; font-size: 1.3rem; }
.hero-note small { color: var(--muted); font-weight: 500; }
.hero-note-dot { width: 11px; height: 11px; border-radius: 50%; background: #36cfb0; box-shadow: 0 0 0 5px rgba(54,207,176,.14); }
.hero-chip { position: absolute; z-index: 2; left: 0; bottom: 10%; display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-radius: 17px; color: white; background: rgba(7, 22, 47, .88); box-shadow: 0 20px 35px rgba(7,22,47,.24); font-size: .78rem; }
.hero-chip b { font-size: .98rem; }

.section { padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 35px; }
.section-heading h2 { max-width: 490px; margin: 0; font-size: clamp(2.1rem, 4vw, 3.55rem); }
.section-heading p { max-width: 390px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature-card { min-height: 265px; padding: 24px; border: 1px solid rgba(11, 49, 95, .1); border-radius: 24px; background: rgba(255,255,255,.66); box-shadow: 0 9px 30px rgba(22,65,130,.05); transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(65,105,244,.28); box-shadow: var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 38px; padding: 7px; border-radius: 18px; color: #1e58dc; background: linear-gradient(145deg, rgba(78, 126, 250, .15), rgba(66, 213, 232, .25)); object-fit: contain; }
.feature-card:nth-child(2) .feature-icon { color: #098e76; background: rgba(183,245,228,.64); }
.feature-card:nth-child(3) .feature-icon { color: #b37300; background: rgba(255,216,108,.42); }
.feature-card:nth-child(4) .feature-icon { color: #a44880; background: rgba(245,185,225,.48); }
.feature-card h3 { margin: 0 0 9px; font-size: 1.2rem; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.screenshot-card { margin: 0; overflow: hidden; border: 1px solid rgba(11, 49, 95, .1); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 15px 45px rgba(22,65,130,.08); }
.phone-mockup { position: relative; width: min(76%, 340px); margin: 28px auto 22px; padding: 10px; border: 9px solid #17325f; border-radius: 46px; box-shadow: 0 24px 34px rgba(23,50,95,.22), inset 0 0 0 2px rgba(255,255,255,.52); isolation: isolate; }
.phone-mockup-blue { background: linear-gradient(145deg, #f4f8ff, #d6eaff); }
.phone-mockup-mint { background: linear-gradient(145deg, #f4fffc, #d7f6ef); border-color: #1d3b63; }
.phone-screen { display: block; width: 100%; aspect-ratio: 9 / 20; border-radius: 31px; object-fit: cover; object-position: top; }
.phone-speaker { position: absolute; z-index: 3; top: 14px; left: 50%; width: 66px; height: 6px; transform: translateX(-50%); border-radius: 999px; background: rgba(23,50,95,.72); }
.phone-camera { position: absolute; z-index: 3; top: 13px; left: calc(50% - 48px); width: 8px; height: 8px; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; background: #42d5e8; }
.phone-side-key { position: absolute; z-index: 3; left: -14px; width: 6px; border-radius: 5px 0 0 5px; background: #17325f; }
.phone-side-key-top { top: 116px; height: 42px; }
.phone-side-key-bottom { top: 173px; height: 68px; }
.screenshot-card figcaption { padding: 15px 18px 18px; color: var(--muted); font-size: .9rem; }

.story { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 64px; padding: 50px 58px; min-height: 420px; border-radius: 30px; background: var(--ink); color: white; overflow: hidden; position: relative; }
.story::after { content: ''; position: absolute; width: 430px; height: 430px; right: -170px; top: -190px; border-radius: 50%; background: linear-gradient(135deg, rgba(66,213,232,.4), rgba(65,105,244,.05)); }
.story-art { min-height: 285px; position: relative; display: grid; place-items: center; }
.story-art::before { content: ''; position: absolute; width: 270px; height: 270px; border: 1px solid rgba(116,208,232,.2); border-radius: 50%; background: radial-gradient(circle, rgba(66,213,232,.16), rgba(65,105,244,.06) 55%, transparent 56%); box-shadow: 0 0 0 34px rgba(66,213,232,.025); }
.story-device { position: relative; z-index: 1; width: 260px; max-height: 285px; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(0,0,0,.28)); }
.story h2 { margin: 0 0 17px; font-size: clamp(2rem, 4vw, 3.6rem); }
.story p { max-width: 500px; margin: 0; color: #a9bad7; }
.privacy-note { display: inline-flex; margin-top: 23px; padding: 10px 13px; border-radius: 12px; color: #caf9ed; background: rgba(183,245,228,.1); font-size: .8rem; }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 33px 0 42px; color: var(--muted); border-top: 1px solid var(--line); font-size: .84rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }

.policy-main { padding: 40px 0 100px; }
.policy-hero { padding: 70px 0 45px; max-width: 820px; }
.policy-hero h1 { margin: 20px 0 12px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.policy-hero p { color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: 210px 1fr; gap: 58px; align-items: start; }
.policy-nav { position: sticky; top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.55); font-size: .8rem; }
.policy-nav a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; }
.policy-nav a:hover { color: var(--blue); }
.policy-content { max-width: 790px; padding: 38px 42px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.72); box-shadow: 0 15px 50px rgba(22,65,130,.06); }
.policy-content section { scroll-margin-top: 24px; padding: 0 0 27px; margin: 0 0 27px; border-bottom: 1px solid var(--line); }
.policy-content section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.policy-content h2 { margin: 0 0 11px; font-size: 1.28rem; letter-spacing: -.035em; }
.policy-content p, .policy-content li { color: #52657f; font-size: .96rem; }
.policy-content ul { padding-left: 21px; }
.policy-content li + li { margin-top: 10px; }
.policy-content a { color: #2454d2; }
.policy-updated { color: var(--muted); font-size: .88rem; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 55px; }
  .hero-copy { max-width: 680px; }
  .hero-art { min-height: 430px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 10px; }
  .story-art { min-height: 260px; }
  .policy-layout { grid-template-columns: 1fr; gap: 20px; }
  .policy-nav { position: static; display: flex; flex-wrap: wrap; gap: 0 16px; }
}
@media (max-width: 600px) {
  .site-shell { width: min(100% - 28px, 1180px); }
  .site-header { padding: 16px 0; }
  .nav { gap: 11px; font-size: .78rem; }
  .nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 12px; }
  .hero { min-height: 0; padding: 54px 0 74px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .hero-copy { font-size: 1rem; }
  .hero-art { min-height: 340px; }
  .hero-icon { width: 245px; }
  .hero-note { top: 7%; right: -2px; }
  .hero-chip { bottom: 4%; left: -2px; }
  .section { padding: 67px 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 13px; }
  .feature-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-icon { margin-bottom: 28px; }
  .story { padding: 36px 22px; min-height: 0; border-radius: 25px; }
  .story-art { min-height: 230px; }
  .story-art::before { width: 220px; height: 220px; }
  .story-device { width: 205px; max-height: 225px; }
  .footer { display: block; }
  .footer-links { margin-top: 12px; }
  .policy-hero { padding: 42px 0 26px; }
  .policy-content { padding: 25px 21px; border-radius: 21px; }
}

/* Content sections added for search-friendly feature explanations and FAQs. */
h1, h2, h3, .brand { letter-spacing: 0; }
h1 { font-size: 5.8rem; }
.section-heading h2 { font-size: 3.2rem; }

.detail-section { padding-top: 30px; }
.tool-list { border-top: 1px solid var(--line); }
.tool-row { display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tool-number { color: var(--blue); font-family: Manrope, sans-serif; font-size: .84rem; font-weight: 800; letter-spacing: .08em; }
.tool-row h3 { margin: 0 0 8px; font-size: 1.3rem; }
.tool-row p { max-width: 680px; margin: 0; color: var(--muted); }

.steps-section { padding-top: 40px; }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.steps-list li { display: flex; gap: 16px; min-height: 185px; padding: 23px; border: 1px solid rgba(11, 49, 95, .1); border-radius: 22px; background: rgba(255,255,255,.66); }
.steps-list li > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--blue); font-weight: 700; }
.steps-list h3 { margin: 2px 0 8px; font-size: 1.15rem; }
.steps-list p { margin: 0; color: var(--muted); font-size: .92rem; }

.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; color: var(--ink); font-family: Manrope, sans-serif; font-size: 1.1rem; font-weight: 700; }
.faq-list summary::marker { color: var(--blue); }
.faq-list details p { max-width: 760px; margin: 12px 0 0; color: var(--muted); }
.faq-list a { color: #2454d2; }

@media (max-width: 940px) {
  h1 { font-size: 4.5rem; }
  .section-heading h2 { font-size: 2.8rem; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li { min-height: 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 2.7rem; }
  .section-heading h2 { font-size: 2.1rem; }
  .tool-row { grid-template-columns: 42px 1fr; gap: 12px; }
  .tool-row h3 { font-size: 1.1rem; }
}
