/* ---- Phoenix demo bar (shared by every concept; not part of the template) ---- */
:root { --phx-h: 2.25rem; }
@media (max-width: 40rem) { :root { --phx-h: 3.5rem; } }
.phx-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--phx-h);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 0 1rem; background: #111; color: #f2f2f2;
  font: 500 .78rem/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .01em;
}
.phx-bar p { margin: 0; }
.phx-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.phx-bar a:hover { text-decoration-thickness: 2px; }
.phx-bar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
.phx-bar__tag { display: none; }
.phx-bar__sep { opacity: .6; margin: 0 .25rem; }
.phx-bar__back { white-space: nowrap; opacity: .85; }
@media (max-width: 40rem) {
  .phx-bar { align-items: center; font-size: .7rem; line-height: 1.25; }
  .phx-bar__msg { max-width: 68%; }
}

/* ===== Invest · Concept B · Elevation (was "Blueprint") =====
   Archivo only (variable width: expanded headlines, condensed labels) · limestone, slate, verdigris
   Architectural feel from line drawings, measured rules with diagonal ticks, arched photo frame
   and a faint limestone texture. Deliberately NOT like phoenixhosting.co: no grid pattern, no
   monospace labels, no navy/amber, no boxed feature cards, no drawing title block. */
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-latin-standard-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --paper: #f8f6f1; --stone: #ece7de; --stone-2: #ddd5c8; --ink: #22262b; --muted: #585e66; --rule: #cbc3b5;
  --green: #2e6a5b; --green-2: #22524a; --green-soft: #dde8e3;
  --sans: "Archivo", system-ui, sans-serif;
  --crisp: cubic-bezier(.65, 0, .35, 1);
  --header-h: 4.5rem;
  /* limestone: fine grain + soft cloudy mottling, both generated in-browser (no image files) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .33 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --mottle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--phx-h) + var(--header-h)); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--phx-h); background: var(--paper); color: var(--ink); font: 400 1.05rem/1.62 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
.i { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; position: relative; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1100; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: calc(var(--phx-h) + .5rem); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.stone { background-color: var(--stone); background-image: var(--grain), var(--mottle); }

/* Kicker: Roman numeral + condensed label (no monospace, no dash prefix) */
.kicker { display: flex; align-items: baseline; gap: .75rem; font: 600 1rem/1.2 var(--sans); font-stretch: 78%; color: var(--ink); }
.kicker__n { font: 300 1.6rem/1 var(--sans); font-stretch: 125%; color: var(--green); min-width: 1.5em; }
.label { font: 650 .8rem/1.3 var(--sans); font-stretch: 75%; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }

/* Measured rule: a dimension line with architect's diagonal ticks at each end */
.measure { position: relative; height: 1px; background: var(--ink); margin-block: 1.1rem 0; max-width: 100%; }
.measure::before, .measure::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: var(--ink); transform: rotate(45deg); }
.measure::before { left: 0; } .measure::after { right: 0; }
.reveal [data-reveal] .measure, .reveal .measure[data-reveal] { transform-origin: left; }
.reveal .sheet__head .measure { transform: scaleX(0); transition: transform 1.1s var(--crisp) .2s; }
.reveal .sheet__head.is-in .measure { transform: none; }

.btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--ink); color: #fff; font: 600 .95rem/1 var(--sans); font-stretch: 108%; padding: 1.05rem 1.45rem; border: 0; text-decoration: none; cursor: pointer; position: relative; transition: background .25s; }
.btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform: scaleX(.18); transform-origin: left; transition: transform .45s var(--crisp); }
.btn:hover { background: #111417; } .btn:hover::after { transform: scaleX(1); }
.btn--sm { padding: .7rem 1.05rem; font-size: .88rem; }
.text-link { font-weight: 600; color: var(--green-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Header */
.header { position: sticky; top: var(--phx-h); z-index: 50; background: rgba(248,246,241,.95); border-bottom: 1px solid var(--rule); }
.header__row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font: 760 1.02rem/1.1 var(--sans); font-stretch: 125%; text-transform: uppercase; letter-spacing: .01em; text-decoration: none; }
.brand__mark { width: 1.9rem; height: 1.9rem; color: var(--green); flex: none; }
.brand__demo { font: 400 .78rem var(--sans); font-stretch: 90%; text-transform: none; color: var(--muted); }
.nav { display: none; align-items: center; gap: 1.9rem; font: 550 .95rem var(--sans); font-stretch: 85%; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; align-items: center; gap: .6rem; background: transparent; border: 1px solid var(--ink); padding: .5rem .85rem; font: 600 .9rem var(--sans); font-stretch: 85%; color: var(--ink); cursor: pointer; }
.menu-btn__plus { width: .7rem; height: .7rem; position: relative; }
.menu-btn__plus::before, .menu-btn__plus::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: 1.5px; background: currentColor; transition: transform .3s var(--crisp); }
.menu-btn__plus::after { transform: rotate(90deg); }
.menu-btn[aria-expanded="true"] .menu-btn__plus::after { transform: rotate(0); }
.site-nav { display: grid; padding: 0 1.25rem 1rem; background: var(--paper); }
.site-nav a { display: grid; grid-template-columns: 3rem 1fr; padding: .9rem 0; border-top: 1px solid var(--rule); font: 650 1.25rem var(--sans); font-stretch: 112%; text-decoration: none; }
.site-nav span { font: 300 1.1rem var(--sans); font-stretch: 125%; color: var(--green); align-self: center; }
.js .site-nav { position: absolute; left: 0; right: 0; top: 100%; border-bottom: 1px solid var(--ink); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--crisp), visibility 0s .45s; }
.js .site-nav[data-open="true"] { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--crisp), visibility 0s; }
@media (min-width: 72rem) { .nav { display: flex; } .site-nav { display: none !important; } }
@media (max-width: 71.99rem) { .js .menu-btn { display: inline-flex; } }

/* Hero */
.hero { padding-block: 3rem 3.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; align-items: center; }
@media (min-width: 60rem) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4.5rem; } .hero { padding-block: 4.5rem 5rem; } }
.hero__title { font: 800 clamp(1.9rem, .9rem + 4.2vw, 3.3rem)/1 var(--sans); font-stretch: 118%; letter-spacing: -.03em; text-transform: uppercase; margin-top: 1.4rem; text-wrap: balance; hyphens: manual; }
@media (min-width: 60rem) { .hero__title { font-size: clamp(2.9rem, .6rem + 3.3vw, 4rem); } }
.hero__lead { margin-top: 1.6rem; font-size: 1.12rem; color: var(--muted); max-width: 34rem; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

.drawing { padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2.25rem) 1.25rem; position: relative; }
.drawing svg { width: 100%; height: auto; display: block; overflow: visible; }
.d-main path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.d-fine path { fill: none; stroke: var(--ink); stroke-width: .8; stroke-opacity: .7; }
.d-hatch path { fill: none; stroke: var(--ink); stroke-width: .7; stroke-opacity: .45; }
.d-dim path { fill: none; stroke: var(--green); stroke-width: 1; }
.d-text text { font: 600 11px var(--sans); font-stretch: 80%; fill: var(--green); letter-spacing: .06em; text-anchor: middle; }
.drawing__cap { margin-top: 1rem; font-size: .88rem; font-style: italic; color: var(--muted); }

