:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #747a70;
  --paper: #f6f7f4;
  --line: #e7e9e3;
  --green: #315f4c;
  --lime: #c7e77b;
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.topbar, .footer { display: flex; align-items: center; justify-content: space-between; width: min(1120px, calc(100% - 64px)); margin: auto; }
.topbar { height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 750; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; background: var(--green); color: white; font-size: 15px; letter-spacing: 0; }
.brand-light { color: #8c9288; font-weight: 550; }
.top-link { color: #53594f; font-size: 13px; font-weight: 650; }
.top-link span { margin-left: 6px; color: var(--green); }
.hero { position: relative; display: flex; align-items: center; min-height: 390px; overflow: hidden; background: #e9efe8; }
.hero-copy { position: relative; z-index: 1; width: min(1120px, calc(100% - 64px)); margin: auto; padding: 62px 0 70px; }
.eyebrow { margin: 0 0 18px; color: #6e796d; font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #91af62; vertical-align: 1px; }
h1 { max-width: 610px; margin: 0; font-size: clamp(42px, 5.7vw, 70px); line-height: .99; letter-spacing: -.067em; font-weight: 650; }
h1 span { color: var(--green); }
.hero-description { max-width: 390px; margin: 20px 0 25px; color: #697166; font-size: 15px; line-height: 1.7; }
.hero-cta { display: inline-flex; align-items: center; gap: 25px; padding: 12px 16px; border-radius: 7px; background: var(--green); color: white; font-size: 12px; font-weight: 650; }
.hero-cta span { color: var(--lime); font-size: 16px; }
.hero-art { position: absolute; inset: 0 0 0 48%; overflow: hidden; }
.orbit { position: absolute; border: 1px solid rgba(69, 104, 80, .12); border-radius: 50%; }
.orbit-one { width: 420px; height: 420px; top: -15px; right: 10%; }
.orbit-two { width: 310px; height: 310px; top: 40px; right: calc(10% + 55px); }
.orbit-core { position: absolute; top: 128px; right: calc(10% + 139px); display: grid; place-items: center; width: 140px; height: 140px; border: 1px solid #d0ddcc; border-radius: 36px; background: linear-gradient(145deg, #f9fbf6, #e6eee2); color: #4d765d; box-shadow: 0 28px 70px #526d551c; transform: rotate(-9deg); }
.orbit-core span { font-size: 62px; transform: rotate(9deg); }
.float-icon { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #e4e9e0; border-radius: 14px; background: #fbfcf9; box-shadow: 0 10px 26px #526d5510; color: #57745e; font-size: 16px; }
.float-play { top: 88px; right: 23%; color: #8477b8; }
.float-image { bottom: 72px; right: 31%; color: #c28b47; }
.float-data { top: 151px; right: 5%; color: #5e8d9b; }
.art-spark { position: absolute; color: #94aa7a; }
.spark-a { top: 67px; right: 43%; font-size: 21px; }
.spark-b { bottom: 60px; right: 8%; font-size: 24px; }
.section-wrap { width: min(1120px, calc(100% - 64px)); margin: auto; }
.apps-section { padding: 72px 0 76px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 9px; font-size: 9px; }
h2 { margin: 0; font-size: 30px; letter-spacing: -.05em; font-weight: 650; }
.result-count { padding-bottom: 5px; color: #81877e; font-size: 11px; }
.directory-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.search-box { display: flex; align-items: center; gap: 10px; width: 280px; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.search-icon { color: #848b81; font-size: 23px; line-height: 1; transform: rotate(-20deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #a3a89f; }
kbd { min-width: 18px; padding: 2px 5px; border: 1px solid #e9ebe6; border-radius: 4px; color: #9a9f97; font-size: 10px; text-align: center; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { padding: 8px 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #747a70; cursor: pointer; font-size: 11px; transition: .15s ease; }
.filter-chip:hover { background: #ecefe9; }
.filter-chip.is-active { background: #e3eadf; color: var(--green); font-weight: 650; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.app-card { display: flex; min-height: 180px; flex-direction: column; padding: 16px; border: 1px solid #e9ebe6; border-radius: 10px; background: #fff; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.app-card:hover { transform: translateY(-3px); border-color: #dce4d8; box-shadow: 0 12px 28px #344d3210; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.app-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-size: 15px; font-weight: 650; }
.icon-violet { background: #efecfa; color: #786bb3; }
.icon-coral { background: #fbebe6; color: #c97661; }
.icon-amber { background: #fbf1df; color: #b6823a; }
.icon-blue { background: #e8f1f5; color: #598194; }
.icon-mint { background: #e8f2e9; color: #618a6b; }
.icon-pink { background: #f9eaf0; color: #bd6d87; }
.icon-slate { background: #edf0f2; color: #657785; }
.card-arrow { color: #a4aaa1; font-size: 14px; }
.card-copy { margin-top: 14px; }
.app-tag { color: #9a9f97; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.app-card h3 { margin: 5px 0 4px; font-size: 16px; font-weight: 650; letter-spacing: -.03em; }
.app-card p { margin: 0; color: #848a80; font-size: 11px; line-height: 1.5; }
.card-category { align-self: flex-start; margin-top: auto; padding-top: 12px; color: #92988f; font-size: 9px; }
.empty-state { padding: 28px; border: 1px dashed #d9ddd5; border-radius: 9px; color: #777e73; font-size: 13px; text-align: center; }
.utility-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(34px, 7vw, 100px); align-items: center; padding: 56px 0 78px; border-top: 1px solid var(--line); }
.utility-intro .eyebrow { margin-bottom: 11px; }
.utility-intro h2 { font-size: 34px; }
.utility-intro > p:not(.eyebrow) { max-width: 330px; margin: 12px 0 19px; color: #777e73; font-size: 13px; line-height: 1.7; }
.privacy-note { color: #62806b; font-size: 10px; font-weight: 600; }
.privacy-note span { margin-right: 5px; }
.counter-card { padding: 17px; border: 1px solid #e8ebe5; border-radius: 10px; background: #fff; }
.textarea-label { display: block; margin-bottom: 8px; color: #656d62; font-size: 10px; font-weight: 650; }
.counter-card textarea { display: block; width: 100%; min-height: 118px; resize: vertical; padding: 12px; border: 1px solid #eceeea; border-radius: 7px; outline: none; color: var(--ink); font-size: 12px; line-height: 1.6; }
.counter-card textarea:focus, .search-box:focus-within { border-color: #89a28a; box-shadow: 0 0 0 3px #71937018; }
.counter-card textarea::placeholder { color: #a5aaa2; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 15px 0 11px; }
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat strong { font-size: 22px; font-weight: 620; letter-spacing: -.04em; }
.stat span { color: #8d938a; font-size: 9px; }
.count-hint { margin: 0; color: #9ba097; font-size: 9px; line-height: 1.5; }
.json-section { padding: 58px 0 76px; border-top: 1px solid var(--line); }
.json-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.json-heading .eyebrow { margin-bottom: 10px; }
.json-heading > p { max-width: 330px; margin: 0 0 3px; color: #777e73; font-size: 12px; line-height: 1.6; }
.json-card { padding: 18px; border: 1px solid #e8ebe5; border-radius: 10px; background: #fff; }
.json-card textarea { display: block; width: 100%; min-height: 130px; resize: vertical; padding: 12px; border: 1px solid #eceeea; border-radius: 7px; outline: none; color: #29352c; background: #fdfefd; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 1.65; tab-size: 2; }
.json-card textarea:focus { border-color: #89a28a; box-shadow: 0 0 0 3px #71937018; }
.json-card textarea[aria-invalid="true"] { border-color: #cb806e; }
.json-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 11px 0 2px; }
.action-button, .copy-button { min-height: 34px; padding: 0 13px; border: 1px solid #e4e8e1; border-radius: 6px; background: #fff; color: #596257; cursor: pointer; font-size: 11px; font-weight: 600; }
.action-button:hover, .copy-button:not(:disabled):hover { background: #f2f5ef; }
.action-primary { border-color: var(--green); background: var(--green); color: #fff; }
.action-primary:hover { background: #274f3e; }
.action-clear { margin-left: auto; color: #777e73; }
.copy-button:disabled { color: #aeb3ac; cursor: not-allowed; }
.json-status { min-height: 19px; margin: 8px 0 12px; color: #62806b; font-size: 10px; }
.json-status.is-error { color: #a34f40; }
.json-output-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.json-output-heading .textarea-label { margin: 0; }
.json-card #json-output { min-height: 150px; }
.footer { min-height: 82px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 13px; }
.footer-brand .brand-mark { width: 23px; height: 23px; border-radius: 7px; font-size: 13px; }
.footer p, .back-top { color: #989e95; font-size: 10px; }
.footer p span { margin-left: 8px; color: #b0b5ae; }
.back-top { color: #697368; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #729475; outline-offset: 3px; }
@media (max-width: 800px) {
  .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-art { left: 42%; opacity: .8; }
  .directory-controls { align-items: flex-start; flex-direction: column; }
  .search-box { width: min(100%, 380px); }
  .utility-section { grid-template-columns: 1fr 1.2fr; gap: 34px; }
}
@media (max-width: 560px) {
  .topbar, .footer, .section-wrap { width: calc(100% - 36px); }
  .topbar { height: 64px; }
  .hero { min-height: 370px; }
  .hero-copy { width: calc(100% - 36px); padding: 54px 0; }
  h1 { max-width: 400px; font-size: clamp(43px, 12vw, 60px); }
  .hero-description { max-width: 285px; font-size: 13px; }
  .hero-art { left: 44%; opacity: .38; transform: scale(.8); transform-origin: 72% 50%; }
  .apps-section { padding: 52px 0 55px; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .app-card { min-height: 171px; padding: 12px; }
  .app-card h3 { font-size: 15px; }
  .app-card p { font-size: 10px; }
  .filters { gap: 2px; }
  .filter-chip { padding: 8px 10px; }
  .utility-section { grid-template-columns: 1fr; gap: 23px; padding: 40px 0 52px; }
  .utility-intro h2 { font-size: 30px; }
  .json-section { padding: 42px 0 55px; }
  .json-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .json-heading > p { max-width: none; }
  .json-card { padding: 13px; }
  .footer { min-height: 72px; }
  .footer p { max-width: 135px; line-height: 1.6; text-align: center; }
  .footer p span { display: block; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
