/* SEEK x FIND — one stylesheet for every page. Each app has a theme class (.t-glowfi …) that only sets
   colour/font variables; put it on <body> for an app page, or on a single element (e.g. a home-page row). */

:root, .t-home {
  --bg: #0b0b0f; --surface: #14141b; --surface-2: #1c1c26; --line: rgba(255,255,255,.08);
  --text: #f3f3f7; --muted: #a3a3b3; --accent: #ffb347; --accent-2: #ff6b9a; --on-accent: #1d1305;
  --glow-1: rgba(255,179,71,.16); --glow-2: rgba(255,107,154,.12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --eyebrow-font: var(--mono);
  --shadow: 0 40px 80px -30px rgba(0,0,0,.75);
  color-scheme: dark;
}
.t-glowfi { --bg: #0b0716; --surface: #151026; --surface-2: #1e1636; --line: rgba(255,255,255,.09); --text: #f7f1ff; --muted: #b6abcf; --accent: #ff5fd2; --accent-2: #ffb057; --on-accent: #1d0018; --glow-1: rgba(255,95,210,.26); --glow-2: rgba(120,90,255,.24); }
.t-mecha  { --bg: #060606; --surface: #101010; --surface-2: #181512; --line: rgba(255,176,0,.16); --text: #fff4e0; --muted: #bca98b; --accent: #ffb000; --accent-2: #4dff88; --on-accent: #1a1000; --glow-1: rgba(255,176,0,.2); --glow-2: rgba(77,255,136,.08); }
.t-plant  { --bg: #f3f6ec; --surface: #ffffff; --surface-2: #e8efdf; --line: rgba(29,53,39,.12); --text: #1d3527; --muted: #5b6f61; --accent: #2e7d4f; --accent-2: #ec8fa6; --on-accent: #ffffff; --glow-1: rgba(236,143,166,.3); --glow-2: rgba(140,196,120,.32); --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif; --eyebrow-font: var(--font); --shadow: 0 40px 70px -35px rgba(29,53,39,.45); color-scheme: light; }
.t-pin    { --bg: #f6f2e7; --surface: #fffdf7; --surface-2: #eee6d2; --line: rgba(21,55,42,.14); --text: #15372a; --muted: #5d6c62; --accent: #1d5c42; --accent-2: #d99a2b; --on-accent: #fffdf7; --glow-1: rgba(217,154,43,.24); --glow-2: rgba(29,92,66,.16); --shadow: 0 40px 70px -35px rgba(21,55,42,.45); color-scheme: light; }
.t-strong { --bg: #0a0a0a; --surface: #141414; --surface-2: #1d1d1d; --line: rgba(255,255,255,.08); --text: #f5f5f5; --muted: #a6a6a6; --accent: #c6f24e; --accent-2: #c6f24e; --on-accent: #0a0a0a; --glow-1: rgba(198,242,78,.16); --glow-2: rgba(198,242,78,.05); }
.t-shuttle { --bg: #0d0d10; --surface: #17171b; --surface-2: #1f1f25; --line: rgba(255,255,255,.09); --text: #f4f4f6; --muted: #a7a7b2; --accent: #ff7e2a; --accent-2: #ff5a1f; --on-accent: #1d0c00; --glow-1: rgba(255,126,42,.22); --glow-2: rgba(150,150,170,.1); }
.t-switch { --bg: #0a0f1e; --surface: #111a30; --surface-2: #18233f; --line: rgba(255,255,255,.09); --text: #eef3ff; --muted: #9fb0cf; --accent: #4d8dff; --accent-2: #35d07f; --on-accent: #ffffff; --glow-1: rgba(77,141,255,.26); --glow-2: rgba(53,208,127,.1); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
body, .themed { background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { font: 700 15px/1 var(--mono); letter-spacing: .2em; color: var(--text); white-space: nowrap; }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.nav-app { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); white-space: nowrap; }
.nav-app img { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.all { color: var(--text); }
@media (max-width: 760px) { .nav-links a:not(.all) { display: none; } .nav.has-app .brand { display: none; } }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 650; font-size: 16px; line-height: 1; background: var(--accent); color: var(--on-accent); border: 1px solid transparent; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .8; margin-bottom: 3px; letter-spacing: .02em; }
.btn.soon { cursor: default; flex-direction: column; align-items: flex-start; gap: 0; padding: 11px 22px 12px; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); text-decoration: none; }
a.btn:hover { text-decoration: none; filter: brightness(1.06); }

/* hero */
.hero { position: relative; padding: 88px 0 72px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 78% 30%, var(--glow-1), transparent 70%), radial-gradient(45% 45% at 12% 75%, var(--glow-2), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-grid.wide-visual { grid-template-columns: .9fr 1.1fr; }
.eyebrow { font: 600 13px/1 var(--eyebrow-font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow img { width: 44px; height: 44px; border-radius: 11px; }
.display { font-size: clamp(40px, 6.4vw, 74px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 22px; }
.display em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.meta { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* frames */
.device { position: relative; width: 100%; max-width: 300px; border-radius: 48px; padding: 9px; background: linear-gradient(160deg, #3a3a44, #0d0d11 40%, #23232b); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.1); }
.device img { border-radius: 40px; width: 100%; }
.window { border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.window .bar { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #1d1d22; }
.window .bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window .bar i:nth-child(2) { background: #febc2e; }
.window .bar i:nth-child(3) { background: #28c840; }
.window img { width: 100%; }
.visual > .window { width: 100%; } /* keep full width while a lazy image is still loading */
.trio { display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: center; }
.trio .device:nth-child(1) { transform: translateX(16%) rotate(-7deg) scale(.86); z-index: 0; }
.trio .device:nth-child(2) { z-index: 1; }
.trio .device:nth-child(3) { transform: translateX(-16%) rotate(7deg) scale(.86); z-index: 0; }
.pair { display: flex; justify-content: center; align-items: flex-start; gap: 22px; } /* frames hug their screens; flex's default stretch padded the first one */
.pair .device { max-width: 270px; }
.pair .device:nth-child(2) { margin-top: 64px; }
.solo { display: flex; justify-content: center; }
/* a menu-bar popover floating over a window screenshot */
.with-pop { position: relative; width: 100%; padding: 0 9% 13% 0; }
.with-pop .pop { position: absolute; right: 0; bottom: 0; width: 31%; border-radius: 14px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.icon-big { width: min(240px, 60vw); border-radius: 22%; box-shadow: var(--shadow); }

/* crossfading scene stack (Glowfi hero) */
.cycle { position: relative; aspect-ratio: 16 / 9; background: #000; }
.cycle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: cycle 20s infinite; }
.cycle img:first-child { opacity: 1; animation: none; }
.cycle img:nth-child(2) { animation-delay: 4s; }
.cycle img:nth-child(3) { animation-delay: 8s; }
.cycle img:nth-child(4) { animation-delay: 12s; }
.cycle img:nth-child(5) { animation-delay: 16s; }
@keyframes cycle { 0% { opacity: 0; } 3% { opacity: 1; } 20% { opacity: 1; } 23% { opacity: 0; } 100% { opacity: 0; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stats > div { background: var(--surface); padding: 26px 24px; }
.stats b { display: block; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -.03em; color: var(--accent); margin-bottom: 8px; }
.stats span { color: var(--muted); font-size: 15px; }

/* sections */
.section { padding: 104px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 19px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .visual { order: -1; }
.feature > *, .hero-grid > * { min-width: 0; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.feature .copy > p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.kicker { font: 600 12px/1 var(--eyebrow-font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.visual { display: flex; justify-content: center; }
.visual.left { justify-content: flex-start; }
.visual > img:not(.icon-big), .visual > figure { border-radius: 18px; }
.card-img { border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* grids of cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: 1fr 1fr; align-items: center; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.section.alt .card { background: var(--bg); }
.card h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card .glyph { font: 700 13px/1 var(--mono); color: var(--accent); letter-spacing: .08em; margin-bottom: 16px; display: block; }
.card .jp { font-size: 26px; font-weight: 700; color: var(--accent); display: block; margin-bottom: 6px; letter-spacing: 0; }

/* image tiles with captions */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tiles figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.tiles img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.tiles figure:hover img { transform: scale(1.04); }
.tiles figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.tiles figcaption b { display: block; font-size: 15px; }
.tiles figcaption span { display: block; }
.tiles.five { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tiles.five figcaption { font-size: 12.5px; padding: 22px 10px 8px; }
.tiles.five figcaption b { font-size: 14px; }
/* 25 tiles only divide evenly by 5: keep 5 across on tablets (names only); on phones 2 across with the last one full width */
@media (max-width: 1000px) { .tiles.five figcaption span { display: none; } }
@media (max-width: 560px) { .tiles.five { grid-template-columns: 1fr 1fr; } .tiles.five figure:last-child { grid-column: 1 / -1; } }

/* horizontal screenshot strip */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 36px; margin: 0 -20px; scrollbar-width: thin; }
.shots figure { margin: 0; scroll-snap-align: center; }
.shots .device { max-width: none; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 18px; }
@media (min-width: 1200px) { .shots.fit { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); overflow: visible; margin: 0; padding: 10px 0 0; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 18px; }

/* key table, specs */
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 28px; }
.keys div { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
kbd { font: 600 13px var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 7px; padding: 4px 8px; color: var(--text); white-space: nowrap; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); /* every page has 6 specs: 3×2, 2×3, 1×6 — never a gap */ gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.specs div { background: var(--surface); padding: 20px 22px; }
.specs dt { font: 600 12px/1 var(--eyebrow-font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.specs dd { margin: 0; font-weight: 600; }

/* privacy + faq */
.privacy { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.privacy .lock { width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 26px; }
.privacy h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.privacy p { color: var(--muted); margin-bottom: 8px; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 26px; line-height: .8; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; }

/* closing call to action */
.final { text-align: center; padding: 120px 0; position: relative; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 40%, var(--glow-1), transparent 70%); }
.final img { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 28px; box-shadow: var(--shadow); }
.final h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.final p { color: var(--muted); font-size: 19px; margin: 0 auto 30px; max-width: 34em; }
.final .actions { justify-content: center; }
.final .credit { margin: 56px auto 0; max-width: 40em; font-size: 15px; line-height: 1.6; color: var(--muted); } /* .final p would otherwise win */
.credit strong { color: var(--text); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 48px; background: var(--bg); }
.foot h4 { margin: 0 0 18px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 40px; }
.foot-apps a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--text); border: 1px solid var(--line); }
.foot-apps a:hover { border-color: var(--accent); text-decoration: none; }
.foot-apps img { width: 36px; height: 36px; border-radius: 9px; }
.foot-apps span { font-weight: 600; font-size: 15px; line-height: 1.2; }
.foot-apps small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.foot .fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }

/* home page */
.home-hero { padding: 110px 0 90px; text-align: center; }
.home-hero .display { max-width: 13em; margin-left: auto; margin-right: auto; }
.home-hero .lead { margin-left: auto; margin-right: auto; }
.icon-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 48px; }
.icon-row a { display: block; transition: transform .25s; }
.icon-row a:hover { transform: translateY(-6px) rotate(-3deg); }
.icon-row img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); }
.showcase { display: grid; gap: 28px; padding-bottom: 40px; }
.app-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); position: relative; isolation: isolate; color: var(--text); background: var(--bg); padding: 56px 56px 0; min-height: 460px; }
.app-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 30%, var(--glow-1), transparent 70%), radial-gradient(50% 60% at 10% 90%, var(--glow-2), transparent 70%); }
.app-row:hover { text-decoration: none; border-color: var(--accent); }
.app-row .copy { padding-bottom: 56px; align-self: center; }
.app-row .copy img.ic { width: 64px; height: 64px; border-radius: 15px; margin-bottom: 22px; box-shadow: 0 16px 34px -14px rgba(0,0,0,.6); }
.app-row h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.app-row .tag { font-size: 20px; color: var(--muted); margin-bottom: 22px; }
.app-row .more { font-weight: 650; color: var(--accent); }
.app-row .art { align-self: end; display: flex; justify-content: center; }
.app-row .art .device { max-width: 270px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; margin-bottom: -2px; }
.app-row .art .device img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; max-height: 400px; object-fit: cover; object-position: top; }
.app-row .art .window { margin-bottom: 56px; width: 100%; }
.app-row .art.mid { align-self: center; padding-bottom: 56px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; }
.made { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid, .hero-grid.wide-visual, .feature, .app-row { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .feature { gap: 36px; padding: 40px 0; }
  .feature.flip .visual { order: 0; }
  .section { padding: 72px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards.four, .cards.two, .steps, .made { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .app-row { padding: 36px 26px 0; min-height: 0; gap: 8px; }
  .app-row .copy { padding-bottom: 20px; }
  .app-row .art .window { margin-bottom: 26px; }
  .app-row .art.mid { padding-bottom: 30px; }
  .privacy { grid-template-columns: 1fr; padding: 28px; }
  .pair .device { max-width: 44vw; }
  .pair .device:nth-child(2) { margin-top: 40px; }
  .trio { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .specs { grid-template-columns: 1fr; }
  .icon-row img { width: 60px; height: 60px; border-radius: 14px; }
  .icon-row { gap: 12px; }
  .device { border-radius: 36px; padding: 7px; }
  .device img { border-radius: 30px; }
  .shots { grid-auto-columns: 72%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cycle img { animation: none; }
  .icon-row a, .tiles img { transition: none; }
}
