:root {
    color-scheme: dark;
    --background: #0B100C;
    --background-soft: #101711;
    --card: #151D16;
    --card-strong: #202B21;
    --primary: #8ECF72;
    --primary-dim: #709D5E;
    --primary-glow: rgb(142 207 114 / 0.12);
    --foreground: #F0F3EF;
    --muted: #C5CEC4;
    --border: #829180;
    --rule: #556251;
    --warning: #E3B85B;
    --danger: #EF8272;
    --selection: #263523;
    --hover: #A3DE89;
    --shadow: rgb(0 0 0 / 0.45);
    --display: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    --page-width: 1200px;
}

* {
    box-sizing: border-box;
}
html {
    background: var(--background);
    scroll-behavior: auto;
}
body {
    margin: 0;
    min-width: 0;
    padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
    color: var(--foreground);
    background: var(--background);
    font-family: var(--display);
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
}
button, input {
    font: inherit;
    border-radius: 0;
}
button, a, summary {
    touch-action: manipulation;
}
button, summary {
    min-height: 44px;
    cursor: pointer;
}
a {
    color: inherit;
    text-underline-offset: 0.2em;
}
button:focus-visible, input:focus-visible, a:focus-visible,
summary:focus-visible, .result-tab-panel:focus-visible, .phone-content:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
[hidden] {
    display: none !important;
}
h1, h2, h3, p {
    margin-top: 0;
    overflow-wrap: break-word;
}
h1, h2, h3 {
    font-family: var(--display);
    font-weight: 600;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10;
    padding: 0.75rem;
    color: var(--background);
    background: var(--primary);
}
.skip-link:focus {
    top: 1rem;
}

.site-header, .page-shell, .site-footer {
    width: min(var(--page-width), calc(100% - 3rem));
    margin-inline: auto;
}
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: max(1rem, env(safe-area-inset-top)) 0 1rem;
    border-bottom: 1px solid var(--rule);
}
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    color: var(--primary);
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.wordmark img {
    width: 44px;
    height: 44px;
}
.release-label, .eyebrow, .console-eyebrow, .console-label,
.system-identifier {
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-family: var(--mono);
}
.release-label {
    text-align: right;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}
.header-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    color: var(--muted);
}
.header-nav .header-signup {
    gap: 0.65rem;
    color: var(--primary);
}
.header-nav a:hover {
    text-decoration: underline;
}
.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding: clamp(2.5rem, 5vw, 5rem) 0 4rem;
}
.hero-content {
    min-width: 0;
}
.hero-content .eyebrow {
    margin-bottom: 1.2rem;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.access-marker {
    flex: 0 0 7px;
    height: 7px;
    background: var(--primary);
}
.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--foreground);
    font-size: clamp(3rem, 5.3vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}
.hero-content h1 span {
    color: var(--primary);
}
.hero-copy {
    max-width: 31rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.6rem;
    color: var(--foreground);
    font-size: 0.75rem;
    font-family: var(--mono);
}
.hero-proof span {
    color: var(--primary);
}
.registration-panel {
    scroll-margin-top: 1rem;
}
.registration-panel h2 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}
.waitlist-form {
    position: relative;
}
.waitlist-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
}
.honeypot {
    position: absolute !important;
    left: -9999px !important;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.form-row input {
    flex: 1 1 12rem;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    color: var(--foreground);
    background: var(--card);
    border: 1px solid var(--border);
    font-size: 1rem;
}
.form-row input::placeholder {
    color: var(--muted);
}
.form-row button, .primary-button {
    min-height: 48px;
    padding: 0.65rem 0.85rem;
    color: var(--background);
    background: var(--primary);
    border: 1px solid var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
}
.form-row button:hover, .primary-button:hover {
    background: var(--hover);
}
button:disabled {
    opacity: 0.55;
    cursor: wait;
}
.turnstile-slot:has(iframe) {
    margin-top: 0.75rem;
    min-height: 65px;
}
.form-status {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
}
.form-status:empty {
    margin: 0;
}
.form-status.success {
    color: var(--primary);
}
.form-status.error {
    color: var(--danger);
}
.signup-note, .browser-note {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.75rem;
}
.signup-note a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.demo-jump, .text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    color: var(--primary);
    font-size: 0.875rem;
}
.demo-jump {
    margin-top: 0.5rem;
}
.browser-note {
    max-width: 25rem;
}

