:root {
  color-scheme: light;
  --bg: #f6f7f2;
  --surface: #ffffff;
  --surface-alt: #eef3f1;
  --text: #14291e;
  --muted: #4f5e5a;
  --line: #d9ded3;
  --brand: #123f38;
  --brand-strong: #0b2b26;
  --accent: #d3ee8d;
  --accent-text: #18211f;
  --link: #0e5f54;
  --focus: #005e54;
  --badge-fixture-bg: #fff1cc;
  --badge-fixture-text: #6d4b0c;
  --badge-preview-bg: #e3ecf8;
  --badge-preview-text: #24446d;
  --badge-public-bg: #dcf2e8;
  --badge-public-text: #0f5c41;
  --code-bg: #17211f;
  --code-text: #d7e5e1;
  --warn-bg: #fff8e6;
  --warn-line: #e6c56a;
  --warn-text: #5c4409;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--link);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

:where(p, li, td, dd) code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(30px, 5vw, 46px);
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
}

h3 {
  font-size: 17px;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 64px;
  padding: 10px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.site-nav ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--brand);
}

.site-nav a:hover {
  border-bottom-color: var(--line);
}

.header-cta {
  margin-left: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  margin: 0 8px 8px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color: var(--brand);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.button-primary:hover {
  background: #e1f5b3;
}

.button-quiet {
  background: transparent;
}

.site-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 56px;
}

.hero {
  padding: clamp(28px, 6vw, 64px) 0 clamp(20px, 4vw, 36px);
  max-width: 820px;
}

.hero-compact {
  padding-top: clamp(20px, 4vw, 40px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--link);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 720px;
}

.hero-search {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hero-search label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 720;
}

.hero-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.hero-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.hero-search .button {
  margin: 0;
}

.hero-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.page-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.page-section:first-child,
.hero + .page-section {
  border-top: 0;
}

.coverage-statement {
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  background: var(--surface-alt);
  font-weight: 600;
}

.coverage-statement.unavailable {
  border-left-color: var(--warn-line);
  background: var(--warn-bg);
  color: var(--warn-text);
}

.coverage-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.coverage-name {
  font-weight: 700;
}

