@font-face { font-family: "Inter Tight"; font-weight: 300; font-display: swap; src: url(/studio/fonts/inter-tight-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(/studio/fonts/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/studio/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/studio/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap; src: url(/studio/fonts/dm-mono-latin-400-normal.woff2) format("woff2"); }

:root {
  --bg: #0E0E10; --panel: #18181C; --panel-2: #202026; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --fg: #F5F3EF; --soft: rgba(245,243,239,.74); --faint: rgba(245,243,239,.46); --sodium: #F2A65A;
  --display: "Inter Tight", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--sodium); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; }

.top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px clamp(16px, 4vw, 48px); z-index: 3; }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mark svg { width: 30px; height: 26px; fill: var(--fg); filter: drop-shadow(0 1px 8px rgba(0,0,0,.4)); }
.mark span { font: 500 13px/1 var(--mono); letter-spacing: .02em; color: var(--soft); text-shadow: 0 1px 10px rgba(0,0,0,.5); }
/* Same pill bar as the new tab page */
.pill { display: flex; align-items: center; padding: 4px; gap: 2px; border-radius: 999px;
  background: rgba(16,16,19,.58); border: 1px solid var(--line); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); }
.pill a, .pill button { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px;
  background: none; border: 0; cursor: pointer; text-decoration: none; font: 500 13px/1 var(--body); color: var(--soft); transition: background .2s, color .2s; }
.pill a:hover, .pill button:hover { background: rgba(255,255,255,.08); color: var(--fg); }

/* Share page */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px clamp(16px, 4vw, 48px) clamp(28px, 6vh, 64px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(/get/hero.jpg) center / cover no-repeat; transform: scale(1.02); }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.bg.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14,14,16,.35) 0%, rgba(14,14,16,.1) 35%, rgba(14,14,16,.82) 72%, var(--bg) 100%); }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; }
.k { font: 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sodium); margin: 0 0 14px; }
h1 { font: 300 clamp(48px, 9vw, 118px)/.92 var(--display); letter-spacing: -.045em; margin: 0 0 22px; }
/* HDR text: on HDR screens the headline is filled with an HDR (BT.2100 PQ) image, so it glows like the loop behind it. */
@media (dynamic-range: high) {
  .hdr-t { color: transparent; background: url(/get/hdr-white.png) 0 0 / 100% 100%; -webkit-background-clip: text; background-clip: text; }
  .hdr-l { color: transparent; text-shadow: none; background: url(/get/hdr-white-400.png) 0 0 / 100% 100%; -webkit-background-clip: text; background-clip: text; }
  .hdr-k { color: transparent; background: url(/get/hdr-sodium.png) 0 0 / 100% 100%; -webkit-background-clip: text; background-clip: text; }
}
.lede { max-width: 640px; color: var(--fg); text-shadow: 0 1px 14px rgba(0,0,0,.55); font-size: clamp(16px, 1.6vw, 19px); margin: 0 0 34px; }

/* Store cards: liquid glass, tvOS-style focus */
.get { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1180px; perspective: 900px; }
.get a { --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg;
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 3px; padding: 18px 20px 18px 84px; min-height: 96px; justify-content: center;
  border-radius: 22px; color: var(--fg); text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.05) 42%, rgba(255,255,255,.03) 100%);
  backdrop-filter: blur(26px) saturate(175%) brightness(.92); -webkit-backdrop-filter: blur(26px) saturate(175%) brightness(.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.06), inset 0 0 0 1px rgba(255,255,255,.1), 0 8px 24px rgba(0,0,0,.28);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition: transform .5s cubic-bezier(.2,.9,.25,1), box-shadow .45s ease, background .45s ease, opacity .3s; }
/* specular sheen that follows the pointer */
.get a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(120% 140% at var(--mx) var(--my), rgba(255,255,255,.30) 0%, rgba(255,255,255,.08) 28%, transparent 55%); }
/* bright rim on the upper edge, like a glass bevel */
.get a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; }
.get a.focus { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px) scale(1.045); z-index: 2;
  background: linear-gradient(160deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.09) 45%, rgba(255,255,255,.05) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1px rgba(255,255,255,.2), 0 26px 50px -10px rgba(0,0,0,.6), 0 0 0 .5px rgba(255,255,255,.3); }
.get a.focus::before { opacity: 1; }
.get a b { font: 500 17px var(--display); letter-spacing: -.01em; }
.get a span { font-size: 13px; color: var(--soft); }
.get a .tag { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
/* app-icon tile holding the real logo */
.get .ico { position: absolute; left: 18px; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(236,236,240,.9)); box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(0,0,0,.35);
  transition: transform .5s cubic-bezier(.2,.9,.25,1); }
