/* Warm palette for the Revenue Guarantee pages only (owner 2026-11-09: "too white"): cream page, warm-white cards,
   greys and lines tinted warm to match. */
body.pub{--ground:#FFFDF9;--rail:#F6F1E8;--chip:#EFE8DC;--chip-hover:#F2ECE2;--sunken:#FBF8F2;--line:#E8E1D4;--line-strong:#D6CDBD;
  --ink:#1D1B18;--ink-2:#433E37;--muted:#6B645A;background:#F8F4EC;}
/* /guarantee: layout for the Revenue Guarantee early-access page. Loads after public.css and uses only its tokens and type. */
html{scroll-behavior:smooth;}
section[id],form[id]{scroll-margin-top:16px;}

.top .right .btn{min-height:40px;padding:0 14px;font-size:14px;}


.g-hero h1{font-size:clamp(38px,6.4vw,60px);line-height:1.04;letter-spacing:-.02em;max-width:19ch;}
.g-check{display:flex;align-items:center;gap:6px;max-width:520px;padding:5px 5px 5px 0;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--ground);}
.g-check:focus-within{border-color:var(--house);box-shadow:0 0 0 3px var(--house-soft);}
.g-check .btn{flex:none;white-space:nowrap;}
.g-check input{flex:1;min-width:0;font-size:16px;min-height:44px;padding:0 12px;border:0;background:transparent;color:var(--ink);text-overflow:ellipsis;}
.g-check input:focus{outline:none;}
.g-herr{margin-top:10px;max-width:520px;}

.g-hero .sample .ph{aspect-ratio:16/9;}
.g-caphead{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
.g-tag{display:inline-block;font-family:'Geist',sans-serif;font-size:12px;font-weight:600;line-height:1.3;color:var(--ink-2);background:var(--chip);padding:3px 9px;border-radius:999px;white-space:nowrap;}
.g-tag.g-soon{color:var(--caution);background:var(--caution-soft);}
.g-row{border-top:1px solid var(--line);padding-top:10px;display:flex;flex-direction:column;gap:4px;}
.g-rowhead{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;font-weight:600;color:var(--ink-2);}
.g-short{color:var(--caution);}
.g-clear{color:var(--worth-deep);}
.g-nums{display:flex;gap:22px;font-size:13px;color:var(--muted);}
.sample .cap .g-nums b{font-family:'Newsreader',Georgia,serif;font-size:26px;font-weight:400;color:var(--ink);font-variant-numeric:tabular-nums;}
.sample .cap .g-nums b.w{color:var(--worth);}
.g-badge{align-self:flex-start;font-size:13px;font-weight:600;color:var(--worth-deep);background:var(--worth-soft);padding:6px 12px;border-radius:999px;}

.g-strip{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:14px;font-size:15px;color:var(--ink-2);}
.g-strip b{color:var(--ink);font-weight:600;}

.g-how ol{grid-template-columns:1fr;}
.g-how .n{display:flex;align-items:center;gap:8px;}

.g-sec{padding:40px 0;border-top:1px solid var(--line);}
.g-sec h2{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:clamp(28px,5vw,38px);line-height:1.12;letter-spacing:-.01em;margin:14px 0 12px;}
.g-sec p{color:var(--ink-2);margin:0;}
.g-split{display:grid;gap:24px;}
.g-card{border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;background:var(--ground);display:flex;flex-direction:column;gap:12px;}
.g-card b{font-weight:600;}
.g-list{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:15px;color:var(--ink-2);}
.g-list li{padding-left:24px;position:relative;}
.g-list li::before{content:"";position:absolute;left:3px;top:6px;width:10px;height:5px;border-left:2px solid var(--worth);border-bottom:2px solid var(--worth);transform:rotate(-45deg);}


.field select{font-size:16px;padding:13px 14px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--ground);color:var(--ink);width:100%;font-family:inherit;}
.field select:focus{outline:none;border-color:var(--house);box-shadow:0 0 0 3px var(--house-soft);}
.g-interests{border:0;margin:0;padding:0;display:grid;gap:8px;}
.g-interests legend{font-size:13px;font-weight:600;padding:0;margin-bottom:6px;}