.coverage-count {
  color: var(--muted);
  font-size: 14px;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge-fixture {
  background: var(--badge-fixture-bg);
  color: var(--badge-fixture-text);
}

.badge-private_preview {
  background: var(--badge-preview-bg);
  color: var(--badge-preview-text);
}

.badge-public {
  background: var(--badge-public-bg);
  color: var(--badge-public-text);
}

.snippet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.snippet {
  margin: 0;
  min-width: 0;
}

.snippet figcaption h3 {
  margin-bottom: 8px;
}

.snippet-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.code-block {
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  border-radius: 6px;
  background: var(--code-bg);
  color: var(--code-text);
  font-size: 13px;
  line-height: 1.5;
  tab-size: 2;
}

.feature-grid,
.link-grid,
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.feature-grid li,
.link-grid li,
.tier-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid p,
.link-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.link-grid h2 {
  font-size: 18px;
}

.tier-card h3 {
  font-size: 18px;
}

.tier-price {
  margin: 0 0 4px;
}

.tier-price strong {
  font-size: 26px;
}

.tier-price span {
  color: var(--muted);
  font-size: 13px;
}

.tier-credits {
  font-weight: 650;
}

.tier-features {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.status-banner {
  padding: 12px 14px;
  border: 1px solid var(--warn-line);
  border-radius: 6px;
  background: var(--warn-bg);
  color: var(--warn-text);
}

.data-table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table caption {
  text-align: left;
  font-weight: 700;
  padding-bottom: 8px;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface-alt);
}

.plain-list {
  padding-left: 20px;
}

.plain-list li {
  margin-bottom: 6px;
}

.steps {
  padding-left: 22px;
}

.steps > li {
  margin-bottom: 20px;
}

.steps h3 {
  margin-bottom: 6px;
}

.coverage-card {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.coverage-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.coverage-card-header h2 {
  margin: 0;
  font-size: 22px;
}

.coverage-status-copy {
  color: var(--muted);
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.fact-list > div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-alt);
  min-width: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 4px 0 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 24px clamp(16px, 4vw, 56px) 32px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  max-width: 720px;
}

.footer-meta {
  margin: 12px 0 0;
  font-size: 12px;
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
  }

  .header-cta {
    margin-left: 0;
    width: 100%;
  }

  .hero-search-row {
    grid-template-columns: 1fr;
  }

  .coverage-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

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

/* The launch surface uses the same semantic, dependency-free site shell. */
.site-main {
  width: min(1240px, calc(100% - 48px));
}
.site-header {
  max-width: 1600px;
  margin: auto;
  min-height: 86px;
  background: var(--bg);
}
.site-nav {
  margin-left: auto;
}
.header-cta {
  margin-left: 16px;
  margin-bottom: 0;
}
.brand-mark {
  border-radius: 0;
  transform: rotate(-7deg);
  background: #184632;
}
.brand-name {
  font-size: 20px;
  letter-spacing: -0.7px;
}
h1,
h2 {
  letter-spacing: -0.045em;
  font-weight: 600;
}
h2 {
  font-size: clamp(27px, 3vw, 39px);
}
a {
  text-underline-offset: 4px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 66px;
  max-width: none;
  padding: 78px 0 64px;
}
.hero h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.03;
  max-width: 720px;
  margin-bottom: 26px;
}
.hero .lede {
  font-size: 18px;
  max-width: 550px;
  line-height: 1.65;
}
.eyebrow {
  letter-spacing: 0.13em;
  font-size: 11px;
  margin-bottom: 20px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #467249;
  border-radius: 50%;
  margin-right: 8px;
}
.hero-actions {
  margin-top: 26px;
}
.button {
  border-radius: 4px;
  padding: 0 20px;
  min-height: 46px;
  font-size: 14px;
  gap: 18px;
}
.record-preview {
  margin: 0;
  background: #173f30;
  color: #f2f7e8;
  border: 1px solid #315742;
  padding: 24px;
  box-shadow: 12px 12px 0 #e6eadf;
}
.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #436551;
}
.mono-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
}
.preview-dot {
  width: 8px;
  height: 8px;
  border: 1px solid #cee6a2;
  border-radius: 50%;
}
.parcel-diagram {
  height: 182px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(#ffffff07 1px, transparent 1px),
    linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 20px 20px;
  margin: 14px 0;
}
.parcel {
  position: absolute;
  width: 85px;
  height: 76px;
  border: 1px solid #a0c28a;
  transform: skewY(-18deg);
}
.parcel-a {
  left: 16%;
  top: 47px;
}
.parcel-b {
  left: calc(16% + 96px);
  top: 16px;
  width: 112px;
  height: 105px;
  background: #d1ea9312;
}
.parcel-c {
  left: calc(16% + 96px);
  top: 135px;
  width: 90px;
  height: 58px;
}
.parcel-building {
  position: absolute;
  left: calc(16% + 120px);
  top: 28px;
  width: 63px;
  height: 62px;
  background: #c2df95;
  border: 1px solid #def2b6;
  transform: skewY(-18deg);
  box-shadow:
    10px 8px 0 #607f4f,
    10px 17px 0 #345641;
}
.parcel-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.09em;
  background: #173f30;
  padding: 5px;
}
.record-layers {
  padding: 0;
  list-style: none;
  margin: 0;
}
.record-layers li {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid #436551;
}
.record-layers li > span {
  font-family: monospace;
  color: #c2df95;
  font-size: 12px;
}
.record-layers strong {
  font-weight: 550;
  font-size: 14px;
}
.record-layers p {
  font-size: 11px;
  margin: 3px 0 0;
  color: #c6d6cb;
}
.record-preview figcaption {
  font-size: 10px;
  color: #c6d6cb;
  padding-top: 10px;
}
.trust-strip {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  color: #506250;
  font-size: 12px;
  font-family: monospace;
}
.page-section {
  padding: 52px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading a {
  font-size: 13px;
  flex-shrink: 0;
}
.section-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
}
.section-note {
  color: var(--muted);
  font-size: 14px;
  max-width: 850px;
  margin: 20px 0;
}
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.market-card {
  border: 1px solid var(--line);
  background: #edf0e6;
  padding: 28px;
  position: relative;
}
.market-code {
  display: block;
  font-family: monospace;
  font-size: 11px;
  color: #55674a;
  margin-bottom: 38px;
}
.market-card h3 {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -0.04em;
}
.market-card p {
  font-size: 14px;
}
.market-status {
  font-size: 11px;
  color: var(--muted);
}
.snippet {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
}
.snippet h3 {
  margin-top: 12px;
}
.snippet .code-block {
  margin-top: 20px;
  border-radius: 0;
  font-size: 11px;
  padding: 14px;
  min-height: 230px;
}
.code-block {
  max-width: 100%;
  margin-bottom: 18px;
}
.feature-grid li {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 24px 0;
}
.feature-grid {
  gap: 28px;
}
.feature-grid h3 {
  font-size: 18px;
  font-weight: 600;
}
.closing-cta {
  margin: 30px 0;
  padding: 40px;
  background: #193e2d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.closing-cta p {
  color: #d1e3c1;
}
.closing-cta .eyebrow {
  color: #cde895;
}
.closing-cta p:last-child {
  margin-bottom: 0;
}
.table-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  margin-bottom: 18px;
}
.site-footer {
  background: #eff1e9;
}
.search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px auto;
  gap: 12px;
}
.search-controls input,
.search-controls select {
  font: inherit;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  padding: 10px;
  color: var(--text);
}
.search-controls label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}
.search-controls .button {
  align-self: end;
  margin: 0;
}
.search-results {
  padding: 0;
  list-style: none;
}
.search-results li {
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  margin: 12px 0;
}
.search-results button {
  text-align: left;
  font: inherit;
  border: 0;
  padding: 0;
  background: none;
  color: var(--link);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}