/* Risk */
.risk { padding-block: 0 2.5rem; }
.risk__box { display: grid; gap: .5rem; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
@media (min-width: 60rem) { .risk__box { grid-template-columns: 20rem 1fr; gap: 2rem; align-items: baseline; } }
.risk__box h2 { font: 700 1rem/1.3 var(--sans); font-stretch: 80%; text-transform: uppercase; letter-spacing: .03em; }

/* Sections */
.sheet { padding-block: 5rem; }
.sheet__head { display: grid; gap: .6rem; }
.h2 { font: 780 clamp(2rem, 1.2rem + 3vw, 3.3rem)/1 var(--sans); font-stretch: 122%; letter-spacing: -.03em; text-transform: uppercase; margin-top: .6rem; text-wrap: balance; }
.how { display: grid; gap: 3rem; margin-top: 3rem; }
@media (min-width: 60rem) { .how { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 4.5rem; align-items: end; } }
.steps { counter-reset: s; }
.steps li { display: grid; grid-template-columns: 5rem 1fr; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.steps li:first-child { padding-top: .5rem; }
.steps__n { font: 250 3.2rem/1 var(--sans); font-stretch: 125%; color: var(--green); letter-spacing: -.02em; }
.steps h3 { font: 700 1.45rem/1.15 var(--sans); font-stretch: 105%; }
.steps p { color: var(--muted); margin-top: .4rem; }
/* Arched frame: like a Georgian window head */
.arch { position: relative; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0 / 38% 38% 0 0; }
.arch::after { content: ""; position: absolute; inset: -10px -10px auto; aspect-ratio: 4 / 5; border: 1px solid var(--ink); border-bottom: 0; border-radius: 999px 999px 0 0 / 38% 38% 0 0; pointer-events: none; }
.arch figcaption { font-size: .88rem; font-style: italic; color: var(--muted); margin-top: 1.4rem; padding-top: .8rem; border-top: 1px solid var(--ink); }

.two { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .two { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4.5rem; align-items: start; } }
.lead { margin-top: 1.4rem; font-size: 1.1rem; color: var(--muted); max-width: 32rem; }
.publisher { margin-top: 2rem; font-size: .84rem; line-height: 1.55; color: var(--muted); max-width: 32rem; padding-left: 1rem; border-left: 2px solid var(--rule); }
.fee { margin-top: 2rem; padding: 1.3rem 1.4rem; background: var(--paper); border-left: 4px solid var(--green); }
.fee__line { font: 680 1.2rem/1.35 var(--sans); font-stretch: 104%; margin-top: .4rem; }
.fee__terms { color: var(--muted); font-size: .92rem; margin-top: .5rem; }

/* Forms: plain white sheet with a heavy slate head rule and underlined fields */
.form { background: #fff; border-top: 5px solid var(--ink); box-shadow: 0 1px 0 var(--rule), 0 24px 40px -28px rgba(34,38,43,.35); }
.form__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem 0; }
.form__head p { font: 760 1.15rem/1.2 var(--sans); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
.form__head span { font: 300 1.3rem/1 var(--sans); font-stretch: 125%; color: var(--green); }
.form__body { display: grid; gap: 1.25rem; padding: 1.5rem; }
@media (min-width: 40rem) { .form__head { padding: 1.6rem 2rem 0; } .form__body { padding: 1.6rem 2rem 2rem; } }
.row { display: grid; gap: 1.25rem; }
@media (min-width: 36rem) { .row { grid-template-columns: 1fr 1fr; } }
fieldset { display: grid; gap: 1.25rem; }
legend { font: 650 .8rem/1.3 var(--sans); font-stretch: 75%; letter-spacing: .04em; text-transform: uppercase; color: var(--green); padding-bottom: .45rem; margin-bottom: .2rem; border-bottom: 1px solid var(--rule); width: 100%; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: var(--paper); border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: .8rem .9rem; resize: vertical; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; background: #fff; }
.form__privacy { font-size: .85rem; color: var(--muted); }
.form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { font-size: .9rem; font-weight: 600; border-left: 4px solid var(--green); color: var(--green-2); padding: .8rem 1rem; background: var(--green-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.addon-slot { margin-block: 3rem; padding: 1rem 1.25rem; border: 1px dashed var(--rule); font-size: .9rem; color: var(--muted); }
.addon-slot .label { margin-right: .5rem; }

.spec { margin-top: 2rem; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 5.5rem 1fr; padding: .9rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.spec dt { font: 650 .8rem var(--sans); font-stretch: 75%; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.spec dd a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.spec dd a:hover { text-decoration: underline; text-underline-offset: 4px; }

.info { padding-block: 2.5rem; border-top: 1px solid var(--rule); }
.info__box { display: grid; gap: .6rem; font-size: .92rem; color: var(--muted); }
.info__box h2 { font: 700 1rem/1.3 var(--sans); font-stretch: 80%; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.info__box p:last-child { color: var(--ink); }

/* Footer: large expanded wordmark, then plain columns */
.footer { padding-block: 3.5rem 2.5rem; background: var(--ink); color: #e9e5dd; }
.footer a { color: #fff; }
.footer__mark { font: 800 clamp(2rem, 1rem + 5vw, 5.5rem)/.95 var(--sans); font-stretch: 125%; letter-spacing: -.04em; text-transform: uppercase; overflow-wrap: break-word; }
.footer__mark span { display: block; font: 400 1rem/1.4 var(--sans); font-stretch: 100%; letter-spacing: 0; text-transform: none; color: #b9b4aa; margin-top: .6rem; }
.footer .measure { background: #7d8187; margin-block: 2rem; } .footer .measure::before, .footer .measure::after { background: #7d8187; }
.footer__cols { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer__cols { grid-template-columns: 1fr 1fr 2fr; gap: 3rem; } }
.footer__cols h2 { font: 650 .8rem/1.3 var(--sans); font-stretch: 75%; letter-spacing: .04em; text-transform: uppercase; color: #9fc7b9; margin-bottom: .6rem; }
.footer__cols ul { display: grid; gap: .35rem; font-size: .95rem; }
.footer__cols p { font-size: .9rem; color: #c8c4bb; }
.footer__cols a { text-decoration: none; overflow-wrap: anywhere; } .footer__cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #3c4148; font-size: .82rem; color: #b9b4aa; }

/* Reveal: crisp rise; the elevation draws itself */
.reveal [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--crisp), transform .6s var(--crisp); }
.reveal [data-reveal].is-in { opacity: 1; transform: none; }
.reveal [data-reveal="draw"] { opacity: 1; transform: none; }
.reveal .drawing .d-main path, .reveal .drawing .d-dim path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--crisp); }
.reveal .drawing .d-main path:nth-child(2) { transition-delay: .25s; } .reveal .drawing .d-main path:nth-child(3) { transition-delay: .6s; }
.reveal .drawing .d-main path:nth-child(4) { transition-delay: .8s; } .reveal .drawing .d-main path:nth-child(5) { transition-delay: 1s; } .reveal .drawing .d-main path:nth-child(6) { transition-delay: 1.15s; }
.reveal .drawing .d-dim path { transition-delay: 1.5s; }
.reveal .drawing .d-fine, .reveal .drawing .d-hatch, .reveal .drawing .d-text { opacity: 0; transition: opacity .8s 1.6s; }
.reveal .drawing.is-in .d-main path, .reveal .drawing.is-in .d-dim path { stroke-dashoffset: 0; }
.reveal .drawing.is-in .d-fine, .reveal .drawing.is-in .d-hatch, .reveal .drawing.is-in .d-text { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal [data-reveal] { opacity: 1; transform: none; }
  .reveal .sheet__head .measure { transform: none; }
  .reveal .drawing .d-main path, .reveal .drawing .d-dim path { stroke-dashoffset: 0; }
  .reveal .drawing .d-fine, .reveal .drawing .d-hatch, .reveal .drawing .d-text { opacity: 1; }
}
@media (max-width: 30rem) { .brand { font-size: .84rem; } .brand__mark { width: 1.5rem; height: 1.5rem; } }
