@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/eb-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}

:root {
  /* TMR palette, from TMRTheme in the app (light). */
  --canvas: #f2f7fe;
  --canvas-soft: #f8fbff;
  --surface-card: #ffffff;
  --surface-strong: #e3edfa;
  --primary: #1452a8;
  --primary-active: #0e3f84;
  --on-primary: #ffffff;
  --ink: #0b1a2e;
  --body: #3a4656;
  --body-strong: #1c2a3d;
  --muted: #545e6e;
  --muted-soft: #5d6777;
  --hairline: #dce5f1;
  --hairline-strong: #c3d0e2;
  --nav-bg: rgba(242, 247, 254, 0.9);
  --shadow: rgba(11, 26, 46, 0.08);
  --sky: #7fb8ff;
  --coral: #ff9a8a;
  --gold: #ffc56b;
  --mint: #0f6352;
  --sunrise-text: #b33329;
  --accent-text: #1452a8;
  --tint: rgba(20, 82, 168, 0.08);
  --orb-opacity: 0.42;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-xxl: 24px;
  --r-pill: 9999px;
  --section: 96px;
  --container: 1200px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #060b13;
    --canvas-soft: #0a111c;
    --surface-card: #0e141f;
    --surface-strong: #172436;
    --primary: #61adff;
    --primary-active: #8cc3ff;
    --on-primary: #06111f;
    --ink: #eef3fa;
    --body: #b9c4d4;
    --body-strong: #dde5f0;
    --muted: #a8b5c9;
    --muted-soft: #96a3b8;
    --hairline: #1c2838;
    --hairline-strong: #2b3b52;
    --nav-bg: rgba(6, 11, 19, 0.88);
    --shadow: rgba(0, 0, 0, 0.4);
    --sky: #1d4f8f;
    --coral: #7a2c26;
    --gold: #6b4a12;
    --mint: #6bd1b8;
    --sunrise-text: #ff8c78;
    --accent-text: #61adff;
    --tint: rgba(97, 173, 255, 0.1);
    --orb-opacity: 0.5;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--canvas); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--canvas);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}
.skip-link:focus { transform: translateY(0); }

h1, h2, .display {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  color: var(--ink);
}
h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h3 {
  margin-bottom: 8px;
  color: var(--body-strong);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--hairline);
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: "EB Garamond", serif;
  font-size: 19px;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; flex: 1; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color 150ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; }


.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 0;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-active); }
.btn-outline { border: 1px solid var(--hairline-strong); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--surface-strong); }
.app-store-link { display: inline-flex; width: 160px; border-radius: 10px; }
.app-store-link:focus-visible, .btn:focus-visible, .text-action:focus-visible, .nav a:focus-visible, .footer a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.orb-wrap { position: relative; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(86px); opacity: var(--orb-opacity); pointer-events: none; }
.orb-sky { background: var(--sky); }
.orb-coral { background: var(--coral); }
.orb-gold { background: var(--gold); }
.orb-hero-one { width: 520px; height: 520px; top: -160px; right: -100px; }
.orb-hero-two { width: 320px; height: 320px; bottom: 30px; left: -100px; }

.hero {
  position: relative;
  max-width: var(--container);
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  margin: 0 auto;
  padding: var(--section) clamp(20px, 4vw, 48px) calc(var(--section) * 1.1);
}
.hero-content, .hero-art { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.text-action { color: var(--body-strong); font-size: 15px; font-weight: 500; }
.text-action span { display: inline-block; margin-left: 5px; }
.availability { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-art { justify-self: center; width: min(100%, 380px); margin: 0; }
.hero-screenshot {
  width: 100%;
  transform: rotate(2deg);
}

.section { max-width: var(--container); margin: 0 auto; padding: var(--section) clamp(20px, 4vw, 48px); }
.band { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--canvas-soft); }
.band-inner { max-width: var(--container); margin: 0 auto; padding: var(--section) clamp(20px, 4vw, 48px); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.card {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--surface-card);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--shadow); }
.card-num {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.card p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }

