/* simmodlr shared styles: used by the family landing page and every app page. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #F5F8FB;
  --bg-2:       #FFFFFF;
  --bg-3:       #EAF1F5;
  --teal:       #0F9D8A;
  --teal-dim:   #0B7D6E;
  --teal-faint: rgba(15,157,138,0.1);
  --amber:      #E59B2E;
  --white:      #163042;
  --mid:        #5E7486;
  --dim:        #B4C4CF;
  --nav-bg:     rgba(245,248,251,0.88);
  --nav-border: rgba(15,157,138,0.12);
  --grid-line:  rgba(15,157,138,0.08);
  --orb-glow:   radial-gradient(circle, rgba(15,157,138,0.18) 0%, transparent 62%);
  --surface-border: rgba(15,157,138,0.14);
  --surface-line: rgba(22,48,66,0.08);
  --tag-bg:     rgba(15,157,138,0.08);
  --tag-border: rgba(15,157,138,0.18);
  --hero-note:  #7890A1;
  --shadow-soft: 0 18px 50px rgba(39,72,94,0.08);
  --syne:       'Syne', sans-serif;
  --inter:      'Inter', sans-serif;
  --mono:       'JetBrains Mono', monospace;
}

body[data-theme="paper"] {
  --bg:         #F7F3EC;
  --bg-2:       #FFFDF8;
  --bg-3:       #EFE7D8;
  --teal:       #0E8C78;
  --teal-dim:   #0B6D5D;
  --teal-faint: rgba(14,140,120,0.1);
  --amber:      #C46B2D;
  --white:      #2A241E;
  --mid:        #6F675D;
  --dim:        #D1C3B0;
  --nav-bg:     rgba(247,243,236,0.9);
  --nav-border: rgba(14,140,120,0.12);
  --grid-line:  rgba(14,140,120,0.07);
  --orb-glow:   radial-gradient(circle, rgba(196,107,45,0.16) 0%, transparent 62%);
  --surface-border: rgba(14,140,120,0.14);
  --surface-line: rgba(42,36,30,0.08);
  --tag-bg:     rgba(14,140,120,0.07);
  --tag-border: rgba(14,140,120,0.16);
  --hero-note:  #8D7D6E;
  --shadow-soft: 0 18px 50px rgba(74,54,30,0.09);
}

body[data-theme="blueprint"] {
  --bg:         #EEF4FA;
  --bg-2:       #FFFFFF;
  --bg-3:       #DCE8F3;
  --teal:       #18A999;
  --teal-dim:   #14796D;
  --teal-faint: rgba(24,169,153,0.1);
  --amber:      #1476D1;
  --white:      #122638;
  --mid:        #607689;
  --dim:        #B2C5D7;
  --nav-bg:     rgba(238,244,250,0.88);
  --nav-border: rgba(20,118,209,0.12);
  --grid-line:  rgba(20,118,209,0.08);
  --orb-glow:   radial-gradient(circle, rgba(20,118,209,0.16) 0%, transparent 62%);
  --surface-border: rgba(20,118,209,0.14);
  --surface-line: rgba(18,38,56,0.08);
  --tag-bg:     rgba(20,118,209,0.07);
  --tag-border: rgba(20,118,209,0.16);
  --hero-note:  #7A91A4;
  --shadow-soft: 0 18px 50px rgba(20,50,82,0.08);
}

body[data-theme="black"] {
  --bg:         #070D15;
  --bg-2:       #0C1520;
  --bg-3:       #12202E;
  --teal:       #0ECFB4;
  --teal-dim:   #0AA897;
  --teal-faint: rgba(14,207,180,0.1);
  --amber:      #F6A623;
  --white:      #EEF3F8;
  --mid:        #6B8299;
  --dim:        #2E4459;
  --nav-bg:     rgba(7,13,21,0.85);
  --nav-border: rgba(14,207,180,0.08);
  --grid-line:  rgba(14,207,180,0.035);
  --orb-glow:   radial-gradient(circle, rgba(14,207,180,0.09) 0%, transparent 62%);
  --surface-border: rgba(14,207,180,0.15);
  --surface-line: rgba(255,255,255,0.04);
  --tag-bg:     rgba(14,207,180,0.08);
  --tag-border: rgba(14,207,180,0.18);
  --hero-note:  #2E4459;
  --shadow-soft: 0 20px 60px rgba(0,0,0,0.45);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--inter);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
}
.nav-brand {
  font-family: var(--syne); font-size: 1.3rem; font-weight: 800;
  color: var(--white); text-decoration: none; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-brand span { color: var(--teal); }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  color: var(--mid); text-decoration: none;
  font-size: 0.875rem; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-btn {
  background: var(--teal); color: var(--bg) !important;
  padding: 0.5rem 1.25rem; border-radius: 6px;
  font-weight: 600; font-size: 0.875rem; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-btn:hover { background: #17e8cc; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 9rem 3rem 5rem;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 65% at 55% 35%, black 15%, transparent 72%);
}
.hero-orb {
  position: absolute; top: -15%; right: -8%;
  width: 750px; height: 750px; border-radius: 50%;
  background: var(--orb-glow);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--tag-border);
  background: var(--tag-bg);
  padding: 0.35rem 0.9rem; border-radius: 100px;
  font-family: var(--mono); font-size: 0.68rem; color: var(--teal);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem;
  opacity: 0; animation: up 0.5s 0.1s ease forwards;
}
.badge-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); animation: pulse 2s infinite;
}

.hero-h1 {
  font-family: var(--syne); font-weight: 800;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1.02; letter-spacing: -0.035em;
  color: var(--white); margin-bottom: 1.5rem; max-width: 820px;
  opacity: 0; animation: up 0.6s 0.2s ease forwards;
}
.hero-h1 .teal { color: var(--teal); }

.hero-sub {
  font-size: 1.125rem; color: var(--mid);
  max-width: 500px; line-height: 1.78; font-weight: 300;
  margin-bottom: 2.75rem;
  opacity: 0; animation: up 0.6s 0.3s ease forwards;
}

.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  opacity: 0; animation: up 0.6s 0.4s ease forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal); color: var(--bg);
  padding: 0.9rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #17e8cc; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--white);
  padding: 0.9rem 1.75rem; border-radius: 8px; font-size: 0.9375rem;
  text-decoration: none; border: 1px solid var(--dim);
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--mid); }
.hero-note {
  margin-top: 1.25rem;
  font-family: var(--mono); font-size: 0.68rem; color: var(--hero-note);
  letter-spacing: 0.06em;
  opacity: 0; animation: up 0.6s 0.5s ease forwards;
}

/* ── GENERIC SECTION ── */
section { padding: 6rem 3rem; position: relative; overflow: hidden; }
.section-inner { max-width: 1120px; margin: 0 auto; width: 100%; }
.section-tag {
  font-family: var(--mono); font-size: 0.67rem; color: var(--teal);
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem;
}
.section-tag::before { content: ''; width: 18px; height: 1px; background: var(--teal); }
.section-h2 {
  font-family: var(--syne); font-weight: 700;
  font-size: clamp(1.875rem, 3.5vw, 2.875rem);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 1rem;
}
.section-body {
  font-size: 1.0625rem; color: var(--mid);
  max-width: 560px; line-height: 1.78; font-weight: 300;
}

