/* TALLY site V3: a dark page (the panel's own black), rounded dark panels for media, TALLY orange as the one accent. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 300; font-display: swap; src: url(fonts/inter-tight-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url(fonts/inter-tight-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(fonts/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap; src: url(fonts/dm-mono-latin-400-normal.woff2) format("woff2"); }
:root {
  --bg: #0F0F11; --bg-2: #141417; --panel: #19191D; --panel-2: #212126; --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
  --fg: #F7F5F1; --fg-soft: rgba(247, 245, 241, .70); --fg-faint: rgba(247, 245, 241, .42);
  --orange: #D97757; --orange-lite: #F0A487; --orange-dk: #2C1B14; --red: #E5533D; --green: #10A37F;
  --glass: rgba(255, 255, 255, .06); --glass-border: rgba(255, 255, 255, .14);
  --radius-l: 28px; --radius-xl: 40px; --inset: 20px; --nav-h: 76px;
  --section: clamp(96px, 12vw, 170px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: "Inter Tight", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "DM Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 18px; line-height: 1.5; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
img, canvas, svg { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.jp { font-family: var(--font-jp); letter-spacing: .1em; }

/* type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.01; letter-spacing: -.042em; }
.h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -.032em; }
.h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; font-weight: 400; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.58; color: var(--fg-soft); max-width: 34em; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-lite); }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 64px; padding: 0 48px; border-radius: 999px; font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 0; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.btn--orange { background: var(--orange); color: #1C0E08; box-shadow: 0 14px 34px rgba(217, 119, 87, .28), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--orange:hover { transform: translateY(-2px); background: #E2876A; }
.btn--ghost { background: var(--glass); color: var(--fg); box-shadow: inset 0 0 0 1px var(--glass-border); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .1); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* nav: a simple bar */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav-h); background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.nav .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--orange); flex: none; }
.logo .eyes { width: 36px; height: 23px; overflow: visible; }
.logo .word { height: 18px; width: auto; fill: currentColor; }
.logo .eyes g { animation: look 9s var(--ease) infinite; }
.logo .eyes rect { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes look { 0%, 20%, 100% { transform: translateX(0); } 26%, 40% { transform: translateX(-3px); } 46%, 60% { transform: translateX(3px); } 66% { transform: translateX(0); } }
.nav .links { display: flex; align-items: center; gap: 34px; }
.nav .links a:not(.btn) { text-decoration: none; font-family: var(--font-display); font-size: 16px; font-weight: 400; color: var(--fg-soft); letter-spacing: -.005em; }
.nav .links a:not(.btn):hover, .nav .links a[aria-current] { color: var(--fg); }
.nav .btn { height: 44px; padding: 0 24px; font-size: 15px; }
@media (max-width: 760px) { .nav .links a.hide-s { display: none; } .nav .links { gap: 20px; } .logo .word { height: 15px; } .logo .eyes { width: 30px; } }

/* full-bleed hero: no box, just the page */
.hero-bleed { position: relative; overflow: hidden; isolation: isolate; }
.hero-bleed::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 76% 46%, rgba(217, 119, 87, .14), transparent 70%); }

/* rounded dark panels (media, wide sections) */
.panel { position: relative; border-radius: var(--radius-xl); background: radial-gradient(120% 90% at 76% 30%, #241D1A 0%, var(--panel) 48%, #151518 100%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.panel--wide { margin: 0 var(--inset); }
.rings { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.rings i { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: var(--d); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .05); transform: translate(-50%, -50%); }
.rings i:nth-child(1) { --d: 170px; } .rings i:nth-child(2) { --d: 590px; } .rings i:nth-child(3) { --d: 880px; } .rings i:nth-child(4) { --d: 1260px; }
@media (max-width: 760px) { :root { --inset: 10px; --radius-xl: 30px; } }

/* the device, front-on */
.device { position: relative; width: 100%; aspect-ratio: 448 / 368; padding: 4.6%; border-radius: 10.5% / 12.8%; background: linear-gradient(155deg, #3B3733 0%, #1E1C1A 38%, #0E0D0C 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .14), inset 0 -2px 6px rgba(0, 0, 0, .7), 0 50px 90px -30px rgba(0, 0, 0, .8), 0 22px 40px -18px rgba(0, 0, 0, .6); }
.device::before { content: ""; position: absolute; inset: 1.6%; border-radius: 9.6% / 11.8%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); pointer-events: none; }
.device .glass { position: relative; width: 100%; height: 100%; border-radius: 6.4% / 7.8%; overflow: hidden; background: #000; box-shadow: 0 0 0 2px #050505; }
.device canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.device .glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .02) 34%, rgba(255, 255, 255, 0) 52%); }
.device .side { position: absolute; right: -1.1%; top: 20%; width: 1.3%; height: 11%; border-radius: 0 6px 6px 0; background: linear-gradient(90deg, #1A1816, #34302C); }

/* forms */
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 14px; color: var(--fg-soft); }
.field input, .field textarea, .field select { width: 100%; min-width: 0; border-radius: 18px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .04); color: var(--fg); padding: 16px 18px; font: inherit; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); }
.field input[type=file] { padding: 12px 14px; font-size: 14px; color: var(--fg-soft); }
.note { min-height: 1.4em; margin: 0; font-size: 15px; color: var(--fg-soft); }

