/* Commercial Insights Group
   Ink and brass. Borrowed from the drawings fit-out firms read every day:
   solid lines for what is on record, dashed for what is estimated. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations"), url("../fonts/archivo-wdth.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0e1630;
  --surface: #131d3d;
  --surface-2: #18234a;
  --line: #25315a;
  --line-soft: rgba(151, 163, 187, .13);
  --text: #eef1f6;
  --muted: #97a3bb;
  --accent: #cda75e;
  --accent-hi: #ddb977;
  --accent-text: #d8b671;
  --accent-tint: rgba(205, 167, 94, .10);
  --on-accent: #0e1630;
  --danger: #f29393;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --section: clamp(72px, 9vw, 128px);
  color-scheme: dark;
}

.sheet {
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #e9edf4;
  --line: #d6dce7;
  --line-soft: rgba(17, 26, 53, .08);
  --text: #111a35;
  --muted: #4e5a75;
  --accent-text: #7a5b22;
  --accent-tint: rgba(205, 167, 94, .16);
  color-scheme: light;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 600; text-wrap: balance; }
p, li, dd { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type scale */
.display { font-size: clamp(2.4rem, 1.3rem + 3.7vw, 4.1rem); line-height: 1.03; letter-spacing: -.026em; font-weight: 620; font-stretch: 114%; }
.h1 { font-size: clamp(2.2rem, 1.4rem + 2.9vw, 3.6rem); line-height: 1.04; letter-spacing: -.024em; font-weight: 620; font-stretch: 114%; }
.h2 { font-size: clamp(1.85rem, 1.2rem + 2.1vw, 2.9rem); line-height: 1.07; letter-spacing: -.02em; font-weight: 610; font-stretch: 112%; }
.h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.008em; font-weight: 600; font-stretch: 106%; }
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 37em; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent);
  font: inherit; font-size: 15.5px; font-weight: 600; font-stretch: 106%; letter-spacing: .004em;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--on-accent); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line); }