/* ── PROBLEM ── */
.problem { background: var(--bg-2); }
.problem-split {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 5rem; align-items: center; margin-top: 4rem;
}
.problem-points { list-style: none; display: flex; flex-direction: column; gap: 1.75rem; }
.problem-point { display: flex; gap: 1rem; align-items: flex-start; }
.pp-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  border: 1px solid var(--surface-border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; margin-top: 0.1rem;
  background: var(--tag-bg);
}
.pp-title { font-weight: 500; color: var(--white); margin-bottom: 0.25rem; font-size: 0.9375rem; }
.pp-body { font-size: 0.875rem; color: var(--mid); line-height: 1.7; }

/* chart */
.chart-wrap {
  background: var(--bg); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 1.75rem; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.chart-label {
  font-family: var(--mono); font-size: 0.65rem; color: var(--mid);
  letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.bars { display: flex; align-items: flex-end; gap: 0.875rem; height: 150px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; height: 100%; justify-content: flex-end; }
.bar {
  width: 100%; border-radius: 4px 4px 0 0;
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.34,1.2,0.64,1);
  position: relative;
}
.bar.animate { transform: scaleY(1); }
.bar-f { background: rgba(107,130,153,0.3); }
.bar-a { background: var(--teal); }
.bar-tip {
  position: absolute; top: -1.4rem; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 0.58rem; color: var(--white); white-space: nowrap;
}
.bar-key { font-family: var(--mono); font-size: 0.6rem; color: var(--mid); }
.chart-legend {
  display: flex; gap: 1.5rem; margin-top: 1.25rem;
  padding-top: 1rem; border-top: 1px solid var(--surface-line);
}
.legend-i { display: flex; align-items: center; gap: 0.45rem; font-size: 0.73rem; color: var(--mid); }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; }