.g-faqwrap{display:grid;gap:20px;}
.g-faqside p{color:var(--ink-2);margin:0;}
.g-faq{border-top:1px solid var(--line-strong);}
.g-q{border-bottom:1px solid var(--line);}
.g-q summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 2px;font-size:17px;font-weight:600;}
.g-q summary::-webkit-details-marker{display:none;}
.g-q summary::after{content:"+";flex:none;font-size:22px;font-weight:400;line-height:1;color:var(--worth);}
.g-q[open] summary::after{content:"\2212";}
.g-q summary:focus-visible{outline:2px solid var(--house);outline-offset:2px;border-radius:4px;}
.g-q p{margin:0;padding:0 32px 20px 2px;color:var(--ink-2);max-width:62ch;}


.foot .g-legal{display:block;margin-bottom:12px;}

.g-inline{display:grid;gap:8px;}
.g-inline input{font-size:16px;min-height:48px;padding:0 14px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--ground);color:var(--ink);width:100%;}
.g-inline input:focus{outline:none;border-color:var(--house);box-shadow:0 0 0 3px var(--house-soft);}
.g-agentform{max-width:520px;}
.g-float{position:fixed;right:16px;bottom:16px;z-index:20;box-shadow:0 2px 12px rgba(0,0,0,.25);}

