/* Simple Thumbnail Maker — montizel.com/thumbnail
 *
 * The look borrows the grammar of a video site: near-black ground, cards that
 * lead with a 16:9 image, a red that means "this is the action". It borrows
 * none of the marks. The red is the app's own #FF2D2D, not YouTube's #FF0000,
 * and there is no logo, wordmark or play button lifted from anyone.
 *
 * One font file, self-hosted. Calling Google Fonts would ship every visitor's
 * IP to a third party two clicks from a page that promises none of that
 * happens. */

@font-face {
  font-family: "Roboto Var";
  src: url("fonts/roboto.woff2") format("woff2");
  font-weight: 100 900;          /* one variable file covers every weight */
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0f0f0f;
  --surface: #1c1c1c;
  --surface-2: #272727;
  --line: #303030;
  --text: #f1f1f1;
  --muted: #a0a0a0;
  --accent: #ff2d2d;
  --accent-soft: rgba(255, 45, 45, 0.13);
  --radius: 12px;
  --max: 1120px;
  --gutter: clamp(16px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto Var", Roboto, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- top bar ---------- */

.bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; gap: 16px; min-height: 56px; }

/* The wordmark runs 22 characters. At 320px it wrapped onto two lines and
   doubled the bar's height, so it starts a notch smaller and never wraps —
   mobile-first, like every other breakpoint in this file. */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  text-decoration: none; margin-right: auto; white-space: nowrap;
}
@media (min-width: 400px) { .brand { font-size: 16px; } }
/* The app's own mark: a 16:9 frame with a headline across it. Explicitly not a
   play button in a red lozenge — that shape belongs to someone else. */
.brand-mark {
  width: 30px; height: 17px; border-radius: 4px;
  background: var(--accent); flex: none;
  display: grid; place-items: center;
}
.brand-mark::after {
  content: ""; width: 18px; height: 4px; border-radius: 1.5px; background: #fff;
}

.langs { display: flex; gap: 4px; }
.langs a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 34px; padding: 0 10px;
  border-radius: 999px; text-decoration: none;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.langs a[aria-current="true"] { background: var(--surface-2); color: var(--text); }
.langs a:hover { background: var(--surface-2); color: var(--text); }

/* ---------- sections ---------- */

section { padding-block: clamp(48px, 9vw, 92px); }
section + section { border-top: 1px solid var(--line); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(32px, 6.4vw, 56px); font-weight: 700; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 56ch; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* ---------- hero ---------- */

.hero { padding-top: clamp(40px, 7vw, 76px); }
.hero-grid { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }

/* Deliberately not a link: the App Store listing does not exist yet, and a
   primary button that 404s is worse than one that plainly says "not yet". */
/* The one thing on the page there is to do. It was a passive badge saying
   the app was coming; now that the beta is open it is a link, and it is
   filled, because a bordered pill next to a paragraph reads as a label. */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--accent); border: 1px solid var(--accent);
  font-weight: 700; font-size: 15px; color: #fff; text-decoration: none;
  transition: filter 0.15s ease;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}
.beta-note { font-size: 14px; color: var(--muted); }
.price-note { font-size: 14px; color: var(--muted); }
.price-note b { color: var(--text); font-weight: 500; }

/* ---------- phone ---------- */

.phone {
  width: min(300px, 78vw); margin-inline: auto;
  border-radius: 40px; padding: 10px;
  background: #1f1f1f;
  border: 1px solid #3a3a3a;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.6);
}
.phone img, .phone video { border-radius: 30px; display: block; width: 100%; height: auto; }

/* ---------- spacing that used to ride in style= attributes ---------- */

.lede--spaced       { margin-bottom: 32px; }
.h2--spaced         { margin-bottom: 36px; }
.price-note--top    { margin-top: 16px; }
.price-note--legal  { margin-top: 24px; max-width: 66ch; }
.callout--contact   { margin: 28px 0 40px; }

/* ---------- card grid, feed-shaped ---------- */

.grid { display: grid; gap: 26px 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card > .shot {
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); aspect-ratio: 16 / 9; margin-bottom: 12px;
}
.card h3 { margin-bottom: 4px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Icon tile for cards with no photograph to show. */
.tile {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
}
.tile svg { width: 42px; height: 42px; stroke: var(--accent); fill: none; stroke-width: 1.6; }

/* ---------- two-up comparison ---------- */

.twoup { display: grid; gap: 18px; }
@media (min-width: 720px) { .twoup { grid-template-columns: 1fr 1fr; } }
.twoup figure { margin: 0; }
.twoup img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover;
}
.twoup figcaption {
  margin-top: 10px; font-size: 14px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.twoup .key {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.key--a { background: var(--surface-2); color: var(--muted); }
.key--b { background: var(--accent-soft); color: var(--accent); }

/* ---------- pricing ---------- */

.plans { display: grid; gap: 18px; }
@media (min-width: 780px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; background: var(--surface);
}
.plan--hero { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 62%); }
.plan h3 { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.plan .amount { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.plan .per { font-size: 14px; color: var(--muted); margin-left: 4px; font-weight: 400; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; color: var(--muted); }
.plan li { padding-left: 24px; position: relative; margin-bottom: 8px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 10px; height: 6px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 72ch; }
.prose h2 { font-size: 22px; margin-top: 2em; }
.prose h3 { font-size: 17px; margin-top: 1.6em; color: var(--text); }
.prose p, .prose li { color: #d4d4d4; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose .meta { color: var(--muted); font-size: 14px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; }

.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 16px 18px; background: var(--surface);
  color: #d4d4d4; font-size: 15px;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ, no JavaScript needed ---------- */

details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
summary {
  cursor: pointer; padding: 16px 0; font-weight: 500; list-style: none;
  display: flex; align-items: center; gap: 12px; min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: ""; flex: none; width: 9px; height: 9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg); transition: transform 0.18s ease;
}
details[open] summary::before { transform: rotate(45deg); }
details > *:not(summary) { color: var(--muted); font-size: 15px; margin-bottom: 16px; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); padding-block: 44px; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 22px; }
.foot-links a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.disclaimer { max-width: 68ch; font-size: 13px; line-height: 1.55; }

:where(a, summary, button):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* One render rather than a comparison, while a photo with a real subject is
   still missing. Keeping it half-width would leave an odd gap. */
.twoup--single { grid-template-columns: 1fr; max-width: 760px; }
