@font-face {
  font-family: "Sora";
  src: url("/fonts/Sora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/fonts/Sora-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

/* The app's brand (lib/theme/brand.dart). */
:root {
  --plum: #4b235a;
  --plum-2: #7b4d8a;
  --orchid: #c99bbc;
  --copper: #c78c65;
  --ivory: #f7f3ec;
  --paper: #fcfafd;
  --ink: #241c27;
  --muted: #5d5363;
  --line: #e6dfe8;
  --stage: #140d17;
  --radius: 18px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-2); }
a:hover { color: var(--plum); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 600; color: var(--copper); margin: 0 0 0.8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(252, 250, 253, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header .logo img { height: 34px; width: auto; }
.site-header nav { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; }
.site-header nav a { color: var(--ink); text-decoration: none; }
.site-header nav a:hover { color: var(--plum-2); }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--plum); color: #fff !important; text-decoration: none; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.button:hover { background: var(--plum-2); transform: translateY(-1px); }
.button.ghost { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.button.ghost:hover { background: rgba(255,255,255,.1); }
.button.small { padding: 8px 16px; font-size: 0.9rem; }

/* Hero: a tablet on a dim stage */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 55% at 72% 18%, rgba(255, 214, 160, 0.30), transparent 70%),
    radial-gradient(45% 40% at 18% 0%, rgba(201, 155, 188, 0.35), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgba(123, 77, 138, 0.55), transparent 70%),
    var(--stage);
  padding: 88px 0 96px;
}
.hero::before { /* stage-light beams */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 140%;
  background: conic-gradient(from 200deg at 80% 0%, transparent 0 8deg, rgba(255,230,190,.08) 8deg 16deg, transparent 16deg 28deg, rgba(255,230,190,.06) 28deg 34deg, transparent 34deg);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.78); }
.hero .eyebrow { color: var(--orchid); }
.hero-copy { padding: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.platforms { font-size: 0.9rem; color: rgba(255,255,255,.65); }

.tablet {
  position: relative; border-radius: 34px; padding: 16px; max-width: 440px; margin: 0 auto;
  background: linear-gradient(145deg, #2c2730, #0d0b0e);
  box-shadow: 0 50px 90px rgba(0,0,0,.6), 0 0 0 1.5px rgba(255,255,255,.08) inset;
  transform: perspective(2200px) rotateY(-7deg) rotateX(2deg);
}
.tablet img { border-radius: 18px; }
.phone {
  border-radius: 34px; padding: 10px; background: #0d0b0e;
  box-shadow: 0 30px 60px rgba(36, 28, 39, .35);
  max-width: 260px;
}
.phone img { border-radius: 26px; }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--ivory); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 1px 2px rgba(36,28,39,.04);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--plum), var(--plum-2)); color: #fff;
  font-size: 1.25rem; margin-bottom: 14px;
}
.card p { margin: 0; color: var(--muted); }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 96px; }
.showcase.flip .shot { order: 2; }
.shot {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 30px 60px rgba(36,28,39,.16), 0 0 0 1px var(--line);
}
.shot .bar { height: 30px; background: #efe9f1; display: flex; gap: 7px; align-items: center; padding: 0 12px; }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9cfdc; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--plum-2); font-weight: 600; }

.marks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.marks span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.92rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; counter-reset: step; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ivory); color: var(--plum); font-weight: 600; margin-bottom: 12px;
}

.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; margin-top: 44px; }
.price { font-size: 2.2rem; font-weight: 600; margin: 6px 0 2px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.card.pro { border: 2px solid var(--plum-2); position: relative; }
.card.pro .badge {
  position: absolute; top: -13px; right: 20px; background: var(--copper); color: #fff;
  font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.fine { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }

.cta {
  background: linear-gradient(135deg, var(--plum), #2b1233); color: #fff; border-radius: 28px;
  padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta p { color: rgba(255,255,255,.8); margin: 0; }
.cta img { width: 96px; border-radius: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }

/* Text pages */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 780px; }
.page h2 { font-size: 1.5rem; margin-top: 2.6rem; }
.page h3 { margin-top: 1.6rem; }
.page p, .page li { color: #3a3140; }
.page table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.page th, .page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page th { background: var(--ivory); font-weight: 600; }
.toc { background: var(--ivory); border-radius: var(--radius); padding: 18px 24px; }
.toc ul { margin: 0.4rem 0 0; padding-left: 1.2rem; columns: 2; }
.note { background: #fff7ee; border-left: 4px solid var(--copper); padding: 12px 16px; border-radius: 8px; }
.updated { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--plum); }

@media (max-width: 900px) {
  .hero .wrap, .showcase { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 24px; }
  .tablet { transform: none; }
  .showcase.flip .shot { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .cta { flex-direction: column; text-align: center; padding: 40px 24px; }
  .site-header nav a:not(.button) { display: none; }
  .toc ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
.tablet.flat { transform: none; margin: 0 auto; }
.cta h2 { color: #fff; }
.steps, .pricing, .features { text-align: left; }
.device-pair { position: relative; padding: 0 0 48px; }
.device-pair { max-width: 520px; }
.device-pair .tablet { margin: 0; max-width: 400px; }
.device-pair .phone { position: absolute; right: 0; bottom: 0; width: 36%; }
@media (max-width: 900px) { .device-pair .phone { right: 0; width: 32%; } }
