/* MyTapes public site. The app's look (MyStuff app/src/styles/tokens.css): near-black navy, glass, one hue per group,
   one font (Geist Variable). */

@font-face {
  font-family: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  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: 'Geist Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --ground: #060913;
  --ground-2: #0a0f1f;
  --glass: rgb(22 30 56 / 0.52);
  --glass-strong: rgb(24 33 62 / 0.74);
  --glass-edge: rgb(190 210 255 / 0.11);
  --glass-edge-strong: rgb(200 220 255 / 0.22);
  --glass-shine: inset 0 1px 0 rgb(255 255 255 / 0.07);
  --t1: #f6f8ff;
  --t2: rgb(222 230 255 / 0.78);
  --t3: rgb(196 208 244 / 0.66);
  --line: rgb(190 210 255 / 0.09);
  --font: 'Geist Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 3.4vw, 48px);
  --page-max: 1200px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --shadow-2: 0 2px 6px rgb(0 0 0 / 0.4), 0 24px 56px -20px rgb(0 0 0 / 0.75);

  --tech: oklch(0.66 0.225 258);        --tech-bright: oklch(0.82 0.13 252);
  --creative: oklch(0.66 0.295 322);    --creative-bright: oklch(0.82 0.17 322);
  --knowledge: oklch(0.82 0.15 203);    --knowledge-bright: oklch(0.89 0.11 200);
  --body: oklch(0.8 0.2 158);           --body-bright: oklch(0.88 0.15 158);
  --home: oklch(0.83 0.175 76);         --home-bright: oklch(0.89 0.135 80);
  --fun: oklch(0.75 0.2 18);            --fun-bright: oklch(0.83 0.14 16);
  --accent: oklch(0.62 0.2 278);
  --accent-2: oklch(0.7 0.21 300);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--t2);
  font: 420 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--t1); margin: 0; font-weight: 650; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }

/* the colour field behind the top of the page */
.aura {
  position: absolute; inset: 0 0 auto 0; height: 1100px; pointer-events: none; z-index: 0; overflow: hidden;
}
.aura::before, .aura::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.55;
}
.aura::before { width: 720px; height: 560px; left: -160px; top: -120px; background: oklch(0.5 0.22 262 / 0.75); }
.aura::after { width: 680px; height: 520px; right: -180px; top: 60px; background: oklch(0.5 0.25 320 / 0.6); }
.aura span { position: absolute; width: 520px; height: 420px; left: 38%; top: 420px; border-radius: 50%;
  background: oklch(0.55 0.15 190 / 0.45); filter: blur(120px); }

/* top bar */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgb(6 9 19 / 0.62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--t1); font-weight: 650;
  font-size: 19px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--t3); font-size: 15px; transition: color 140ms var(--ease); }
.nav-links a:hover { color: var(--t1); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none;
  font: 560 15.5px/1 var(--font); letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 140ms var(--ease), box-shadow 240ms var(--ease), background 140ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 34px -10px oklch(0.6 0.24 290 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.22); }
.btn-primary:hover { box-shadow: 0 16px 44px -12px oklch(0.6 0.24 290 / 0.95), inset 0 1px 0 rgb(255 255 255 / 0.22); }
.btn-glass { color: var(--t1); background: var(--glass); border: 1px solid var(--glass-edge-strong);
  box-shadow: var(--glass-shine); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-glass:hover { background: rgb(38 50 90 / 0.6); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }

/* hero */
main { position: relative; }
.hero { position: relative; z-index: 1; padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-edge); color: var(--t2); font-size: 13.5px; font-weight: 520; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--body); box-shadow: 0 0 12px var(--body); }
.hero h1 { text-wrap: balance; margin: 22px auto 0; max-width: 900px; font-size: clamp(42px, 6.2vw, 80px); line-height: 1.02;
  letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--tech-bright), var(--creative-bright) 55%, var(--fun-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { margin: 24px auto 0; max-width: 640px; font-size: clamp(17px, 1.3vw + 10px, 20px); line-height: 1.55; color: var(--t2); }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.sources { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: var(--t3); font-size: 14px; }
.sources span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: rgb(14 20 38 / 0.5); }
.sources svg { flex: none; }

