/* Genius Technologies — geniustechnologies.uk
   System font stack: SF Pro on Apple devices, the platform UI font elsewhere. No web fonts, no trackers. */

:root {
  --bg: #fff;
  --bg-alt: #f5f5f7;
  --tile: #fff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, .12);
  --blue: #0071e3;
  --blue-h: #0077ed;
  --link: #0066cc;
  --nav: rgba(255, 255, 255, .72);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bg-alt: #111113;
    --tile: #1d1d1f;
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --ink-3: #86868b;
    --line: rgba(255, 255, 255, .16);
    --link: #2997ff;
    --nav: rgba(0, 0, 0, .72);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, dl, dd, figure, ul, address { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: #000; color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 12px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 22px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; height: 52px; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -.015em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 24px; height: 24px; }
.nav nav { display: flex; gap: clamp(16px, 3vw, 32px); }
.nav nav a { color: var(--ink); opacity: .8; font-size: 14px; letter-spacing: -.005em; }
.nav nav a:hover { opacity: 1; text-decoration: none; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; letter-spacing: -.01em;
  color: var(--ink-2); margin-bottom: 14px;
}
h1, h2 { font-weight: 700; text-wrap: balance; }
h1 {
  font-size: clamp(46px, 9vw, 104px);
  line-height: 1.04; letter-spacing: -.04em;
  max-width: 12em; margin: 0 auto;
}
.lead {
  font-size: clamp(19px, 2.3vw, 28px); line-height: 1.32; font-weight: 400;
  letter-spacing: -.012em; color: var(--ink-2);
  max-width: 30em; margin: 24px auto 0; text-wrap: balance;
}
.grad {
  display: inline-block; padding-bottom: .1em;
  background: linear-gradient(92deg, #0071e3 0%, #8e5af7 52%, #ff375f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.muted { color: var(--ink-3); }
.section-title {
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -.03em; text-align: center;
}
.section-sub {
  text-align: center; color: var(--ink-2);
  font-size: clamp(19px, 2.3vw, 26px); letter-spacing: -.012em; margin-top: 14px;
}

/* ---------- Buttons / links ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; align-items: center; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 980px;
  background: var(--blue); color: #fff; font-size: 17px; letter-spacing: -.01em;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue-h); text-decoration: none; }
.btn:active { transform: scale(.98); }
.link { font-size: 19px; letter-spacing: -.012em; }
.link::after { content: "\203A"; margin-left: .35em; transition: margin-left .2s ease; }
.link:hover { text-decoration: none; }
.link:hover::after { margin-left: .55em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(96px, 15vw, 184px) 0 clamp(88px, 12vw, 152px);
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  inset: -25% -10% -10%;
  background:
    radial-gradient(38% 46% at 24% 38%, rgba(0, 113, 227, .20), transparent 70%),
    radial-gradient(34% 44% at 76% 34%, rgba(175, 82, 222, .18), transparent 70%),
    radial-gradient(30% 40% at 54% 74%, rgba(255, 55, 95, .13), transparent 70%);
  filter: blur(40px);
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to   { transform: translate3d(2%, -3%, 0) scale(1.08); }
}

/* ---------- Apps lineup ---------- */
.apps { background: var(--bg-alt); padding: clamp(72px, 10vw, 128px) 0; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.app {
  background: var(--tile); border-radius: 28px;
  padding: 32px 32px 30px; display: flex; flex-direction: column; min-height: 400px;
}
.app-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
.app-icon {
  width: 76px; height: 76px; border-radius: 22.37%; overflow: hidden;
  display: grid; place-items: center; flex: none;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 10px 28px rgba(0, 0, 0, .16);
}
.app-icon img { width: 100%; height: 100%; }
.app-icon svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.g-indigo { background: linear-gradient(145deg, #7d7aff, #5e5ce6 45%, #2fa8ff); }
.g-green  { background: linear-gradient(145deg, #5ee07f, #1fbf6a 50%, #0aa8a0); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; padding-top: 6px;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34c759; }
.status.soon::before { background: var(--ink-3); }
.app h3 { font-size: 34px; line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.app .tag { font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin: 6px 0 12px; }
.app p:not(.tag) { color: var(--ink-2); font-size: 17px; }
.app .links { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Featured product ---------- */
.product {
  --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --link: #2997ff; --line: rgba(255, 255, 255, .16);
  position: relative; overflow: hidden; background: #000; color: var(--ink);
  text-align: center; padding-top: clamp(88px, 12vw, 160px);
}
.product h2 { font-size: clamp(56px, 11vw, 128px); line-height: 1; letter-spacing: -.045em; }
.product .me { color: #ff453a; }

.stage { position: relative; margin-top: clamp(56px, 8vw, 96px); }
.stage::before {
  content: ""; position: absolute; left: 50%; bottom: -10%; width: min(1100px, 120vw); height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(226, 59, 46, .34), transparent 75%);
  filter: blur(30px);
}
.phones {
  --wc: clamp(240px, 24vw, 330px);
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(16px, 3vw, 44px);
  height: calc(var(--wc) * 1.5);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.phone {
  --w: calc(var(--wc) * .84);
  position: relative; flex: none; width: var(--w);
  padding: calc(var(--w) * .028);
  border-radius: calc(var(--w) * .16);
  background: linear-gradient(145deg, #4a4a4d, #1c1c1e 38%, #0b0b0c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 90px rgba(0, 0, 0, .7);
  transform: translate3d(0, calc((1 - var(--p, 1)) * var(--k, 1) * 80px), 0);
  will-change: transform;
}
.phone.side { margin-top: clamp(24px, 4vw, 64px); --k: 1.5; }
.phone.center { --w: var(--wc); --k: .7; }
.phone img { width: 100%; border-radius: calc(var(--w) * .135); background: #0e0e0f; }
.island {
  position: absolute; z-index: 2; left: 50%; top: calc(var(--w) * .05);
  width: 28%; height: calc(var(--w) * .075); transform: translateX(-50%);
  border-radius: 99px; background: #000;
}

.highlights {
  max-width: 1080px; margin: 0 auto; text-align: left;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
  padding: clamp(40px, 6vw, 72px) 22px clamp(72px, 10vw, 128px);
}
.highlights > div { border-top: 1px solid var(--line); padding-top: 24px; }
.highlights h3 { font-size: 24px; line-height: 1.17; letter-spacing: -.02em; font-weight: 700; margin-bottom: 8px; }
.highlights p { color: var(--ink-2); }

/* ---------- Principles ---------- */
.principles { padding: clamp(72px, 10vw, 128px) 0; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(48px, 7vw, 80px); }
.pico {
  width: 40px; height: 40px; margin-bottom: 20px;
  fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.pcol h3 { font-size: 24px; line-height: 1.17; letter-spacing: -.02em; font-weight: 700; margin-bottom: 10px; }
.pcol p { color: var(--ink-2); }

/* ---------- About ---------- */
.about { background: var(--bg-alt); padding: clamp(72px, 10vw, 128px) 0; }
.about .eyebrow { margin-bottom: 18px; }
.statement {
  font-size: clamp(28px, 4.3vw, 54px); line-height: 1.14; letter-spacing: -.03em; max-width: 21em;
}
.facts {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.facts > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--ink-2); flex: none; }
.facts dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact { padding: clamp(88px, 12vw, 160px) 0; text-align: center; }
.contact h2 { font-size: clamp(44px, 8vw, 96px); line-height: 1.04; letter-spacing: -.04em; }
.contact .lead { margin-top: 18px; }
.mail { margin-top: 28px; }
.mail a {
  font-size: clamp(22px, 4.2vw, 48px); font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere;
}
.cols {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 6vw, 80px);
  margin: clamp(56px, 8vw, 96px) auto 0; max-width: 760px; text-align: left;
}
.cols > div { border-top: 1px solid var(--line); padding-top: 24px; }
.cols h3 { font-size: 21px; letter-spacing: -.015em; font-weight: 700; margin-bottom: 8px; }
.cols p, .cols address { color: var(--ink-2); }
.cols p + p { margin-top: 10px; }

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - 52px - 80px); min-height: calc(100svh - 52px - 80px);
  display: grid; place-items: center; text-align: center; padding: 96px 0;
}
.notfound h1 { font-size: clamp(40px, 7vw, 80px); }

/* ---------- Footer ---------- */
.foot { background: var(--bg-alt); color: var(--ink-3); font-size: 12px; line-height: 1.5; letter-spacing: 0; padding: 28px 0 40px; }
.foot a { color: var(--ink-2); }
.legal { max-width: 78em; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 16px; }
.foot-row ul { display: flex; flex-wrap: wrap; gap: 6px 0; }
.foot-row li + li { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }
.d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .app-grid, .pgrid, .highlights { grid-template-columns: 1fr; }
  .app { min-height: 0; }
  .app .links { padding-top: 24px; }
  .pgrid { gap: 40px; }
}

@media (max-width: 760px) {
  .phones {
    height: auto; justify-content: flex-start; align-items: flex-start; gap: 16px;
    overflow-x: auto; overflow-y: hidden; padding: 0 22px 8px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 22px; scrollbar-width: none;
    -webkit-mask-image: none; mask-image: none; -webkit-overflow-scrolling: touch;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone, .phone.side, .phone.center { --w: 232px; margin-top: 0; scroll-snap-align: center; transform: none; }
  .phone.center { order: -1; }
  .facts, .cols { grid-template-columns: 1fr; }
  .facts { column-gap: 0; }
}

@media (max-width: 520px) {
  .nav-in { padding: 0 16px; }
  .brand { font-size: 16px; }
  .nav nav { gap: 18px; }
  .nav nav a:nth-child(2) { display: none; }
  .wrap, .wrap-wide { padding: 0 18px; }
  .app { padding: 26px 24px 26px; border-radius: 24px; }
  .foot-row li + li { margin-left: 10px; padding-left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone { transform: none !important; }
  .btn, .link::after { transition: none; }
}
