/* OpsPromptAI site: feature rows and static app mockups (Features page, and a few on
   Home / How it works). Mockups reuse the app replica classes from app-mock.css. */

.page-hero { padding-block: 28px 30px; }
.page-hero .lede { max-width: 62ch; }

/* in-page jump links */
.jump { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 22px; }
.jump a { text-decoration: none; border: 1px solid var(--rule); background: var(--card); border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: 15px; color: var(--ink); }
.jump a:hover { border-color: var(--navy); }

/* one feature: text beside a mockup, alternating sides */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; padding-block: 50px; border-top: 1px solid var(--rule); scroll-margin-top: 12px; }
.feat.flip .feat-text { order: 2; }
.feat-text h2 { margin-top: 6px; }
.feat-text .lede { margin-top: 12px; font-size: 18px; }
.feat-text .checks { margin-top: 18px; }
.feat-text .fine { margin: 16px 0 0; font-size: 15px; color: var(--soft); }
.tiers { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; gap: 26px; padding-block: 40px; }
  .feat.flip .feat-text { order: 0; }
}

/* the mockup frame */
.mock { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 18px; box-shadow: 0 24px 50px -34px rgba(10, 25, 40, .5); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mock-cap { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); margin: 0; }
.screen { font-family: var(--appfont); color: var(--a-ink); background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; font-size: 14.5px; line-height: 1.45; }
.screen .apphdr { padding: 9px 14px; }
.screen .sbody { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.screen .msg { animation: none; }
.screen .msg.me { max-width: 90%; }
.screen table { width: 100%; border-collapse: collapse; font-size: 13px; }
.screen th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--a-soft); padding: 4px 6px; border-bottom: 1px solid var(--a-line); font-weight: 600; }
.screen td { padding: 7px 6px; border-bottom: 1px solid var(--a-line); vertical-align: top; }
.screen tr:last-child td { border-bottom: none; }
.screen .kind { font-size: 11.5px; border: 1px solid var(--a-line); border-radius: 999px; padding: 0 7px; white-space: nowrap; color: var(--a-soft); }
.screen .lvl { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 0 7px; white-space: nowrap; background: var(--a-chip); color: var(--a-ink); }
.screen .lnk { color: var(--a-link); text-decoration: underline; text-underline-offset: 2px; }