.top .pw{flex-wrap:wrap;}
.g-tabs{order:3;width:100%;display:flex;gap:2px;}
.g-tabs .link{padding:6px 8px;}
.g-tabs .link[aria-current="page"]{background:var(--chip);color:var(--ink);}
.g-page{padding:32px 0 28px;}
.g-page h1{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:clamp(34px,6vw,50px);line-height:1.08;letter-spacing:-.02em;margin:14px 0;max-width:20ch;}
.g-page .sub{font-size:clamp(17px,2.6vw,20px);color:var(--ink-2);margin:0 0 22px;max-width:34em;}
.g-steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:18px;}
.g-steps li{counter-increment:s;display:flex;flex-direction:column;gap:2px;}
.g-steps li::before{content:counter(s);font-family:'Geist Mono',monospace;font-size:13px;color:var(--worth);}
.g-steps span,.g-terms span{font-size:15px;color:var(--ink-2);}
.g-terms{list-style:none;margin:0;padding:0;display:grid;gap:14px;}
.g-terms li{display:flex;flex-direction:column;}
.g-steps b,.g-terms b{font-weight:600;}
.g-planhead{text-align:center;}
.g-planhead h1,.g-planhead .sub{margin-left:auto;margin-right:auto;}
.g-planhead h1{max-width:16ch;}
.g-plantable{padding:0 0 56px;}
.g-table{width:100%;border-collapse:collapse;font-size:15px;table-layout:fixed;}
.g-table th,.g-table td{padding:13px 16px;border-bottom:1px solid var(--line);text-align:center;vertical-align:middle;}
.g-table thead th{vertical-align:bottom;border-bottom:1px solid var(--line-strong);padding-top:20px;padding-bottom:20px;font-weight:400;}
.g-table thead .g-corner{text-align:left;font-size:13px;font-weight:600;color:var(--muted);width:30%;}
.g-table tbody th{text-align:left;font-weight:400;color:var(--ink);}
.g-table .g-group th{padding:26px 16px 8px;font-size:13px;font-weight:600;color:var(--muted);border-bottom:1px solid var(--line-strong);}
.g-table .g-group th{background:transparent;}
.g-table b{font-weight:600;}
.g-table .g-pop{background:var(--worth-soft);}
.g-table thead .g-pop{border-radius:var(--r-md) var(--r-md) 0 0;}
.g-ph{display:flex;flex-direction:column;align-items:center;gap:2px;}
.g-pn{font-family:'Newsreader',Georgia,serif;font-size:24px;line-height:1.15;color:var(--ink);}
.g-pw{font-size:13px;color:var(--muted);min-height:2.6em;}
.g-pp{font-family:'Newsreader',Georgia,serif;font-size:34px;line-height:1.1;color:var(--ink);margin-top:10px;letter-spacing:-.01em;}
.g-pu{font-size:13px;color:var(--muted);margin-bottom:14px;}
.g-ph .btn{width:100%;max-width:180px;}
.g-table thead th{position:relative;padding-top:44px;}
.g-popular{position:absolute;top:12px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;font-weight:600;color:#FFF;background:var(--worth);padding:3px 10px;border-radius:999px;}
.g-yes{color:var(--worth);font-weight:600;font-size:16px;}
.g-no{color:var(--line-strong);}
.g-opt{font-size:13px;color:var(--muted);}
.g-planfine{text-align:center;margin-top:16px;}

@media (max-width:639px){
  .g-table{table-layout:auto;font-size:14px;}
  .g-table,.g-table thead,.g-table tbody{display:block;}
  .g-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
  .g-table thead .g-corner{display:none;}
  .g-table tbody th{grid-column:1/-1;padding:12px 4px 2px;border-bottom:0;}
  .g-table .g-group th{padding:24px 4px 6px;}
  .g-table th,.g-table td{padding-left:4px;padding-right:4px;}
  .g-table thead th{padding-top:14px;padding-bottom:14px;}
  .g-table thead th{padding-top:40px;}
  .g-pn{font-size:18px;min-height:2.3em;display:flex;align-items:flex-end;}
  .g-pw{font-size:12px;min-height:3.9em;}
  .g-pp{font-size:22px;}
  .g-pu{font-size:12px;}
  .g-ph .btn{font-size:13px;padding:0 4px;}
}

@media (min-width:640px){
  .g-how ol{grid-template-columns:repeat(2,1fr);}
}
@media (min-width:860px){
  .g-tabs{order:0;width:auto;margin-left:24px;}
  .g-steps{grid-template-columns:repeat(4,1fr);gap:24px;}
  .g-terms{grid-template-columns:repeat(3,1fr);gap:24px;}
  .g-strip{grid-template-columns:repeat(3,1fr);gap:28px;padding-bottom:36px;}
  .g-split{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;align-items:center;}
  .g-faqwrap{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:48px;align-items:start;}
}
@media (min-width:1100px){
  .g-how ol{grid-template-columns:repeat(4,1fr);gap:24px;}
}
@media (max-width:480px){
  .top .pw{gap:6px;}
  .g-check{flex-direction:column;align-items:stretch;padding:5px;}
  .g-check .btn{width:100%;}
  .g-float{left:16px;}
  body.has-float{padding-bottom:80px;}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

/* The hero graphic: a signed target over who pays when a home misses */
.g-pledge{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:40px 24px 32px;}
.g-pl-ex{position:absolute;top:14px;right:14px;}
.g-seal{width:64px;height:64px;}
.g-pl-g{margin-top:14px;font-size:15px;font-weight:600;color:var(--worth);}
.g-pl-v{font-family:'Newsreader',Georgia,serif;font-size:clamp(56px,10vw,76px);line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:4px 0 6px;}
.g-pl-k{font-size:15px;color:var(--ink-2);}
.g-pl-miss{text-wrap:balance;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);width:100%;font-size:16px;font-weight:500;color:var(--ink);}
.g-cap{display:block;font-weight:400;}
.g-start{max-width:480px;margin:0 auto;padding:48px 0 72px;}
.g-start h1{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:clamp(36px,6vw,48px);line-height:1.08;letter-spacing:-.02em;margin:0 0 10px;}
.g-start .sub{font-size:18px;color:var(--ink-2);margin:0 0 28px;}
.g-startform{display:grid;gap:16px;background:var(--ground);border:1px solid var(--line);border-radius:var(--r-lg);padding:24px;}
.g-startform .fine{margin:0;text-align:center;}
.g-startdone{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;background:var(--ground);border:1px solid var(--line);border-radius:var(--r-lg);padding:36px 24px;}
.g-startdone[hidden]{display:none;}
.g-tease{display:flex;flex-direction:column;align-items:center;gap:2px;margin:0 0 16px;padding:18px;border:1px dashed var(--line-strong);border-radius:var(--r-lg);color:var(--muted);font-size:13px;}
.g-tease b{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:40px;line-height:1.1;color:var(--ink);letter-spacing:.02em;}
.g-have{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--ink);}
.g-have[hidden]{display:none;}
.g-have svg{width:20px;height:20px;flex:none;}
.g-have span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.g-have a{font-size:14px;color:var(--muted);}
.field[hidden]{display:none;}
.g-startdone h2{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:30px;margin:12px 0 0;}
.g-startdone p{margin:0;color:var(--ink-2);}
/* The one highlighted word in the home headline (owner 2026-11-09): a highlighter stroke behind it, not a colour change. */
.g-hl{white-space:nowrap;color:inherit;background:linear-gradient(transparent 52%, #b5d8c1 52%, #b5d8c1 92%, transparent 92%);padding:0 .06em;margin:0 -.06em;
  -webkit-box-decoration-break:clone;box-decoration-break:clone;}
.g-what{display:block;margin-top:10px;font-size:.84em;line-height:1.5;color:var(--muted);max-width:40em;}

/* the front page's showcase (owner 2026-11-22): the owner's own pool deck, the plan's picture with today inset */
.g-show{margin:0;}
.g-show-ph{position:relative;border-radius:14px;overflow:hidden;}
.g-show-ph img{display:block;width:100%;height:auto;}
.g-show-ph .g-show-today{position:absolute;right:10px;bottom:10px;width:36%;border:2px solid oklch(98% .005 90);border-radius:8px;}
.g-show-lab{position:absolute;left:10px;top:10px;font-size:12px;font-weight:600;color:var(--ink);background:oklch(98% .005 90 / .9);padding:3px 9px;border-radius:999px;}
.g-show-lab-today{left:auto;top:auto;right:16px;bottom:calc(10px + 36% * 684 / 1024 - 4px);}
.g-show .cap{display:flex;flex-direction:column;gap:8px;padding-top:12px;}
.g-show-line{font-size:14px;color:var(--ink);}
.g-show .g-nums span{display:flex;flex-direction:column;gap:2px;}

/* what is in the showcase picture (owner 2026-11-22) */
.g-pin{position:absolute;transform:translate(-6px,-50%);display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--ink);background:oklch(98% .005 90 / .92);padding:3px 9px 3px 4px;border-radius:999px;white-space:nowrap;box-shadow:0 1px 4px oklch(20% .01 165 / .25);}
.g-pin i{width:10px;height:10px;border-radius:50%;background:var(--worth, #2f6b4f);box-shadow:0 0 0 3px oklch(98% .005 90 / .6);}

/* how the numbers are made (owner 2026-11-22: same look as the rest of the page, plain words) */
.g-method{padding:56px 0 8px;border-top:1px solid var(--line);margin-top:40px;}
.g-method h2{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:clamp(30px,4vw,40px);line-height:1.1;margin:0 0 10px;color:var(--ink);}
.g-m-lede{max-width:62ch;color:var(--ink-2);font-size:16px;line-height:1.55;margin:0 0 24px;}
.g-m-spec{margin:0;border-top:1px solid var(--line);}
.g-m-spec div{display:grid;grid-template-columns:1fr;gap:2px;padding:14px 0;border-bottom:1px solid var(--line);}
.g-m-spec dt{font-size:14px;font-weight:600;color:var(--ink);}
.g-m-spec dd{margin:0;font-size:15px;line-height:1.5;color:var(--ink-2);max-width:68ch;}
.g-m-spec b{color:var(--worth-deep, #24553e);font-weight:600;}
@media (min-width:760px){.g-m-spec div{grid-template-columns:200px 1fr;gap:24px;}}

/* the simulation inside "Design, priced." (web/js/howsim.js); phases 1-4 set on #howSim[data-phase] */
.hs{margin:8px 0 32px;border:1px solid var(--line);border-radius:16px;background:var(--ground);padding:20px;}
.hs-stage{display:grid;gap:20px;}
@media (min-width:900px){.hs-stage{grid-template-columns:1.25fr 1fr;align-items:end;}}
.hs-bars{display:flex;align-items:flex-end;gap:2px;height:220px;border-bottom:1px solid var(--line-strong);}
.hs-bar{flex:1;height:0;background:var(--line-strong);border-radius:2px 2px 0 0;transition:height .9s cubic-bezier(.22,1,.36,1) var(--d,0ms),background-color .5s,opacity .5s;}
.hs:not([data-phase="0"]) .hs-bar{height:var(--h);}
.hs-bar.hs-me{background:var(--ink);transition-delay:0ms;transition-property:background-color,opacity;}
.hs:is([data-phase="2"],[data-phase="3"],[data-phase="4"]) .hs-bar.hs-top{background:var(--worth);}
.hs:is([data-phase="2"],[data-phase="3"],[data-phase="4"]) .hs-bar.hs-low{background:var(--caution);}
.hs:is([data-phase="3"],[data-phase="4"]) .hs-bar:not(.hs-me){opacity:.35;}
.hs[data-phase="4"] .hs-bar.hs-me{background:var(--worth-deep);box-shadow:0 0 0 3px var(--worth-soft);}
.hs-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;font-size:13px;color:var(--muted);}
.hs-k::before{content:"";display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px;background:var(--line-strong);}
.hs-k-top::before{background:var(--worth);}.hs-k-low::before{background:var(--caution);}.hs-k-me::before{background:var(--ink);}
.hs-rooms{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px;}
.hs-rooms li{display:grid;grid-template-columns:1fr auto;gap:2px 10px;opacity:0;transform:translateY(6px);transition:opacity .5s var(--d,0ms),transform .5s cubic-bezier(.22,1,.36,1) var(--d,0ms);}
.hs:is([data-phase="3"],[data-phase="4"]) .hs-rooms li{opacity:1;transform:none;}
.hs-rn{font-size:14px;font-weight:600;color:var(--ink);}
.hs-meter{grid-column:1;height:6px;border-radius:3px;background:var(--chip);overflow:hidden;}
.hs-meter i{display:block;height:100%;width:0;background:var(--caution);border-radius:3px;transition:width .9s cubic-bezier(.22,1,.36,1) calc(var(--d,0ms) + 200ms);}
.hs:is([data-phase="3"],[data-phase="4"]) .hs-meter i{width:var(--w);}
.hs-rv{grid-column:1;font-size:12.5px;color:var(--muted);}
.hs-add{grid-column:2;grid-row:1 / span 3;align-self:center;font-size:13px;font-weight:600;color:var(--worth-deep);background:var(--worth-soft);padding:4px 9px;border-radius:999px;opacity:0;transform:scale(.9);transition:opacity .4s var(--d,0ms),transform .4s cubic-bezier(.22,1,.36,1) var(--d,0ms);}
.hs[data-phase="4"] .hs-add{opacity:1;transform:none;}
.hs-result{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 12px;border-top:1px solid var(--line);padding-top:14px;}
.hs-lab{grid-column:1 / -1;font-size:13px;color:var(--muted);}
.hs-money{font-family:'Newsreader',Georgia,serif;font-weight:400;font-size:40px;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums;transition:color .4s;}
.hs[data-phase="4"] .hs-money{color:var(--worth);}
.hs-rank{font-size:15px;color:var(--ink-2);font-variant-numeric:tabular-nums;}
.hs-note{grid-column:1 / -1;font-size:12.5px;color:var(--muted);opacity:0;transition:opacity .4s;}
.hs[data-phase="4"] .hs-note{opacity:1;}
.hs figcaption{display:flex;flex-direction:column;gap:8px;margin-top:16px;}
.hs-cap{margin:0;min-height:1.5em;font-size:16px;color:var(--ink);}
.hs-foot{display:flex;gap:14px;align-items:center;font-size:12.5px;color:var(--muted);}
.hs-replay{font:inherit;font-size:13px;font-weight:600;color:var(--worth-deep);background:none;border:1px solid var(--line-strong);border-radius:999px;padding:4px 12px;cursor:pointer;}
.hs-replay:hover{background:var(--worth-soft);}
@media (prefers-reduced-motion:reduce){.hs *{transition:none !important;}}
.g-show-note{font-size:12.5px;color:var(--muted);}
/* phone (owner 2026-11-22: "make it work for mobile too"): the rooms are shown dim before their turn, so the
   simulation never opens on an empty box; the picture's tags are smaller */
.hs-rooms li{opacity:.28;transform:none;}
@media (max-width:600px){
  .hs{padding:14px;}
  .hs-bars{height:160px;gap:1px;}
  .hs-money{font-size:34px;}
  .g-pin,.g-show-lab{font-size:11px;padding:2px 7px 2px 3px;}
  .g-show-lab{padding:2px 7px;}
  .g-pin i{width:8px;height:8px;}
  .g-show-ph .g-show-today{width:38%;}
}
