/* ShortSmith landing page. Type scale measured from the references the owner picked (lunabudgeting.com, mogulnetworking.com):
   a heavy 800 display heading, 44 px section titles, 20 px leads at weight 500, 16 px nav, big buttons, and the product
   shown inside device frames at a scale where its text can be read. One accent, Inter only, 44 px targets, light + dark. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-normal-latin.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #ffffff; --surface: #f4f5f7; --surface-2: #eceef1; --surface-raised: #ffffff;
  --ink: #101114; --ink-2: #4a4d56; --ink-3: #656873;
  --line: #e2e4e8; --control-border: #8a8d96;
  --accent: #6346ee; --accent-hover: #5536d6; --on-accent: #ffffff; --focus: #6346ee;
  --mark-1: #8566ff; --mark-2: #101114; --lime: #c8ff3d;
  --well: #0b0c0f;
  --device-shadow: rgb(16 17 20 / 0.28);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --fs-display: clamp(2.5rem, 1.2rem + 4.2vw, 4.25rem);
  --fs-title: clamp(1.875rem, 1.1rem + 2.4vw, 2.75rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-headline: 1.3125rem; --fs-body: 1.125rem; --fs-callout: 1.125rem; --fs-caption: 0.9375rem;
  --r-media: 16px; --r-card: 24px;
  --shadow-raised: 0 1px 2px rgb(16 17 20 / 0.06), 0 24px 48px -24px rgb(16 17 20 / 0.28);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --container: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d; --surface: #18191d; --surface-2: #202227; --surface-raised: #1d1e23;
    --ink: #f4f4f6; --ink-2: #b9bcc4; --ink-3: #9a9da7;
    --line: #2b2d33; --control-border: #6f727b;
    --accent: #9580ff; --accent-hover: #a28fff; --on-accent: #0b0b0d; --focus: #9580ff;
    --mark-2: #c8ff3d;
    --well: #000000;
    --device-shadow: rgb(0 0 0 / 0.6);
    --shadow-raised: 0 0 0 1px #2b2d33;
  }
}
@media (prefers-contrast: more) and (prefers-color-scheme: light) { :root { --ink-2: #33363e; --ink-3: #464952; --control-border: #5c5f6b; --accent: #4f30c8; --accent-hover: #3f24a8; --focus: #4f30c8; } }
@media (prefers-contrast: more) and (prefers-color-scheme: dark) { :root { --ink-2: #d0d3da; --ink-3: #b9bcc4; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--font); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 12px 16px; border-radius: 12px; background: var(--surface-raised); color: var(--ink); }
.skip:focus { left: 16px; }
html:not(.geo-in) [data-in], .geo-in [data-intl] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--font); letter-spacing: -0.011em; text-decoration: none; white-space: nowrap; transition: background 200ms var(--ease), transform 200ms var(--ease); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover, .btn-primary:active { background: var(--accent-hover); color: var(--on-accent); }
.btn-quiet { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--control-border); }
.btn-quiet:hover, .btn-quiet:active { color: var(--ink); background: var(--surface); }
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.125rem; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }

/* header: the only translucent layer */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); }
.site-header.scrolled { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); } }
.bar { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand .mark { flex: none; }
.mark .m1 { fill: var(--mark-1); }
.mark .m2 { fill: var(--mark-2); }
.brand:hover { color: var(--ink); }
.bar nav { display: flex; gap: 8px; margin-left: auto; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 500 1rem/1 var(--font); letter-spacing: -0.011em; }
.bar nav a:hover { color: var(--ink); background: var(--surface); }
@media (max-width: 599px) { .bar { height: 64px; } .bar nav { gap: 0; } .bar nav a:not([href$="#pricing"]) { display: none; } .bar nav a { padding: 0 10px; } .brand { font-size: 1.125rem; } }

/* hero: centred copy, then the app on a laptop with a finished Short on a phone */
.hero { padding: clamp(40px, 6vw, 64px) 0 0; overflow-x: clip; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { color: var(--ink-2); font: 600 var(--fs-callout)/1.4 var(--font); margin-bottom: 16px; }
h1 { font-size: var(--fs-display); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.lead { margin-top: 22px; max-width: 48ch; color: var(--ink-2); font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.fine { margin-top: 16px; max-width: 46ch; color: var(--ink-3); font-size: var(--fs-caption); font-weight: 500; line-height: 1.45; text-wrap: balance; }
@media (max-width: 479px) { .cta-row { width: 100%; } .cta-row .btn { flex: 1 1 100%; } }

/* device frames: a photo-real laptop (Google's Device Art Generator, CC BY 2.5) with the app under its transparent screen,
   and a Pixel 10 phone drawn by MockFrame's CSS (MIT, /assets/devices/mockframe-android.min.css) showing a finished Short */
.devices { position: relative; margin-top: clamp(40px, 5vw, 56px); padding-bottom: clamp(8px, 2vw, 24px); }
@media (prefers-color-scheme: dark) {
  .devices::before { content: ""; position: absolute; inset: 6% 2% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(133 102 255 / 0.22), transparent); filter: blur(24px); }
}
.laptop { position: relative; width: min(100%, 1000px); margin: 0 auto; filter: drop-shadow(0 28px 36px var(--device-shadow)); }
.laptop .frame { position: relative; z-index: 1; width: 100%; height: auto; pointer-events: none; }
/* the frame's screen opening is 1828 x 1083 at (146, 108) of 2121 x 1369; 1 px of bleed on each side */
.laptop .screen { position: absolute; z-index: 0; left: 6.836%; top: 7.816%; width: 86.28%; height: 79.255%; object-fit: cover; object-position: left top; background: #000; }
.phone { position: absolute; right: 0; bottom: 0; margin: 0; line-height: 0; filter: drop-shadow(0 22px 28px var(--device-shadow)); }
.phone .mockframe { zoom: 0.52; }
.phone .mockframe .screen { background: #000; }
.phone .mockframe .screen img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1099px) { .phone .mockframe { zoom: 0.42; } }
@media (max-width: 767px) { .phone .mockframe { zoom: 0.32; } }
@media (max-width: 479px) { .phone .mockframe { zoom: 0.22; } }

/* sections */
.section { padding: clamp(72px, 9vw, 112px) 0 0; }
.section-head { max-width: 760px; margin: 0 auto; text-align: center; }
.section h2 { font-size: var(--fs-title); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.sub { margin: 14px auto 0; max-width: 50ch; color: var(--ink-2); font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; }
.grid { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 640px) { .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { border-radius: var(--r-card); background: var(--surface); }
@media (prefers-color-scheme: dark) { .card { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05); } }
.grid .card { padding: 12px 12px 22px; }
.well { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-media); background: var(--well); }
@media (prefers-color-scheme: dark) { .well { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08); } }
.well > img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.well.hook { display: flex; justify-content: center; padding: 20px 20px 0; background: radial-gradient(ellipse at 50% 30%, #1d2733, #0b0c0f 70%); }
.well.hook > .phone-shot { flex: none; min-height: 0; width: auto; height: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 16px 16px 0 0; border: 5px solid #0d0e10; border-bottom: 0; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12); }
.grid .card h3 { margin: 20px 10px 0; font-size: var(--fs-headline); line-height: 1.3; font-weight: 650; letter-spacing: -0.025em; }
.grid .card p { margin: 0 10px; color: var(--ink-2); font-size: var(--fs-callout); line-height: 1.5; }

/* the film: a big play button over the poster, native controls, a text summary */
.film-frame { margin: 48px 0 0; }
.film { position: relative; max-width: min(100%, calc((100svh - 160px) * 16 / 9)); margin-inline: auto; }
.film video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-card); background: #04060a; box-shadow: var(--shadow-raised); }
.play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 84px; height: 84px; border: 0; border-radius: 50%; padding: 0 0 0 4px;
  background: rgb(255 255 255 / 0.94); color: #101114; cursor: pointer; box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.5); transition: background 200ms var(--ease), transform 200ms var(--ease); }
.play:hover { background: #ffffff; transform: scale(1.04); }
.film.playing .play { display: none; }
.summary { margin: 16px auto 0; max-width: 72ch; color: var(--ink-3); font-size: var(--fs-caption); line-height: 1.55; text-align: center; }

/* maker */
.maker { display: grid; gap: 24px; padding: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 720px) { .maker { grid-template-columns: 160px 1fr; gap: 40px; } }
.maker img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.maker h2 { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.875rem); font-weight: 700; letter-spacing: -0.03em; }
.maker p { margin-top: 12px; max-width: 60ch; color: var(--ink-2); font-size: var(--fs-body); }
.maker .sig { color: var(--ink); font-weight: 600; font-size: var(--fs-callout); }

/* plans: three equal cards (Pro Yearly highlighted), a comparison table, then the PC requirements */
.plans { display: grid; gap: 20px; margin-top: 48px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 32px); }
.plan h3, .pc h3 { font-size: 1.375rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.plan.featured { background: var(--surface-raised); box-shadow: 0 0 0 2px var(--accent), var(--shadow-raised); }
@media (prefers-color-scheme: dark) { .plan.featured { box-shadow: 0 0 0 2px var(--accent); } }
.badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; padding: 6px 14px; border-radius: 999px;
  background: var(--lime); color: #101114; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.card-lead { margin-top: 6px; color: var(--ink-2); font-size: var(--fs-callout); line-height: 1.5; }
.price { margin-top: 22px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price b { color: var(--ink); font-size: clamp(2.25rem, 1.9rem + 1.2vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price span { font-size: 1.0625rem; font-weight: 500; }
.price-note { margin-top: 8px; color: var(--ink-3); font-size: var(--fs-caption); font-weight: 500; }
.checks { margin: 22px 0 28px; padding: 0; list-style: none; }
.checks li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); font-size: var(--fs-callout); line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 8px; margin-top: -7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { width: 100%; margin-top: auto; }
.plans-note { max-width: 62ch; margin: 24px auto 0; color: var(--ink-2); font-size: var(--fs-caption); line-height: 1.55; text-align: center; }

.compare-wrap { margin-top: 48px; overflow-x: auto; border-radius: var(--r-card); background: var(--surface); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-callout); font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.4; }
.compare thead th { border-top: 0; padding-top: 20px; padding-bottom: 16px; color: var(--ink); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; }
.compare tbody th { text-align: left; color: var(--ink-2); font-weight: 500; }
.compare tbody td { color: var(--ink); font-weight: 600; }
.compare .hl { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.compare thead .hl { color: var(--accent); }
.compare .yes { color: var(--accent); font-size: 1.125rem; font-weight: 800; }
.compare .no { color: var(--ink-3); }
.compare th:first-child { width: 34%; }

.pc { display: grid; gap: 8px 48px; margin-top: 24px; padding: clamp(24px, 3vw, 36px); }
@media (min-width: 900px) { .pc { grid-template-columns: 4fr 7fr; align-items: start; } }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 8rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .specs div:first-child { border-top: 0; padding-top: 0; } }
.specs dt { color: var(--ink-3); font-size: var(--fs-callout); font-weight: 500; }
.specs dd { margin: 0; font-size: var(--fs-callout); line-height: 1.5; }
@media (max-width: 479px) { .specs div { grid-template-columns: 1fr; gap: 2px; } .compare th, .compare td { padding: 12px 10px; } }

/* faq: centred column */
.faq { max-width: 800px; margin: 40px auto 0; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; margin-inline: -16px; padding: 16px; border-radius: 14px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.4; letter-spacing: -0.02em; }
summary:hover { background: var(--surface); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 4px 4px 0; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform 200ms var(--ease); }
details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
details p { padding: 0 0 22px; max-width: 64ch; color: var(--ink-2); font-size: var(--fs-body); }
.faq-more { margin-top: 24px; color: var(--ink-2); font-size: var(--fs-callout); text-align: center; }
@media (max-width: 599px) { summary { margin-inline: -8px; padding: 14px 8px; } }

.final { padding-bottom: 112px; }
.final .sub { max-width: 40ch; }
.final .btn { margin-top: 32px; }

/* footer */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 32px 48px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-brand p { margin-top: 8px; color: var(--ink-2); font-size: var(--fs-callout); }
.foot nav { display: flex; flex-direction: column; align-items: flex-start; }
.foot nav h2 { margin-bottom: 4px; color: var(--ink); font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0; }
.foot nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; font-size: 1rem; }
.foot nav a:hover { color: var(--ink); }
.copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-caption); }
.copy a { color: inherit; }
@media (max-width: 719px) { .foot { grid-template-columns: 1fr 1fr 1fr; gap: 24px 16px; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 379px) { .foot { grid-template-columns: 1fr 1fr; } }

/* legal and info pages */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) 0 96px; }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.025em; }
.doc .updated { margin-top: 12px; color: var(--ink-3); font-size: var(--fs-caption); font-weight: 500; }
.doc .intro { margin-top: 24px; color: var(--ink-2); font-size: var(--fs-lead); font-weight: 500; line-height: 1.5; letter-spacing: -0.02em; }
.doc h2 { margin-top: 48px; font-size: 1.5rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.025em; }
.doc h3 { margin-top: 28px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink-2); font-size: var(--fs-body); }
.doc p { margin-top: 14px; }
.doc ul { margin: 14px 0 0; padding-left: 22px; }
.doc li { margin-top: 8px; }
.doc li::marker { color: var(--ink-3); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc code { padding: 1px 6px; border-radius: 6px; background: var(--surface); color: var(--ink); font: 500 0.9em/1 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.doc .table { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: var(--fs-callout); }
.doc th, .doc td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
.doc thead th { border-top: 0; background: var(--surface); color: var(--ink); font-weight: 600; }
.doc th:first-child { width: 50%; }
.doc .contact-card { margin-top: 24px; padding: 24px 28px; border-radius: var(--r-card); background: var(--surface); }
.doc .contact-card p { margin-top: 6px; }
.doc .contact-card p:first-child { margin-top: 0; }
.doc .contact-card b { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:active { transform: none; }
}
@media (forced-colors: active) { .card, .btn, .well, .play { border: 1px solid CanvasText; } }
