/* FlightFrame Studio: site styles
   Brand: the app icon's sky blue and the airplane's signal orange.
   Type: Barlow Condensed for headlines (signage-like, from the aviation world),
   Barlow for text, JetBrains Mono only for real checksum data. */

:root {
  --night: #0d2552;      /* deep flight-deck navy */
  --sky: #2f6fe4;        /* brand blue from the icon */
  --sky-soft: #e3ecfc;
  --signal: #f27b2e;     /* the airplane's orange: calls to action */
  --signal-dark: #d9631a;
  --paper: #f4f7fc;
  --white: #ffffff;
  --ink: #142039;
  --mist: #5a6883;
  --line: #dbe3f0;
  --verified: #1d9a61;

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1160px;
  --radius-window: 14px;
  --radius-control: 10px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.6rem; line-height: 1.1; }

p { margin: 0; }
.lede { font-size: 1.3rem; line-height: 1.55; color: var(--mist); max-width: 34em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-control);
  font: 600 1.08rem/1 var(--text);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-dark); }
.btn-quiet { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-quiet:hover { border-color: var(--sky); }
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-on-dark:hover { border-color: #fff; }

.badge-slot img { height: 54px; width: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(244, 247, 252, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 21;
  background: rgba(244, 247, 252, .9);
  backdrop-filter: saturate(160%) blur(12px);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font: 700 1.5rem/1 var(--display); }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--sky); }
.site-header .btn { min-height: 44px; padding: 0 18px; }
@media (max-width: 860px) { .site-nav { display: none; } .site-header .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .lede { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-terms { margin-top: 18px; font-size: 1rem; color: var(--mist); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero h1 { max-width: 14ch; } }

/* The one memorable moment: a live copy-and-verify log */
.verify-log {
  background: var(--night);
  color: #dbe6ff;
  border-radius: var(--radius-window);
  padding: 22px 22px 18px;
  box-shadow: 0 30px 60px -30px rgba(13, 37, 82, .55);
}
.verify-log-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.verify-log-head strong { font: 600 1.05rem/1.2 var(--text); color: #fff; }
.verify-log-head span { font-size: .95rem; color: #9fb4dc; }
.verify-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 280px; }
.verify-rows li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}
.verify-rows .file { font-weight: 600; color: #fff; }
.verify-rows .hash { grid-column: 1; font: 400 .82rem/1.3 var(--mono); color: #8ea6d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verify-rows .state { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.verify-rows .state.ok { color: #57d49a; }
.verify-rows .state.busy { color: #ffb37f; }
.verify-rows li.enter { animation: row-in .35s ease-out; }
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.verify-foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: .95rem; color: #9fb4dc; }
.verify-foot b { color: #fff; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .verify-rows li.enter { animation: none; } }

/* ---------- App window frame for screenshots ---------- */
.window {
  background: var(--white);
  border-radius: var(--radius-window);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(13, 37, 82, .45);
}
.window-bar { display: flex; gap: 8px; padding: 12px 14px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #d4dae5; }
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.hero-shot { margin: 64px 0 0; }
.shot-caption { margin-top: 14px; font-size: 1rem; color: var(--mist); text-align: center; }

/* ---------- Promise strip ---------- */
.promises { padding: 56px 0 8px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.promise-list li { border-top: 3px solid var(--sky); padding-top: 16px; }
.promise-list strong { display: block; font: 700 1.45rem/1.1 var(--display); margin-bottom: 6px; }
.promise-list span { color: var(--mist); font-size: 1.02rem; }
@media (max-width: 860px) { .promise-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promise-list { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { margin-top: 18px; }

/* Problem: the one dark band */
.problem { background: var(--night); color: #e7eeff; }
.problem h2 { color: #fff; }
.problem .lede { color: #b8c8ea; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
.pain { border-left: 3px solid var(--signal); padding: 4px 0 4px 20px; }
.pain h3 { color: #fff; font-size: 1.5rem; }
.pain p { margin-top: 8px; color: #b8c8ea; }
.problem-close { margin-top: 56px; font: 600 1.7rem/1.25 var(--display); color: #fff; max-width: 30ch; }
@media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; } }

/* How it works: a real sequence, so it is numbered */
.steps { display: grid; gap: 96px; }
.step { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.step:nth-child(even) { grid-template-columns: 1.2fr .8fr; }
.step:nth-child(even) .step-text { order: 2; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  font: 700 1.4rem/1 var(--display);
  margin-bottom: 18px;
}
.step-text p { margin-top: 14px; color: var(--mist); }
.step-text ul { margin: 18px 0 0; padding-left: 1.1em; color: var(--ink); }
.step-text li { margin-top: 6px; }
@media (max-width: 900px) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .step:nth-child(even) .step-text { order: 0; }
}

/* Lightroom illustration (drawn, not a screenshot) */
.lr-panel { background: #1f2329; color: #d8dce3; border-radius: var(--radius-window); padding: 22px; font-size: .98rem; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.lr-panel h4 { margin: 0 0 12px; font: 600 .95rem/1 var(--text); color: #9aa3b2; }
.lr-tree { list-style: none; margin: 0; padding: 0; }
.lr-tree li { padding: 7px 10px; border-radius: 6px; display: flex; justify-content: space-between; }
.lr-tree li.set { color: #fff; font-weight: 600; }
.lr-tree li.col { padding-left: 30px; }
.lr-tree li.col.active { background: #3a4250; color: #fff; }
.lr-tree li span { color: #8b94a3; }
.lr-meta { margin-top: 18px; border-top: 1px solid #353b45; padding-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.lr-meta dt { color: #8b94a3; }
.lr-meta dd { margin: 0; color: #fff; }

/* Audiences */
.audiences { background: var(--white); }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.aud h3 { font-size: 2.2rem; }
.aud > p { margin-top: 12px; color: var(--mist); }
.benefits { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.benefits li { padding-left: 34px; position: relative; }
.benefits li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--verified) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.benefits strong { display: block; }
.benefits span { color: var(--mist); }
.soon { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius-control); background: var(--sky-soft); }
.soon strong { color: var(--night); }
.soon p { margin-top: 6px; color: var(--ink); font-size: 1.02rem; }
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; gap: 72px; } }

/* Comparison */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--white); border-radius: var(--radius-window); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 1.3rem/1 var(--display); background: #eaf0fa; }
.compare thead th:last-child { background: var(--sky); color: #fff; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--verified); font-weight: 700; }
.no { color: #b14a3f; font-weight: 600; }

/* Privacy */
.privacy-band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.privacy-band ul { margin: 0; padding-left: 1.1em; }
.privacy-band li { margin-top: 10px; }
@media (max-width: 860px) { .privacy-band { grid-template-columns: 1fr; gap: 28px; } }

/* Pricing */
.pricing { background: var(--white); }
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-window); padding: 34px; background: var(--paper); display: flex; flex-direction: column; }
.plan.pro { background: var(--night); color: #e7eeff; border-color: var(--night); }
.plan h3 { font-size: 2rem; }
.plan.pro h3 { color: #fff; }
.price { margin-top: 14px; font: 700 3.2rem/1 var(--display); }
.plan.pro .price { color: #fff; }
.price small { font: 500 1rem/1.3 var(--text); color: var(--mist); display: block; margin-top: 8px; }
.plan.pro .price small { color: #b8c8ea; }
.price s { font-size: 1.6rem; color: #8ea6d6; margin-right: 10px; font-weight: 600; }
.plan ul { margin: 26px 0 30px; padding-left: 1.1em; flex: 1; }
.plan li { margin-top: 9px; }
.plan .btn { align-self: flex-start; }
.plan-note { margin-top: 14px; font-size: .98rem; color: var(--mist); }
.plan.pro .plan-note { color: #b8c8ea; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Maker note */
.maker { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; max-width: 900px; }
.maker img { width: 96px; height: 96px; border-radius: 22px; }
.maker blockquote { margin: 0; font: 500 1.65rem/1.35 var(--display); }
.maker cite { display: block; margin-top: 18px; font: 500 1.05rem/1.4 var(--text); font-style: normal; color: var(--mist); }
.beta { margin-top: 28px; font-size: 1.05rem; }
@media (max-width: 640px) { .maker { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  position: relative;
  font: 600 1.25rem/1.35 var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--sky); border-bottom: 2.5px solid var(--sky);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--mist); max-width: 68ch; }

/* Final CTA */
.final { background: var(--sky); color: #fff; text-align: center; }
.final h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.final p { margin: 20px auto 0; max-width: 40em; color: #e3ecff; font-size: 1.2rem; }
.final .hero-actions { justify-content: center; }
.final .btn-primary { background: #fff; color: var(--night); }
.final .btn-primary:hover { background: #e9f0ff; }

/* Footer */
.site-footer { padding: 44px 0; font-size: 1rem; color: var(--mist); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.site-footer nav { display: flex; gap: 24px; margin-left: auto; }
.site-footer a { color: var(--mist); }

/* ---------- Document pages (privacy, support) ---------- */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.doc h2 { font-size: 1.9rem; margin-top: 44px; }
.doc p, .doc li { margin-top: 14px; color: var(--ink); }
.doc .updated { color: var(--mist); margin-top: 10px; }
.doc .lang-switch { margin-top: 26px; display: flex; gap: 18px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 72px 0 56px; }
.doc .faq { margin-top: 18px; }
