/* Sonelvia website — the app's night palette: deep teal, peach light, Mulish. */
@font-face { font-family: "Mulish"; src: url("fonts/mulish-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("fonts/mulish-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("fonts/mulish-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #032327;
  --bg-deep: #021a1d;
  --surface: #0a3236;
  --surface-2: #10404540;
  --stroke: #25484b;
  --peach: #ffc598;
  --peach-2: #eca77c;
  --gold: #f0e69f;
  --text: #eef6f3;
  --muted: #b7d3d0;
  --section: #8eadab;
  --radius: 24px;
  --sans: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); overflow-x: hidden;
  background-image: radial-gradient(900px 620px at 78% 0%, rgba(255,197,152,.13), transparent 62%),
                    radial-gradient(1000px 700px at -10% 20%, rgba(23,72,76,.65), transparent 60%),
                    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-repeat: no-repeat;
}
img { max-width: 100%; display: block; }
a { color: var(--peach); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { color: var(--peach); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -.01em; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(3, 35, 39, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(183,211,208,.08); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); text-decoration: none; }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(183,211,208,.16); border-radius: 999px; }
.langs a { color: var(--section); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.langs a:hover { color: var(--text); text-decoration: none; }
.langs a[aria-current] { background: var(--peach); color: #032327; }

/* App Store button */
.store { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; border-radius: 13px; padding: 9px 18px 9px 14px; line-height: 1.1; font-weight: 700; font-size: 19px; }
.store:hover { text-decoration: none; background: #f2f2f2; }
.store svg { width: 24px; height: 28px; }
.store small { display: block; font-size: 11px; font-weight: 600; }
.store.small { padding: 6px 12px 6px 10px; font-size: 14px; border-radius: 10px; }
.store.small svg { width: 16px; height: 19px; }
.store.small small { display: none; }
.store.is-soon { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid rgba(238,246,243,.3); }

/* Hero */
.hero-glow { position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-glow i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px 3px rgba(240,230,159,.55); animation: float 7s ease-in-out infinite; }
.hero-glow i:nth-child(1) { left: 54%; top: 150px; }
.hero-glow i:nth-child(2) { left: 88%; top: 210px; animation-delay: -2s; }
.hero-glow i:nth-child(3) { left: 61%; top: 560px; animation-delay: -4s; width: 4px; height: 4px; }
.hero-glow i:nth-child(4) { left: 94%; top: 520px; animation-delay: -1s; }
.hero-glow i:nth-child(5) { left: 8%; top: 610px; animation-delay: -3s; width: 4px; height: 4px; }
@keyframes float { 0%, 100% { transform: translate(0, 0); opacity: .9; } 50% { transform: translate(6px, -14px); opacity: .45; } }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 0 40px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(255,197,152,.25); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(255,197,152,.06); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -.025em; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--peach); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.link-arrow { color: var(--text); font-weight: 700; }
/* Counters: one glass strip with four cells */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; max-width: 600px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(23,72,76,.62), rgba(6,40,44,.62)); border: 1px solid rgba(183,211,208,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fact { position: relative; padding: 18px 16px 16px 20px; }
.fact + .fact::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: linear-gradient(transparent, rgba(183,211,208,.22), transparent); }
.fact dt { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -.02em; margin-bottom: 8px;
  background: linear-gradient(180deg, #ffe3c9 0%, #ffc598 55%, #eca77c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact dd { margin: 0; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.25; }
.fact small { display: block; margin-top: 4px; color: var(--section); font-size: 12px; font-weight: 400; line-height: 1.3; }

/* Device frames around the app screens */
.device { position: relative; width: 300px; max-width: 100%; border-radius: 48px; padding: 10px; background: linear-gradient(160deg, #1d4246, #061b1e 70%); box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(183,211,208,.14) inset; }
.device img { width: 100%; height: auto; border-radius: 39px; aspect-ratio: 428 / 960; object-fit: cover; background: #032327; }
.hero-phones { position: relative; min-height: 640px; display: flex; justify-content: center; align-items: center; }
.hero-phones::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,197,152,.28), transparent 65%); filter: blur(10px); }
.hero-phones .front { z-index: 2; transform: translateX(-70px) rotate(-3deg); }
.hero-phones .back { position: absolute; z-index: 1; width: 270px; transform: translateX(130px) translateY(30px) rotate(6deg); opacity: .9; }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: linear-gradient(180deg, rgba(23,72,76,.62), rgba(8,44,49,.72)); border: 1px solid rgba(183,211,208,.1); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,197,152,.12); color: var(--peach); }
.icon svg { width: 23px; height: 23px; }

/* Gallery */
.gallery-section { padding-bottom: 40px; }
.gallery { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(16px, (100vw - 1140px) / 2) 30px; scrollbar-width: thin; scrollbar-color: var(--stroke) transparent; }
.gallery figure { margin: 0; flex: 0 0 250px; scroll-snap-align: center; }
.gallery .device { width: 250px; border-radius: 40px; padding: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(183,211,208,.14) inset; }
.gallery .device img { border-radius: 33px; }
.gallery figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; text-align: center; padding: 0 8px; }
.note { color: var(--section); font-size: 14px; margin-top: 10px; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 48px 0; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 16px; }
.split p { color: var(--muted); font-size: 18px; }
.split-media { display: flex; justify-content: center; position: relative; }
.split-media::before { content: ""; position: absolute; inset: 15% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255,197,152,.18), transparent 70%); }
.split-media.pair { gap: 18px; }
.split-media.pair .device { width: 250px; }
.split-media.pair .device:last-child { margin-top: 70px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 10px rgba(255,197,152,.6); }