/* the big picture of the app */
.showcase { position: relative; z-index: 1; margin-top: clamp(48px, 6vw, 80px); }
.frame {
  position: relative; border-radius: var(--r-xl); padding: 10px;
  background: linear-gradient(180deg, rgb(200 220 255 / 0.16), rgb(200 220 255 / 0.03));
  box-shadow: 0 40px 120px -30px rgb(0 0 0 / 0.9), 0 0 0 1px var(--glass-edge);
}
.frame img { border-radius: 20px; width: 100%; }
.frame-note {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; white-space: nowrap;
  background: var(--glass-strong); border: 1px solid var(--glass-edge-strong); box-shadow: var(--shadow-2), var(--glass-shine);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--t1); font-size: 15px;
}
.frame-note b { font-weight: 560; color: var(--body-bright); }

/* sections */
.section { position: relative; z-index: 1; padding: clamp(80px, 10vw, 136px) 0 0; }
.kicker { color: var(--t3); font-size: 14px; font-weight: 560; letter-spacing: 0.08em; text-transform: uppercase; }
.section h2 { margin-top: 12px; font-size: clamp(30px, 3.2vw + 8px, 48px); line-height: 1.08; letter-spacing: -0.028em; max-width: 780px; }
.section .intro { margin-top: 18px; max-width: 640px; font-size: 18px; color: var(--t2); }
.center { text-align: center; }
.center h2, .center .intro { margin-left: auto; margin-right: auto; }

/* the problem */
.quote { margin: 0 auto; max-width: 860px; text-align: center; font-size: clamp(24px, 2.2vw + 10px, 36px); line-height: 1.3;
  letter-spacing: -0.02em; color: var(--t1); font-weight: 520; }
.quote span { color: var(--t3); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 32px; border-radius: var(--r-l); background: var(--glass);
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-shine); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; font-weight: 650; font-size: 17px; color: var(--on, #fff); background: var(--hue); box-shadow: 0 8px 26px -8px var(--hue); }
.step h3 { margin-top: 22px; font-size: 21px; letter-spacing: -0.015em; }
.step p { margin-top: 10px; color: var(--t2); font-size: 15.5px; }
.step .small { margin-top: 14px; color: var(--t3); font-size: 14px; }
[data-hue=tech] { --hue: var(--tech); --hue-bright: var(--tech-bright); }
[data-hue=creative] { --hue: var(--creative); --hue-bright: var(--creative-bright); }
[data-hue=knowledge] { --hue: var(--knowledge); --hue-bright: var(--knowledge-bright); --on: #03212a; }
[data-hue=body] { --hue: var(--body); --hue-bright: var(--body-bright); --on: #02241a; }
[data-hue=home] { --hue: var(--home); --hue-bright: var(--home-bright); --on: #2b1a00; }
[data-hue=fun] { --hue: var(--fun); --hue-bright: var(--fun-bright); }

/* what you can do: picture rows */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .feature-text { order: 2; }
.feature-text .tag { display: inline-flex; align-items: center; gap: 8px; color: var(--hue-bright); font-size: 14.5px; font-weight: 600; }
.feature-text .tag::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--hue); box-shadow: 0 0 12px var(--hue); }
.feature-text h3 { margin-top: 14px; font-size: clamp(26px, 1.6vw + 14px, 36px); line-height: 1.12; letter-spacing: -0.025em; }
.feature-text p { margin-top: 16px; font-size: 17px; }
.feature-text ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-text li { position: relative; padding-left: 26px; color: var(--t2); }
.feature-text li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 12px; height: 6px;
  border-left: 2px solid var(--hue-bright); border-bottom: 2px solid var(--hue-bright); transform: rotate(-45deg); }
.shot { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-2), 0 0 0 1px var(--glass-edge);
  background: var(--ground-2); }
.shot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.shot-glow { position: relative; }
.shot-glow::before { content: ''; position: absolute; inset: 8% 6%; background: var(--hue); filter: blur(80px); opacity: 0.32; border-radius: 50%; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phone { width: min(260px, 44%); border-radius: 36px; padding: 8px; background: linear-gradient(180deg, rgb(200 220 255 / 0.2), rgb(200 220 255 / 0.05));
  box-shadow: var(--shadow-2), 0 0 0 1px var(--glass-edge); position: relative; }
.phone img { border-radius: 29px; }
.phone:nth-child(2) { margin-top: 48px; }

/* the six things, small cards */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.card { padding: 26px 24px 26px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shine); transition: transform 240ms var(--ease), border-color 240ms var(--ease); }
.card:hover { transform: translateY(-3px); border-color: var(--glass-edge-strong); }
.card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in oklch, var(--hue) 22%, transparent); color: var(--hue-bright); border: 1px solid color-mix(in oklch, var(--hue) 40%, transparent); }
.card h3 { margin-top: 18px; font-size: 18.5px; letter-spacing: -0.012em; }
.card p { margin-top: 8px; font-size: 15px; color: var(--t2); }