.search-results p {
  font-size: 13px;
  margin: 6px 0 0;
  color: var(--muted);
}
#search-status {
  margin-top: 22px;
}
#property-detail {
  scroll-margin-top: 20px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .hero-grid {
    gap: 30px;
    grid-template-columns: 1fr 0.9fr;
    padding-top: 45px;
  }
  .record-preview {
    padding: 16px;
  }
  .section-heading {
    display: block;
  }
  .section-heading a {
    display: inline-block;
    margin-top: 18px;
  }
  .search-controls {
    grid-template-columns: 1fr 180px;
  }
  .search-controls .button {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .site-main {
    width: calc(100% - 32px);
  }
  .site-header {
    padding: 16px;
    gap: 16px;
  }
  .site-nav {
    order: 3;
    width: 100%;
  }
  .site-nav ul {
    justify-content: space-between;
    gap: 14px;
  }
  .site-nav a {
    font-size: 13px;
  }
  .header-cta {
    margin-left: auto;
    width: auto;
    padding: 0 12px;
    min-height: 38px;
    font-size: 12px;
  }
  .brand-name {
    font-size: 18px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(39px, 9vw, 56px);
  }
  .hero .lede {
    font-size: 16px;
  }
  .record-preview {
    box-shadow: 6px 6px 0 #e6eadf;
  }
  .trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    font-size: 10px;
  }
  .market-grid,
  .search-controls {
    grid-template-columns: 1fr;
  }
  .market-card {
    padding: 22px;
  }
  .page-section {
    padding: 36px 0;
  }
  .closing-cta {
    display: block;
    padding: 25px;
  }
  .closing-cta .button {
    margin-top: 22px;
  }
  .data-table {
    font-size: 13px;
  }
}

.account-card {
  max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  margin: 24px 0;
}
.account-card h2 {
  font-size: 28px;
}
.account-session-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
}
.account-session-heading h2 {
  margin-bottom: 6px;
}
.account-session-heading p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
}
.account-card label,
.account-key-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.account-card input,
.account-key-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  padding: 12px;
  font: inherit;
  color: var(--text);
}
#new-api-key {
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.account-key-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  max-width: 780px;
  margin: 24px 0;
}
.account-key-form .button {
  margin: 0;
}
.account-key-list {
  list-style: none;
  padding: 0;
}
.account-key-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin: 12px 0;
  padding: 20px;
}
.account-key-list h3,
.account-key-list p {
  overflow-wrap: anywhere;
}
.account-key-list p {
  margin-bottom: 5px;
  font-size: 13px;
  color: var(--muted);
}
.account-key-list .button {
  flex-shrink: 0;
  margin: 0;
}
.account-key-list .confirm-revoke {
  background: #fae8df;
  border-color: #a85035;
  color: #762f1e;
}
@media (max-width: 640px) {
  .account-card {
    padding: 20px;
  }
  .account-session-heading,
  .account-key-list li {
    display: block;
  }
  .account-session-heading .button,
  .account-key-list .button {
    margin-top: 14px;
  }
  .account-key-form {
    grid-template-columns: 1fr;
  }
}

