:root {
  --ink: #101827;
  --muted: #657083;
  --paper: #f5f3ed;
  --card: #fffefb;
  --line: #dcd9d0;
  --lime: #c9fa57;
  --lime-dark: #88ba25;
  --blue: #3059de;
  --danger: #b64343;
  --shadow: 0 24px 60px rgba(16, 24, 39, .11);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 88% 8%, rgba(201,250,87,.17), transparent 30%), var(--paper); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
.topbar { height: 68px; padding: 0 max(24px, calc((100vw - 1200px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(16,24,39,.09); background: rgba(245,243,237,.82); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 20; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 850; text-decoration: none; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: var(--ink); background: var(--lime); box-shadow: inset 0 0 0 1px rgba(16,24,39,.12); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.button { min-height: 44px; border: 1px solid var(--ink); border-radius: 13px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; color: var(--ink); background: transparent; font-weight: 820; text-decoration: none; }
.button:hover { transform: translateY(-1px); }
.button.compact { min-height: 38px; padding-inline: 14px; border: 0; color: white; background: var(--ink); font-size: 13px; }
.button.primary { color: var(--ink); background: var(--lime); border-color: #9bcf2f; box-shadow: 0 9px 24px rgba(136,186,37,.2); }
.button.ghost { background: rgba(255,255,255,.55); border-color: var(--line); }
.button.danger { color: var(--danger); border-color: #e3bbbb; background: #fff7f7; }
main { overflow: hidden; }
.hero { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0 72px; text-align: center; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.hero h1 { margin: 18px auto 22px; font-size: clamp(58px, 8.8vw, 112px); line-height: .91; letter-spacing: -.072em; max-width: 1040px; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1.7px var(--ink); }
.hero > p { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2.3vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.flow-strip { max-width: 800px; margin: 65px auto 0; padding: 14px 17px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.62); display: flex; align-items: center; justify-content: space-between; box-shadow: 0 12px 35px rgba(16,24,39,.04); }
.flow-strip div { display: flex; align-items: center; gap: 9px; }
.flow-strip b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--ink); font-size: 12px; }
.flow-strip span { font-size: 13px; font-weight: 750; }
.flow-strip i { color: #a2a8b2; font-style: normal; }
.discover-section { padding: 86px max(24px, calc((100vw - 1200px)/2)) 110px; background: var(--ink); color: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-heading h2 { margin: 7px 0 5px; font-size: clamp(44px, 7vw, 76px); letter-spacing: -.06em; }
.section-heading p { margin: 0; color: #aeb8c9; }
.count-pill { padding: 11px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; color: #bac5d5; font-size: 13px; }
.count-pill span { color: var(--lime); font-weight: 900; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card { padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; color: white; background: #182235; text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease; }
.app-card:hover { transform: translateY(-5px); border-color: rgba(201,250,87,.55); }
.app-preview { height: 220px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; background: radial-gradient(circle at 50% 35%, hsl(var(--hue) 85% 70%), hsl(calc(var(--hue) + 35) 65% 28%)); }
.app-preview::after { content: ""; width: 108px; height: 108px; border: 1px solid rgba(255,255,255,.48); border-radius: 34px; position: absolute; transform: rotate(18deg); }
.app-preview b { position: relative; z-index: 1; font-size: 54px; letter-spacing: -.08em; }
.app-preview i { position: absolute; right: 15px; bottom: 13px; padding: 7px 10px; border-radius: 99px; color: var(--ink); background: rgba(255,255,255,.84); font-size: 11px; font-weight: 850; font-style: normal; opacity: 0; transform: translateY(4px); transition: .18s ease; }
.app-card:hover .app-preview i { opacity: 1; transform: none; }
.app-meta { min-height: 94px; padding: 17px; display: flex; justify-content: space-between; gap: 13px; align-items: start; }
.app-meta strong, .app-meta small { display: block; }
.app-meta strong { font-size: 18px; }
.app-meta small { margin-top: 5px; color: #aeb8c9; line-height: 1.35; }
.app-meta .publisher { margin-top: 10px; color: #d8dfeb; font-size: 11px; font-weight: 750; }
.app-meta em { padding: 5px 8px; border-radius: 8px; color: var(--lime); background: rgba(201,250,87,.09); font-size: 10px; font-style: normal; font-weight: 850; text-transform: uppercase; }
.empty-state { padding: 70px 20px; border: 1px dashed rgba(255,255,255,.21); border-radius: 28px; text-align: center; }
.empty-state h3 { margin: 18px 0 7px; font-size: 27px; }
.empty-state p { color: #aeb8c9; }
.empty-orbit { width: 100px; height: 100px; margin: auto; border: 1px solid rgba(201,250,87,.5); border-radius: 50%; display: grid; place-items: center; position: relative; }
.empty-orbit::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); position: absolute; top: 4px; }
.empty-orbit span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; color: var(--ink); background: var(--lime); font-size: 25px; font-weight: 900; }
.trust-section { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-section > div { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.67); }
.trust-section h3 { margin: 30px 0 8px; font-size: 23px; }
.trust-section p { margin: 0; color: var(--muted); line-height: 1.55; }
.trust-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--lime); font-size: 21px; font-weight: 900; }
footer { padding: 35px max(24px, calc((100vw - 1200px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 20px; display: grid; place-items: center; background: rgba(16,24,39,.72); backdrop-filter: blur(12px); }
.modal { width: min(620px, 100%); padding: 38px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); position: relative; }
.close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #efede7; font-size: 24px; cursor: pointer; }
.modal-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--lime); font-size: 24px; font-weight: 900; }
.modal h2 { margin: 20px 0 8px; font-size: 32px; letter-spacing: -.04em; }
.modal > p { color: var(--muted); line-height: 1.55; }
.prompt-box { margin: 20px 0; padding: 15px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: #f2f0e9; }
.prompt-box code { overflow-wrap: anywhere; color: #33405a; font-size: 13px; }
.prompt-box button { border: 0; border-radius: 9px; padding: 9px 11px; color: white; background: var(--ink); cursor: pointer; }
.modal-steps { padding-left: 23px; color: #364155; line-height: 1.65; }
.fine-print { font-size: 13px; }
.viewer { position: fixed; inset: 0; z-index: 60; background: white; }
.viewer-bar { height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); background: var(--paper); }
.viewer-bar button, .viewer-bar a { border: 0; color: var(--blue); background: none; text-decoration: none; cursor: pointer; font-weight: 800; }
.viewer iframe { width: 100%; height: calc(100vh - 58px); border: 0; background: white; }
.secure-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.pair-body { min-height: 100vh; background: radial-gradient(circle at 50% 20%, rgba(201,250,87,.2), transparent 32%), var(--paper); }
.pair-main { min-height: calc(100vh - 68px); padding: 48px 18px; display: grid; place-items: start center; }
.pair-card { width: min(720px, 100%); padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 30px; background: var(--card); box-shadow: var(--shadow); }
.pair-badge { display: inline-block; padding: 6px 9px; border-radius: 8px; color: #416000; background: rgba(201,250,87,.38); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.pair-card > h1 { margin: 15px 0 7px; font-size: clamp(36px, 7vw, 58px); letter-spacing: -.06em; }
.pair-lede { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.loading { padding: 35px 0; color: var(--muted); }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.summary-grid > div { padding: 14px; background: #f3f1eb; }
.summary-grid > div + div { border-left: 1px solid var(--line); }
.summary-grid span, .summary-grid strong { display: block; }
.summary-grid span { color: var(--muted); font-size: 11px; }
.summary-grid strong { margin-top: 4px; font-size: 14px; }
.pair-card label:not(.check-row):not(.config-row):not(.visibility-choice) { display: grid; gap: 7px; margin: 17px 0; font-weight: 800; }
.pair-card input[type="text"], .pair-card input:not([type]), .pair-card textarea { width: 100%; border: 1px solid #cbc8bf; border-radius: 12px; padding: 12px; color: var(--ink); background: white; outline: none; }
.pair-card input:focus, .pair-card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48,89,222,.11); }
.pair-card textarea { min-height: 90px; resize: vertical; }
fieldset { margin: 22px 0; padding: 17px; border: 1px solid var(--line); border-radius: 17px; }
legend { padding: 0 7px; font-weight: 900; }
fieldset > p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.config-row, .check-row, .visibility-choice { display: flex; gap: 11px; align-items: flex-start; padding: 12px; border-radius: 12px; background: #f3f1eb; cursor: pointer; }
.config-row + .config-row, .interaction + .interaction { margin-top: 9px; }
.config-row input, .check-row input, .visibility-choice input { margin-top: 3px; accent-color: var(--blue); }
.config-row strong, .config-row small, .visibility-choice strong, .visibility-choice small { display: block; }
.config-row small, .visibility-choice small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.interaction { padding: 14px; border: 1px solid var(--line); border-radius: 13px; }
.interaction > strong { display: block; margin-bottom: 10px; }
.interaction .button { margin-top: 9px; }
.interaction.answered { opacity: .58; }
.visibility-choice { margin: 20px 0; background: rgba(201,250,87,.2); }
.pair-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.pair-error, .load-error { color: var(--danger); }
.pair-done { padding: 30px 0 10px; text-align: center; }
.pair-done > div { width: 72px; height: 72px; margin: auto; display: grid; place-items: center; border-radius: 24px; background: var(--lime); font-size: 34px; font-weight: 900; }
.pair-done h2 { margin: 18px 0 7px; font-size: 38px; }
.pair-done p { color: var(--muted); }
@media (max-width: 800px) {
  .app-grid, .trust-section { grid-template-columns: 1fr 1fr; }
  .nav-links a { display: none; }
  .hero { padding-top: 72px; }
}
@media (max-width: 560px) {
  .topbar { height: 60px; padding-inline: 14px; }
  .wordmark { font-size: 18px; }
  .nav-links { gap: 0; }
  .hero { width: calc(100% - 28px); padding: 62px 0 45px; text-align: left; }
  .hero h1 { font-size: 58px; }
  .hero > p { font-size: 17px; }
  .hero-actions { justify-content: flex-start; }
  .flow-strip { margin-top: 45px; padding: 13px; overflow-x: auto; justify-content: flex-start; gap: 11px; }
  .flow-strip div { min-width: max-content; }
  .discover-section { padding: 62px 14px 80px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 51px; }
  .app-grid, .trust-section { grid-template-columns: 1fr; }
  .app-preview { height: 205px; }
  .trust-section { width: calc(100% - 28px); padding: 60px 0; }
  footer { padding: 28px 14px; align-items: flex-start; flex-direction: column; }
  .modal-backdrop { padding: 9px; align-items: end; }
  .modal { padding: 25px 18px; border-radius: 24px 24px 12px 12px; }
  .prompt-box { grid-template-columns: 1fr; }
  .prompt-box button { justify-self: end; }
  .viewer-bar strong { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .viewer-bar a { font-size: 0; }
  .viewer-bar a::after { content: "↗"; font-size: 19px; }
  .secure-label { display: none; }
  .pair-main { padding: 18px 10px; }
  .pair-card { padding: 24px 16px; border-radius: 22px; }
  .summary-grid { grid-template-columns: 1fr; }
  .summary-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .pair-actions { justify-content: stretch; }
  .pair-actions .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