.hero-visual {
    min-width: 0;
    margin: 0;
    border: 1px solid var(--rule);
    background: var(--background-soft);
    box-shadow: 0 0 60px var(--primary-glow);
}
.visual-header, .hero-visual figcaption, .visual-index {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.visual-header {
    border-bottom: 1px solid var(--rule);
}
.parcel-graphic {
    display: block;
    width: 100%;
    height: auto;
}
.map-grid, .map-parcels {
    fill: none;
    stroke: var(--rule);
}
.map-parcels {
    stroke-width: 1.5;
}
.map-road {
    stroke-dasharray: 6 8;
}
.target-lot {
    fill: var(--selection);
    stroke: var(--border);
}
.map-building {
    fill: none;
    stroke: var(--foreground);
    stroke-width: 1.5;
}
.map-reticle, .map-guide {
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
}
.map-point {
    fill: var(--primary);
}
.hero-visual figcaption {
    padding-top: 0;
    align-items: end;
}
.hero-visual figcaption strong {
    color: var(--foreground);
    font-weight: 400;
}
.hero-visual figcaption > span:last-child {
    text-align: right;
}
.visual-index {
    border-top: 1px solid var(--rule);
    color: var(--primary);
}

/* Marketing can breathe; only the operational demo is optimized for a phone screen. */
.demo-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    padding: 4.5rem 0;
    border-top: 1px solid var(--rule);
}
.demo-intro {
    max-width: 29rem;
}
.demo-intro h2, .founder-intro h2, .faq-section h2, .cta-section h2 {
    margin-bottom: 1rem;
    color: var(--foreground);
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    line-height: 1;
}
.demo-intro h2 span {
    color: var(--primary);
}
.section-copy {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}
.demo-instructions {
    display: grid;
    gap: 1.25rem;
    padding: 0;
    margin: 2rem 0;
    list-style: none;
    font-size: 0.875rem;
}
.demo-instructions li {
    display: flex;
    gap: 1rem;
}
.demo-instructions li > span {
    color: var(--primary);
}
.demo-instructions strong {
    font-weight: 400;
}
.demo-instructions p {
    color: var(--muted);
    margin: 0.25rem 0 0;
}
.demo-honesty {
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.8;
}
.demo-device {
    width: min(100%, 390px);
    justify-self: center;
    min-width: 0;
    scroll-margin-top: 0.25rem;
}
.demo-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.demo-heading h2 {
    margin: 0;
    color: var(--muted);
    font: 400 0.75rem var(--mono);
    letter-spacing: 0.1em;
}
.demo-badge {
    padding: 0.15rem 0.4rem;
    color: var(--warning);
    border: 1px solid var(--warning);
    font-size: 0.75rem;
    white-space: nowrap;
}
.console-frame {
    border: 1px solid var(--border);
    background: var(--card);
}
.phone-frame {
    position: relative;
    aspect-ratio: 390 / 844;
    border: 6px solid var(--rule);
    border-radius: 2rem;
    box-shadow: 0 16px 36px var(--shadow);
}
.phone-speaker {
    position: absolute;
    top: 10px;
    left: calc(50% - 27px);
    width: 54px;
    height: 5px;
    border-radius: 3px;
    background: var(--rule);
}
.phone-home {
    position: absolute;
    bottom: 10px;
    left: calc(50% - 45px);
    width: 90px;
    height: 4px;
    border-radius: 3px;
    background: var(--border);
}
.phone-content {
    /* Content cannot size the phone; only the available width sets its portrait frame. */
    position: absolute;
    inset: 20px 0 18px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--border) var(--background-soft);
    padding: 0.6rem;
}
.phone-content::-webkit-scrollbar {
    width: 6px;
}
.phone-content::-webkit-scrollbar-thumb {
    background: var(--border);
}
.console-stack, .result-tab-panel {
    display: grid;
    gap: 0.3rem;
}
.demo-note {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.75rem;
}
.demo-settings {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.75rem;
}
.demo-settings summary, .detail-disclosure summary {
    padding-block: 0.65rem;
}
.demo-settings .console-footnote {
    margin: 0.5rem 0;
}

