/* surveyplan.pro — drafting paper, ink, blueprint blue, red-line notes. Fonts are system fonts
   (the site's content security policy serves nothing from other domains). */
:root {
  --paper: #eef2f0;
  --grid: rgba(43, 99, 217, .07);
  --ink: #14233a;
  --ink-soft: #4a5a70;
  --blue: #2b63d9;
  --red: #d6452f;
  --cable: #1f9d62;
  --night: #0f1a2b;
  --rule: #c7d1d9;
  --display: Bahnschrift, "DIN Alternate", "DIN Next", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font: 17px/1.55 var(--body);
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 4.4vw, 58px); max-width: 17ch; }
h2 { font-size: clamp(28px, 3.2vw, 42px); max-width: 20ch; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; max-width: 62ch; }
.small { font-size: 14px; color: var(--ink-soft); }

.button { display: inline-block; white-space: nowrap; font: 600 16px/1 var(--body); color: #fff; background: var(--blue); border: 0; border-radius: 6px; padding: 14px 20px; text-decoration: none; cursor: pointer; }
.button:hover { background: #1f51bd; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(238, 242, 240, .92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 20px/1 var(--display); white-space: nowrap; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--blue); }
.top .button { padding: 11px 16px; font-size: 15px; }

/* hero: text left, the drawing bleeding off the right edge, red-line notes on it */
.hero { display: grid; grid-template-columns: minmax(320px, 5fr) 8fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.hero-text p { font-size: 19px; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 28px; }
.hero-plan { position: relative; margin: 0; }
.hero-plan .frame { border: 1px solid var(--ink); border-right: 0; border-radius: 10px 0 0 10px; overflow: hidden; box-shadow: 18px 22px 0 rgba(20, 35, 58, .08); }
.redline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.redline path { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 9 7; stroke-linecap: round; }
.note { position: absolute; margin: 0; max-width: 17ch; font: 600 15px/1.25 var(--display); color: var(--red); background: var(--paper);
  border: 2px solid var(--red); border-radius: 4px; padding: 6px 9px; transform: rotate(-1.5deg); }
.n1 { left: 6%; top: 62%; }
.n2 { left: 68%; top: 80%; transform: rotate(1deg); }
.n3 { left: 4%; top: 17%; }
@media (prefers-reduced-motion: no-preference) {
  .redline path { stroke-dashoffset: 400; animation: draw 1.4s .4s ease-out forwards; }
  .note { opacity: 0; animation: appear .5s 1.3s ease-out forwards; }
  .n2 { animation-delay: 1.5s; } .n3 { animation-delay: 1.7s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* workflow: a cable run with a termination per stage */
.workflow { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.run { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.run::before { content: ""; position: absolute; left: 9px; right: 9px; top: 9px; height: 4px; background: var(--cable); border-radius: 2px; }
.run li { position: relative; padding-top: 34px; }
.run li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 4px solid var(--cable); }
.run b { display: block; font: 600 22px/1.1 var(--display); margin-bottom: 6px; }
.run span { display: block; font-size: 15px; color: var(--ink-soft); }

/* feature sheets */
.sheet { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--rule); }
.sheet.flip .copy { order: 2; }
.sheet ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.sheet li { margin: .35em 0; }
.shot { margin: 0; }
.shot img { border: 1px solid var(--ink); border-radius: 10px; box-shadow: 14px 16px 0 rgba(20, 35, 58, .08); }
.shot.stack { position: relative; padding-bottom: 18%; }
.shot.stack .over { position: absolute; width: 58%; left: -3%; bottom: 0; }

/* field app: the one dark panel */
.field { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  margin: 0 clamp(8px, 2vw, 24px); padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); background: var(--night); color: #e8eef8; border-radius: 14px; }
.field p { color: #b8c4d6; }
.field figure { margin: 0; }

.more { padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--rule); }
.more dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px 40px; margin: 28px 0 0; }
.more dt { font: 600 20px/1.2 var(--display); margin-bottom: 4px; }
.more dd { margin: 0; color: var(--ink-soft); font-size: 16px; }

.pricing { padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--rule); }
.seats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin: 24px 0; max-width: 980px; }
.seats > div { border-left: 4px solid var(--blue); padding-left: 18px; }
.seats > div + div { border-left-color: var(--cable); }
.seats p { color: var(--ink-soft); }

.sign-in { padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--rule); }
.sign-in form { max-width: 520px; }
.sign-in label { display: block; font-weight: 600; margin-bottom: 8px; }
.addr { display: flex; align-items: stretch; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; background: #fff; margin-bottom: 8px; }
.addr input { flex: 1; min-width: 0; border: 0; font: 18px var(--body); padding: 13px 14px; color: var(--ink); }
.addr input:focus-visible { outline: none; }
.addr:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.addr span { display: flex; align-items: center; padding: 0 14px; background: #e3e9ee; color: var(--ink-soft); font-size: 17px; }
.hint { min-height: 1.4em; font-size: 15px; color: var(--red); margin: 0 0 12px; }

.foot { padding: 36px clamp(16px, 4vw, 48px) 48px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; }
.foot p { margin: 0; }
.foot p:first-child { font: 600 18px/1 var(--display); }

@media (max-width: 980px) {
  .top nav { display: none; }
  .top .button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-right: clamp(16px, 4vw, 48px); }
  .hero-plan .frame { border-right: 1px solid var(--ink); border-radius: 10px; }
  .note, .redline { display: none; }
  .run { grid-template-columns: 1fr; gap: 0; }
  .run::before { left: 9px; right: auto; top: 9px; bottom: 9px; width: 4px; height: auto; }
  .run li { padding: 0 0 22px 40px; }
  .sheet, .field { grid-template-columns: 1fr; }
  .sheet.flip .copy { order: 0; }
}
