:root {
  color-scheme: light;
  --ink: #0f2023;
  --night: #101d20;
  --night-deep: #0b1518;
  --night-line: #263a3e;
  --mint: #b5f4cd;
  --muted-night: #a6b9b8;
  --paper: #f1f5f0;
  --white: #fcfefa;
  --line: #d5dfd7;
  --muted: #50635a;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Avenir Next", Avenir, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 2px solid #14835b; outline-offset: 4px; }
.masthead :focus-visible { outline-color: var(--mint); }
h1, h2, h3, p { margin: 0; }
code { font-family: var(--mono); }
.wrap { width: min(100% - 4rem, 1184px); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; top: 12px; left: 12px; z-index: 2; padding: 12px; background: var(--mint); clip-path: none; }

.masthead { background: var(--night); color: var(--white); }
.header-shell { border-bottom: 1px solid var(--night-line); }
.header { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem 2rem; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-size: 1.275rem; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; }
.brand strong { font-weight: 500; color: var(--muted-night); }
.brand-mark { height: 28px; width: 28px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--mint); color: var(--night); }
.brand-mark i { display: block; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.brand-mark i::before, .brand-mark i::after { content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%; background: currentColor; }
.brand-mark i::before { width: 19px; height: 1px; }
.brand-mark i::after { height: 19px; width: 1px; }
.header nav { display: flex; gap: clamp(1rem, 3.4vw, 2.75rem); color: #c4d1cf; font-size: .95rem; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: .95rem; line-height: 1.2; transition: background .2s, border-color .2s; }
.button:hover { text-decoration: none; }
.button-primary { background: var(--mint); color: #103522; }
.button-primary:hover { background: #d4ffe5; }
.button-outline { border-color: #47605d; color: var(--white); }
.button-outline:hover { background: #263b3b; border-color: #6e8d85; }
.header .button { min-height: 41px; padding-inline: .9rem; font-size: .865rem; }
.button-dark { background: #163d30; color: var(--white); }
.button-dark:hover { background: #235942; }
.button-light { background: transparent; border-color: #b5cbbd; color: #163d30; }
.button-light:hover { background: #dcece1; }

.hero-shell {
  background-color: var(--night);
  background-image: radial-gradient(ellipse at 93% 37%, #1c3c38 0, transparent 45%),
    linear-gradient(90deg, #1b2b2e 1px, transparent 1px),
    linear-gradient(#1b2b2e 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  background-position: center;
}
.hero { min-height: 480px; display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(2rem, 5.5vw, 5.4rem); align-items: center; padding-block: 4.2rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: #245b46; font: 700 .77rem/1.4 var(--mono); letter-spacing: .105em; }
.marker { width: 8px; height: 8px; background: #3b8b66; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.hero .eyebrow { color: var(--mint); }
.hero .marker { background: var(--mint); }
.hero h1 { margin-top: 1.25rem; font-size: clamp(3.15rem, 6.15vw, 6.2rem); line-height: .99; font-weight: 710; letter-spacing: -.079em; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero-description { margin-top: 1.42rem; max-width: 30rem; color: #ccd9d6; font-size: clamp(1.05rem, 1.63vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.console { min-width: 0; border: 1px solid #3a5351; border-radius: 14px; background: var(--night-deep); box-shadow: 0 20px 75px #07171480; overflow: hidden; }
.console-header, .console-request { display: flex; justify-content: space-between; align-items: center; min-height: 47px; gap: .6rem; padding-inline: 1.1rem; border-bottom: 1px solid var(--night-line); }
.console-header { background: #18292b; }
.console-tabs { display: flex; align-items: stretch; min-height: 47px; gap: .85rem; }
.console-tabs button, .copy { border: 0; background: none; color: #a9bfba; font-size: .86rem; font-weight: 650; padding-inline: .15rem; }
.console-tabs button { border-bottom: 2px solid transparent; }
.console-tabs button[aria-pressed="true"] { border-color: var(--mint); color: var(--white); }
.console-tabs button:hover, .copy:hover { color: var(--mint); }
.copy { white-space: nowrap; }
.console-request { justify-content: flex-start; color: #d7e6e1; font: .85rem var(--mono); }
.console-request > span:first-child { color: var(--mint); background: #203831; border-radius: 4px; padding: .25rem .45rem; font-size: .72rem; font-weight: 700; }
.console-meta { margin-left: auto; color: #9bb6b1; font-size: .75rem; }
.console pre { margin: 0; padding: .9rem 1.1rem; min-height: 248px; max-height: 248px; overflow: auto; color: #cbded8; font: .79rem/1.57 var(--mono); scrollbar-color: #3c5852 var(--night-deep); }
.console pre:focus-visible { outline-offset: -2px; }
.console-foot { min-height: 42px; display: flex; align-items: center; padding: .55rem 1.1rem; border-top: 1px solid var(--night-line); font-size: .78rem; color: #a0b8b1; }
.json-key { color: #c0ddd5; }
.json-string { color: var(--mint); }
.json-number { color: #e9cd9b; }
.json-literal { color: #ddc8ff; }
.hero-footer { border-block: 1px solid var(--night-line); background: #17272a; }
.proof { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 58px; padding-block: .65rem; color: #c1d1ce; font-size: .9rem; }
.proof-tech { color: var(--mint); font: .74rem/1.4 var(--mono); letter-spacing: .05em; white-space: nowrap; }
.proof-tech b { padding-inline: .4rem; color: #69877f; }

.coverage { padding-block: 4.05rem 4.5rem; scroll-margin-block-start: 1rem; }
.section-intro h2, .integration h2 { margin-top: .6rem; font-size: clamp(2.05rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.06em; font-weight: 720; }
.section-intro > p:last-child, .integration p { margin-top: .65rem; color: var(--muted); font-size: 1.04rem; }
.rest-example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1.4rem, 5vw, 4.25rem); padding-bottom: 4.05rem; }
.rest-example .section-intro p { margin-top: .85rem; color: var(--muted); }
.rest-example .section-intro code { padding: .12em .35em; border-radius: 4px; background: #e0eee3; color: #21483f; }
.rest-example .section-intro a { text-decoration: underline; text-underline-offset: .18em; }
.rest-console { margin: 0; box-shadow: none; }
.rest-console pre { min-height: 0; max-height: none; }
@media (max-width: 750px) { .rest-example { grid-template-columns: minmax(0, 1fr); padding-bottom: 3rem; } }
.checker { margin-top: 1.8rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.search-form { display: grid; grid-template-columns: 2fr 1fr 1.2fr auto; align-items: end; gap: .9rem; padding: 1.25rem 1.5rem .75rem; }
.form-field label { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 690; }
.form-field input, .form-field select { display: block; color: var(--ink); background: #f5f8f4; border: 1px solid #ccd8cf; border-radius: 7px; min-height: 48px; width: 100%; padding: .6rem .8rem; }
.form-field select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #376752 50%), linear-gradient(135deg, #376752 50%, transparent 50%); background-position: right 16px center, right 12px center; background-size: 4px 4px; background-repeat: no-repeat; }
.markets { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: 0 1.5rem 1.2rem; color: var(--muted); font-size: .875rem; }
.markets button { min-height: 34px; background: #e8f3eb; color: #24573f; border: 1px solid #d1e5d7; border-radius: 99px; padding: .18rem .75rem; font-size: .85rem; font-weight: 630; }
.markets button:hover { background: #d5ecd9; }
.results-header { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1.15rem 1.5rem; border-top: 1px solid var(--line); }
.results-header h3 { font-size: 1.2rem; letter-spacing: -.025em; }
.results-header p, .results-footer { color: var(--muted); font-size: .87rem; }
.results-source { display: inline-flex; align-items: center; gap: .5rem; color: #285a43; font: .76rem/1.4 var(--mono); flex-shrink: 0; }
.events { margin: 0; padding: 0 1.5rem; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.event { min-height: 125px; display: flex; flex-direction: column; padding: .85rem .95rem; background: #f3f7f2; border: 1px solid #e0e9df; border-radius: 8px; overflow-wrap: anywhere; }
.event-date { color: #2c624a; font: 650 .76rem/1.55 var(--mono); }
.event-title { margin-top: .24rem; font-weight: 730; line-height: 1.28; }
.event-venue { margin-top: .2rem; font-size: .86rem; color: var(--muted); }
.event-link { align-self: flex-start; margin-top: auto; padding-top: .6rem; color: #256047; font-weight: 670; font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; }
.results-footer { padding: 1.15rem 1.5rem; }
.integration { background: #e0eee3; border-block: 1px solid #cedfd2; }
.integration-inner { padding-block: 2.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.integration h2 { margin-top: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.integration-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.footer { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; }
.footer .brand { color: var(--ink); }
.footer .brand strong { color: var(--muted); }
.footer .brand-mark { background: #d4ebdb; }

@media (max-width: 990px) {
  .wrap { width: min(100% - 3rem, 1184px); }
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(3.1rem, 7.25vw, 4.6rem); }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 2.25rem, 1184px); }
  .header { min-height: 73px; flex-wrap: wrap; gap: .7rem 1rem; padding-block: .85rem; }
  .header nav { order: 3; width: 100%; justify-content: flex-start; padding-top: .15rem; }
  .hero { grid-template-columns: 1fr; padding-block: 2.8rem; }
  .hero h1 { font-size: clamp(3.15rem, 11vw, 5.3rem); }
  .desktop-break { display: none; }
  .proof { align-items: flex-start; flex-direction: column; justify-content: center; gap: .47rem; }
  .coverage { padding-block: 2.7rem 3rem; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .city-field, .search-form > button { grid-column: 1 / -1; }
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integration-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
  .console-header, .console-request, .console pre, .console-foot { padding-inline: .7rem; }
  .console-tabs { gap: .55rem; }
  .console-tabs button, .copy { font-size: .78rem; }
  .search-form, .markets, .results-header, .events, .results-footer { padding-inline: .85rem; }
  .results-header { align-items: flex-start; flex-direction: column; }
  .events { grid-template-columns: 1fr; }
  .footer { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