/* ── OPEN WORKFLOW ── */
.how { background: var(--bg); }
.open-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.25rem; margin-top: 3.5rem;
}
.open-card {
  background: var(--bg-2);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  padding: 1.875rem;
  box-shadow: var(--shadow-soft);
}
.open-icon { font-size: 1.375rem; margin-bottom: 0.875rem; display: block; }
.open-title {
  font-family: var(--syne); font-size: 1.125rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.625rem;
}
.open-body { font-size: 0.875rem; color: var(--mid); line-height: 1.72; }
.tag {
  font-family: var(--mono); font-size: 0.6rem; color: var(--teal);
  background: var(--tag-bg); border: 1px solid var(--tag-border);
  padding: 0.25rem 0.6rem; border-radius: 4px; letter-spacing: 0.04em;
}

/* ── FEATURES ── */
.features { background: var(--bg-2); }
.feat-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.25rem; margin-top: 3.5rem;
}
.feat-card {
  padding: 1.875rem; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--surface-line);
  transition: border-color 0.22s, transform 0.22s;
  box-shadow: var(--shadow-soft);
}
.feat-card:hover { border-color: var(--surface-border); transform: translateY(-2px); }
.feat-card.primary { border-color: var(--surface-border); background: linear-gradient(140deg, var(--tag-bg), var(--bg-2)); }
.feat-icon { font-size: 1.375rem; margin-bottom: 0.875rem; display: block; }
.feat-title {
  font-family: var(--syne); font-size: 1.125rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem;
}
.feat-body { font-size: 0.875rem; color: var(--mid); line-height: 1.72; }
.feat-detail {
  margin-top: 0.875rem; padding-top: 0.875rem;
  border-top: 1px solid var(--surface-line);
  font-family: var(--mono); font-size: 0.67rem;
  color: var(--teal-dim); line-height: 1.85;
}