/* Status and limitations remain above every tab; no clipping or hidden warnings. */
.result-readiness {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.15rem 0.5rem;
    padding: 0.3rem 0.5rem;
    background: var(--card-strong);
    border-left: 3px solid var(--primary);
    font-size: 0.75rem;
}
.result-readiness strong {
    font-size: 0.875rem;
}
.result-readiness span {
    color: var(--muted);
}
.result-readiness.caution {
    border-left-color: var(--warning);
}
.result-readiness.caution strong {
    color: var(--warning);
}
.warning-panel {
    padding: 0.5rem 0.6rem;
    color: var(--warning);
    background: var(--card);
    border: 1px solid var(--warning);
    font-size: 0.875rem;
    line-height: 1.4;
}
.warning-panel strong {
    font-size: 0.75rem;
}
.warning-panel ul {
    margin: 0.3rem 0 0;
    padding-left: 1rem;
}
.warning-panel li + li {
    margin-top: 0.3rem;
}
.warning-panel p {
    margin: 0.3rem 0 0;
}
.result-property {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}
.property-address {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.35;
}
.property-legal {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.reset-button, .account-action, .sample-button {
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    color: var(--foreground);
    background: transparent;
    border: 1px solid var(--border);
    font-size: 0.875rem;
}
.reset-button {
    flex: 0 0 auto;
    font-size: 0.75rem;
}
.reset-button:hover, .account-action:hover, .sample-button:hover {
    border-color: var(--primary);
    background: var(--selection);
}
.result-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--border);
}
.result-tab {
    min-width: 0;
    min-height: 44px;
    padding: 0.4rem 0.2rem;
    color: var(--muted);
    background: var(--background-soft);
    border: 0;
    border-right: 1px solid var(--border);
    font-size: 0.75rem;
    line-height: 1.2;
}
.result-tab:last-child {
    border-right: 0;
}
.result-tab.active {
    color: var(--background);
    background: var(--primary);
    font-weight: 700;
    box-shadow: inset 0 -3px 0 var(--background);
}
.result-tab:not(.active):hover {
    background: var(--selection);
}
.console-panel {
    padding: 0.25rem 0;
}
.console-heading {
    margin-bottom: 0.3rem;
    color: var(--foreground);
    font-weight: 700;
}
.console-heading > span {
    float: right;
    color: var(--muted);
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: 0;
}
.result-tab-panel > .console-panel,
.scenario-panel, .profits-panel {
    padding-top: 0.45rem;
    border-top: 2px solid var(--border);
}
.bid-panel {
    padding: 0.35rem 0.65rem;
    background: var(--selection);
    border-left: 3px solid var(--primary);
}
.bid-value {
    margin: 0.15rem 0;
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--mono);
}
.absolute-maximum {
    color: var(--foreground);
}
.quantile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--border);
}
.quantile-row {
    min-width: 0;
    padding: 0.25rem 0.4rem;
    background: var(--background-soft);
    border-left: 1px solid var(--border);
}
.quantile-row:first-child {
    border-left: 0;
}
.quantile-row span {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    min-height: 2.4em;
    line-height: 1.2;
}
.quantile-row strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--mono);
}
.quantile-row.base {
    background: var(--selection);
}
.quantile-row.base strong {
    color: var(--primary);
    font-weight: 700;
}
.profits-panel {
    padding-bottom: 0;
}
.scenario-inputs {
    border: 1px solid var(--border);
}
.scenario-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 3.4rem;
    align-items: center;
    background: var(--card);
}
.scenario-input-row + .scenario-input-row {
    border-top: 1px solid var(--border);
}
.scenario-input-row label {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.bid-price-control {
    display: flex;
    align-items: center;
    min-width: 0;
    border-inline: 1px solid var(--border);
    color: var(--foreground);
    background: var(--background);
}
.bid-price-control span {
    padding-left: 0.5rem;
    font-size: 0.875rem;
}
.bid-price-control input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0.3rem;
    background: transparent;
    border: 0;
    color: var(--foreground);
    font-size: 1rem;
    text-align: right;
    font-family: var(--mono);
    appearance: textfield;
}
.bid-price-control input::-webkit-inner-spin-button,
.bid-price-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.bid-price-control:has(input[aria-invalid="true"]) {
    outline: 1px solid var(--warning);
    outline-offset: -1px;
}
.bid-reset {
    min-height: 44px;
    padding: 0.25rem 0.4rem;
    color: var(--primary);
    background: transparent;
    border: 0;
    font-size: 0.75rem;
}
.metric-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    border: 1px solid var(--border);
    background: var(--background-soft);
    font-size: 0.875rem;
    line-height: 1.35;
}
.metric-row + .metric-row {
    border-top: 0;
}
.metric-row > span {
    min-width: 0;
    color: var(--muted);
    padding: 0.4rem 0.5rem;
}
.metric-row strong {
    padding: 0.4rem 0.5rem;
    border-left: 1px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    font-weight: 500;
    overflow-wrap: anywhere;
    text-align: right;
}
.scenario-panel > .metric-row {
    margin-top: 0.35rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    font-size: 0.75rem;
}
.scenario-totals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--border);
}
.scenario-totals .metric-row {
    display: block;
    padding: 0;
    border: 0;
}
.scenario-totals .metric-row + .metric-row {
    border-left: 1px solid var(--border);
}
.scenario-totals .metric-row span {
    display: block;
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid var(--border);
}
.scenario-totals .metric-row strong {
    display: block;
    max-width: none;
    font-size: 1.15rem;
    font-family: var(--mono);
    text-align: left;
    border: 0;
    padding-block: 0.25rem;
}
.review-value {
    color: var(--warning) !important;
}
.profit-value {
    color: var(--primary) !important;
    font-weight: 700 !important;
}
.negative-value {
    color: var(--danger) !important;
    font-weight: 700 !important;
}
.console-footnote {
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.4;
}
.detail-disclosure {
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: 0.75rem;
}
.detail-disclosure p {
    margin: 0 0 0.4rem;
    overflow-wrap: anywhere;
}
.property-facts .metric-row {
    padding: 0;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
}
.tax-record-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--primary);
}
.property-identifiers {
    padding-top: 0.5rem;
    border-top: 1px solid var(--rule);
}
.rehab-range {
    background: var(--background-soft);
    border-left-color: var(--warning);
}
.rehab-range .bid-value {
    color: var(--foreground);
}
.rehab-summary {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
}
.rehab-bullets {
    display: grid;
    gap: 0.4rem;
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.4;
}
.rehab-bullets li::marker {
    color: var(--primary);
}
.listing-panel {
    padding: 0;
}
.listing-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0.3rem 0;
}
.listing-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.3rem;
    border: 1px solid var(--border);
    color: var(--foreground);
    font-size: 0.75rem;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.listing-link:hover {
    background: var(--selection);
}