/* document pages (legal, company) */
.doc { padding-block: clamp(64px, 9vw, 120px) 40px; }
.doc .wrap { max-width: 860px; }
.doc header { display: grid; gap: 22px; justify-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.doc .eff { color: var(--fg-faint); }
.doc h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: -.015em; margin: 48px 0 14px; }
.doc h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin: 28px 0 10px; }
.doc p, .doc li { color: var(--fg-soft); font-size: 17px; line-height: 1.7; }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 1.2em; margin: 0 0 14px; }
.doc strong { color: var(--fg); font-weight: 500; }
.doc a { color: var(--orange-lite); }
.doc .box { background: var(--panel); border-radius: 20px; padding: 20px 24px; box-shadow: inset 0 0 0 1px var(--line); margin: 0 0 18px; }
.doc .box p:last-child { margin: 0; }
.tbl { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 16px; }
.tbl-scroll { overflow-x: auto; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: var(--fg-soft); }
.tbl th { font-family: var(--font-mono); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-faint); white-space: nowrap; }
.kv { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); border-top: 1px solid var(--line); margin-bottom: 24px; }
.kv > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--fg-faint); padding-right: 20px; }
.kv .v { color: var(--fg-soft); font-size: 16px; line-height: 1.65; }
.kv .v span { display: block; color: var(--fg-faint); font-size: 15px; margin-top: 4px; }
@media (max-width: 640px) { .kv { grid-template-columns: minmax(0, 1fr); } .kv .k { border-bottom: 0; padding-bottom: 0; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cardlink { display: grid; gap: 8px; text-decoration: none; background: var(--panel); border-radius: 22px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s var(--ease); }
.cardlink:hover { background: var(--panel-2); }
.cardlink b { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--fg); }
.cardlink span { color: var(--fg-soft); font-size: 15px; }

/* footer (the same layout as the other Meta Studios sites) */
.footer { margin-top: var(--section); border-top: 1px solid var(--line); padding-block: 72px 48px; background: var(--bg-2); }
.footer .top { display: grid; grid-template-columns: minmax(220px, 1.2fr) repeat(5, minmax(0, 1fr)); gap: 32px; }
.footer .brand { display: grid; gap: 18px; align-content: start; }
.footer .brand p { margin: 0; color: var(--fg-soft); font-size: 15px; max-width: 18em; }
.footer h4 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--fg); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer li, .footer address { font-size: 14px; color: var(--fg-soft); font-style: normal; line-height: 1.6; }
.footer a { text-decoration: none; color: var(--fg-soft); }
.footer a:hover { color: var(--fg); }
.footer address + address { margin-top: 14px; }
.footer .bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--fg-faint); font-size: 13px; }
@media (max-width: 1080px) { .footer .top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer .brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer .top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { .logo .eyes g, .logo .eyes rect { animation: none; } * { scroll-behavior: auto !important; } }

/* 3D TALLY (tally3d.js): a WebGL stage that sits on the page's own dark */
.t3d-stage { position: relative; width: 100%; }
.t3d-stage canvas.t3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.t3d-stage.no-3d { background: radial-gradient(60% 60% at 50% 50%, rgba(217, 119, 87, .12), transparent 70%); }
.t3d-label { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 30px)); opacity: 0; pointer-events: none; white-space: nowrap; text-align: center; font-size: 14px; color: var(--fg); display: grid; gap: 1px; }
.t3d-label b { font-weight: 500; }
.t3d-label span { color: var(--fg-faint); font-size: 13px; }
.t3d-label::after { content: ""; position: absolute; left: 50%; top: calc(100% + 6px); width: 1px; height: 20px; background: rgba(255, 255, 255, .28); }
.t3d-label::before { content: ""; position: absolute; left: calc(50% - 4px); top: calc(100% + 26px); width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(217, 119, 87, .2); }

.t3d-label.below { transform: translate(-50%, 30px); }
.t3d-label.below::after { top: auto; bottom: calc(100% + 6px); }
.t3d-label.below::before { top: auto; bottom: calc(100% + 26px); }

/* a product photo with the live eyes on its screen (tally.js, data-shot) */
.shot { position: relative; width: 100%; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shot .shot-screen, .shot .shot-glare { position: absolute; left: 0; top: 0; width: 368px; height: 448px; max-width: none; transform-origin: 0 0; border-radius: 30px; }
.shot .shot-screen.land, .shot .shot-glare.land { width: 448px; height: 368px; border-radius: 26px; }
.shot .shot-glare { background: linear-gradient(160deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .03) 26%, rgba(255, 255, 255, 0) 45%); pointer-events: none; }

/* analytics choice (consent.js), shown in Europe until the visitor chooses */
.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 620px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 20px; border-radius: 22px; background: color-mix(in srgb, var(--panel) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px rgba(0, 0, 0, .5); }
.consent p { margin: 0; flex: 1 1 260px; font-size: 15px; color: var(--fg-soft); line-height: 1.5; }
.consent a { color: var(--orange-lite); }
.consent__btns { display: flex; gap: 10px; }
.consent .btn { height: 46px; padding: 0 22px; font-size: 15px; }