.btn-quiet:hover { background: transparent; border-color: var(--muted); color: var(--text); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 14px; }
.btn-xs { min-height: 30px; padding: 0 11px; font-size: 13px; font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 22, 48, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner { display: flex; align-items: center; gap: 36px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 600; font-stretch: 112%; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a, .actions .signin { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"], .actions .signin:hover { color: var(--text); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.actions { display: flex; align-items: center; gap: 20px; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; content: ""; transition: transform .2s; }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: fixed; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; display: grid; gap: 4px; }
.menu-panel a { color: var(--text); text-decoration: none; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.menu-panel .btn { margin-top: 14px; color: var(--on-accent); border-bottom: 0; }
.menu-panel a[aria-current="page"] { color: var(--accent-text); }

/* Sections */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 18px; }
.rule-top { border-top: 1px solid var(--line); }

/* Hero */
.hero { position: relative; padding: clamp(44px, 6vw, 92px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 80px 80px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 0%, transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero .lead { margin-top: 26px; }
.hero .btn-row { margin-top: 34px; }
.titleblock { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, auto); margin-top: 44px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.titleblock > div { padding: 12px 20px 13px; min-width: 0; }
.titleblock > div + div { border-left: 1px solid var(--line); }
.titleblock dt, .tb-label { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.titleblock dd, .tb-value { margin: 3px 0 0; font-size: 1.45rem; line-height: 1.15; font-weight: 600; font-stretch: 112%; font-variant-numeric: tabular-nums; color: var(--text); }
.titleblock dd.date { font-size: 1.05rem; padding-top: 5px; }

.facade { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0b1430; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.facade .mark-box { position: absolute; left: 12.4%; right: 12.6%; top: 45.4%; height: 12.3%; border: 1.5px dashed var(--accent); border-radius: 3px; box-shadow: 0 0 0 9999px rgba(8, 13, 32, .18); }
.facade .tag { position: absolute; left: 12.4%; bottom: calc(54.6% + 16px); max-width: 76%; background: rgba(10, 16, 38, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(205, 167, 94, .45); border-radius: 8px; padding: 9px 13px 10px; }
.facade .tag::after { content: ""; position: absolute; left: 20px; top: 100%; height: 16px; border-left: 1.5px dashed var(--accent); }
.facade .tag b { display: block; font-size: 14px; font-weight: 600; font-stretch: 108%; color: var(--text); }
.facade .tag span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }

/* The lease clock */
.clock { position: relative; height: 470px; margin-top: 8px; }
.clock-plot { position: absolute; left: 96px; right: 6px; top: 64px; bottom: 54px; }
.clock-axis-y { position: absolute; left: 0; top: 18px; font-size: 12.5px; line-height: 1.25; color: var(--muted); }
.zone { position: absolute; top: 0; bottom: 0; }
.zone-window { left: 0; width: 33.333%; background: linear-gradient(90deg, rgba(205, 167, 94, .17), rgba(205, 167, 94, .09)); border-right: 1px solid rgba(205, 167, 94, .5); transform-origin: left center; }
.zone-short { left: 33.333%; width: 33.333%; }
.zone-tender { left: 66.667%; right: 0; background: repeating-linear-gradient(135deg, rgba(151, 163, 187, .075) 0 1px, transparent 1px 9px); }
.zone-label { position: absolute; top: -40px; left: 12px; font-size: 13.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.zone-label b { display: block; font-weight: 600; font-stretch: 108%; color: var(--text); }
.zone-window .zone-label b { color: var(--accent-text); }
.event-line { position: absolute; right: 0; top: -18px; bottom: 0; border-right: 1.5px solid var(--text); }
.event-line span { position: absolute; right: 8px; top: -6px; font-size: 12.5px; color: var(--text); white-space: nowrap; font-weight: 600; }
.yband { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(151, 163, 187, .17); }
.yband span { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gx { position: absolute; top: 0; bottom: 0; border-left: 1px solid rgba(151, 163, 187, .09); }
.gx span { position: absolute; top: calc(100% + 10px); left: 0; transform: translateX(-50%); font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock-axis-x { position: absolute; right: 6px; bottom: 0; font-size: 12.5px; color: var(--muted); }
.m { position: absolute; left: calc(var(--x) * 1%); top: calc((100 - var(--y)) * 1%); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; opacity: .5; }
.m.est { border: 1.5px solid var(--muted); }
.m.rec { background: var(--muted); }
.m.win { opacity: 1; }
.m.win.est { border-color: var(--accent); }
.m.win.rec { background: var(--accent); }
.m.hot { opacity: 1; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px var(--text); }
.clock.armed .zone-window { transform: scaleX(0); }
.clock.armed .m { opacity: 0; transform: scale(.2); }
.clock.armed.is-in .zone-window { transform: none; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.clock.armed.is-in .m { animation: mark-in .55s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(250ms + var(--x) * 9ms); }
@keyframes mark-in { to { opacity: var(--o, .5); transform: none; } }
.m.win { --o: 1; }
.clock-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 210px; max-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px 12px; font-size: 13px; line-height: 1.45; color: var(--muted); box-shadow: 0 18px 40px -12px rgba(3, 7, 20, .7); opacity: 0; transition: opacity .12s; }
.clock-tip.on { opacity: 1; }
.clock-tip b { display: block; color: var(--text); font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.clock-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.clock-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.legend span { display: inline-flex; align-items: center; gap: 9px; }
.sw { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sw.est { border: 1.5px solid var(--accent); }
.sw.rec { background: var(--accent); }

/* Timeline of a move (dimension line) */
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.dim { position: relative; padding: 46px 28px 0 0; }
.dim::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; border-top: 1.5px solid var(--text); }
.dim::after { content: ""; position: absolute; top: 6px; left: 0; height: 19px; border-left: 1.5px solid var(--text); }
.dim:last-child .end { position: absolute; top: 6px; right: 0; height: 19px; border-left: 1.5px solid var(--text); }
.dim:last-child .end span { position: absolute; top: -26px; right: 0; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--text); }
.dim .len { position: absolute; top: 3px; left: 50%; transform: translateX(-50%); padding: 0 12px; background: var(--bg); font-size: 13px; font-weight: 600; font-stretch: 110%; white-space: nowrap; color: var(--muted); }
.dim.window::before, .dim.window::after { border-color: var(--accent); }
.dim.window::before { border-top-width: 3px; top: 14px; }
.dim.window .len { color: var(--accent-text); }
.dim h3 { margin-bottom: 8px; }
.dim p { color: var(--muted); font-size: 15.5px; max-width: 28em; }

/* Product picture */
.app-shot { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 50px 100px -30px rgba(2, 6, 20, .75), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; }
.app-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.app-bar b { color: var(--text); font-weight: 600; font-size: 14.5px; }
.dots { display: inline-flex; gap: 6px; margin-right: 14px; vertical-align: middle; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.shot-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shot-table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.shot-table td { padding: 15px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.shot-table tr:last-child td { border-bottom: 0; }
.shot-table .idx { color: var(--muted); width: 36px; padding-left: 20px; }
.redact { display: block; width: var(--w, 60%); max-width: 210px; height: 12px; margin: 4px 0 8px; border-radius: 3px; background: linear-gradient(90deg, rgba(238, 241, 246, .86), rgba(238, 241, 246, .62)); }
.shot-table .meta { font-size: 12.5px; color: var(--muted); }
.shot-table .reason { color: var(--text); max-width: 34ch; }
.shot-table .score { font-weight: 600; font-size: 17px; font-stretch: 112%; color: var(--text); text-align: right; }
.verdicts { display: flex; gap: 6px; flex-wrap: nowrap; }
.verdicts span { display: inline-block; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.verdicts span.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.key { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-left: 6px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.shot-table .score-h { text-align: right; }
.shot-caption { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.result-kicker { font-size: 13px; color: var(--accent-text); font-weight: 600; margin-bottom: 4px; }
.notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 36px; counter-reset: note; list-style: none; }
.notes li { position: relative; padding-top: 38px; }
.notes li::before { counter-increment: note; content: counter(note); position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 700; }
.notes b { display: block; font-weight: 600; font-stretch: 106%; margin-bottom: 6px; }
.notes p { color: var(--muted); font-size: 15px; }

/* Grade pills, used on the site and in the app */
.grade { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
.grade.est, .grade.estimated { border: 1.5px dashed var(--accent); color: var(--accent-text); }
.grade.rec, .grade.recorded { background: var(--accent); color: var(--on-accent); border: 1.5px solid var(--accent); }

/* Photo band */
.band { position: relative; min-height: clamp(380px, 44vw, 640px); display: flex; align-items: flex-end; overflow: hidden; background: #0b1430; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 48, 0) 30%, rgba(14, 22, 48, .55) 62%, rgba(14, 22, 48, .94) 100%); }
.band .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 76px); }
.band h2 { max-width: 16em; }
.band p { margin-top: 14px; color: #c9d1e0; font-size: 1.12rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); list-style: none; counter-reset: step; }
.steps li { border-top: 1px solid var(--line); padding-top: 22px; }
.steps li::before { counter-increment: step; content: counter(step); display: block; font-size: 3.4rem; line-height: 1; font-weight: 300; font-stretch: 122%; color: var(--accent-text); margin-bottom: 22px; font-variant-numeric: lining-nums; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); }
.more { margin-top: 36px; }

/* Area check */
.check { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.check form { margin-top: 30px; }
.inline-field { display: flex; gap: 10px; max-width: 460px; }
.inline-field input { flex: 1; }
.result { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 28px; min-height: 100%; background: var(--surface); }
.result h3 { margin-bottom: 6px; }
.result .cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.result .cells > div { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.result .cells > div:nth-child(odd) { border-right: 1px solid var(--line); }
.result .cells > div:nth-last-child(-n + 2) { border-bottom: 0; }
.result .empty { color: var(--muted); }
.result .btn { margin-top: 20px; }
.coverage-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); max-width: 40em; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.plan { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); background: linear-gradient(180deg, var(--accent-tint), transparent 70%); }
.plan-name { font-size: 1.05rem; font-weight: 600; font-stretch: 108%; }
.plan-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price { margin-top: 26px; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; font-weight: 600; font-stretch: 116%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price small { font-size: 1rem; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.ticks { list-style: none; margin: 28px 0 32px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ROI */
.roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.roi-inputs { display: grid; gap: 34px; }
.roi-field input[type="range"] { margin-top: 10px; }
.roi-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.roi-head label { font-weight: 600; font-stretch: 104%; }
.roi-head output { font-variant-numeric: tabular-nums; color: var(--accent-text); font-weight: 600; }
input[type="range"] { width: 100%; margin: 14px 0 0; accent-color: var(--accent); height: 28px; }
.roi-out { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.roi-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.roi-out > div:last-child { border-bottom: 0; background: var(--accent-tint); }
.roi-out span { color: var(--muted); }
.roi-out b { font-size: 1.3rem; font-weight: 600; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.roi-out > div:last-child b { font-size: 1.7rem; color: var(--accent-text); }

/* Built with */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.duo figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; }
.duo figure img { width: 100%; height: 100%; object-fit: cover; }
.principles { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.principles div { border-top: 1px solid var(--line); padding-top: 14px; }
.principles dt { font-weight: 600; font-stretch: 106%; }
.principles dd { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }

/* Forms */
label { display: block; }
.field { display: grid; gap: 7px; }
.field > span, .field > label { font-size: 14px; font-weight: 500; color: var(--text); }
.field .opt { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
  font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(205, 167, 94, .22); }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); vertical-align: -3px; margin: 0 8px 0 0; }
input[type="file"] { color: var(--muted); font-size: 14px; max-width: 100%; }
input[type="file"]::file-selector-button { margin-right: 12px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
input[type="file"]::file-selector-button:hover { border-color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 13.5px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice, .alert { border-radius: 10px; padding: 14px 18px; font-size: 15px; }
.notice { background: var(--accent-tint); border: 1px solid rgba(205, 167, 94, .45); color: var(--text); }
.alert { background: rgba(242, 147, 147, .1); border: 1px solid rgba(242, 147, 147, .45); color: var(--text); }

/* CTA */
.cta { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cta .lead { margin-top: 18px; }
.cta .aside-note { margin-top: 28px; font-size: 15px; color: var(--muted); }
.cta form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin: 16px 0 14px; color: var(--muted); max-width: 28em; }
.site-footer nav h2 { font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--text); }
.site-footer nav a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.site-footer nav a:hover { color: var(--text); }
.foot-legal { margin-top: 44px; color: var(--muted); font-size: 13.5px; max-width: 80ch; }
.foot-legal + .foot-base { margin-top: 16px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13.5px; }

/* Scrolling wrapper for wide tables (site and app) */
.table-wrap { position: relative; overflow-x: auto; }

/* Responsive */
@media (max-width: 1080px) {
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav, .actions { display: none; }
  .menu { display: block; }
  .hero-grid, .check, .roi, .duo, .cta { grid-template-columns: minmax(0, 1fr); }
  .facade { max-width: 520px; }
  .event-line span { display: none; }
  .shot-table thead { display: none; }
  .shot-table, .shot-table tbody { display: block; }
  .shot-table tr { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 6px 10px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
  .shot-table tr:last-child { border-bottom: 0; }
  .shot-table td { display: block; padding: 0; border: 0; }
  .shot-table .idx { grid-row: 1 / span 4; width: auto; padding: 0; }
  .shot-table .reason { grid-column: 2 / 4; max-width: none; font-size: 14px; }
  .shot-table .gradecell, .shot-table .verdictcell { grid-column: 2 / 4; }
  .shot-table .verdicts { flex-wrap: wrap; margin-top: 4px; }
  .shot-table .score { grid-column: 3; grid-row: 1; }
  .key { display: none; }
}
/* Tablets: the hero photo spans the column as a landscape crop centred on the lit floor */
@media (min-width: 761px) and (max-width: 960px) {
  .facade { max-width: none; aspect-ratio: 4 / 3; }
  .facade .mark-box { top: 41.8%; height: 21.9%; }
  .facade .tag { bottom: calc(58.2% + 16px); }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .titleblock { grid-auto-flow: row; display: grid; width: 100%; }
  .titleblock > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .titleblock > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .titleblock dd { margin: 0; }
  .clock { height: 380px; }
  .clock-plot { left: 74px; top: 58px; bottom: 50px; }
  .zone-label { left: 8px; font-size: 12px; }
  .zone-label span { display: none; }
  .zone-short .zone-label { display: none; }
  .yband span { right: calc(100% + 8px); font-size: 11px; }
  .clock-axis-y, .event-line span { display: none; }
  .gx span { font-size: 11.5px; }
  .gx.minor span { display: none; }
  .dims { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .dim { padding-right: 0; }
  .dim:last-child .end span { display: none; }
  .notes { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .inline-field { flex-direction: column; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .display { font-size: calc(.25rem + 8vw); }
}
@media (max-width: 420px) {
  .brand span { font-size: 14px; }
  .btn-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .clock.armed .m, .clock.armed .zone-window { opacity: var(--o, .5); transform: none; }
}
@media print {
  .site-header, .site-footer, .menu, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Focus rings stay visible on the light sections */
.sheet :focus-visible { outline-color: var(--text); }

/* The numbered notes point at keys in the table header; without the header they read as a plain list */
@media (max-width: 960px) {
  .notes li { padding-top: 0; }
  .notes li::before { display: none; }
}