/* Search and mock account flows remain available without crowding the brief. */
.console-prompt {
    margin: 0;
    color: var(--muted);
    font-size: 0.75rem;
}
.console-input-wrap {
    border: 1px solid var(--border);
    background: var(--background);
}
.console-input {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem;
    border: 0;
    background: transparent;
    color: var(--foreground);
    font-size: 1rem;
}
.console-input::placeholder {
    color: var(--muted);
}
.recent-searches, .autocomplete {
    border: 1px solid var(--rule);
}
.recent-heading, .autocomplete-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    color: var(--muted);
    font-size: 0.75rem;
}
.recent-heading button {
    padding: 0 0.5rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-size: 0.75rem;
}
.recent-searches.empty p {
    padding: 0 0.5rem;
    margin-bottom: 0.6rem;
    color: var(--muted);
    font-size: 0.875rem;
}
.match-button, .recent-button {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0.5rem;
    border: 0;
    border-top: 1px solid var(--rule);
    background: transparent;
    text-align: left;
    color: var(--foreground);
}
.match-button:hover, .recent-button:hover {
    background: var(--selection);
}
.match-address {
    display: block;
    font-size: 0.875rem;
}
.match-legal {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}
.target-title {
    margin: 0;
    font: 400 0.875rem var(--mono);
    color: var(--primary);
}
.progress-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
}
.progress-track {
    height: 8px;
    border: 1px solid var(--border);
    background: var(--background);
}
.progress-fill {
    height: 100%;
    background: var(--primary);
}
.checklist {
    display: grid;
    gap: 0.3rem;
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 0.875rem;
}
.checklist-row {
    display: flex;
    gap: 0.5rem;
}
.checklist-row.complete {
    color: var(--primary);
}
.account-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-block: 0.5rem;
}
.account-identity {
    flex: 1;
    min-width: 0;
    font-size: 0.75rem;
}
.account-identity strong {
    display: block;
    font-size: 0.875rem;
    color: var(--foreground);
    overflow-wrap: anywhere;
}
.account-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.account-gate {
    display: grid;
    gap: 0.65rem;
}
.account-gate h3 {
    margin: 0;
    font-size: 1.7rem;
    color: var(--primary);
}
.account-gate p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted);
}
.account-sign-in-form {
    display: grid;
    gap: 0.4rem;
}
.account-sign-in-form label {
    font-size: 0.75rem;
}
.account-auth-input {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--foreground);
}
.account-note {
    color: var(--primary) !important;
}
.auth-divider {
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    padding: 2.75rem 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.features-section p {
    margin: 0.4rem 0 0;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}
.features-section h3 {
    margin: 0.65rem 0;
    font-size: 1.35rem;
    line-height: 1.25;
}
.method-heading {
    grid-column: 1 / -1;
    max-width: 42rem;
}
.method-heading h2 {
    margin: 0.75rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}
.founder-section, .faq-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 3rem;
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--rule);
    scroll-margin-top: 2rem;
}
.founder-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
}
.founder-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.founder-photo {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 1px solid var(--border);
}
.founder-identity h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.1;
}
.founder-identity p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.75rem;
}
.founder-card > p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.8;
}
.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    color: var(--primary);
    font-size: 0.875rem;
}
.faq-list details {
    border-bottom: 1px solid var(--rule);
}
.faq-list details:first-child {
    border-top: 1px solid var(--rule);
}
.faq-list summary {
    padding: 1rem 0;
    font-size: 0.875rem;
}
.faq-list p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.7;
}
.cta-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-block: 3rem;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid var(--border);
    background: var(--card);
}
.cta-section p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--muted);
}
.cta-section .eyebrow {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 0.75rem;
}
.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.65rem;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    color: var(--background);
    background: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
}
.cta-button:hover {
    background: var(--hover);
}
.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0 max(1rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--rule);
    color: var(--muted);
    font-size: 0.75rem;
}
.legal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.legal-row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* Shared legal/admin surfaces retain the same tokens and readable defaults. */
.legal-page {
    min-height: 100svh;
    padding: max(1rem, env(safe-area-inset-top)) 1rem max(1.5rem, env(safe-area-inset-bottom));
}
.system-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.75rem;
}
.legal-shell {
    width: min(100%, 760px);
    margin: 2rem auto;
    padding: clamp(1.2rem, 5vw, 2rem);
    background: var(--card);
    border: 1px solid var(--border);
}
.legal-shell h1 {
    color: var(--primary);
    font-size: clamp(2.75rem, 13vw, 4.8rem);
    line-height: 1;
}
.legal-shell h2 {
    margin: 1.5rem 0 0.4rem;
    color: var(--primary);
    font-size: 1.6rem;
}
.legal-shell p, .legal-shell li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}
.legal-shell ul {
    padding-left: 1.2rem;
}
.legal-shell .back-link, .legal-shell p a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--primary);
}