.account-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: start;
  margin: 30px 0;
}
.auth-card {
  margin: 0;
}
.auth-card form > .button,
.settings-grid form > .button {
  margin-top: 22px;
}
.auth-card label,
.settings-grid label {
  margin-top: 18px;
}
.auth-card h2 {
  margin-top: 26px;
}
.auth-switch {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--surface-alt);
  border-radius: 6px;
}
.auth-switch button {
  flex: 1;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  background: transparent;
  padding: 11px;
  color: var(--text);
  border-radius: 4px;
  cursor: pointer;
}
.auth-switch button[aria-pressed="true"] {
  background: white;
  box-shadow: 0 1px 4px #15271f14;
}
.account-intro {
  padding: 30px 0;
}
.account-intro .record-layers li {
  border-color: var(--line);
  padding: 22px 0;
}
.account-intro .record-layers li > span {
  color: var(--link);
}
.account-intro .record-layers p {
  color: var(--muted);
  font-size: 14px;
}
.account-intro .record-layers strong {
  font-size: 17px;
}
.input-help {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.account-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
.account-nav a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 4px;
}
.account-nav a:hover {
  background: #e6eddc;
}
#account-session section {
  scroll-margin-top: 20px;
}
.account-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 25px 0;
}
.account-metrics > div {
  background: #edf0e6;
  border: 1px solid var(--line);
  padding: 22px;
}
.account-metrics dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.account-metrics dd {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
  margin: 10px 0 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.settings-grid .account-card {
  margin: 0;
}
.billing-interval {
  border: 0;
  margin: 22px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.billing-interval legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.billing-interval label {
  font-size: 14px;
  cursor: pointer;
}
.account-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 16px;
}
.account-plan-card {
  background: white;
  border: 1px solid var(--line);
  padding: 24px 20px;
}
.account-plan-card:has(input:checked) {
  border: 2px solid var(--brand);
  padding: 23px 19px;
  background: #f3f8e8;
}
.account-plan-card h3 {
  font-size: 20px;
}
.account-plan-price {
  font-weight: 650;
  font-size: 21px;
}
.account-plan-card p,
.account-plan-card label {
  font-size: 13px;
}
.account-plan-card label {
  display: block;
  margin-top: 24px;
  cursor: pointer;
  font-weight: 600;
}
.billing-checkout {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
@media (max-width: 760px) {
  .account-auth-layout,
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .account-intro {
    padding: 0;
  }
  .account-metrics {
    grid-template-columns: 1fr;
  }
  .account-nav {
    gap: 0;
    justify-content: space-between;
  }
  .account-nav a {
    padding: 10px;
    font-size: 12px;
  }
}

.assistant-setup h3 {
  margin-bottom: 6px;
}
.assistant-tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 20px 0;
  padding: 4px;
  border-radius: 6px;
  background: var(--surface-alt);
}
.assistant-tabs [role="tab"] {
  flex: 1 1 auto;
  border: 0;
  border-radius: 4px;
  padding: 11px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.assistant-tabs [aria-selected="true"] {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 1px 4px #15271f14;
}
.assistant-prompt {
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-alt);
  max-height: 20rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.assistant-prompt code {
  font: inherit;
  line-height: 1.65;
}
.assistant-setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
  margin-top: 18px;
}
.assistant-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.assistant-option h4 {
  margin: 0;
  font-size: 17px;
}
.assistant-option p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.assistant-option .code-block {
  flex: 1;
  white-space: pre;
  margin: 0;
}
.assistant-option .button {
  margin: 0;
  align-self: flex-start;
}
#assistant-copy-status:not(:empty) {
  margin-top: 16px;
  font-weight: 600;
}
.auth-alternative {
  margin-top: 24px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
.google-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  margin: 0;
}
.google-button svg {
  flex: none;
}
.auth-alternative .input-help {
  margin-top: 12px;
}
