/* Titan Lock (/lock/): its own look, apart from Titan. Warm cream page, rounded type like the app
   (SF Rounded on Apple, Nunito elsewhere), Titan Head as the hero, and the app's five room colours on
   the feature panels (fresh, slipping, dazed, brainrot). Layout patterns: Headspace (solid nav, split
   hero, contained colour panels) and Duolingo (mascot-led hero and download band), via Mobbin.
   Only styles.css's base (consent, language menu, footer skeleton) is shared with the rest of the site. */
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

body.lock {
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --page: #fbf3e8; --ink: #1d1712; --mut: #66584c; --line: rgba(29,23,18,.12); --card: #fffaf3;
  --yellow: #f3d94e; --slime: #557d0b;
  /* the app's rooms */
  --fresh: #f4dfc6; --slip: #f0cbbb; --daze: #3d4160; --rot: #c8db4a;
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--round); font-weight: 600; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.lk { overflow-x: clip; }
.lk-wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.lk h1, .lk h2, .lk h3 { margin: 0; font-family: var(--round); color: inherit; font-weight: 900; }
.lk h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1; letter-spacing: -.028em; text-wrap: balance; }
.lk h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.lk-sub { max-width: 560px; margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--mut); }
.lk-sub a { color: var(--ink); font-weight: 800; }
.lk-center { text-align: center; margin-inline: auto; } .lk-center .lk-sub { margin-inline: auto; }
.lk-sec { padding: 112px 0; }
.lk-head { max-width: 720px; margin-bottom: 64px; }
.lk-kicker { margin: 0 0 14px; font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.lk svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.lk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fffaf3 !important; font: 800 15px/1 var(--round); text-decoration: none; white-space: nowrap; transition: transform .15s ease-out, background-color .2s; }
.lk-btn:active { transform: scale(.97); }
.lk-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (hover: hover) { .lk-btn:hover { background: #3a2f26; } }
.lk-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lk .store { display: inline-flex; border-radius: 10px; transition: transform .15s ease-out; }
.lk .store:active { transform: scale(.97); }
.lk .store:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.lk .store img { display: block; height: 52px; width: auto; }

/* ===== nav: one solid bar (overrides the site's floating nav completely) ===== */
.lock .nav { position: sticky; top: 0; z-index: 40; padding: 0; background: rgba(251,243,232,.88); border: 0; border-bottom: 1px solid transparent; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: border-color .2s; }
.lock .nav.is-scrolled { border-bottom-color: var(--line); }
.lock .nav-inner, .lock .nav.is-scrolled .nav-inner { width: min(1160px, 100% - 48px); max-width: none; height: 68px; margin: 0 auto; padding: 0; gap: 32px; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lock .nav .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 900 19px/1 var(--round); letter-spacing: -.01em; text-decoration: none; }
.lk-mark { border-radius: 9px; }
.lock .nav nav { margin-inline-start: auto; }
.lock .nav-links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.lock .nav-links a { color: var(--mut); font: 800 15px/1 var(--round); text-decoration: none; white-space: nowrap; transition: color .15s; }
.lock .nav-links a:hover { color: var(--ink); }
.lock .nav .lang-menu { margin: 0; color: var(--ink); }
.lock .nav .lang-menu summary { color: var(--ink); border-color: var(--line); background: transparent; font-family: var(--round); font-weight: 800; }
.lock .nav .lang-list { font-family: var(--round); }
.lk-nav-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ===== hero: one centred promise, then Titan's five rooms across the page (Duolingo: mascot first) ===== */
.lk-hero { padding: 40px 0 112px; }
.lk-hero-copy { display: grid; justify-items: center; text-align: center; }
.lk-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 800; color: var(--mut); }
.lk-eyebrow img { border-radius: 7px; }
.lk-hero h1 { font-size: clamp(50px, 6vw, 88px); line-height: .92; letter-spacing: -.04em; }
.lk-hl { color: var(--slime); }
.lk-lede { max-width: 640px; margin: 22px auto 0; text-wrap: balance; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--mut); }
.lk-stores-hero { justify-content: center; margin-top: 28px; }
.lk-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 800; color: var(--mut); }
.lk-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.lk-ticks svg { width: 16px; height: 16px; color: var(--slime); stroke-width: 3; }

/* the rooms (the app's scene: room art 780x1386, Titan Head on the pedestal, src/titan/model.ts) */
.rot { --h: 500px; display: flex; gap: 10px; height: var(--h); margin-top: 40px; }
.rot-p { position: relative; flex: 1 1 0; min-width: 0; margin: 0; overflow: hidden; border-radius: 30px; background: #141518; cursor: pointer;
  transition: flex-grow .7s cubic-bezier(.16,1,.3,1); }
