/* Vidora shared styles: used by every page except the homepage's own hero/story rules */
:root {
  --bg: #08080a;
  --fg: #eeeef0;
  --fg2: #9c9ca4;
  --fg3: #7a7a83;
  --bd: rgba(255,255,255,.08);
  --ac: #8b5cf6;
  --ac-soft: #c4b5fd;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ac-soft); outline-offset: 3px; border-radius: 6px; }
.w { max-width: 1120px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); margin-bottom: 24px; }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; max-width: 18ch; }
h3 { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -.02em; line-height: 1.3; }
.lede { font-size: 17px; color: var(--fg2); max-width: 52ch; margin-top: 20px; }
section { padding-block: clamp(96px, 12vw, 152px); }
p a.u, li a.u { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }

/* NAV */
nav.top { position: sticky; top: 0; z-index: 50; background: rgba(8,8,10,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid transparent; }
.nav-in { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.logo-mark { width: 18px; height: 18px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--fg2); }
.nav-links a { transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--fg); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu-panel { position: absolute; left: 0; right: 0; top: 64px; background: #0b0b0e; border-bottom: 1px solid var(--bd); padding: 8px 0 20px; }
.menu-panel a { display: block; padding: 12px clamp(16px, 4vw, 40px); font-size: 17px; color: var(--fg2); }
.menu-panel a:hover { color: var(--fg); }
@media (max-width: 860px) {
  .nav-links .hide-sm { display: none; }
  .menu { display: block; }
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 99px; background: #f4f4f5; color: #0a0a0b; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .15s; }
.btn:hover { background: #fff; }
.btn-sm { height: 34px; padding: 0 16px; font-size: 13px; }
.link { font-size: 14.5px; color: var(--fg2); display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.link:hover { color: var(--fg); }

/* PAGE HERO (inner pages) */
.page-hero { padding-block: clamp(80px, 11vw, 140px) clamp(48px, 6vw, 72px); }
.page-hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; max-width: 16ch; }
.page-hero h1 span { color: #5e5e66; }
.page-hero .lede { font-size: 18px; max-width: 54ch; margin-top: 24px; }
.page-hero.hero-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.page-hero.hero-split h1 { font-size: clamp(38px, 4.5vw, 58px); max-width: 17ch; }
@media (max-width: 920px) { .page-hero.hero-split { grid-template-columns: 1fr; } }
.page-hero .cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }

/* ROW LISTS (hairline-separated, no cards) */
.rows { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
.rows.three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.rows > div { padding-block: 28px; border-top: 1px solid var(--bd); }
.rows h3 small { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ac-soft); letter-spacing: 0; margin-left: 8px; }
.rows p { color: var(--fg2); font-size: 15.5px; margin-top: 8px; max-width: 46ch; }
.rows .n { display: block; font-family: var(--mono); font-size: 12px; color: var(--fg3); margin-bottom: 10px; }
@media (max-width: 860px) { .rows.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .rows, .rows.three { grid-template-columns: 1fr; } }

/* SPLIT: heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split ul { list-style: none; }
.split li { padding-block: 16px; border-top: 1px solid var(--bd); display: flex; gap: 14px; font-size: 16px; }
.split li::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; margin-top: 10px; border-radius: 50%; background: var(--ac); }
.split li b { font-weight: 500; }
.split li span { color: var(--fg2); }
.split .prose p { color: var(--fg2); font-size: 16.5px; margin-bottom: 18px; max-width: 60ch; }
.split .prose p strong { color: var(--fg); font-weight: 500; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

/* FACT TABLE */
.facts { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.facts th, .facts td { text-align: left; padding: 16px 0; border-top: 1px solid var(--bd); vertical-align: top; }
.facts th { font-weight: 400; color: var(--fg3); width: 38%; padding-right: 24px; }

/* QUOTE */
.founder-in { max-width: 760px; }
.founder-in p { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; letter-spacing: -.025em; text-wrap: pretty; }
.founder-in figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14px; line-height: 1.45; color: var(--fg3); }
.founder-in figcaption b { color: var(--fg); font-weight: 500; }
.founder-in img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* CTA */
.cta { text-align: center; }
.cta h2 { margin: 0 auto; max-width: 14ch; font-size: clamp(36px, 5vw, 64px); }
.cta .lede { margin: 20px auto 0; }
.cta .btn { margin-top: 40px; }

/* FOOTER */
footer.site { padding-block: 64px 40px; border-top: 1px solid var(--bd); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); margin-bottom: 14px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 10px; font-size: 14px; }
.foot-grid li a { color: var(--fg2); transition: color .15s; }
.foot-grid li a:hover { color: var(--fg); }
.foot-co p { font-size: 14px; color: var(--fg3); margin-top: 14px; line-height: 1.6; }
.foot-co p a { color: var(--fg2); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bd); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--fg3); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-co { grid-column: 1 / -1; } }

/* PHONE (homepage hero + product page) */
.stage { position: relative; display: flex; justify-content: center; }
.stage::before { content: ''; position: absolute; inset: 15% 0 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(139,92,246,.10), transparent); pointer-events: none; }
.phone { position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 620; border-radius: 52px; padding: 11px;
  background: linear-gradient(135deg, #4a4a52 0%, #2a2a2f 8%, #151518 30%, #0e0e10 62%, #26262b 92%, #3c3c43 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 0 0 2px #0b0b0d, inset 0 0 0 5px #0a0a0c, 0 1px 0 rgba(255,255,255,.06), 0 50px 100px -30px rgba(0,0,0,.95), 0 30px 60px -40px rgba(0,0,0,.9); }
/* side buttons: action + volume on the left, power on the right */
.phone::before { content: ''; position: absolute; left: -3px; top: 110px; width: 3px; height: 26px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #3a3a40, #1c1c20); }
.phone::after { content: ''; position: absolute; right: -3px; top: 168px; width: 3px; height: 76px; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #3a3a40, #1c1c20); }
.phone .vol { position: absolute; left: -3px; width: 3px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #3a3a40, #1c1c20); }
.phone .vol.v1 { top: 156px; height: 46px; } .phone .vol.v2 { top: 212px; height: 46px; }
.screen { height: 100%; border-radius: 42px; background: #000; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.screen::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: linear-gradient(118deg, rgba(255,255,255,.055) 0%, rgba(255,255,255,.015) 28%, transparent 46%); }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 4; }
.island::after { content: ''; position: absolute; right: 13px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3550 0 18%, #0d1018 45%, #050507 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.status { height: 50px; flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; padding: 4px 28px 0 32px; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.status-r { display: flex; gap: 5px; align-items: center; }
.contact { position: relative; flex-shrink: 0; text-align: center; padding: 2px 0 9px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(22,22,24,.94); }
.contact .back { position: absolute; left: 12px; top: 13px; width: 11px; height: 18px; color: #8b5cf6; }
.contact-av { width: 40px; height: 40px; margin: 0 auto 4px; border-radius: 50%; background: linear-gradient(#6e6e76, #45454c); display: grid; place-items: center; font-size: 14px; font-weight: 500; color: #fff; }
.contact-name { font-size: 11px; color: #e5e5ea; }
.contact-name::after { content: ' \203A'; color: #8e8e93; }
.sms { flex: 1; padding: 12px; display: flex; flex-direction: column; font-size: 13px; line-height: 1.32; overflow: hidden; }
.stamp { text-align: center; font-size: 10px; color: #8e8e93; margin: 0 0 4px; }
.stamp b { font-weight: 600; }
.b { max-width: 80%; padding: 7px 12px; border-radius: 18px; margin-top: 10px; }
.b.out { align-self: flex-end; background: var(--ac); color: #fff; border-bottom-right-radius: 5px; }
.b.in { align-self: flex-start; background: #262629; color: #f2f2f7; border-bottom-left-radius: 5px; }
.delivered { align-self: flex-end; font-size: 9.5px; color: #8e8e93; margin: 3px 4px 0 0; }
.typing { align-self: flex-start; display: flex; gap: 4px; align-items: center; background: #262629; border-radius: 18px; border-bottom-left-radius: 5px; padding: 0 12px; height: 0; margin-top: 0; opacity: 0; overflow: hidden; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8e8e93; animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.inputbar { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 8px 12px 6px; }
.inputbar .plus { width: 28px; height: 28px; border-radius: 50%; background: #1f1f22; color: #8e8e93; display: grid; place-items: center; font-size: 18px; line-height: 1; flex-shrink: 0; }
.field { flex: 1; height: 30px; border-radius: 16px; border: 1px solid #333336; font-size: 12px; color: #5f5f64; display: flex; align-items: center; padding-left: 12px; }
.homebar { flex-shrink: 0; height: 18px; display: grid; place-items: center; }
.homebar::before { content: ''; width: 104px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.85); }
.anim .b, .anim .delivered { animation: pop .45s cubic-bezier(.2,.8,.2,1) backwards; }
.anim .s1 { animation-delay: .4s; } .anim .s2 { animation-delay: 1.5s; } .anim .s3 { animation-delay: 2.5s; } .anim .s4 { animation-delay: 3.6s; } .anim .delivered { animation-delay: 4.1s; }
.anim .t2 { animation: typing 1.5s .75s both; } .anim .t4 { animation: typing 1.5s 2.85s both; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes typing { 0% { height: 0; margin-top: 0; opacity: 0; } 12%, 46% { height: 28px; margin-top: 10px; opacity: 1; } 50%, 100% { height: 0; margin-top: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .anim .b, .anim .delivered { animation: none; } .anim .typing { animation: none; display: none; } }

/* REVEAL */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }
