/* PhoneDrop landing page. Friendly Utility: white ground, warm hero wash, Signal Orange fills with ink text. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree-latin-ext.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/fonts/figtree-latin.woff2") format("woff2");
  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;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --tint: #fff4ee;
  --tint-2: #ffe7dc;
  --ink: #17171a;
  --muted: #5b5b66;
  --line: #ececf0;
  --line-strong: #cfcfd6;
  --brand: #ff5a1f;
  --brand-press: #f04a10;
  --brand-deep: #c63d02;
  --on-ink: #ffffff;
  --on-ink-body: #e7e7ec;
  --on-ink-muted: #c9c9d1;
  --on-ink-tick: #ff7a45;
  --key-bg: #fafafa;
  --key-line: #d9d9df;
  --r: 20px;
  --r-lg: 28px;
  --r-btn: 14px;
  --nav-h: 72px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --section: clamp(72px, 9vw, 104px);
  --face: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-cta: 0 6px 16px rgba(255, 90, 31, 0.28);
  --shadow-cta-hover: 0 10px 22px rgba(255, 90, 31, 0.32);
  --shadow-player: 0 2px 6px rgba(23, 23, 26, 0.06), 0 30px 60px rgba(23, 23, 26, 0.14);
}

* { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: var(--line-strong) var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body { margin: 0; background: var(--bg); font: 400 17px/1.6 var(--face); -webkit-font-smoothing: antialiased; }
::selection { background: var(--tint-2); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; border-radius: 10px; }
svg { flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 16px; top: 12px; z-index: 10; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--on-ink); font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform 0.2s var(--ease-out); }
.skip:focus-visible { transform: none; }

/* Phone visitors get "send the link to your laptop" in place of the Windows download. */
@media (hover: none) and (pointer: coarse) { .for-desktop { display: none !important; } }
@media not all and (hover: none) and (pointer: coarse) { .for-phone { display: none !important; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--face); letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; font-weight: 500; color: var(--muted); }
.nav ul a { display: inline-block; padding: 8px 0; text-decoration: none; transition: color 0.15s; }
.nav .btn { margin-left: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-btn);
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font: 700 16px/1.2 var(--face); text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); box-shadow: var(--shadow-cta); }
.btn.primary:active { transform: translateY(1px); box-shadow: var(--shadow-cta); }
.btn svg { width: 20px; height: 20px; }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr); gap: clamp(40px, 4.4vw, 64px); align-items: center;
  padding-top: clamp(40px, 7vh, 72px); padding-bottom: clamp(56px, 9vh, 88px);
}
h1 {
  margin: 0 0 20px;
  font-family: var(--face); font-weight: 800; line-height: 1.04;
  font-size: clamp(2.5rem, min(4.4vw + 0.25rem, 7.6vh), 4rem);
  letter-spacing: -0.035em; text-wrap: balance;
}
h1 em { font-style: normal; color: var(--brand-deep); }
.lede { margin: 0 0 30px; max-width: 40ch; color: var(--muted); font-size: 19px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-note { margin: 16px 0 0; max-width: 42ch; color: var(--muted); font-size: 15px; line-height: 1.5; }
.phone-note a { color: var(--brand-deep); font-weight: 700; }
.ic-done, [data-done] .ic-share { display: none; }
[data-done] .ic-done { display: block; }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.works li { display: inline-flex; align-items: center; gap: 8px; }
.works svg { width: 20px; height: 20px; }
/* Product Hunt badge, hosted here (not loaded from Product Hunt) so the page still loads nothing from other sites. */
.ph-badge { display: inline-block; margin-top: 24px; border-radius: 10px; }
.ph-badge img { display: block; }

/* The recording is cropped to the two windows, so it stays legible; on short laptop screens it
   shrinks to keep the whole card above the fold. */
.demo { justify-self: end; width: min(100%, calc((100vh - var(--nav-h) - 160px) * 1.116)); width: min(100%, calc((100svh - var(--nav-h) - 160px) * 1.116)); margin: 0; }
.player { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #f4f2ec; box-shadow: var(--shadow-player); }
.player video { display: block; width: 100%; height: auto; aspect-ratio: 1152 / 1032; object-fit: cover; }
/* Caption row under the card: the label, and the pause control kept off the recording's own captions. */
.real { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 13px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
  font: 700 14px/1 var(--face); cursor: pointer;
  transition: border-color 0.2s, transform 0.25s var(--ease-out);
}
.toggle[hidden] { display: none; }
.toggle:active { transform: scale(0.96); }
.toggle:focus-visible { border-radius: 999px; }
.toggle svg { width: 14px; height: 14px; }
.toggle .play, .toggle[data-state="paused"] .pause { display: none; }
.toggle[data-state="paused"] .play { display: block; }
@media (pointer: coarse) { .toggle { min-height: 44px; } }

/* ---------- sections ---------- */
main > section { padding-top: var(--section); }
.head { max-width: 640px; margin-bottom: 44px; }
h2 { margin: 0 0 12px; font: 800 clamp(30px, 3.4vw, 44px)/1.1 var(--face); letter-spacing: -0.03em; text-wrap: balance; }
.head p { margin: 0; color: var(--muted); font-size: 18px; }
h3 { margin: 0 0 8px; font: 700 20px/1.25 var(--face); letter-spacing: -0.01em; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.feature .ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--tint); color: var(--brand-deep); }
.feature .ic svg { width: 24px; height: 24px; }
.feature p, .step p { margin: 0; color: var(--muted); font-size: 16px; }
kbd { display: inline-block; padding: 1px 7px 2px; border: 1px solid var(--key-line); border-bottom-width: 2px; border-radius: 6px; background: var(--key-bg); color: var(--ink); font: 700 13px/1.4 var(--face); white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { padding: 30px 28px; border-radius: var(--r); background: var(--tint); }
.step .num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 999px; background: var(--brand); color: var(--ink); font: 800 18px/1 var(--face); font-variant-numeric: tabular-nums; }

.private { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 56px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); }
.private h2 { color: var(--on-ink); }
.private p { margin: 0; color: var(--on-ink-muted); }
.private ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.private li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--on-ink-body); }
.private li svg { width: 22px; height: 22px; margin-top: 3px; color: var(--on-ink-tick); }
.private li b { color: var(--on-ink); }
.private ::selection { background: var(--brand-deep); color: var(--on-ink); }
.private :focus-visible { outline-color: var(--on-ink-tick); }

.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 700 18px/1.35 var(--face); transition: color 0.15s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform 0.3s var(--ease-out); }
details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
details p { margin: -6px 0 22px; max-width: 64ch; color: var(--muted); }
details p a { color: var(--brand-deep); font-weight: 700; }
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { block-size: 0; overflow-y: clip; opacity: 0; transition: block-size 0.35s var(--ease-out), opacity 0.25s, content-visibility 0.35s allow-discrete; }
  details[open]::details-content { block-size: auto; opacity: 1; }
}

.cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 32px;
  padding: 64px 56px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--tint-2), var(--tint));
}
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
.foot { margin-top: 80px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }
.foot .brand { color: var(--ink); font-size: 16px; }
.foot .brand svg { width: 24px; height: 24px; }
.foot p { flex: 1 1 280px; margin: 0; }
.foot ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.foot ul a { display: inline-block; padding: 8px 0; text-decoration: none; }

/* ---------- download help ---------- */
/* Shown after a Download click, until closed: the two warnings an unsigned installer meets. */
.dl-help {
  position: fixed; right: 24px; bottom: 24px; z-index: 6;
  width: min(384px, calc(100vw - 32px));
  padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); box-shadow: var(--shadow-player);
  font-size: 15px; line-height: 1.5;
  animation: dl-in 0.45s var(--ease-out);
}
.dl-help[hidden] { display: none; }
.dl-help-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dl-help-title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.dl-help-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin: -8px -10px 0 0; border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.dl-help-close svg { width: 18px; height: 18px; }
.dl-help-why { margin: 4px 0 14px; color: var(--muted); }
.dl-help ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: dl; }
.dl-help li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; counter-increment: dl; }
.dl-help li::before { content: counter(dl); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--brand); color: var(--ink); font-size: 14px; font-weight: 800; }
.dl-help-then { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
@keyframes dl-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- privacy and other text pages ---------- */
.doc { max-width: 720px; padding-top: clamp(40px, 7vw, 72px); }
.doc h1 { margin-bottom: 12px; font-size: clamp(2.25rem, 4vw + 0.5rem, 3.25rem); }
.doc .updated { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.doc .lede { max-width: none; margin-bottom: 8px; }
.doc h2 { margin: 48px 0 10px; font-size: clamp(22px, 1.6vw + 12px, 28px); letter-spacing: -0.02em; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 1.25em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--brand-deep); }
.doc a { color: var(--brand-deep); font-weight: 600; }

/* Hover only where there's a real pointer; on touch it sticks after a tap. */
@media (hover: hover) {
  .nav ul a:hover { color: var(--ink); }
  .btn:hover { border-color: var(--line-strong); }
  .btn.primary:hover { background: var(--brand-press); border-color: var(--brand-press); box-shadow: var(--shadow-cta-hover); transform: translateY(-1px); }
  .toggle:hover { border-color: var(--line-strong); }
  summary:hover { color: var(--brand-deep); }
  .foot ul a:hover { color: var(--ink); }
  .btn.primary:active { transform: translateY(1px); box-shadow: var(--shadow-cta); }
  .dl-help-close:hover { background: var(--tint); color: var(--ink); }
}

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav ul { display: none; }
  .hero .wrap, .private { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 40px; padding-top: 40px; }
  .demo { justify-self: start; width: min(100%, 640px); }
  .features, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .private { gap: 32px; padding: 40px 32px; }
  .cta { padding: 44px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand { font-size: 19px; }
  .brand svg { width: 30px; height: 30px; }
  .lede { font-size: 18px; }
  .ctas .btn { flex: 1 1 100%; }
  .features, .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* Icon beside the text, so six tiles don't become six screens of scrolling. */
  .feature, .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 22px 20px; }
  .feature .ic, .step .num { grid-row: span 2; margin: 0; }
  .feature .ic { width: 44px; height: 44px; border-radius: 13px; }
  .step .num { width: 40px; height: 40px; margin: 2px 2px 0; }
  .feature h3, .step h3 { margin: 9px 0 6px; font-size: 18px; }
  .head { margin-bottom: 32px; }
  .head p { font-size: 17px; }
  .private { padding: 32px 22px; border-radius: 24px; }
  .cta { padding: 32px 22px; border-radius: 24px; }
  .cta .btn { flex: 1 1 100%; }
  summary { font-size: 17px; padding: 20px 0; }
  .player { border-radius: 18px; }
  .dl-help { right: 16px; bottom: 16px; padding: 18px 18px 20px; }
}

@media (forced-colors: active) {
  .step .num { border: 1px solid CanvasText; }
  .btn.primary { border-color: ButtonText; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .toggle, .skip, summary::after, details::details-content, .dl-help-close { transition: none !important; }
  .dl-help { animation: none; }
  .btn.primary:hover, .btn:active, .btn.primary:active { transform: none; }
}
