/* Archivo (SIL OFL 1.1, self-hosted) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* PMO Pilot — marketing site
   Palette: planning-board navy, chart paper, critical-path red, milestone amber. */
:root {
  --ink: #13223b;
  --ink-2: #44546d;
  --ink-3: #56647a;
  --paper: #f2f5f7;
  --white: #ffffff;
  --rule: #d5dee6;
  --canvas: #e6ecf1;
  --crit: #e0374a;
  --crit-text: #b9223a;
  --mile: #f2a60d;
  --mile-tint: #fde7b4;
  --link: #2f5fd0;
  --navy-2: #1d3152;
  --on-navy: #dfe7f1;
  --on-navy-2: #9fb0c6;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 4px;
  --radius-m: 8px;
  --shadow-shot: 0 18px 40px -24px rgba(19, 34, 59, 0.45);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--mile); outline-offset: 2px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }

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

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; color: inherit; }
h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  line-height: 1;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.04;
  font-weight: 760;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 22ch;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 700;
  font-variation-settings: "wdth" 104;
  letter-spacing: -0.005em;
}
p { margin: 0; max-width: 64ch; }
.section-lede { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.fineprint { margin-top: 16px; font-size: 0.9rem; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--ink); color: var(--white);
  font: inherit; font-weight: 650; font-size: 1rem; font-variation-settings: "wdth" 104;
  border: 2px solid var(--ink); border-radius: var(--radius-s);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 0.95rem; }
.btn-light { background: var(--mile); border-color: var(--mile); color: var(--ink); }
.btn-light:hover { background: #ffbd33; border-color: #ffbd33; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(242, 245, 247, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.head-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.2rem; font-variation-settings: "wdth" 116; letter-spacing: -0.01em;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 520; font-size: 0.98rem; }
.nav a:not(.btn):hover { color: var(--link); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--mile); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav-toggle {
  display: none; margin-left: auto;
  font: inherit; font-weight: 600; color: var(--ink);
  background: transparent; border: 1.5px solid var(--ink); border-radius: var(--radius-s);
  min-height: 40px; padding: 0 14px; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 18px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 14px; }
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 96px);
  /* month gridlines, like the chart the product draws */
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), rgba(19, 34, 59, 0.06) calc(100% / 6 - 1px) calc(100% / 6));
  border-bottom: 1px solid var(--rule);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 72px); align-items: end; }