/* guided procedure screens inside a mock */
.screen.guide .gbody { overflow: visible; padding: 16px; }
.screen.guide.stop { background: var(--a-stop); color: #fff; border-color: var(--a-stop); }

/* security levels: cumulative tiers */
.levels { display: flex; flex-direction: column; gap: 8px; }
.lv { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: center; border-radius: 12px; padding: 12px 14px; border: 1px solid var(--rule); background: var(--ground); }
.lv .who b { display: block; font-family: var(--display); font-size: 19px; line-height: 1.1; }
.lv .who span { font-size: 13.5px; color: var(--soft); }
.lv .docs { display: flex; flex-wrap: wrap; gap: 6px; }
.lv .docs span { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 3px 10px; }
.lv .docs svg { width: 12px; height: 12px; opacity: .6; flex: 0 0 auto; }
.lv.l3 { margin-right: 0; border-color: color-mix(in srgb, var(--navy) 55%, var(--rule)); }
.lv.l2 { border-color: color-mix(in srgb, var(--navy) 30%, var(--rule)); }
.sees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sees div { border: 1px dashed var(--rule); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; color: var(--soft); }
.sees b { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 480px) { .lv { grid-template-columns: 1fr; gap: 8px; } .sees { grid-template-columns: 1fr; } }

/* the printed QR card */
.qrcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; background: #fff; color: #14202c; border-radius: 14px; border: 1px solid #d9dfe6; padding: 16px; }
.qrcard img { width: 150px; height: 150px; display: block; }
.qrcard .qh { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.qrcard .qh .cmark { width: 34px; height: 34px; font-size: 17px; color: #fff; flex: 0 0 auto; }
.qrcard .qh b { font-family: var(--display); font-size: 22px; line-height: 1.05; }
.qrcard .qh span { display: block; font-size: 13px; color: #56606e; }
.qrcard ol { margin: 0; padding-left: 20px; font-size: 14.5px; display: flex; flex-direction: column; gap: 3px; }
.qrcard .url { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: #56606e; word-break: break-all; }
@media (max-width: 480px) { .qrcard { grid-template-columns: 1fr; justify-items: center; text-align: left; } }

/* sign-in options */
.signin { display: flex; flex-direction: column; gap: 8px; }
.signin .opt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; background: var(--ground); }
.signin .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--rule); color: var(--navy); }
.signin .ic svg { width: 20px; height: 20px; }
.signin .ic .letter { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1; }
.signin b { display: block; }
.signin span { font-size: 14px; color: var(--soft); }

/* phone, iPad, desktop */
.trio { display: grid; grid-template-columns: 0.55fr 0.85fr 1.6fr; gap: 14px; align-items: end; }
.dev { background: var(--bezel); border-radius: 18px; padding: 7px; }
.dev .scr { background: var(--a-surface); border-radius: 12px; padding: 10px 9px; display: flex; flex-direction: column; gap: 7px; min-height: 100%; }
.dev.ph { aspect-ratio: 9 / 18; border-radius: 16px; }
.dev.tb { aspect-ratio: 3 / 4; border-radius: 16px; padding: 9px; }
.dev.dt { aspect-ratio: 16 / 10; border-radius: 10px; padding: 8px; position: relative; margin-bottom: 18px; }
.dev.dt::after { content: ""; position: absolute; left: 38%; right: 38%; bottom: -16px; height: 12px; background: var(--bezel); border-radius: 0 0 6px 6px; }
.dev .scr { height: 100%; }
.dev .ln { height: 7px; border-radius: 4px; background: var(--a-line); }
.dev .ln.me { align-self: flex-end; width: 55%; background: var(--a-bubble); height: 12px; border-radius: 8px; }
.dev .ln.w9 { width: 92%; } .dev .ln.w7 { width: 74%; } .dev .ln.w5 { width: 52%; }
.dev .chipln { display: flex; gap: 4px; } .dev .chipln i { height: 10px; width: 36%; border-radius: 6px; background: var(--a-chip); border: 1px solid var(--a-line); }
.dev .hd { height: 12px; border-radius: 3px; background: var(--a-line); width: 45%; margin-bottom: 3px; }
.trio figcaption, .trio .lbl { font-size: 13.5px; color: var(--soft); text-align: center; margin-top: 8px; }

/* office pages */
.tiles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tiles3 .tile { background: var(--a-field); border: 1px solid var(--a-line); border-radius: 10px; padding: 8px 10px; }
.tiles3 .v { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.tiles3 .k { font-size: 12px; color: var(--a-soft); }
.stat { display: inline-block; border: 1px solid var(--a-line); border-radius: 7px; padding: 0 7px; white-space: nowrap; font-size: 12px; }

/* assistant suggestion card */
.sugg { border: 1px solid var(--a-line); background: var(--a-field); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.sugg .sk { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--a-soft); }
.sugg .st { font-weight: 650; font-size: 15px; }
.sugg .ev { font-size: 13px; color: var(--a-soft); }
.sugg .chg { font-size: 13.5px; border-left: 3px solid var(--a-good); padding: 4px 10px; background: var(--a-surface); border-radius: 0 8px 8px 0; }
.sugg .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.sugg .acts span { font-size: 13px; font-weight: 600; border: 1px solid var(--a-line); border-radius: 8px; padding: 4px 12px; }
.sugg .acts .ok { background: var(--a-accent); border-color: var(--a-accent); color: #fff; }

/* Base vs Enhanced comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; min-width: 560px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { background: var(--ground); font-family: var(--display); font-size: 20px; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: none; }
.compare td.c { text-align: center; width: 120px; }
.compare tbody th { font-weight: 500; }
.compare .grp th { background: var(--ground); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); font-weight: 500; }
.yes { display: inline-block; width: 14px; height: 8px; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); margin-top: 2px; }
.no { color: var(--soft); }

/* numbered setup steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; counter-reset: step; max-width: 900px; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule); scroll-margin-top: 12px; }
.steps > li::before { content: counter(step); width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 22px; }
.steps h3 { margin: 6px 0 6px; }
.steps p { margin: 0 0 8px; color: var(--soft); max-width: 68ch; }
.steps .checks { margin-top: 8px; }

/* an example day: time beside what happened */
.day { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 900px; }
.day li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.day time { font-family: var(--mono); font-size: 14px; color: var(--amber-ink); padding-top: 3px; }
.day b { display: block; font-weight: 600; }
.day span { color: var(--soft); }

/* who it's for: one card per trade */
.trade { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 12px; }
.trade h3 { font-size: 24px; }
.trade > p { margin: 0; color: var(--soft); }
.trade .qs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.trade .qs li { background: var(--ground); border-radius: 12px; padding: 8px 12px; font-size: 15.5px; }
.trade .qs li::before { content: "“"; color: var(--amber-ink); font-weight: 700; margin-right: 2px; }
.trade .qs li::after { content: "”"; color: var(--amber-ink); font-weight: 700; margin-left: 1px; }
.trade .docsline { font-size: 14.5px; color: var(--soft); margin: 4px 0 0; }
.trade .docsline b { color: var(--ink); font-weight: 600; }

/* FAQ groups */
.faq-group { margin-top: 34px; }
.faq-group h2 { font-size: 26px; margin-bottom: 8px; }

/* About: founder's note beside a short timeline */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.letter { max-width: 66ch; font-size: 18.5px; line-height: 1.68; }
.letter h2 { margin-bottom: 16px; }
.letter p { margin: 0 0 16px; }
.letter .sig { font-family: var(--display); font-weight: 600; font-size: 21px; margin-top: 24px; color: var(--ink); }
.letter .sig::before { content: ""; display: block; width: 48px; height: 2px; background: var(--amber); margin-bottom: 12px; }
.timeline { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 22px; position: sticky; top: 16px; }
.timeline ol { list-style: none; margin: 10px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 20px 22px; margin-left: 6px; border-left: 2px solid var(--rule); display: flex; flex-direction: column; gap: 2px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }
.timeline .when { font-family: var(--mono); font-size: 13px; color: var(--amber-ink); }
.timeline b { font-weight: 600; }
.timeline li > span:last-child { color: var(--soft); font-size: 15px; }
.timeline .yrs { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--soft); display: flex; align-items: baseline; gap: 10px; }
.timeline .yrs b { font-family: var(--display); font-size: 48px; line-height: 1; color: var(--amber-ink); }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 26px; } .timeline { position: static; } .letter { font-size: 17.5px; } }