.rot-p.is-on { flex-grow: 2.6; }
.scene { position: absolute; left: 50%; top: calc(var(--h) * .76); width: 480px; aspect-ratio: 780 / 1386; transform: translate(-50%, -64.9%); pointer-events: none; }
.scene .world { display: block; width: 100%; height: 100%; }
.scene .head { position: absolute; left: 18.5%; top: 35.6%; width: 63%; height: auto; }
.rot-p::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,9,8,.62), rgba(10,9,8,0) 42%); pointer-events: none; }
/* the label is the control */
.rot-p button { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 2px; padding: 12px 14px; border: 0; border-radius: 18px; background: rgba(255,250,243,.14); color: #fffaf3; text-align: start; font: inherit; cursor: pointer; overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .3s, color .3s; }
.rot-p button b { font: 900 16px/1.2 var(--round); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rot-p button small { display: none; font-size: 14px; line-height: 1.35; font-weight: 700; color: rgba(29,23,18,.72); }
.rot-p.is-on button { left: 16px; right: auto; top: 16px; bottom: auto; max-width: 300px; padding: 14px 18px 16px; background: var(--yellow); color: var(--ink); }
.rot-p.is-on button small { display: block; }
.rot-p[data-i="1"].is-on button { background: var(--slip); }
.rot-p[data-i="2"].is-on button { background: #d7d9ef; }
.rot-p[data-i="3"].is-on button { background: #e3d7d1; }
.rot-p[data-i="4"].is-on button { background: var(--rot); }
.rot-p button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.rot-p button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ink); opacity: .3; transform: scaleX(0); transform-origin: left; }
.rot.playing .rot-p.is-on button::after { animation: lk-fill var(--dwell, 3.2s) linear both; }
@keyframes lk-fill { to { transform: scaleX(1); } }
@media (hover: hover) { .rot-p:not(.is-on):hover button { background: rgba(255,250,243,.26); } }

/* ===== phones: a real iPhone, whole, never cropped ===== */
.lk-phone { position: relative; flex: none; width: 260px; max-width: 100%; padding: 3.1%; border-radius: 16% / 7.4%; background: linear-gradient(160deg, #3a342e, #0d0b0a 40%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08), 0 1px 1px rgba(0,0,0,.25), 0 40px 70px -34px rgba(29,23,18,.6); }
.lk-phone img { display: block; width: 100%; height: auto; aspect-ratio: 760 / 1652; border-radius: 13.4% / 6.2%; background: #111; }
.lk-phone::after { content: ""; position: absolute; top: 4.4%; left: 50%; width: 27%; height: 3.3%; translate: -50% 0; border-radius: 999px; background: #050505; }

/* ===== how it works ===== */
#how { padding-top: 24px; }
.lk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.lk-steps li { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 40px; }
.lk-steps li::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 330px; border-radius: 36px; background: var(--fresh); }
.lk-steps li:nth-child(2)::before { background: var(--slip); } .lk-steps li:nth-child(3)::before { background: #e3e4f2; }
.lk-steps .lk-phone { width: 230px; }
.lk-num { display: grid; place-items: center; width: 34px; height: 34px; margin: 28px 0 14px; border-radius: 50%; background: var(--ink); color: #fffaf3; font-size: 16px; font-weight: 900; }
.lk-steps p { max-width: 300px; margin: 8px 0 0; color: var(--mut); font-size: 16px; }

/* ===== feature panels, in the app's room colours ===== */
.lk-panels { padding-top: 0; }
.lk-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 24px; padding: 72px; border-radius: 44px; }
.lk-panel-copy { align-self: center; }
.lk-panel-art { display: flex; justify-content: center; }
.lk-panel-art .lk-phone { width: 270px; }
.lk-rev .lk-panel-copy { order: 2; }
.lk-two { position: relative; gap: 0; isolation: isolate; }
.lk-two .lk-phone { width: 250px; }
.lk-two .lk-back { width: 220px; margin: 40px 0 0 -70px; rotate: 4deg; z-index: -1; }
.lk-two .lk-phone:first-child { z-index: 1; rotate: -3deg; }
.p-fresh { background: var(--fresh); }
.p-slip { background: var(--slip); }
.p-daze { background: var(--daze); color: #eef0ff; } .p-daze .lk-sub, .p-daze .lk-kicker, .p-daze .lk-note { color: #c4c8e6; }
.p-rot { background: var(--rot); color: #1a2104; } .p-rot .lk-sub, .p-rot .lk-kicker, .p-rot .lk-ex { color: #3d4a0c; }
.lk-list { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 800; }
.lk-list li { display: flex; gap: 10px; align-items: flex-start; }
.lk-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fffaf3; stroke-width: 3.4; }
.lk-note { margin: 20px 0 0; font-size: 15px; font-weight: 800; }

/* games: real screens, four across */
#games { display: block; }
#games .lk-panel-copy { max-width: 660px; }
.lk-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; margin: 56px 0 0; padding: 0; list-style: none; }
.lk-rail li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lk-rail .lk-phone { width: 100%; max-width: 210px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08), 0 30px 50px -30px rgba(80,30,20,.55); }
.lk-rail h3 { margin-top: 22px; font-size: 19px; }
.lk-rail p { max-width: 220px; margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: #5d4038; }

/* mid-page call to action */
.lk-mid { display: flex; align-items: center; gap: 18px 24px; margin: 0 0 24px; padding: 22px 24px 22px 22px; border-radius: 32px; background: var(--ink); color: #fffaf3; }
.lk-mid img.lk-mid-icon { flex: none; border-radius: 14px; }
.lk-mid p { margin: 0; font-size: 19px; line-height: 1.35; color: #cdbfae; } .lk-mid b { display: block; color: #fffaf3; font-size: 22px; font-weight: 900; }
.lk-mid .store { margin-inline-start: auto; }
.lk-mid .store img { height: 48px; }
.lk-mid .store:focus-visible { outline-color: var(--yellow); }

/* weekly report */
.lk-wide { display: block; padding-bottom: 64px; }
.lk-wide .lk-panel-copy { padding: 0; }
.week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 920px; margin: 48px auto 0; }
.week .lk-phone { width: 100%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08), 0 30px 50px -30px rgba(26,33,4,.7); }
.lk-ex { margin: 24px 0 0; text-align: center; font-size: 13px; }

/* ===== privacy ===== */
.priv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.priv > div { padding: 28px 24px 30px; border: 1.5px solid var(--line); border-radius: 28px; background: var(--card); }
.priv svg { width: 26px; height: 26px; color: var(--slime); }
.priv h3 { margin: 16px 0 8px; font-size: 19px; }
.priv p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--mut); }

/* ===== FAQ ===== */
.lk-faq { padding-top: 24px; }
.lk-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.lk .faq { display: grid; gap: 10px; width: 100%; max-width: none; margin: 0; padding: 0; }
.lk .faq details { border: 1.5px solid var(--line); border-radius: 22px; background: var(--card); }
.lk .faq summary { position: relative; display: block; padding: 20px 60px 20px 24px; font: 900 18px/1.3 var(--round); cursor: pointer; list-style: none; }
.lk .faq summary::-webkit-details-marker { display: none; }
.lk .faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--fresh) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1712' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat; transition: rotate .2s; }
.lk .faq details[open] summary::after { rotate: 45deg; }
.lk .faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 20px; }
.lk .faq details p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.55; color: var(--mut); }
.lk .faq details a { color: var(--ink); font-weight: 800; }

/* ===== final: phone down ===== */
.lk-final { padding: 40px 0 120px; }
.lk-final-in { display: grid; justify-items: center; padding: 72px 32px 80px; border-radius: 44px; background: var(--fresh); text-align: center; }
.lk-final-head { width: 128px; height: auto; margin-bottom: 18px; }
.lk-final h2 { font-size: clamp(42px, 5.6vw, 76px); line-height: .98; }
.lk-final .lk-stores { justify-content: center; margin-top: 30px; }
.lk-family { margin: 24px 0 0; font-size: 15.5px; color: var(--mut); } .lk-family a { color: var(--ink); font-weight: 800; }

/* ===== footer ===== */
.lock .footer { background: var(--ink); color: #f4dfc6; border: 0; }
.lock .footer .brand { color: #fffaf3; font-family: var(--round); font-weight: 900; }

/* ===== phones only: a slim sticky "Get the app" bar ===== */
.lk-sticky { display: none; }
@media (max-width: 700px) {
  .lk-sticky { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 22px; background: var(--ink); color: #fffaf3; box-shadow: 0 16px 40px -16px rgba(0,0,0,.5);
    transform: translateY(calc(100% + 24px)); transition: transform .35s cubic-bezier(.32,.72,0,1); }
  .lk-sticky.is-on { transform: none; }
  .lk-sticky img { border-radius: 10px; }
  .lk-sticky p { display: grid; margin: 0; font-size: 15px; line-height: 1.2; } .lk-sticky p span { font-size: 13px; color: #c9bba9; font-weight: 700; }
  .lk-sticky .lk-btn { margin-inline-start: auto; background: var(--yellow); color: var(--ink) !important; }
}
@media (prefers-reduced-motion: reduce) { .lk-sticky, .rot-p { transition: none; } }

/* ===== tablet ===== */
@media (max-width: 980px) {
  .lock .nav nav, .lock .nav .lang-menu { display: none; }
  .lock .nav-inner { justify-content: space-between; }
  .lk-hero { padding: 48px 0 88px; }
  .rot { --h: 460px; margin-top: 52px; gap: 8px; }
  .rot-p.is-on { flex-grow: 4.5; }
  .rot-p:not(.is-on) button { left: 6px; right: 6px; bottom: 8px; padding: 10px 4px; text-align: center; }
  .rot-p:not(.is-on) button b { font-size: 14px; }
  .lk-sec { padding: 88px 0; }
  .lk-panel { grid-template-columns: 1fr; gap: 48px; padding: 56px 40px; }
  .lk-rail { display: flex; gap: 20px; margin: 40px -40px 0; padding: 4px 40px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .lk-rail::-webkit-scrollbar { display: none; }
  .lk-rail li { flex: 0 0 31%; scroll-snap-align: start; }
  .lk-steps .lk-phone { width: 180px; } .lk-steps li::before { height: 280px; }
  .lk-rev .lk-panel-copy { order: 0; }
  .lk-steps { gap: 16px; }
  .priv { grid-template-columns: 1fr 1fr; }
  .lk-faq-grid { grid-template-columns: 1fr; gap: 32px; }
}
/* ===== phone ===== */
@media (max-width: 600px) {
  body.lock { font-size: 16px; }
  .lk-wrap, .lock .nav-inner, .lock .nav.is-scrolled .nav-inner { width: calc(100% - 32px); }
  .lock .nav-inner { height: 60px; }
  .lock .nav .brand { font-size: 17px; }
  .lk-hero { padding: 32px 0 64px; }
  .lk-eyebrow { font-size: 13px; margin-bottom: 20px; }
  .lk-hero h1 { font-size: clamp(38px, 10.8vw, 52px); }
  .lk-lede { margin-top: 18px; }
  .rot { --h: 400px; gap: 5px; margin: 40px -8px 0; }
  .rot-p { border-radius: 22px; flex-grow: .42; } .rot-p.is-on { flex-grow: 4; }
  .scene { width: 380px; }
  .rot-p.is-on button { left: 10px; right: 10px; top: 10px; max-width: none; padding: 12px 14px 14px; }
  .rot-p:not(.is-on) button { display: none; }
  .lk-stores { margin-top: 26px; }
  .lk-sec { padding: 72px 0; }
  .lk-head { margin-bottom: 40px; }
  .lk-steps { display: flex; gap: 14px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .lk-steps::-webkit-scrollbar { display: none; }
  .lk-steps li { flex: 0 0 76%; scroll-snap-align: center; }
  .lk-panel { padding: 40px 22px; border-radius: 32px; margin-bottom: 16px; }
  .lk-panel-art .lk-phone { width: 240px; }
  .lk-two .lk-phone { width: 200px; } .lk-two .lk-back { width: 170px; margin-left: -60px; }
  .lk-rail { display: flex; gap: 16px; margin: 36px -22px 0; padding: 4px 22px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .lk-rail::-webkit-scrollbar { display: none; }
  .lk-rail li { flex: 0 0 58%; scroll-snap-align: center; }
  .lk-steps .lk-phone { width: 200px; } .lk-steps li::before { height: 300px; }
  .lk-mid { flex-wrap: wrap; padding: 20px; margin-bottom: 16px; }
  .lk-mid .store { margin-inline-start: 0; }
  .week { display: flex; gap: 12px; margin: 32px -22px 0; padding: 4px 22px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .week::-webkit-scrollbar { display: none; }
  .week .lk-phone { flex: 0 0 60%; width: 60%; scroll-snap-align: center; }
  .lk-wide { padding-bottom: 40px; }
  .priv { grid-template-columns: 1fr; }
  .lk .faq summary { font-size: 17px; padding: 18px 56px 18px 20px; }
  .lk-final { padding-bottom: 96px; }
  .lk-final-in { padding: 56px 20px 60px; border-radius: 32px; }
  .lk-final h2 { font-size: 38px; }
}
