/* AccessPro marketing site (V2). Shares ink + teal with the app. */
:root {
    --ink: #13233a;
    --ink-2: #2b3d55;
    --teal: #0f7b6c;
    --teal-deep: #0b5f54;
    --teal-wash: #e3f1ee;
    --paper: #f4f6f3;
    --card: #ffffff;
    --line: #d9dfdc;
    --muted: #5b6b7f;
    --peg: #e8b33d;          /* survey-peg yellow: "reserved" plots only */
    --sold: #13233a;
    --open: #ffffff;
    --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
    --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --wrap: 1180px;
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, white); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--teal-wash); color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: .95rem; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; border-radius: 7px; background: var(--ink); }
.brand__mark i { border-radius: 1.5px; background: #fff; }
.brand__mark i:nth-child(2), .brand__mark i:nth-child(4), .brand__mark i:nth-child(9) { background: var(--teal); }
.brand__mark i:nth-child(6) { background: var(--peg); }
.nav { display: flex; gap: 6px; margin-left: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: #fff; }
.head-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.head-actions .signin { color: var(--ink); font-weight: 600; text-decoration: none; padding: 8px 10px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
    .nav, .head-actions { display: none; }
    .menu-btn { display: inline-flex; }
    .site-head.is-open .nav, .site-head.is-open .head-actions { display: flex; }
    .site-head.is-open .wrap { flex-wrap: wrap; height: auto; padding: 14px 0; }
    .site-head.is-open .nav { flex-direction: column; width: 100%; margin: 6px 0 0; }
    .site-head.is-open .head-actions { width: 100%; margin: 6px 0 4px; }
}

/* Hero */
.hero { padding: 72px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .lede { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: .95rem; color: var(--muted); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } }

/* Estate layout (hero visual) */
.estate { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 24px 60px -32px rgba(19, 35, 58, .35); }
.estate__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.estate__name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.estate__meta { font-size: .9rem; color: var(--muted); }
.estate__map { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.estate__road { grid-column: 1 / -1; height: 18px; border-radius: 3px; background: repeating-linear-gradient(90deg, #cfd6d2 0 14px, transparent 14px 24px) center / 100% 2px no-repeat, #eef1ef; }
.plot { aspect-ratio: 1 / 1.15; border-radius: 3px; border: 1.5px solid #c5ccc8; background: var(--open); position: relative; cursor: pointer; padding: 0; transition: transform .12s; }
.plot[data-s="sold"] { background: var(--sold); border-color: var(--sold); }
.plot[data-s="paying"] { background: var(--teal); border-color: var(--teal); }
.plot[data-s="reserved"] { background: var(--peg); border-color: var(--peg); }
.plot:hover, .plot:focus-visible, .plot.is-on { transform: scale(1.12); z-index: 2; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.estate__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .88rem; color: var(--ink-2); }
.estate__legend span { display: inline-flex; align-items: center; gap: 6px; }
.estate__legend i { width: 12px; height: 12px; border-radius: 2px; border: 1.5px solid #c5ccc8; display: inline-block; }
.estate__legend i.sold { background: var(--sold); border-color: var(--sold); }
.estate__legend i.paying { background: var(--teal); border-color: var(--teal); }
.estate__legend i.reserved { background: var(--peg); border-color: var(--peg); }
.estate__card { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-md); background: var(--paper); min-height: 74px; font-size: .95rem; }
.estate__card strong { font-family: var(--display); }
.estate__card .bar { height: 6px; background: #dfe5e2; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.estate__card .bar span { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
@media (prefers-reduced-motion: no-preference) {
    .estate.is-loading .plot { opacity: 0; }
    .estate .plot { transition: opacity .35s ease, transform .12s; }
}

/* Product frame */
.frame { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); padding: 10px 10px 0; box-shadow: 0 40px 80px -40px rgba(19, 35, 58, .5); }
.frame__bar { display: flex; gap: 6px; padding: 2px 6px 10px; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4d66; }
.frame img { border-radius: 8px 8px 0 0; width: 100%; height: auto; }
.showcase { margin-top: 72px; }

/* Sections */
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--ink { background: var(--ink); color: #e8edf3; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .muted { color: #a9b6c6; }
.section--white { background: #fff; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head p { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); }
.section--ink .section__head p { color: #c4cfdc; }

/* Problems → outcomes */
.fixes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.fix { padding: 28px 28px 8px 0; }
.fix + .fix { padding-left: 28px; border-left: 1px solid var(--line); }
.fix__before { font-size: .98rem; color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.fix h3 { margin: 10px 0 10px; }
.fix p { color: var(--ink-2); }
@media (max-width: 860px) { .fixes { grid-template-columns: 1fr; } .fix + .fix { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

/* Tour */
.tour { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.tour__tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
.tour__tab { text-align: left; background: none; border: 0; border-left: 3px solid #2f4460; padding: 14px 18px; color: #c4cfdc; font: inherit; cursor: pointer; }
.tour__tab strong { display: block; color: #fff; font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.tour__tab span { display: block; font-size: .93rem; margin-top: 2px; }
.tour__tab[aria-selected="true"] { border-left-color: var(--peg); background: rgba(255, 255, 255, .05); }
.tour__tab:hover { background: rgba(255, 255, 255, .04); }
.tour__panel[hidden] { display: none; }
.tour__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.tour__points li { list-style: none; color: #c4cfdc; font-size: .98rem; }
.tour__points strong { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.tour__points ul, ul.tour__points { padding: 0; margin: 26px 0 0; }
@media (max-width: 960px) {
    .tour { grid-template-columns: 1fr; gap: 24px; }
    .tour__tabs { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .tour__tab { border-left: 0; border-bottom: 3px solid #2f4460; flex: none; padding: 10px 14px; }
    .tour__tab span { display: none; }
    .tour__tab[aria-selected="true"] { border-bottom-color: var(--peg); }
    .tour__points { grid-template-columns: 1fr; }
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split--flip > :first-child { order: 2; }
.split ul { padding-left: 1.1em; margin: 20px 0 0; color: var(--ink-2); }
.split li + li { margin-top: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split--flip > :first-child { order: 0; } }

/* Company switcher mock */
.switcher { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 18px; max-width: 420px; margin-left: auto; box-shadow: 0 30px 60px -36px rgba(19, 35, 58, .6); }
.switcher__label { font-size: .85rem; color: #a9b6c6; padding: 4px 8px 10px; }
.switcher__row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; }
.switcher__row + .switcher__row { margin-top: 2px; }
.switcher__row.is-current { background: rgba(255, 255, 255, .08); }
.switcher__badge { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; }
.switcher__row small { display: block; color: #a9b6c6; font-size: .85rem; }
.switcher__tick { margin-left: auto; color: var(--peg); font-weight: 700; }

/* Works with */
.works { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.works__item { padding: 24px 22px; }
.works__item + .works__item { border-left: 1px solid var(--line); }
.works__item h3 { font-size: 1.05rem; }
.works__item p { font-size: .95rem; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 960px) { .works { grid-template-columns: 1fr 1fr; } .works__item + .works__item { border-left: 0; } .works__item { border-top: 1px solid var(--line); } .works__item:nth-child(-n+2) { border-top: 0; } .works__item:nth-child(even) { border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .works { grid-template-columns: 1fr; } .works__item:nth-child(even) { border-left: 0; } .works__item:nth-child(2) { border-top: 1px solid var(--line); } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--teal); position: relative; }
.plan__flag { position: absolute; top: -13px; left: 26px; background: var(--teal); color: #fff; font-size: .82rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.plan__desc { color: var(--ink-2); margin-top: 6px; font-size: .98rem; min-height: 3em; }
.plan__price { font-family: var(--display); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; margin-top: 18px; }
.plan__price small { font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: .98rem; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* CTA + footer */
.cta { background: var(--teal); color: #fff; border-radius: var(--r-lg); padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; color: #d6efea; font-size: 1.1rem; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 36px 24px; } }
.site-foot { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 104px; font-size: .95rem; }
.site-foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.site-foot h4 { margin: 0 0 12px; font-size: .95rem; font-family: var(--body); color: var(--ink); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--teal); text-decoration: underline; }
.site-foot__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); }
@media (max-width: 760px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } .site-foot__grid > :first-child { grid-column: 1 / -1; } }

/* Inner pages */
.page-head { padding: 72px 0 48px; }
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.page-head .lede { margin-top: 18px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose p, .prose ul { color: var(--ink-2); margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: .98rem; }
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 20%, transparent); }
.form .error { color: #b42318; font-size: .9rem; margin-top: 4px; }
.notice { padding: 14px 16px; border-radius: var(--r-md); background: var(--teal-wash); color: var(--teal-deep); font-weight: 500; margin-bottom: 20px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; font-size: .98rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.table-scroll { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: #e9eeeb; padding: 2px 6px; border-radius: 4px; }
pre.code-block { background: var(--ink); color: #dfe7f1; padding: 22px; border-radius: var(--r-md); overflow-x: auto; font-size: .9rem; line-height: 1.55; }

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