.shot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.shot {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0;
  padding: 28px 24px 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--surface-card);
}
.screenshot-image { width: 100%; }
.shot figcaption { max-width: 270px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; text-align: center; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); }
.detail-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.detail-list article { padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.detail-list span { display: block; margin-bottom: 7px; color: var(--body-strong); font-size: 15px; font-weight: 600; }
.detail-list p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }


.panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  background: var(--surface-card);
}
.panel h2 { margin-bottom: 8px; }
.panel p:not(.eyebrow) { max-width: 540px; margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }
.platform-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xxl);
  background: linear-gradient(135deg, var(--tint), rgba(242, 92, 79, 0.06));
}
.platform-panel h2 { max-width: 760px; }
.platform-panel p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--body); font-size: 16px; line-height: 1.65; }
.cta-band { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cta-band h2 { max-width: 600px; margin-bottom: 0; }
.cta-band p:not(.eyebrow) { max-width: 560px; margin: 0; color: var(--body); font-size: 16px; line-height: 1.6; }

.page-hero { max-width: var(--container); margin: 0 auto; padding: 72px clamp(20px, 4vw, 48px) 52px; border-bottom: 1px solid var(--hairline); }
.back-link { display: inline-flex; margin-bottom: 30px; color: var(--muted); font-size: 14px; font-weight: 500; }
.back-link:hover { color: var(--ink); }
.prose { max-width: 760px; }
.prose h2 { margin: 44px 0 13px; font-size: clamp(24px, 3vw, 32px); }
.prose p, .prose li { margin: 0 0 14px; color: var(--body); font-size: 15px; line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--body-strong); text-decoration: underline; text-underline-offset: 3px; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.support-card { padding: 26px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--surface-card); }
.support-card p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }
.faq { display: grid; gap: 1px; overflow: hidden; margin-top: 40px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--hairline); }
.faq details { background: var(--surface-card); }
.faq summary { min-height: 58px; padding: 19px 24px; color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 500; }
.faq summary:hover { background: var(--canvas-soft); }
.faq p { padding: 0 24px 22px; margin: 0; color: var(--body); font-size: 15px; line-height: 1.65; }

.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.blog-card { min-height: 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--surface-card); }
.blog-card h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.blog-card h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.blog-card p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.6; }
.featured-guides { margin-top: 36px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-guides .blog-card { min-height: 310px; }
.post-meta { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.post-byline { margin: -10px 0 0; color: var(--muted); font-size: 14px; }
.text-link { margin-top: auto; color: var(--body-strong); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-copy { display: grid; gap: 18px; }
.article-copy > h2 { margin: 28px 0 0; }
.article-copy > p, .article-copy > ul { margin-bottom: 0; }
.article-toc { margin-bottom: 10px; padding: 24px 28px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--canvas-soft); }
.article-toc h2 { margin: 0 0 12px; font-size: 20px; }
.article-toc ol { display: grid; gap: 7px; margin: 0; padding-left: 20px; }
.article-toc li { margin: 0; }
.article-cta { margin-top: 36px; padding: 36px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--surface-card); }
.article-cta h2 { margin-top: 0; }
.article-cta .btn-primary { color: var(--on-primary); text-decoration: none; }
.related-reading { margin-top: 12px; padding: 28px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--canvas-soft); }
.related-reading h2 { margin-top: 0; }
.related-reading li { margin-bottom: 8px; }