.hero-copy .lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.demo {
  grid-column: 1 / -1; margin: clamp(28px, 4vw, 48px) 0 0;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8.5fr); gap: 0; align-items: center;
}
.slide-frame {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  box-shadow: 0 30px 60px -30px rgba(19, 34, 59, 0.5);
  overflow: hidden;
}
.demo-slide { display: block; width: 100%; height: auto; }
.note {
  position: relative; z-index: 2; margin-right: -28px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink);
  border-radius: var(--radius-s);
  padding: 18px 20px;
  font-size: 0.93rem; line-height: 1.55; color: var(--ink-2);
  box-shadow: 0 20px 40px -22px rgba(19, 34, 59, 0.55);
}
.note p + p { margin-top: 10px; }
.note-head { display: flex; flex-direction: column; margin-bottom: 12px; color: var(--ink); }
.note-head span { color: var(--ink-3); font-size: 0.85rem; }
.note mark { background: transparent; color: inherit; border-radius: 2px; padding: 0 1px; transition: background-color 0.35s ease; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.note mark.on { background: var(--mile-tint); color: var(--ink); }
.demo figcaption { grid-column: 2; margin-top: 14px; font-size: 0.88rem; color: var(--ink-3); max-width: 60ch; }

.s-title { font: 800 32px var(--font); fill: var(--ink); font-variation-settings: "wdth" 110; }
.s-sub { font: 400 17px var(--font); fill: var(--ink-3); }
.s-axis line { stroke: #9aa8ba; stroke-width: 1.5; }
.s-axis text { font: 500 15px var(--font); fill: var(--ink-3); }
.s-today line { stroke: var(--crit); stroke-width: 1.5; stroke-dasharray: 5 4; }
.s-today text { font: 600 14px var(--font); fill: var(--crit-text); text-anchor: middle; }
.s-lab { font: 500 17px var(--font); fill: #1e2b40; }
.s-crit { font: 600 15px var(--font); fill: var(--crit-text); }
.crit path { fill: none; stroke: var(--crit); stroke-width: 2.25; }
.crit-bar { stroke: none; }
.demo.lit .crit-bar { stroke: var(--crit); stroke-width: 3; paint-order: stroke; }

/* page-load sequence: only when JS has armed it (so no-JS shows the finished slide) */
.demo.armed .el { opacity: 0; transition: opacity 0.4s ease; }
.demo.armed .el.on { opacity: 1; }
.demo.armed .bar { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.demo.armed .el.on .bar { transform: scaleX(1); }
.demo.armed .dia { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.demo.armed .el.on .dia { transform: scale(1); }
.demo.armed .crit path { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 0.8s ease; }
.demo.armed .crit.on path { stroke-dashoffset: 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .demo { grid-template-columns: 1fr; }
  .note { order: 2; margin: -24px 14px 0; }
  .slide-frame { order: 1; }
  .demo figcaption { order: 3; grid-column: 1; }
}

/* ---------- sections ---------- */
section { position: relative; }
.problem, .how, .features, .trust, .pricing, .faq { padding: clamp(64px, 9vw, 120px) 0; }
.problem { background: var(--white); border-bottom: 1px solid var(--rule); }

.swap { margin: 48px 0 0; border-top: 2px solid var(--ink); }
.swap > div {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.swap dt {
  font-size: 1.12rem; font-weight: 600; color: var(--ink-3);
  text-decoration: line-through; text-decoration-color: rgba(224, 55, 74, 0.55); text-decoration-thickness: 2px;
}
.swap dd { margin: 0; color: var(--ink); max-width: 58ch; }
@media (max-width: 720px) { .swap > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- how it works ---------- */
.steps {
  list-style: none; margin: 48px 0 28px; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}
.steps::before { /* the timeline the steps sit on */
  content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 3px; background: var(--rule); border-radius: 2px;
}
.steps button {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  width: 100%; padding: 0 18px 0 0; text-align: left;
  background: none; border: 0; font: inherit; color: var(--ink-2); cursor: pointer;
}
.steps strong { margin-top: 14px; font-size: 1.2rem; color: var(--ink); font-variation-settings: "wdth" 108; }
.steps span:not(.dia-n) { font-size: 0.95rem; line-height: 1.45; max-width: 26ch; }
.dia-n {
  display: grid; place-items: center; width: 40px; height: 40px;
  font-weight: 800; font-size: 0.95rem; color: var(--ink);
  position: relative; z-index: 0;
}
.dia-n::before {
  content: ""; position: absolute; inset: 7px; z-index: -1;
  transform: rotate(45deg); border-radius: 3px;
  background: var(--paper); border: 2px solid var(--ink-3);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.steps button[aria-selected="true"] .dia-n::before { background: var(--mile); border-color: var(--mile); }
.steps button[aria-selected="true"] strong { text-decoration: underline; text-decoration-color: var(--mile); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.steps button:hover strong { color: var(--link); }

.window {
  border: 1px solid #c5d0db; border-radius: var(--radius-m); overflow: hidden;
  background: var(--canvas); box-shadow: var(--shadow-shot);
}
.window-bar { display: flex; align-items: center; min-height: 38px; padding: 0 16px; background: var(--ink); color: var(--on-navy); font-size: 0.85rem; }
.window-bar .file::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; transform: rotate(45deg); background: var(--mile); border-radius: 2px; }
.step-panel { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; padding: 20px; align-items: start; }
.step-panel[hidden] { display: none; }
.step-panel .pane { width: 300px; height: auto; max-height: 540px; object-fit: cover; object-position: top left; border: 1px solid var(--rule); background: var(--white); }
.step-panel .slide { width: 100%; border: 1px solid var(--rule); background: var(--white); }
.panel-note { align-self: center; padding: 0 clamp(8px, 3vw, 40px); }
.panel-note p { font-size: 1.2rem; line-height: 1.55; color: var(--ink); max-width: 40ch; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .steps::before { left: 19px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .steps button { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 6px 0; }
  .steps strong { margin-top: 8px; }
  .steps span:not(.dia-n) { grid-column: 2; max-width: none; }
  .dia-n { grid-row: 1 / span 2; }
  .step-panel { grid-template-columns: 1fr; padding: 14px; }
  .step-panel .pane { width: 100%; max-width: 320px; height: auto; max-height: 460px; object-position: top left; margin: 0 auto; }
  .panel-note p { font-size: 1.05rem; }
}

/* ---------- features ---------- */
.features { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  margin-top: clamp(56px, 8vw, 96px);
}
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature-text p { margin-top: 14px; color: var(--ink-2); }
.shot { width: 100%; border: 1px solid var(--rule); border-radius: var(--radius-s); box-shadow: var(--shadow-shot); background: var(--white); }
.shot-pair { display: grid; grid-template-columns: 34% minmax(0, 1fr); gap: 14px; align-items: start; }
.shot-pair .pane { width: 100%; aspect-ratio: 360 / 520; object-fit: cover; object-position: top; border: 1px solid var(--rule); border-radius: var(--radius-s); box-shadow: var(--shadow-shot); }
.shot-pair .shot { margin-top: 40px; }

.ticks { list-style: none; margin: 20px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 24px; margin-top: 8px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 0.5em; width: 8px; height: 8px;
  transform: rotate(45deg); background: var(--mile); border-radius: 1px;
}

.looks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.looks figure { margin: 0; }
.looks img { border: 1px solid var(--rule); border-radius: var(--radius-s); box-shadow: var(--shadow-shot); }
.looks figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--ink-3); }

.feature.program { grid-template-columns: 1fr; align-items: start; }
.tab-list { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.tab-list button {
  background: none; border: 0; padding: 10px 0; margin-bottom: -1px;
  font: inherit; font-weight: 600; color: var(--ink-3); cursor: pointer;
  border-bottom: 3px solid transparent;
}
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--mile); }
.tab-list button:hover { color: var(--ink); }
[role="tabpanel"] > img { border: 1px solid var(--rule); border-radius: var(--radius-s); box-shadow: var(--shadow-shot); }
[role="tabpanel"] > p { margin-top: 14px; color: var(--ink-2); }
.tabs [role="tabpanel"] { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 28px; align-items: end; }
.tabs [role="tabpanel"][hidden] { display: none; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .tabs [role="tabpanel"] { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 520px) {
  .looks { grid-template-columns: 1fr; }
  .shot-pair { grid-template-columns: 1fr; }
  .shot-pair .pane { display: none; }
  .shot-pair .shot { margin-top: 0; }
}

/* ---------- diagrams (navy) ---------- */
.diagrams { background: var(--ink); color: var(--on-navy); padding: clamp(64px, 9vw, 120px) 0; }
.diagrams h2, .diagrams h3 { color: var(--white); }
.diagrams .section-lede { color: var(--on-navy-2); }
.ips { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 48px); margin-top: 48px; align-items: center; }
.ips img { border-radius: var(--radius-s); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7); }
.ips-notes p { margin-top: 12px; color: var(--on-navy-2); }
.ips-notes .ticks li { color: var(--on-navy); }
@media (max-width: 960px) { .ips { grid-template-columns: 1fr; } }

.gallery-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 7vw, 88px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  font: inherit; font-size: 0.88rem; font-weight: 560;
  color: var(--on-navy); background: transparent;
  border: 1px solid #3a4f70; border-radius: 999px; padding: 6px 13px; cursor: pointer;
}
.chips button:hover { border-color: var(--on-navy-2); }
.chips button[aria-pressed="true"] { background: var(--mile); border-color: var(--mile); color: var(--ink); }

.gallery { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 42vw), 1fr)); gap: 22px 18px; }
.gallery li[hidden] { display: none; }
.gallery a { display: block; color: inherit; text-decoration: none; border-radius: var(--radius-s); }
.gallery a:hover .name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gallery .thumb { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--white); border-radius: var(--radius-s); overflow: hidden; outline: 1px solid rgba(255, 255, 255, 0.08); }
.gallery .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.25s ease; }
.gallery a:hover .thumb img { transform: scale(1.03); }
.gallery .name { display: block; margin: 10px 0 0; font-size: 1rem; font-weight: 640; font-variation-settings: "wdth" 100; letter-spacing: 0; color: var(--white); line-height: 1.3; }
.gallery .cat { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--on-navy-2); }
.gallery .free {
  position: absolute; right: 8px; bottom: 8px;
  background: var(--mile); color: var(--ink); font-size: 0.75rem; font-weight: 700;
  padding: 2px 8px; border-radius: 3px;
}
.gallery-more { margin-top: 28px; font-weight: 600; }
.gallery-more a { color: var(--mile); }
.gallery-note { margin-top: 12px; font-size: 0.92rem; color: var(--on-navy-2); }