.grid3 { grid-template-columns: repeat(3, 1fr); }
.sources .soon { opacity: 0.6; }

/* privacy */
.privacy-band { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pv { padding: 24px 22px; border-radius: var(--r-l); border: 1px solid var(--line); background: rgb(10 15 31 / 0.7); }
.pv svg { color: var(--body-bright); }
.pv h3 { margin-top: 14px; font-size: 17px; }
.pv p { margin-top: 6px; font-size: 14.5px; color: var(--t3); }

/* early access */
.access { margin-top: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--glass-edge-strong); background: linear-gradient(135deg, rgb(40 40 110 / 0.55), rgb(70 25 90 / 0.45)); box-shadow: var(--shadow-2); }
.access-main { padding: clamp(28px, 4vw, 48px); }
.access-main .price { margin-top: 10px; font-size: clamp(40px, 4vw, 56px); font-weight: 650; color: var(--t1); letter-spacing: -0.03em; line-height: 1; }
.access-main .price small { font-size: 17px; font-weight: 450; color: var(--t3); letter-spacing: 0; margin-left: 6px; }
.access-main p { margin-top: 16px; max-width: 420px; }
.access-main .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.access-list { padding: clamp(28px, 4vw, 48px); background: rgb(6 9 19 / 0.4); border-left: 1px solid var(--glass-edge); }
.access-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.access-list li { display: flex; gap: 12px; color: var(--t2); }
.access-list li svg { flex: none; margin-top: 3px; color: var(--body-bright); }

/* questions */
.faq { margin: 40px 0 0; max-width: 820px; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-edge); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; color: var(--t1);
  font-weight: 540; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--t3); border-bottom: 2px solid var(--t3); transform: rotate(45deg); transition: transform 240ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--t2); font-size: 15.5px; }

/* last call + footer */
.final { position: relative; z-index: 1; margin-top: clamp(80px, 10vw, 136px); padding: clamp(56px, 7vw, 96px) 0; text-align: center;
  border-top: 1px solid var(--line); overflow: hidden; }
.final::before { content: ''; position: absolute; left: 50%; top: 30%; width: 760px; height: 360px; transform: translateX(-50%);
  background: radial-gradient(closest-side, oklch(0.5 0.22 280 / 0.55), transparent); filter: blur(30px); pointer-events: none; }
.final h2 { position: relative; font-size: clamp(32px, 3.4vw + 8px, 52px); letter-spacing: -0.03em; line-height: 1.06; }
.final p { position: relative; margin-top: 16px; font-size: 18px; }
.final .ctas { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--t3); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--t1); }

/* legal pages */
.doc { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) 40px; }
.doc h1 { font-size: clamp(36px, 3vw + 14px, 52px); letter-spacing: -0.03em; line-height: 1.06; }
.doc .updated { margin-top: 12px; color: var(--t3); font-size: 14.5px; }
.doc h2 { margin-top: 44px; font-size: 22px; letter-spacing: -0.015em; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.7; }
.doc p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.doc strong { color: var(--t1); font-weight: 560; }
.doc a { color: var(--tech-bright); }
.draft { margin-top: 22px; padding: 14px 18px; border-radius: var(--r-m); border: 1px solid oklch(0.83 0.175 76 / 0.4);
  background: oklch(0.83 0.175 76 / 0.1); color: var(--home-bright); font-size: 15px; }
mark.todo { background: oklch(0.83 0.175 76 / 0.22); color: var(--home-bright); border-radius: 4px; padding: 0 4px; }

/* phones and small screens */
@media (max-width: 1020px) { .nav .btn.hide-phone { display: none; } }  /* the header's second button: no room beside the links */
@media (max-width: 960px) {
  .steps, .grid6 { grid-template-columns: 1fr 1fr; }
  .privacy-band { grid-template-columns: 1fr 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .access { grid-template-columns: 1fr; }
  .access-list { border-left: 0; border-top: 1px solid var(--glass-edge); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav .wrap { gap: 12px; }
  .nav .btn { margin-left: auto; }
  .steps, .grid6, .grid3, .privacy-band { grid-template-columns: 1fr; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .frame { padding: 5px; border-radius: 18px; }
  .frame img { border-radius: 14px; }
  .frame-note { position: static; transform: none; margin: 16px auto 0; display: block; width: fit-content; max-width: 100%;
    white-space: normal; text-align: center; font-size: 14px; }
  .hide-phone { display: none; }
  footer nav { margin-left: 0; }
}
