/* Momentease · momentease.com */

@font-face { font-family: "Geist"; src: url("/fonts/GeistVF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0B0B0C;
  --bg-2: #111113;
  --card: #151517;
  --line: rgba(244, 241, 234, .09);
  --line-2: rgba(244, 241, 234, .16);
  --text: #F4F1EA;
  --muted: #A6A29A;
  --dim: #6F6B64;
  --lime: #C6F135;
  --lime-hi: #DAFF66;
  --ice: #2EC4F2;
  --ice-hi: #6FD8F7;
  --ink-blue: #0B1220;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

/* Film grain over everything, very subtle */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Buttons, pills ---------- */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--b); font-weight: 550; font-size: 16px; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 18px; }
.btn--light { background: var(--text); color: var(--bg); --b: var(--text); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: rgba(244, 241, 234, .03); color: var(--text); }
.btn--ghost:hover { background: rgba(244, 241, 234, .08); --b: rgba(244, 241, 234, .3); }
.btn--lime { background: var(--lime); color: #0F1113; --b: var(--lime); }
.btn--lime:hover { background: var(--lime-hi); }
.btn--ice { background: var(--ice); color: var(--ink-blue); --b: var(--ice); }
.btn--ice:hover { background: var(--ice-hi); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(244, 241, 234, .03); color: var(--muted);
  font: 500 13px/1 var(--mono); letter-spacing: .02em; text-transform: uppercase;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--lime), var(--ice)); box-shadow: 0 0 12px rgba(198, 241, 53, .6); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot--lime { background: var(--lime); box-shadow: 0 0 10px rgba(198, 241, 53, .7); animation: pulse 2.4s ease-in-out infinite; }
.dot--ice { background: var(--ice); }
@keyframes pulse { 50% { opacity: .45; } }

.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow--lime { color: var(--lime); margin-bottom: 10px; }
.eyebrow--ice { color: var(--ice); margin-bottom: 10px; }
.h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.h2 em { letter-spacing: -.02em; font-size: 1.06em; }

.status {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--lime { color: var(--lime); background: rgba(198, 241, 53, .1); border: 1px solid rgba(198, 241, 53, .25); }
.status--ice { color: var(--ice); background: rgba(46, 196, 242, .1); border: 1px solid rgba(46, 196, 242, .25); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(11, 11, 12, .72); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 21px; letter-spacing: -.045em; }
.brand__mark { width: 30px; height: 30px; padding: 5px; border-radius: 9px; background: var(--text); color: var(--bg); }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--text); background: rgba(244, 241, 234, .06); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: clip; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 1100px; height: 900px; pointer-events: none;
  background:
    radial-gradient(closest-side at 38% 46%, rgba(198, 241, 53, .16), transparent 70%),
    radial-gradient(closest-side at 70% 40%, rgba(46, 196, 242, .16), transparent 70%);
  filter: blur(20px);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-height: min(78vh, 760px); }