/* ---------- trust ---------- */
.trust-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: 44px; }
.trust-cols > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.trust-cols p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 860px) { .trust-cols { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; border: 1px solid var(--rule); border-radius: var(--radius-m); }
.plan { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan-pro { background: var(--paper); box-shadow: inset 0 4px 0 var(--mile); }
.price { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 3.4rem; }
.amt { font-size: 2.6rem; font-weight: 800; font-variation-settings: "wdth" 112; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { font-size: 0.92rem; color: var(--ink-3); line-height: 1.35; max-width: 22ch; }
.plan-for { margin-top: 8px; color: var(--ink-2); }
.plan .ticks { flex: 1; margin-bottom: 26px; }
.plan .btn { align-self: flex-start; }
.plan-small { margin: -12px 0 18px; font-size: 0.88rem; color: var(--ink-3); }
.term { display: inline-flex; margin-top: 14px; border: 1px solid #c5d0db; border-radius: var(--radius-s); overflow: hidden; align-self: flex-start; }
.term button {
  font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink-2);
  background: var(--white); border: 0; padding: 7px 12px; cursor: pointer;
}
.term button + button { border-left: 1px solid #c5d0db; }
.term button[aria-checked="true"] { background: var(--ink); color: var(--white); }
.offers { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; }
.offers li { font-size: 0.95rem; color: var(--ink-2); }
.offers strong { color: var(--ink); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); }
  .offers { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq h2 { position: sticky; top: 96px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 640; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq h2 { position: static; } }

/* ---------- CTA ---------- */
.access { background: var(--ink); color: var(--on-navy); padding: clamp(72px, 10vw, 128px) 0; text-align: left; }
.access h2 { color: var(--white); max-width: 18ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.access p { margin-top: 18px; color: var(--on-navy-2); font-size: 1.15rem; max-width: 52ch; }
.access .btn { margin-top: 30px; }
.access-line { position: relative; height: 3px; margin: 0 0 56px; background: #3a4f70; border-radius: 2px; }
.access-line::after { content: ""; position: absolute; left: 80%; top: -11px; width: 24px; height: 24px; transform: rotate(45deg); background: var(--mile); border-radius: 3px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--on-navy-2); border-top: 1px solid #243a5e; padding: 40px 0 48px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: start; }
.brand-foot { color: var(--white); font-size: 1.05rem; }
.site-foot p { margin-top: 8px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-foot nav a { color: var(--on-navy); }
.site-foot .legal { grid-column: 1 / -1; font-size: 0.82rem; max-width: none; border-top: 1px solid #243a5e; padding-top: 18px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }

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

@media (max-width: 520px) {
  .gallery { gap: 18px 12px; }
  .gallery .name { font-size: 0.92rem; }
  .gallery .cat { font-size: 0.78rem; }
  .gallery .free { font-size: 0.68rem; padding: 1px 6px; }
}

/* ---------- template hub & template pages ---------- */
.tpl-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
.tpl-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; margin-top: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--rule); }
.crumbs a { color: var(--ink-2); }
.tpl-meta { margin-top: 16px; color: var(--ink-2); font-size: 0.95rem; }
.tag-free, .tag-pro { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 3px; font-size: 0.8rem; font-weight: 700; }
.tag-free { background: var(--mile); color: var(--ink); }
.tag-pro { background: var(--ink); color: var(--white); }
.tpl-jump { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.tpl-body { background: var(--white); padding: clamp(36px, 6vw, 72px) 0; border-bottom: 1px solid var(--rule); }
.tpl-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tpl-figure { margin: 0; }
.tpl-figure img { width: 100%; border: 1px solid var(--rule); border-radius: var(--radius-s); box-shadow: var(--shadow-shot); background: var(--white); }
.tpl-figure figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--ink-3); }
.tpl-text h2 { font-size: 1.3rem; font-variation-settings: "wdth" 104; letter-spacing: -0.005em; max-width: none; margin-top: 28px; }
.tpl-text h2:first-child { margin-top: 0; }
.tpl-text p { margin-top: 8px; color: var(--ink-2); }
.tpl-steps { margin: 10px 0 0; padding-left: 22px; }
.tpl-steps li { margin-top: 8px; padding-left: 4px; }
.tpl-steps li::marker { font-weight: 800; color: var(--ink); }
.tpl-tip { padding: 10px 14px; background: var(--paper); border-left: 3px solid var(--mile); border-radius: 2px; }
.tpl-cta { margin-top: 28px !important; }
.tpl-related, .hub { padding: clamp(40px, 6vw, 72px) 0; }
.hub + .hub { border-top: 1px solid var(--rule); }
.hub-cat { margin-top: 36px; font-size: 1.1rem; }
.gallery-light { margin-top: 16px; }
.gallery-light .thumb { outline: 1px solid var(--rule); }
.gallery-light .name { color: var(--ink); }
.gallery-light .cat { color: var(--ink-3); }
@media (max-width: 860px) { .tpl-grid { grid-template-columns: 1fr; } }
.tpl-related h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.hub h2 { margin-top: 0; }
