/* Mactoro, the studio: a light store window. Each app keeps its own world inside its tile;
   the studio frame around them is white, quiet and exact. */
:root {
  --paper: #fbfbfd;
  --mist: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --hair: #d2d2d7;
  --link: #0066cc;
  --sans: -apple-system, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 3vw, 22px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.47 var(--sans); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
::selection { background: #b3d7ff; }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* ---- the studio bar ---- */
.gnav { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 253, 0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.gnav-in { max-width: 1024px; margin: 0 auto; height: 48px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 22px; height: 22px; color: var(--ink); }
.brand .word { font: 600 19px/1 var(--display); letter-spacing: -0.035em; }
.gnav nav { display: flex; gap: clamp(18px, 3vw, 34px); }
.gnav nav a { color: var(--ink-2); font-size: 13px; letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.gnav nav a:hover { color: var(--ink); text-decoration: none; }

/* ---- product tiles: one app, one world ---- */
main { padding: 12px 0 0; display: grid; gap: 12px; }
.tile { position: relative; overflow: hidden; min-height: 640px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tile-copy { position: relative; z-index: 2; padding: 56px var(--gutter) 0; display: grid; justify-items: center; }
.tile h2 { font-size: clamp(40px, 5.2vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.07; }
.tile-line { margin-top: 6px; font: 400 clamp(21px, 2.3vw, 28px)/1.14 var(--display); letter-spacing: -0.012em; }
.pills { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pill { display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 980px; font: 400 17px/1 var(--sans); letter-spacing: -0.022em; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.pill:hover { text-decoration: none; }
.pill-fill { background: #0071e3; color: #fff; }
.pill-fill:hover { background: #0077ed; }
.pill-line { border: 1px solid currentColor; color: #2997ff; }
.pill-line:hover { background: #2997ff; color: #fff; }
.tile-terms { margin-top: 14px; font-size: 14px; letter-spacing: -0.016em; }

/* OmniNotch's world: night, one lit orb */
@font-face { font-family: "Urbanist"; src: url("/omninotch/fonts/Urbanist-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
.tile-on { background: radial-gradient(70% 60% at 50% 18%, #2a2f7a 0%, #141846 45%, #0c0f2a 100%); color: #eceaff; flex-direction: column; }
.on-notch { position: absolute; top: 0; left: 50%; width: 180px; height: 30px; transform: translateX(-50%); background: #000; border-radius: 0 0 16px 16px; z-index: 3; }
.on-panel { position: relative; margin-top: 0; width: min(740px, calc(100% - 2 * var(--gutter))); border-radius: 0 0 26px 26px; overflow: hidden; background: #050616; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.on-panel video { width: 100%; }
.tile-on { min-height: 0; }
.tile-on .tile-copy { padding-top: 44px; padding-bottom: 72px; }
.on-word { font-family: "Urbanist", var(--display) !important; font-weight: 700 !important; letter-spacing: -0.02em !important; color: #fff; }
.tile-on .tile-line { color: rgba(236, 234, 255, 0.82); }
.tile-on .tile-terms { color: rgba(236, 234, 255, 0.5); }
.pill-violet { background: #5b4fe0; }
.pill-violet:hover { background: #6b5cf0; }
.tile-on .pill-line { color: #b9b3ff; }
.tile-on .pill-line:hover { background: #b9b3ff; color: #0c0f2a; }

.pill-coral { background: #b4473c; }
.pill-coral:hover { background: #9e3d33; }

/* OmniNotch is the one hero: bigger name */
.tile-on .on-word { font-size: clamp(56px, 8vw, 96px); line-height: 1; }
.tile-on .tile-line { font-size: clamp(24px, 2.8vw, 34px); }

/* ---- more apps: a grid of cards, each in its app's world ---- */
.apps { padding: clamp(56px, 7vw, 88px) 12px clamp(40px, 5vw, 64px); text-align: center; }
.apps > h2 { font-size: clamp(32px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.1; }
.apps-lede { margin-top: 10px; color: var(--ink-3); font-size: 19px; }
.app-grid { max-width: 1100px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 340px)); justify-content: center; gap: 12px; }
.app { border-radius: 22px; padding: 36px 28px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.app-icon { width: 72px; height: 72px; border-radius: 17px; }
.app h3 { margin-top: 18px; font-size: 26px; font-weight: 600; letter-spacing: -0.024em; }
.app-line { margin-top: 6px; font-size: 17px; line-height: 1.35; max-width: 18em; }
.app-terms { margin-top: 10px; font-size: 13px; }
.app-acts { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.app .pill { height: 36px; padding: 0 18px; font-size: 15px; }
.app-ts { background: radial-gradient(80% 60% at 50% 0%, rgba(47, 134, 255, 0.24), transparent 70%), #0b0c0e; color: #f0f0eb; }
.app-ts .app-line { color: rgba(240, 240, 235, 0.82); }
.app-ts .app-terms { color: rgba(240, 240, 235, 0.55); }
.app-ts .pill-fill { background: #1d6ae0; }
.app-ts .pill-fill:hover { background: #2f86ff; }
.app-fm { background: radial-gradient(80% 60% at 50% 20%, rgba(255, 255, 255, 0.9), transparent 70%), linear-gradient(180deg, #ffebd2 0%, #fbede6 50%, #edc6c6 100%); color: #3b2b28; }
.app-fm .app-line { color: rgba(59, 43, 40, 0.86); }
.app-fm .app-terms { color: rgba(59, 43, 40, 0.72); }
.app-fm .pill-line { color: #9e3d33; }
.app-fm .pill-line:hover { background: #9e3d33; color: #fff; }

.app-nc { background: radial-gradient(80% 60% at 30% 10%, rgba(5, 132, 127, 0.16), transparent 70%), linear-gradient(180deg, #f2f9f7 0%, #e0efec 100%); color: #122829; }
.app-nc .app-line { color: rgba(18, 40, 41, 0.84); }
.app-nc .app-terms { color: rgba(18, 40, 41, 0.7); }
.pill-teal { background: #05847f; }
.pill-teal:hover { background: #046e6a; }
.app-nc .pill-line { color: #046e6a; }
.app-nc .pill-line:hover { background: #046e6a; color: #fff; }

/* ---- new-app email, optional ---- */
.notify { max-width: 560px; margin: clamp(48px, 6vw, 72px) auto 0; }
.notify h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.notify > p { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
.notify-row { margin-top: 18px; display: flex; gap: 10px; justify-content: center; }
.notify input[type=email] { flex: 1; min-width: 0; max-width: 320px; height: 40px; padding: 0 16px; border: 1px solid var(--hair); border-radius: 980px; font: 400 16px var(--sans); color: var(--ink); background: #fff; }
.notify input[type=email]:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2); }
.notify button { border: 0; cursor: pointer; }
.notify-msg { margin-top: 10px; min-height: 1.4em; font-size: 14px; color: var(--ink-2); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the studio: two light halves ---- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; }
.half { background: var(--mist); min-height: 580px; padding: 64px clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.half h2 { font-size: clamp(32px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.1; max-width: 13em; }
.half > p { margin-top: 14px; color: var(--ink-2); font-size: 19px; line-height: 1.42; max-width: 26em; }
.studio-mark { width: 64px; height: 64px; color: var(--ink); margin-bottom: 22px; }
.vows { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; text-align: left; max-width: 25em; }
.vows li { font-size: 15px; color: var(--ink-3); padding-left: 18px; position: relative; }
.vows li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.vows b { color: var(--ink); font-weight: 600; }
.half-help { background: #fff; border: 1px solid var(--hair); justify-content: center; }
.half-help .link { margin-top: 22px; font-size: 21px; display: inline-flex; align-items: center; gap: 6px; }
.half-help .link svg { width: 9px; height: 14px; }
.half-help .small { margin-top: 28px; font-size: 14px; color: var(--ink-3); }

/* ---- footer ---- */
.gfoot { margin-top: 12px; background: var(--mist); color: var(--ink-3); font-size: 12px; letter-spacing: -0.01em; }
.gfoot-in { max-width: 1024px; margin: 0 auto; padding: 22px var(--gutter) 34px; }
.gfoot .legal { padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.gfoot .row { padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.gfoot .row a { color: var(--ink-2); }

/* ---- reveal: the product rises into its tile ---- */
@media (prefers-reduced-motion: no-preference) {
  .on-panel { animation: rise 1.1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

@media (max-width: 834px) {
  .duo { grid-template-columns: 1fr; }
  .half { min-height: 0; }
}
@media (max-width: 560px) {
  .gnav nav a:nth-child(4) { display: none; }
  .tile-copy { padding-top: 44px; }
  .on-panel { width: calc(100% - 24px); border-radius: 0 0 18px 18px; }
  .on-notch { width: 120px; height: 22px; }
  .notify-row { flex-direction: column; align-items: stretch; }
  .notify input[type=email] { max-width: none; }
  .notify button { justify-content: center; }
}

/* ---- legal pages (Read): one calm column on the studio's paper ---- */
.doc { display: block; padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px); }
.doc-in { max-width: 692px; margin: 0 auto; padding: 0 var(--gutter); }
.doc h1 { font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.07; }
.doc .updated { margin-top: 10px; color: var(--ink-3); font-size: 14px; }
.doc h2 { margin: 48px 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.17; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; line-height: 1.53; }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.doc b, .doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--link); }