@media (max-width: 960px) {
    .hero-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
    .hero-content {
        max-width: 38rem;
    }
    .hero-visual {
        width: min(100%, 560px);
        justify-self: center;
    }
    .hero-content h1 {
        font-size: clamp(3.5rem, 9vw, 5.5rem);
    }
    .demo-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        padding: 3rem 0;
    }
    .demo-intro {
        max-width: 36rem;
    }
    .demo-instructions {
        margin: 1.5rem 0;
    }
    .founder-section, .faq-section {
        gap: 2rem;
    }
}
@media (max-width: 760px) {
    .header-nav a:not(.header-signup) {
        display: none;
    }
    .features-section, .founder-section, .faq-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }
    .founder-section, .faq-section {
        padding: 3rem 0;
    }
}
@media (max-width: 560px) {
    .site-header, .page-shell, .site-footer {
        width: calc(100% - 2rem);
    }
    .site-header {
        padding-block: max(0.65rem, env(safe-area-inset-top)) 0.65rem;
        gap: 0.5rem;
    }
    .wordmark {
        font-size: 1rem;
        gap: 0.35rem;
    }
    .wordmark img {
        width: 32px;
        height: 32px;
    }
    .header-nav {
        font-size: 0.75rem;
        text-align: right;
    }
    .header-signup span {
        display: none;
    }
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }
    .hero-content .eyebrow {
        margin-bottom: 0.8rem;
    }
    .hero-content h1 {
        font-size: clamp(2.9rem, 12vw, 4.2rem);
    }
    .form-row {
        flex-direction: column;
    }
    .form-row input {
        flex-basis: auto;
    }
    .phone-content {
        inset: 0;
    }
    .phone-frame {
        border-width: 1px;
        border-radius: 0;
        box-shadow: none;
    }
    .phone-speaker, .phone-home {
        display: none;
    }
    .quantile-row strong {
        font-size: 0.9375rem;
    }
    .bid-value {
        font-size: 1.25rem;
    }
    .site-footer {
        justify-content: flex-start;
        gap: 0.25rem 1rem;
    }
    .site-footer > .release-label {
        text-align: left;
        flex-basis: 100%;
    }
}
@media (max-width: 360px) {
    .header-nav {
        max-width: 5rem;
    }
    .bid-price-control input {
        width: 100%;
    }
    .bid-reset {
        padding-inline: 0.25rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