.get .ico.dark { background: linear-gradient(180deg, #2a2a30, #0c0c0e); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 12px rgba(0,0,0,.35); }
.get a.focus .ico { transform: translateZ(20px) scale(1.06); }
.get .logo { width: 30px; height: 30px; }
.get .logo.mono { fill: #fff; width: 32px; }
.get .logo.amz { fill: #FF9900; width: 28px; }
.get a.soon { cursor: default; }
.get a.soon:not(.focus) { opacity: .62; }
.get a.soon .sub { color: var(--sodium); }
@media (prefers-reduced-motion: reduce) { .get a, .get a.focus { transform: none; } }

.facts { max-width: 1180px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 48px) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.facts h3 { font: 500 15px var(--display); margin: 0 0 6px; }
.facts p { margin: 0; color: var(--soft); font-size: 15px; }

/* Text pages (privacy, support) */
.page { max-width: 760px; margin: 0 auto; padding: 120px clamp(16px, 4vw, 32px) 64px; }
.page h1 { font-size: clamp(40px, 7vw, 72px); }
.page h2 { font: 500 20px var(--display); letter-spacing: -.01em; margin: 40px 0 10px; }
.page p, .page li { color: var(--soft); }
.page ol, .page ul { padding-left: 1.2em; }
.page li { margin: 6px 0; }
.page b { color: var(--fg); font-weight: 500; }
.card { border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: 18px 22px; margin: 14px 0; }
.card h3 { font: 500 16px var(--display); margin: 0 0 6px; }
.card p, .card ol { margin: 0; }

footer { max-width: 1180px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 48px) 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; color: var(--faint); font-size: 13px; }
footer a { color: var(--soft); text-decoration: none; }
footer .legal { display: flex; flex-direction: column; gap: 2px; }
footer .legal span:first-child { color: var(--soft); }
footer nav { display: flex; gap: 22px; align-self: flex-start; }

@media (max-width: 980px) { .get { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .get { grid-template-columns: 1fr; } .mark span { display: none; } .pill a, .pill button { padding: 0 11px; font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* About panel (same look as the new tab page) */
body.locked { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 20; }
.sheet[hidden] { display: none; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.sheet-panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100vw - 24px)); overflow-y: auto; overscroll-behavior: contain;
  background: rgba(17,17,20,.88); border: 1px solid var(--line); border-radius: 30px; padding: 22px 26px 30px;
  backdrop-filter: blur(30px) saturate(140%); -webkit-backdrop-filter: blur(30px) saturate(140%); animation: slide .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.sheet-k { height: 32px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--fg); color: #111; font: 500 13px var(--body); }
.close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; color: var(--soft); }
.close:hover { color: var(--fg); border-color: var(--line-2); }
.close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.sheet-h { font: 300 30px/1.12 var(--display); letter-spacing: -.025em; margin: 0 0 22px; }
.about-lede { color: var(--soft); margin: -8px 0 22px; font-size: 15px; }
.faq { margin: 0; }
.faq dt { font: 500 15px/1.3 var(--display); margin-top: 20px; }
.faq dd { margin: 6px 0 0; color: var(--soft); font-size: 14px; }
.faq a { color: var(--sodium); text-underline-offset: 3px; }
.fine { margin-top: 30px; color: var(--faint); font: 400 12px/1.5 var(--mono); }

/* About | Help tabs (same as the new tab page's panel tabs) */
.tabs { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.tabs button { height: 30px; padding: 0 15px; border-radius: 999px; border: 0; background: none; cursor: pointer; font: 500 13px var(--body); color: var(--soft); transition: background .2s, color .2s; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { background: var(--fg); color: #111; }
[data-pane][hidden] { display: none; }
[data-pane] { animation: fade .3s both; }
.faq b { color: var(--fg); font-weight: 500; }

/* Soft shade behind the intro paragraph so it reads over the loop */
.lede-box { display: inline-block; max-width: 688px; margin: 0 0 34px; padding: 16px 22px 18px; border-radius: 20px;
  background: rgba(8,8,10,.42); border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%); }
.lede-box .lede { margin: 0; }
@media (min-width: 760px) { .lede-box { margin-left: -22px; } }

/* Work tab */
.work { display: grid; gap: 14px; margin-top: 6px; }
.wk { display: block; text-decoration: none; color: var(--fg); padding: 10px 10px 14px; border-radius: 22px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
  transition: background .3s ease, border-color .3s ease, transform .4s cubic-bezier(.2,.9,.25,1); }
.wk:hover, .wk:focus-visible { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); transform: translateY(-2px); }
.wk-m { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 14px; background: #121215; }
.wk-3d { position: relative; overflow: hidden; background: radial-gradient(70% 80% at 50% 45%, rgba(210,116,79,.14), transparent 70%), #121215; }
.wk-3d canvas.t3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wk-3d.no-3d { background: url(/get/work/tally.jpg) center / cover; }
.wk-t { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 12px 6px 4px; }
.wk-t b { font: 500 17px var(--display); letter-spacing: -.01em; }
.wk-d { font: 11px var(--mono); letter-spacing: .04em; color: var(--faint); }
.wk-d::after { content: " ↗"; }
.wk p { margin: 0 6px; color: var(--soft); font-size: 13.5px; line-height: 1.55; }