.footer { padding: 48px clamp(20px, 4vw, 48px); border-top: 1px solid var(--hairline); background: var(--canvas); }
.footer-inner { max-width: var(--container); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 0 auto; }
.footer-brand { color: var(--muted); font-family: "EB Garamond", serif; font-size: 17px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { margin: 0; color: var(--muted-soft); font-size: 13px; }


/* Device frame drawn in CSS so screenshots stay plain PNG/WebP captures. */
.device {
  width: 100%;
  padding: 3.2%;
  border-radius: 16% / 7.4%;
  background: #0b0f16;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 30px 50px -18px rgba(11, 26, 46, 0.35);
}
.device img { width: 100%; border-radius: 13.5% / 6.2%; }
.hero-art .device { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 44px 70px -20px rgba(11, 26, 46, 0.45); }

.btn-primary.nav-cta { color: var(--on-primary); }
.app-store-link img { width: 100%; }

/* Small "Plus" marker used next to paid features. */
.plus-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--tint);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Icon tile for feature cards (inline SVG, no scripts or icon fonts). */
.icon-tile {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--accent-text);
}
.icon-tile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile.sunrise { background: rgba(242, 92, 79, 0.1); color: var(--sunrise-text); }
.icon-tile.mint { background: rgba(31, 145, 122, 0.1); color: var(--mint); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Features page */
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.chip-nav a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 14px; border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); color: var(--muted); font-size: 14px; font-weight: 500; }
.chip-nav a:hover { border-color: var(--ink); color: var(--ink); }
.feature-group {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  padding: 48px 0;
  border-bottom: 1px solid var(--hairline);
  scroll-margin-top: 84px;
}
.feature-group:first-child { padding-top: 0; }
.feature-group:last-child { border-bottom: 0; }
.feature-group h2 { font-size: clamp(28px, 3.4vw, 40px); }
.feature-group > div > p:not(.eyebrow) { margin: 0; color: var(--body); font-size: 16px; line-height: 1.65; }
.check-list { display: grid; align-content: start; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--body); font-size: 15px; line-height: 1.6; }
.check-list li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 2px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(-45deg);
}
.check-list strong { color: var(--body-strong); font-weight: 600; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card .plus-tag { margin: 0 0 12px; }
.feature-shot { width: min(100%, 240px); margin-top: 32px; }
.lead .text-link { margin-left: 6px; }

/* Free vs Plus comparison */
.table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--surface-card); }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 22px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.compare tbody th { color: var(--body-strong); font-weight: 500; }
.compare td { color: var(--body); }
.compare .yes { color: var(--accent-text); font-weight: 600; }
.fine-print { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Legal and support extras */
.notice { margin: 0 0 28px; padding: 18px 22px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--tint); color: var(--body); font-size: 14px; line-height: 1.6; }
.prose h3 { margin: 28px 0 10px; }
.prose ol { padding-left: 22px; }
.prose code { padding: 1px 6px; border-radius: 6px; background: var(--surface-strong); font-size: 0.92em; }
.updated { margin: 0; color: var(--muted); font-size: 14px; }
.steps { counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 62px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface-card); color: var(--body); font-size: 15px; line-height: 1.6; }
.steps li::before { content: counter(step); position: absolute; top: 16px; left: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.steps strong { color: var(--body-strong); }
.section-title { margin-top: 72px; }

/* Press kit */
.press-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.fact-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; }
.fact-list dt { color: var(--muted); font-size: 14px; }
.fact-list dd { margin: 0; color: var(--body-strong); font-size: 15px; }
.asset-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.asset-row img { width: 96px; height: 96px; border-radius: 22px; }

/* Footer trademark line */
.legal-notice { max-width: var(--container); margin: 30px auto 0; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--muted-soft); font-size: 12px; line-height: 1.6; }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; }
.not-found .lead { margin-bottom: 20px; }
.not-found .hero-actions { justify-content: center; }

@media (max-width: 900px) {
  :root { --section: 68px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { width: min(70vw, 340px); }
  .card-grid, .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: 1fr; }
  .featured-guides { grid-template-columns: 1fr; }
  .detail-grid, .feature-group, .press-grid { grid-template-columns: 1fr; }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --section: 52px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .nav { gap: 10px; padding: 0 14px; }
  .nav-links { display: none; }
  .nav-brand { flex: 1; }
  .nav-cta { min-height: 40px; padding: 10px 17px; }
  .hero { padding-top: 64px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .card-grid, .card-grid.four, .support-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shot { padding: 18px 12px 14px; }
  .feature-group { padding: 36px 0; }
  .panel { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
}

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