.hero__title { margin: 28px 0 26px; font-size: clamp(52px, 7.4vw, 104px); line-height: .96; letter-spacing: -.05em; font-weight: 600; }
.hero__title em { font-size: 1.08em; letter-spacing: -.025em; background: linear-gradient(100deg, var(--lime) 0%, #E8F7A8 42%, var(--ice) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero__lead { max-width: 560px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__apps { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__apps a {
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(244, 241, 234, .025); transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.hero__apps a:hover { border-color: var(--line-2); background: rgba(244, 241, 234, .05); transform: translateY(-2px); }
.hero__apps img { border-radius: 11px; }
.hero__apps span { display: grid; line-height: 1.25; }
.hero__apps strong { font-weight: 600; font-size: 15.5px; letter-spacing: -.02em; }
.hero__apps small { color: var(--muted); font-size: 13px; }

.hero__stage { position: relative; height: 680px; perspective: 1600px; }
.hero__phone { position: absolute; top: 50%; left: 50%; will-change: transform; transition: transform .6s var(--ease); }
.hero__phone--front { width: 300px; transform: translate(-82%, -50%) rotate(-5deg); z-index: 2; }
.hero__phone--back { width: 282px; transform: translate(-6%, -46%) rotate(6deg); z-index: 1; }
.hero__phone--back .phone { box-shadow: 0 40px 80px -20px rgba(46, 196, 242, .25), 0 30px 60px rgba(0, 0, 0, .6); }
.hero__phone--front .phone { box-shadow: 0 40px 90px -20px rgba(198, 241, 53, .22), 0 30px 70px rgba(0, 0, 0, .7); }
.tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: rgba(17, 17, 19, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); font-weight: 600; font-size: 14.5px; letter-spacing: -.02em; will-change: transform;
}
.tag img { border-radius: 8px; }
.tag--lime { left: 2%; bottom: 13%; }
.tag--ice { right: 0; top: 10%; }

/* Phone frame: iPhone 17 Pro proportions (402 × 874 pt) */
.phone {
  position: relative; padding: 3.2%; border-radius: 17% / 7.9%;
  background: linear-gradient(145deg, #2A2A2D, #0E0E10 40%, #1D1D20);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
}
.phone::before { /* side highlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.phone img { width: 100%; height: auto; border-radius: 14% / 6.5%; background: #000; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--bg-2); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; color: var(--muted); font: 500 14px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 140px 0; position: relative; }

/* Apps intro cards */
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.appcard {
  --accent: var(--lime); --glow: rgba(198, 241, 53, .14);
  position: relative; display: flex; flex-direction: column; min-height: 740px; padding: 36px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 100%, var(--glow), transparent 60%), var(--card);
  border: 1px solid var(--line); transition: border-color .35s, transform .5s var(--ease);
}
.appcard--ice { --accent: var(--ice); --glow: rgba(46, 196, 242, .16); }
.appcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.appcard__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.appcard__top img { border-radius: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.appcard h3 { margin-top: 28px; font-size: 40px; font-weight: 600; letter-spacing: -.045em; }
.appcard p { margin-top: 10px; max-width: 360px; color: var(--muted); font-size: 16.5px; }
.appcard__meta { margin-top: 18px; color: var(--accent); font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.appcard__peek { position: absolute; left: 50%; bottom: -170px; width: 500px; height: 540px; transform: translateX(-50%); pointer-events: none; }
.appcard__peek .phone { position: absolute; bottom: 0; width: 240px; transition: transform .7s var(--ease); }
.appcard__peek .phone:first-child { left: 30px; transform: rotate(-8deg) translateY(40px); }
.appcard__peek .phone:last-child { right: 30px; transform: rotate(5deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .7); }
.appcard:hover .appcard__peek .phone:first-child { transform: rotate(-11deg) translate(-14px, 24px); }
.appcard:hover .appcard__peek .phone:last-child { transform: rotate(3deg) translateY(-22px); }

/* Product sections */
.product { overflow: clip; }
.product::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: radial-gradient(60% 50% at 85% 0%, var(--glow), transparent 70%);
}
.product--lime { --accent: var(--lime); --glow: rgba(198, 241, 53, .09); border-top: 1px solid var(--line); }
.product--ice { --accent: var(--ice); --glow: rgba(46, 196, 242, .11); border-top: 1px solid var(--line); background: linear-gradient(180deg, #0B0D12 0%, var(--bg) 100%); }
.product__head { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 64px; align-items: end; }
.product__id { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
.product__id img { border-radius: 17px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.product__title em { color: var(--accent); }
.product--ice .product__title { font-family: var(--sans); }
.product__lead { color: var(--muted); font-size: 18.5px; line-height: 1.65; }

.features { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.features li { padding: 30px 28px 4px 0; }
.features li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.features__k { display: block; margin-bottom: 18px; color: var(--accent); font: 700 46px/1 "Barlow Condensed", var(--sans); letter-spacing: -.01em; text-transform: uppercase; }
.product--ice .features__k { font-style: italic; }
.features strong { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.features p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Gallery */
.gallery { position: relative; margin-top: 80px; }
.gallery__track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(24px, (100vw - var(--wrap)) / 2);
  padding: 12px max(24px, (100vw - var(--wrap)) / 2) 36px; margin-inline: calc(50% - 50vw);
  scrollbar-width: none; cursor: grab; outline: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-dragging * { pointer-events: none; }
.shot { flex: 0 0 auto; width: 264px; scroll-snap-align: start; margin: 0; }
.shot .phone { transition: transform .5s var(--ease); box-shadow: 0 24px 50px rgba(0, 0, 0, .55); }
.shot:hover .phone { transform: translateY(-8px); }
.shot figcaption { margin-top: 18px; padding-right: 8px; }
.shot figcaption strong { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -.02em; }
.shot figcaption span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.gallery__nav { display: flex; justify-content: flex-end; gap: 10px; }
.gbtn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(244, 241, 234, .03); color: var(--text); transition: background-color .2s, border-color .2s, opacity .2s;
}
.gbtn svg { width: 20px; height: 20px; }
.gbtn:hover { background: rgba(244, 241, 234, .09); }
.gbtn:disabled { opacity: .3; cursor: default; }

.product__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.product__note { margin-left: 8px; color: var(--dim); font-size: 14px; }

/* Approach */
.approach { border-top: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 64px; }
.principle {
  position: relative; padding: 40px; border-radius: 28px; border: 1px solid var(--line); background: var(--card); overflow: hidden;
  transition: border-color .3s;
}
.principle:hover { border-color: var(--line-2); }
.principle::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 241, 234, .06), transparent); pointer-events: none;
}
.principle__n { font: 500 13px/1 var(--mono); color: var(--dim); letter-spacing: .08em; }
.principle h3 { margin-top: 48px; font-size: 28px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.principle p { margin-top: 14px; max-width: 460px; color: var(--muted); font-size: 16.5px; }

/* Contact */
.contact { padding-top: 40px; padding-bottom: 72px; }
.contact__card {
  position: relative; text-align: center; padding: 110px 32px; border-radius: 40px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(50% 70% at 20% 110%, rgba(198, 241, 53, .14), transparent 70%),
    radial-gradient(50% 70% at 80% 110%, rgba(46, 196, 242, .16), transparent 70%),
    var(--card);
}
.contact__mark { width: 56px; height: 56px; margin: 0 auto 30px; color: var(--text); }
.contact__card .h2 { font-size: clamp(40px, 6vw, 84px); }
.contact__lead { margin: 22px auto 40px; max-width: 480px; color: var(--muted); font-size: 18px; }

/* Footer */
.footer { padding: 72px 0 40px; }
.footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.footer__cols { display: flex; gap: 72px; }
.footer__cols h4 { margin-bottom: 14px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.footer__cols a { display: block; padding: 4px 0; color: var(--muted); font-size: 15px; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__cols small { margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: rgba(46, 196, 242, .12); color: var(--ice); font: 500 11px/1.4 var(--mono); text-transform: uppercase; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; color: var(--dim); font-size: 13.5px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 0; text-align: center; padding: 24px; }
.notfound .h2 { margin-bottom: 36px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__stage { height: 600px; margin-top: 8px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features li:nth-child(3) { padding-left: 0; border-left: 0; }
  .features li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 26px; }
  .product__head { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .section { padding: 96px 0; }
  .cards2 { grid-template-columns: 1fr; }
  .appcard { min-height: 720px; padding: 28px; }
  .principles { grid-template-columns: 1fr; }
  .principle { padding: 32px; }
  .principle h3 { margin-top: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .hero { padding: 28px 0 64px; }
  .hero__title { font-size: clamp(44px, 13vw, 64px); }
  .hero__lead { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero__stage { height: 470px; }
  .hero__phone--front { width: 210px; }
  .hero__phone--back { width: 196px; }
  .tag { font-size: 13px; }
  .tag--lime { left: 0; bottom: 6%; }
  .tag--ice { top: 4%; }
  .features { grid-template-columns: 1fr; margin-top: 48px; }
  .features li, .features li + li { padding: 26px 0 0; border-left: 0; }
  .features li + li { border-top: 1px solid var(--line); margin-top: 26px; }
  .features__k { font-size: 38px; margin-bottom: 12px; }
  .shot { width: 218px; }
  .gallery { margin-top: 56px; }
  .appcard h3 { font-size: 34px; }
  .appcard { min-height: 620px; }
  .appcard__peek { width: 340px; height: 400px; bottom: -130px; }
  .appcard__peek .phone { width: 168px; }
  .appcard__peek .phone:first-child { left: 8px; }
  .appcard__peek .phone:last-child { right: 8px; }
  .product__note { margin-left: 0; }
  .contact__card { padding: 80px 22px; border-radius: 28px; }
  .contact__card .h2 br { display: none; }
  .footer__cols { gap: 48px; }
}

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