/* Bands */
.band { background: linear-gradient(135deg, rgba(23,72,76,.75), rgba(4,36,40,.85)); border: 1px solid rgba(183,211,208,.12); border-radius: 30px; padding: 46px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; }
.band.calm { background: linear-gradient(135deg, rgba(255,197,152,.14), rgba(23,72,76,.6)); }
.band h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 12px; }
.band p { color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: rgba(3,35,39,.55); border: 1px solid rgba(183,211,208,.16); font-size: 14.5px; font-weight: 600; }

/* Features page */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 30px; }
.feature { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; background: linear-gradient(180deg, rgba(23,72,76,.55), rgba(8,44,49,.7)); border: 1px solid rgba(183,211,208,.1); border-radius: var(--radius); padding: 26px; }
.feature:not(:has(.feature-shot)) { grid-template-columns: 1fr; }
.feature h2 { font-size: 23px; margin: 4px 0 4px; }
.feature .ticks li { font-size: 15.5px; margin-bottom: 8px; }
.feature-shot .device { width: 150px; border-radius: 26px; padding: 5px; box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(183,211,208,.14) inset; }
.feature-shot .device img { border-radius: 21px; }
.voices { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.voices figure { margin: 0; text-align: center; }
.voices img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; border: 2px solid rgba(255,197,152,.35); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.voices figcaption { margin-top: 10px; font-weight: 700; }
.cta { text-align: center; padding: 76px 0 92px; }
.cta-icon { margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 0 60px rgba(255,197,152,.35); }
.cta h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.cta p { color: var(--muted); margin: 0 auto 28px; max-width: 540px; }
.cta .actions { justify-content: center; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 16px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,197,152,.16); color: var(--peach); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* Documents & FAQ */
.page-head { padding: 64px 0 30px; }
.page-head h1 { font-size: clamp(38px, 5.4vw, 60px); margin-bottom: 14px; }
.page-head p { color: var(--muted); font-size: 19px; max-width: 680px; margin: 0; }
.doc { max-width: 800px; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(32px, 4.6vw, 46px); margin-bottom: 26px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc p, .doc li { color: #d2e3e0; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(183,211,208,.12); vertical-align: top; }
.doc th { color: var(--peach); font-weight: 700; }
.doc-note { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,197,152,.1); color: var(--peach) !important; font-size: 14px; margin: 0 0 18px; }
.table-scroll { overflow-x: auto; }
.faq { max-width: 840px; padding-bottom: 32px; }
.faq details { background: linear-gradient(180deg, rgba(23,72,76,.5), rgba(8,44,49,.65)); border: 1px solid rgba(183,211,208,.1); border-radius: 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--peach); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p { margin: 0 0 10px; }
.contact { max-width: 840px; margin-bottom: 88px; }

/* Footer */
.foot { border-top: 1px solid rgba(183,211,208,.08); padding: 42px 0 28px; background: rgba(2,26,29,.8); }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-grid p { margin: 12px 0 0; max-width: 340px; font-size: 14px; }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 36px; align-content: start; }
.foot nav a { color: var(--muted); font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.legal { font-size: 12px; margin-top: 28px; }

@media (max-width: 1000px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .voices { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero, .split, .band { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero { padding-top: 44px; gap: 24px; }
  .hero-phones { min-height: 0; padding: 10px 0 20px; }
  .hero-phones .front { transform: none; width: 270px; }
  .hero-phones .back { display: none; }
  .band { padding: 30px; }
  .split { gap: 30px; padding: 36px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; }
  .top nav a { font-size: 14px; }
  .top .store { display: none; }
  .bar { gap: 12px; }
  .brand span { display: none; }
  .grid, .grid.four { grid-template-columns: 1fr; }
  .voices { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature-shot { display: none; }
  .split-media.pair .device { width: 47%; }
  .split-media.pair .device:last-child { margin-top: 40px; }
  section { padding: 44px 0; }
  .foot nav { grid-template-columns: 1fr; }
  .doc th, .doc td { padding: 8px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3)::before { display: none; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(183,211,208,.14); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-glow i { animation: none; } }
