/* getyap.io — dark only. Tokens mirror DESIGN.md (dark column). */

@font-face { font-family: Unbounded; font-weight: 800; font-display: swap; src: url(fonts/unbounded-800.woff2) format("woff2"); }
@font-face { font-family: Unbounded; font-weight: 900; font-display: swap; src: url(fonts/unbounded-900.woff2) format("woff2"); }

:root {
  --base: #111312; --surface: #1B1E1C; --raised: #242826;
  --t1: #F2F2F0; --t2: #9AA09C; --t3: #858B86;
  --g: #37D46C; --p: #FF4FA3; --v: #A78BFA; --ink: #0B0D0C; --no: #FF7A7A;
  --line: rgba(255,255,255,.08);
  --display: Unbounded, "Arial Black", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--t1); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; caret-color: var(--g); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--g); color: var(--ink); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2E3330 var(--base); }

.wm { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; }
.bang { display: inline-block; transform: rotate(14deg); color: var(--g); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.btn { display: inline-flex; gap: 8px; align-items: center; padding: 16px 24px; border-radius: 12px; font-weight: 800; font-size: 16px; background: var(--g); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(55,212,108,.25); }
/* Buy: pink = celebration (DESIGN.md), so it stands apart from the green Download buttons */
.btn.buy { background: var(--p); color: var(--ink); padding: 14px 26px; box-shadow: 0 10px 30px rgba(255,79,163,.35), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.buy:hover { box-shadow: 0 14px 36px rgba(255,79,163,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.sticker { display: inline-block; font: 900 13px var(--display); padding: 9px 14px; border-radius: 999px; background: var(--p); color: var(--ink); transform: rotate(-6deg); letter-spacing: -.01em; }
.hi { color: var(--t1); }
.nw { white-space: nowrap; }

/* floating navbar (pattern from convertchat-website): glass over the hero, solid on scroll */
/* same edges as the content: .wrap is 1120px with 32px gutters */
.topbar { position: fixed; top: 14px; left: 32px; right: 32px; z-index: 50; max-width: 1056px; margin: 0 auto; }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.045); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); transition: background .3s, border-color .3s, box-shadow .3s; }
.topbar.solid .bar, .topbar.open .bar { background: rgba(17,19,18,.82); border-color: rgba(255,255,255,.12); box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.logo-link { justify-self: start; text-decoration: none; display: flex; align-items: center; }
.logo { font-size: 19px; display: inline-flex; align-items: baseline; }
.logo-word { display: inline-block; max-width: 70px; overflow: hidden; white-space: nowrap; transition: max-width .3s, opacity .3s; }
.topbar.solid .logo-word, .topbar.open .logo-word { max-width: 0; opacity: 0; }
.links-desk { display: flex; justify-content: center; gap: 4px; }
.links-desk a, .mobmenu a { color: var(--t2); text-decoration: none; font-size: 14px; padding: 7px 12px; border-radius: 10px; transition: color .2s, background .2s; white-space: nowrap; }
.links-desk a:hover { color: var(--t1); background: rgba(255,255,255,.05); }
.cta-desk { justify-self: end; display: flex; }
.nav-btn { padding: 9px 16px; font-size: 14px; border-radius: 10px; box-shadow: 0 6px 20px rgba(55,212,108,.28), inset 0 1px 0 rgba(255,255,255,.25); }
.nav-btn:hover { box-shadow: 0 10px 28px rgba(55,212,108,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.nav-btn.sm { padding: 8px 13px; font-size: 13.5px; border-radius: 10px; }
.cta-mob { display: none; align-items: center; gap: 6px; }
.burger { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--t1); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.burger:hover { background: rgba(255,255,255,.07); }
.burger .l2, .topbar.open .burger .l1 { display: none; }
.topbar.open .burger .l2 { display: inline; }
.mobmenu { display: none; flex-direction: column; margin-top: 8px; padding: 8px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(17,19,18,.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.mobmenu a { padding: 13px 12px; font-size: 16px; }
.mobmenu a:hover { color: var(--t1); }
.topbar.open .mobmenu { display: flex; animation: drop .22s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
html { scroll-padding-top: 84px; }

/* hero */
.hero { background: radial-gradient(ellipse 50% 60% at 78% 55%, rgba(55,212,108,.15), transparent 70%), radial-gradient(ellipse 35% 45% at 5% 0%, rgba(255,79,163,.10), transparent 70%); }
.grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 150px 0 96px; }
.h1 { font-size: 76px; line-height: 1.06; font-weight: 900; margin: 0; }
.lede { color: var(--t2); font-size: 18px; margin: 22px 0 28px; max-width: 470px; }
.lede b, .meta b { color: var(--t1); }
.ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.ctas .btn { position: relative; }
.st-corner { position: absolute; top: -13px; right: -38px; transform: rotate(8deg); font: 900 10.5px var(--display); padding: 6px 10px; border-radius: 999px; background: var(--p); color: var(--ink); white-space: nowrap; letter-spacing: -.01em; }
.meta { color: var(--t3); font-size: 14px; margin-top: 16px; }

/* hero demo */
.stage { position: relative; height: 412px; }
.win { position: absolute; inset: 0 0 104px 0; background: var(--ink); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.55); overflow: hidden; transition: opacity .35s, transform .35s; }
.win.out { opacity: 0; transform: translateY(8px) scale(.985); }
.chrome { display: flex; align-items: center; gap: 6px; padding: 11px 13px; border-bottom: 1px solid transparent; }
.chrome i { width: 11px; height: 11px; border-radius: 50%; }
.chrome i:nth-child(1) { background: #FF5F57; } .chrome i:nth-child(2) { background: #FEBC2E; } .chrome i:nth-child(3) { background: #28C840; }
.chrome .app { margin-left: 10px; font-size: 12px; color: var(--t3); font-weight: 600; }
.win.slack .chrome, .win.mail .chrome { border-bottom-color: var(--line); }
.ctx { padding: 12px 18px 0; font-size: 12.5px; color: var(--t3); }
.ctx:empty { display: none; }
.ctx b { color: var(--t1); font-weight: 700; }
.text { padding: 10px 18px 20px; font-size: 15.5px; line-height: 1.65; }
.win.term .text { font: 14.5px/1.65 var(--mono); }
.prompt { color: var(--g); margin-right: 8px; }
.win:not(.term) .prompt { display: none; }
.raw { color: var(--t2); }
.raw .w { display: none; }
.raw .w.on { display: inline; animation: wordin .15s ease-out; }
@keyframes wordin { from { opacity: 0; } }
.raw .w.f { color: var(--p); font-style: italic; }
.raw .w.f.strike { text-decoration: line-through; text-decoration-thickness: 2px; }
.raw .w.f.gone { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; vertical-align: bottom; white-space: nowrap; transition: max-width .35s ease, opacity .25s; }
.clean { opacity: 0; filter: blur(6px); transition: opacity .45s, filter .45s; }
.clean.on { opacity: 1; filter: none; }
.clean ol { margin: 6px 0 8px; padding-left: 22px; }
.caret::after { content: "▍"; color: var(--t1); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.pillwrap { position: absolute; left: 50%; bottom: 78px; transform: translateX(-50%); z-index: 2; }
.pill { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); border-radius: 999px; height: 52px; padding: 0 18px; min-width: 52px; box-shadow: 0 10px 34px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.07); transition: width .35s cubic-bezier(.3,1.4,.5,1), opacity .25s, transform .35s; overflow: hidden; }
.pill.hide { opacity: 0; transform: translateY(10px) scale(.9); }
.pill .b { font: 900 22px var(--display); color: var(--g); display: inline-block; transform: rotate(14deg) scale(var(--lvl, 1)); transition: transform .08s, color .2s; }
.bars { display: flex; gap: 3px; align-items: center; height: 22px; }
.bars i { width: 3px; height: 4px; background: #fff; border-radius: 2px; transition: height .09s; }
.timer { color: #fff; font: 12px var(--mono); opacity: .8; width: 30px; }
.pill.proc { width: 52px; padding: 0; }
.pill.proc .bars, .pill.proc .timer { display: none; }
/* Same motion as RecordingOverlayView: 14° → 374°, 0.9 s. */
.pill.proc .b { color: var(--v); animation: spin .9s cubic-bezier(.5,.1,.3,1) infinite; }
@keyframes spin { from { transform: rotate(14deg); } to { transform: rotate(374deg); } }

/* 3D fn key: 14 slices between base and cap give it real height; --h squashes it. */
@property --h { syntax: '<length>'; inherits: true; initial-value: 30px; }
@property --lit { syntax: '<number>'; inherits: true; initial-value: 0; }
.fk { position: absolute; left: 34px; bottom: 4px; perspective: 900px; --h: 30px; --lit: 0; transition: --h .14s cubic-bezier(.3,.7,.4,1), --lit .16s ease-out; z-index: 2; }
.fk.down { --h: 8px; --lit: 1; }
button.fk { border: 0; padding: 0; background: none; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
button.fk:focus-visible { outline: none; }
button.fk:focus-visible .fk-cap { box-shadow: 0 0 0 3px var(--g), inset 0 1.5px 0 rgba(255,255,255,.16); }
button.fk:hover:not(.down) { --h: 26px; }
.fk-hint { position: absolute; left: 100%; top: 50%; margin-left: 14px; transform: translateY(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--t3); transition: opacity .3s; pointer-events: none; }
.fk.down .fk-hint { opacity: 0; }
.fk-key { width: 70px; height: 70px; position: relative; transform-style: preserve-3d; transform: rotateX(55deg) rotateZ(-40deg); }
.fk-shadow { position: absolute; inset: -6px; border-radius: 20px; background: rgba(0,0,0,.75); filter: blur(calc(5px + var(--h) * .4)); transform: translate(calc(var(--h) * .3), calc(var(--h) * .3)); }
.fk-glow { position: absolute; inset: -40px; border-radius: 50px; background: radial-gradient(circle, rgba(55,212,108,.6), transparent 62%); opacity: var(--lit); transform: translateZ(1px); }
.fk-slice { position: absolute; inset: 0; border-radius: 14px; transform: translateZ(calc(var(--h) * var(--i) / 14));
  background: color-mix(in srgb, color-mix(in srgb, #2C312E calc(var(--i) * 7%), #121513) calc(100% - var(--lit) * 100%), color-mix(in srgb, #2A9E52 calc(var(--i) * 7%), #155F2F));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.fk-cap { position: absolute; inset: 0; border-radius: 14px; transform: translateZ(var(--h)); display: flex; flex-direction: column; justify-content: space-between; padding: 8px 10px;
  background: linear-gradient(135deg, color-mix(in srgb, #3A403C calc(100% - var(--lit) * 100%), #55EB8C), color-mix(in srgb, #242826 calc(100% - var(--lit) * 100%), #2BBE5B));
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.16), inset 0 -3px 6px rgba(0,0,0,.25);
  color: color-mix(in srgb, #E8EAE8 calc(100% - var(--lit) * 100%), #0B0D0C); }
.fk-cap svg { align-self: flex-end; opacity: .75; }
.fk-cap span { font: 700 19px -apple-system, BlinkMacSystemFont, sans-serif; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--t1); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 12px 20px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 40px rgba(0,0,0,.6); animation: toastin .25s ease-out; white-space: nowrap; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 8px); } }

/* the demo column doubles as "How it works"; its heading only shows on phones */
.demo-h { display: none; }

/* sections */
section.s { padding: 110px 0; border-top: 1px solid var(--line); text-align: center; }
section.s .sub { margin-left: auto; margin-right: auto; }
.h2 { font-size: 56px; line-height: 1; font-weight: 900; margin: 0; text-wrap: balance; }
/* supporting text: one clear step below the 56px h2 (≈3.4×), dimmer, ~55 characters a line */
.sub { text-wrap: pretty; color: var(--t3); font-size: 16.5px; line-height: 1.6; max-width: 440px; margin: 20px 0 56px; }
.sub b { color: var(--t1); font-weight: 600; }

/* vs */
.cols { display: grid; grid-template-columns: 1fr 1.12fr; column-gap: 22px; row-gap: 0; max-width: 860px; margin: 0 auto; text-align: left; perspective: 1100px; }
.col { grid-row: span 4; display: grid; grid-template-rows: subgrid; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 30px 32px; position: relative; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 45%); }
.col:hover .glare { opacity: 1; }
.ours .glare { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(55,212,108,.16), transparent 45%); }
.col h3 { margin: 0 0 4px; font-size: 15px; color: var(--t2); font-weight: 600; }
.ours h3 { font-size: 17px; color: var(--t1); letter-spacing: -.03em; }
.price { font: 800 48px var(--display); letter-spacing: -.03em; margin: 6px 0 2px; }
.price small { font-size: 20px; }
.per { color: var(--t3); font-size: 14px; }
.col ul { list-style: none; padding: 0; margin: 24px 0 0; font-size: 15px; }
.col li { padding: 11px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.col:not(.ours) li { color: var(--t3); }
.disc { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.disc svg { width: 11px; height: 11px; }
.disc.y { background: rgba(55,212,108,.16); }
.disc.n { background: rgba(255,255,255,.06); }
.three { margin-top: 26px; font-size: 13px; color: var(--t3); }
.three b { font: 800 26px var(--display); color: var(--t1); display: block; margin-top: 4px; letter-spacing: -.02em; }
.buyrow { display: flex; justify-content: center; margin-top: 26px; }
.ours { background: linear-gradient(180deg, rgba(55,212,108,.11), rgba(55,212,108,.02) 55%), var(--surface); border: 1.5px solid rgba(55,212,108,.5); box-shadow: 0 30px 80px rgba(55,212,108,.10); }
.ours .three b { color: var(--g); }
.crown { position: absolute; top: -15px; right: 22px; transform: rotate(4deg) translateZ(30px); }
.quote { margin: 72px 0 0; font: 800 34px/1.15 var(--display); letter-spacing: -.02em; }
.quote span { color: var(--g); }

/* wi-fi */
.plane { display: flex; flex-direction: column; align-items: center; gap: 44px; }
.plane .sub { margin-bottom: 0; }
.toggle { width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px 0; max-width: 420px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.row { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; font-size: 15px; }
.row + .row { border-top: 1px solid var(--line); }
.sw { width: 42px; height: 25px; border-radius: 999px; background: #3A3F3C; position: relative; }
.sw::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.ok { color: var(--g); font-weight: 700; }
.zero { font: 800 20px -apple-system, BlinkMacSystemFont, sans-serif; font-variant-numeric: tabular-nums; color: var(--g); }

/* faq */
.faq { max-width: 760px; margin: 40px auto 0; text-align: left; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 800 22px var(--display); color: var(--g); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--t2); margin: -8px 0 0; padding-bottom: 22px; max-width: 640px; }

/* final */
.final { text-align: center; padding: 130px 0 120px; border-top: 1px solid var(--line); background: radial-gradient(ellipse 40% 60% at 50% 100%, rgba(55,212,108,.16), transparent 70%); }
.bigbang { font: 900 180px/1 var(--display); color: var(--g); display: inline-block; transform: rotate(14deg); }
.final .h2 { margin-top: 24px; }
.final p { color: var(--t3); font-size: 16.5px; line-height: 1.6; margin: 20px auto 32px; max-width: 440px; }
.final p b { color: var(--t1); font-weight: 600; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--t3); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .logo { color: var(--t1); text-decoration: none; margin-right: 6px; }
footer .links a { text-decoration: none; margin-left: 22px; }
footer a:hover { color: var(--t1); }
.heart { color: var(--p); }

/* simple pages (legal stubs, 404) */
.page { padding: 170px 0 140px; min-height: 60vh; }
.page .h2 { margin-bottom: 24px; }
.page p { color: var(--t2); font-size: 18px; max-width: 620px; }
.page .btn { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-word, .bar { transition: none; }
  .fk, .pill, .win, .clean, .col { transition: none; }
  .caret::after, .pill.proc .b, .raw .w.on { animation: none; }
}

/* tablet */
@media (max-width: 1000px) {
  .links-desk, .cta-desk { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .cta-mob { display: flex; justify-self: end; }
  .cta-mob .nav-btn { transition: opacity .25s, transform .25s; }
  .topbar.hero-cta .cta-mob .nav-btn { opacity: 0; transform: translateY(-4px) scale(.96); pointer-events: none; }
  .h1 { font-size: 60px; }
  .grid { grid-template-columns: 1fr; gap: 56px; padding-bottom: 72px; }
  .stage { max-width: 620px; }
  .grid { gap: 0; }
  .demo { margin: 72px -32px 0; padding: 72px 32px 0; border-top: 1px solid var(--line); }
  .demo-h { display: block; margin-bottom: 40px; }
}

/* phone */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topbar { left: 16px; right: 16px; top: 10px; }
  .grid > div:first-child, .demo-h { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .ctas { justify-content: center; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 31px; }
  .lede { font-size: 17px; }
  .grid { padding: 118px 0 56px; }
  .demo { margin: 56px -16px 0; padding: 56px 16px 0; }
  .demo-h { margin-bottom: 32px; }
  .st-corner { right: -12px; }
  .text { font-size: 14.5px; }
  .win.term .text { font-size: 13px; }
  section.s { padding: 72px 0; }
  .sub { font-size: 15.5px; margin-bottom: 36px; }
  .final p { font-size: 15.5px; }
  .cols { grid-template-columns: 1fr; }
  .col { grid-row: auto; display: block; margin-bottom: 26px; }
  .ours { order: -1; }
  .quote { font-size: 24px; margin-top: 48px; }
  .plane { gap: 32px; }
  .final { padding: 90px 0; }
  .bigbang { font-size: 120px; }
  footer .wrap { flex-direction: column; align-items: center; text-align: center; gap: 8px; text-wrap: balance; }
  footer .logo { display: block; margin: 0 0 10px; font-size: 18px; }
  footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
  footer .links a { margin: 0; padding: 12px 0; }
  summary { font-size: 17px; }
  /* demo: no dead space under the window */
  .stage { height: 384px; }  /* fits the tallest scene (Mail, ~283px) plus pill and key */
  .win { inset: 0 0 92px 0; }
  .pillwrap { bottom: 66px; }
  .fk { left: 18px; bottom: 0; }
}

/* Legal pages (privacy, terms, refunds, eula) */
.legal .updated { color: var(--t3); font-size: 15px; margin-top: -12px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 10px; max-width: 620px; }
.legal ul { color: var(--t2); font-size: 18px; max-width: 620px; padding-left: 22px; margin: 0 0 16px; }
.legal li { margin: 6px 0; }
.legal b { color: var(--t1); font-weight: 600; }
.legal a { color: var(--t1); }