/* ── SCENARIO ── */
.scenario { background: var(--bg); }
.scenario-p { font-size: 1rem; color: var(--mid); line-height: 1.82; font-weight: 300; margin-bottom: 1.125rem; }
.scenario-p strong { color: var(--white); font-weight: 500; }
.scenario-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 3.5rem;
}
.scenario-stat {
  background: var(--bg);
  border: 1px solid var(--surface-line);
  border-radius: 10px;
  padding: 1rem;
}
.scenario-stat-icon {
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.scenario-stat strong {
  display: block;
  font-family: var(--syne);
  font-size: 1.45rem;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 0.45rem;
}
.scenario-stat span {
  display: block;
  color: var(--mid);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* ── SCENARIO SHOTS ── */
.scenario-intro { max-width: 720px; margin-bottom: 3.5rem; }
.scenario-intro + .scenario-proof { margin-top: -1.4rem; }
.scenario-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.shot-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.shot-item.primary { padding: 1rem; }
.shot-step {
  font-family: var(--mono); font-size: 0.62rem; color: var(--teal);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.shot-title {
  font-family: var(--syne); font-size: 1.0625rem; font-weight: 700;
  color: var(--white);
}
.shot-frame {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10;
}
.shot-frame.proposal-frame { aspect-ratio: 16 / 9; }
.shot-frame.run-frame { aspect-ratio: 3 / 1; }
.shot-frame.explore-frame { aspect-ratio: 4 / 3; }
.shot-frame.compare-frame { aspect-ratio: 1 / 1; }
.shot-frame img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: top left;
}
.shot-frame.explore-frame img,
.shot-frame.compare-frame img { object-position: top center; }
.shot-caption { font-size: 0.8125rem; color: var(--mid); line-height: 1.62; }
.complex-proof {
  margin-top: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--surface-line);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.complex-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--bg-3);
  aspect-ratio: 2310 / 803;
}
.complex-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.complex-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  margin-top: 1rem;
  align-items: start;
}
.complex-title {
  font-family: var(--syne);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
}
.complex-body { font-size: 0.8125rem; color: var(--mid); line-height: 1.62; }
/* ── AUDIENCES ── */
.audiences { background: var(--bg-2); }
.aud-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.25rem; margin-top: 3.5rem;
}
.aud-card {
  padding: 1.875rem; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--surface-line);
  box-shadow: var(--shadow-soft);
}
.aud-role {
  font-family: var(--syne); font-size: 1.0625rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.625rem;
}
.aud-body { font-size: 0.875rem; color: var(--mid); line-height: 1.72; margin-bottom: 1.125rem; }
.aud-use { font-family: var(--mono); font-size: 0.67rem; color: var(--teal); }

/* ── CTA ── */
.cta {
  background: var(--bg);
  border-top: 1px solid var(--nav-border);
  text-align: center; padding: 7rem 3rem; position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 280px; border-radius: 50%;
  background: radial-gradient(ellipse, var(--tag-bg) 0%, transparent 68%);
  pointer-events: none;
}
.cta .section-h2 { max-width: 560px; margin: 0 auto 1rem; }
.cta .section-body { margin: 0 auto 2.5rem; text-align: center; max-width: 440px; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 1.5rem; font-family: var(--mono); font-size: 0.67rem; color: var(--dim); letter-spacing: 0.06em; }

/* ── FOOTER ── */
footer {
  background: var(--bg); padding: 2.25rem 3rem;
  border-top: 1px solid var(--nav-border);
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand {
  font-family: var(--syne); font-size: 1.1rem; font-weight: 800;
  color: var(--white); text-decoration: none;
}
.footer-brand span { color: var(--teal); }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.8125rem; color: var(--mid); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-family: var(--mono); font-size: 0.67rem; color: var(--dim); }

/* ── ANIMATIONS ── */
@keyframes up { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.reveal { opacity:0; transform:translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity:1; transform:translateY(0); }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  nav{padding:1rem 1.5rem;} .nav-links{display:none;}
  section{padding:4rem 1.5rem;} .hero{padding:7rem 1.5rem 4rem;}
  .problem-split{grid-template-columns:1fr;gap:3rem;}
  .scenario-proof{grid-template-columns:repeat(2,1fr);}
  .scenario-showcase{grid-template-columns:1fr;}
  .complex-copy{grid-template-columns:1fr;}
  .open-grid,.feat-grid,.aud-grid{grid-template-columns:1fr;}
  .feat-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .footer-inner{flex-direction:column;text-align:center;} .footer-links{justify-content:center;}
}
@media(max-width:560px){
  .hero{padding-left:1.25rem;padding-right:1.25rem;}
  .hero-h1{
    font-size:clamp(1.875rem, 10vw, 2.5rem);
    line-height:1.08;
    letter-spacing:0;
    padding-right:0.08em;
  }
  .scenario-proof{grid-template-columns:1fr;}
  .complex-frame{aspect-ratio:2310 / 803;}
}

/* ── SHARED: nav breadcrumb for app pages ── */
.nav-brand .nav-app { color: var(--mid); font-weight: 600; }
.nav-brand .nav-app::before { content: "/"; color: var(--dim); margin: 0 0.4rem; }

/* ── SHARED: FAQ (app template) ── */
.faq { background: var(--bg); }
.faq-list { margin-top: 2.5rem; display: grid; gap: 0.75rem; max-width: 820px; }
.faq-item {
  background: var(--bg-2); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 1.1rem 1.4rem;
}
.faq-item summary {
  cursor: pointer; font-family: var(--syne); font-weight: 700;
  color: var(--white); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--teal); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 0.75rem; font-size: 0.9rem; color: var(--mid); line-height: 1.72; }

/* ── FAMILY LANDING: app cards ── */
.apps { background: var(--bg-2); }
/* Two equal columns so four apps sit as an even 2x2; every card is the same size */
.app-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
@media(max-width:700px){ .app-grid { grid-template-columns: 1fr; } }
.app-more { margin-top: 1.5rem; font-size: 0.9rem; }
.app-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--surface-border);
  border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-soft);
  text-decoration: none; color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}
a.app-card:hover { transform: translateY(-3px); border-color: var(--teal); }
.app-card.soon { box-shadow: none; border-style: dashed; background: transparent; }
.app-status {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal);
  border: 1px solid var(--tag-border); background: var(--tag-bg);
  padding: 0.25rem 0.7rem; border-radius: 100px; margin-bottom: 1.25rem;
}
.app-card.soon .app-status { color: var(--mid); border-color: var(--surface-line); background: none; }
.app-name { font-family: var(--syne); font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
.app-kind { font-family: var(--mono); font-size: 0.72rem; color: var(--mid); margin: 0.25rem 0 1rem; }
.app-body { font-size: 0.925rem; color: var(--mid); line-height: 1.72; flex: 1; }
.app-links { margin-top: 1.5rem; font-family: var(--mono); font-size: 0.75rem; color: var(--teal); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; margin-top: 3rem; }
.principle h3 { font-family: var(--syne); font-size: 1.05rem; margin-bottom: 0.5rem; }
.principle p { font-size: 0.9rem; color: var(--mid); line-height: 1.72; }
@media(max-width:900px){ .principles { grid-template-columns: 1fr; } }

/* ── APP PAGES: screenshot placeholders, draft flags, footer credit ── */
.shot-placeholder { border-style: dashed; padding: 1rem; text-align: center; }
.shot-placeholder span { font-family: var(--mono); font-size: 0.7rem; color: var(--dim); letter-spacing: 0.06em; }
.draft-flag {
  display: inline-block; margin-top: 1.5rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em;
  color: #b45309; background: rgba(245,158,11,0.1);
  border: 1px dashed rgba(245,158,11,0.6); border-radius: 6px; padding: 0.4rem 0.75rem;
}
.footer-credit { max-width: 1120px; margin: 1.5rem auto 0; font-size: 0.78rem; color: var(--mid); text-align: center; }
footer .draft-flag { display: block; width: fit-content; margin: 0.75rem auto 0; }
.how .shot-step { display: block; margin-bottom: 0.75rem; }
/* Hero headlines with one long word (e.g. "Architecture") need a little less size on phones */
@media(max-width:560px){ .hero-h1.long-word{ font-size:clamp(1.625rem, 8.4vw, 2.5rem); } }

/* ── LOOP PAGE: screenshot frames sized to their images ── */
.complex-frame.loop-canvas-frame { aspect-ratio: 2160 / 440; margin-top: 0.75rem; }
.complex-frame.loop-results-frame { aspect-ratio: 2464 / 530; margin-top: 0.75rem; background: #fff; }
.shot-frame.loop-inspector-frame { aspect-ratio: 1400 / 850; }
.complex-proof + .complex-proof { margin-top: 1.25rem; }

/* Atlas page: wide app screenshots fill the frame from the top-left; small ones sit centred */
.shot-frame.photo-frame img { object-fit: cover; object-position: top left; }
.shot-frame.photo-frame.fit-frame img { object-fit: contain; object-position: center; }
