/* ==========================================================================
   SurveyCAD Pro — page-specific styles (LIGHT theme)
   Loaded after site.css. Everything is namespaced under .surveycad-page /
   .surveycad-hero so this file cannot affect the canonical header, footer,
   mobile menu or any other page. Uses the site.css design tokens:
   navy headings #122843 (--ink), body text #3A4A61 (--body),
   blue accent #1156B5 (--blue), light surfaces, 8–10px radii.
   ========================================================================== */

.surveycad-page{background:#FFFFFF;color:var(--body, #3A4A61)}

/* ---- Section rhythm ---- */
.surveycad-page .sc-section{padding:clamp(48px,7vw,96px) 0;background:#FFFFFF}
.surveycad-page .sc-section--tint{background:var(--bg-soft, #F5F8FB);border-top:1px solid var(--line-soft, #E7EDF5);border-bottom:1px solid var(--line-soft, #E7EDF5)}
.surveycad-page .sc-head{max-width:780px;margin:0 auto clamp(28px,4vw,48px);text-align:center}
.surveycad-page .sc-head.sc-head--left{margin-inline:0;text-align:left}
.surveycad-page h1,
.surveycad-page h2,
.surveycad-page h3{color:var(--ink, #122843)}
.surveycad-page .sc-head p{color:var(--body, #3A4A61);margin-top:12px;font-size:clamp(15px,1.6vw,17px);line-height:1.7}

/* Eyebrow */
.surveycad-page .sc-eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--f-mono, monospace);font-weight:500;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--blue, #1156B5)}
.surveycad-page .sc-eyebrow::before{content:"";width:26px;height:2px;background:var(--blue, #1156B5)}
.surveycad-page .sc-eyebrow .dot{display:none}

/* ==========================================================================
   Hero
   ========================================================================== */
.surveycad-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#F7FAFD,#EDF3FA);border-bottom:1px solid var(--line, #DCE4EE);padding:clamp(130px,14vw,170px) 0 clamp(48px,6vw,76px)}
.surveycad-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(17,86,181,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(17,86,181,.06) 1px,transparent 1px);background-size:56px 56px;mask-image:radial-gradient(85% 75% at 50% 30%,#000 30%,transparent 82%);pointer-events:none}
.surveycad-hero .container{position:relative}
.surveycad-hero__grid{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(28px,4vw,56px);align-items:center}
.surveycad-hero__copy h1{font-family:var(--f-head, sans-serif);font-weight:800;line-height:1.05;letter-spacing:-.02em;font-size:clamp(34px,5vw,56px);margin:14px 0 0;color:var(--ink, #122843)}
.surveycad-hero__copy .product-status{margin:16px 0 4px}
.surveycad-hero__copy .sc-tagline{display:block;margin-top:14px;font-family:var(--f-head, sans-serif);font-weight:600;font-size:clamp(17px,2.1vw,21px);color:var(--blue, #1156B5)}
.surveycad-hero__copy .sc-lead,
.surveycad-page .sc-lead{margin-top:18px;color:var(--body, #3A4A61);font-size:clamp(15px,1.7vw,17.5px);line-height:1.75;max-width:62ch}
.surveycad-hero__btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}

/* Genuine product screenshot */
.surveycad-approved-screen{display:block;width:100%;height:auto;border:1px solid var(--line, #DCE4EE);border-radius:10px;box-shadow:0 18px 42px rgba(16,32,58,.12);background:#FFFFFF}

/* Breadcrumb spacing on learn-more */
.surveycad-page .sc-crumb{padding-top:24px;position:relative}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.surveycad-grid{display:grid;gap:20px}
.surveycad-grid--2{grid-template-columns:repeat(2,1fr)}
.surveycad-grid--3{grid-template-columns:repeat(3,1fr)}
.surveycad-grid--4{grid-template-columns:repeat(4,1fr)}

.surveycad-engine-card{position:relative;background:#FFFFFF;border:1px solid var(--line, #DCE4EE);border-radius:10px;padding:24px 22px;box-shadow:var(--sh-sm, 0 1px 2px rgba(16,32,58,.05));transition:transform .3s var(--ease, ease),border-color .3s var(--ease, ease),box-shadow .3s var(--ease, ease)}
.surveycad-engine-card:hover{transform:translateY(-4px);border-color:#C7D3E2;box-shadow:var(--sh-md, 0 14px 34px rgba(16,32,58,.10))}
.surveycad-engine-card .sc-badge{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:var(--blue-soft, #E8F0FB);border:1px solid #C4D8F3;color:var(--blue, #1156B5);font-family:var(--f-head, sans-serif);font-weight:800;font-size:18px}
.surveycad-engine-card h3{font-family:var(--f-head, sans-serif);font-weight:700;font-size:19px;color:var(--ink, #122843);margin:16px 0 6px;line-height:1.25}
.surveycad-engine-card .sc-sub{color:var(--blue, #1156B5);font-size:13px;font-weight:600;margin-bottom:10px}
.surveycad-engine-card p,
.surveycad-engine-card li{color:var(--body, #3A4A61)}
.surveycad-engine-card ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:7px}
.surveycad-engine-card li{position:relative;padding-left:22px;font-size:14px;line-height:1.55}
.surveycad-engine-card li::before{content:"";position:absolute;left:0;top:7px;width:10px;height:10px;border-radius:3px;background:var(--blue, #1156B5);opacity:.7}

/* Feature tiles (overview) */
.surveycad-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:8px}
.surveycad-feature{display:flex;gap:12px;align-items:flex-start;background:#FFFFFF;border:1px solid var(--line, #DCE4EE);border-radius:8px;padding:16px;box-shadow:var(--sh-sm, 0 1px 2px rgba(16,32,58,.05))}
.surveycad-feature svg{flex:0 0 auto;width:22px;height:22px;color:var(--blue, #1156B5);margin-top:1px}
.surveycad-feature b{display:block;color:var(--ink, #122843);font-family:var(--f-head, sans-serif);font-size:15px;font-weight:600}
.surveycad-feature p{margin:3px 0 0;color:var(--body, #3A4A61);font-size:13.5px;line-height:1.55}

/* ==========================================================================
   Workflow steps
   ========================================================================== */
.surveycad-workflow{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;counter-reset:sc-step}
.surveycad-workflow .sc-step{counter-increment:sc-step;display:flex;gap:16px;align-items:flex-start;background:#FFFFFF;border:1px solid var(--line, #DCE4EE);border-radius:8px;padding:18px 20px;box-shadow:var(--sh-sm, 0 1px 2px rgba(16,32,58,.05))}
.surveycad-workflow .sc-step::before{content:counter(sc-step,decimal-leading-zero);font-family:var(--f-head, sans-serif);font-weight:800;font-size:15px;color:var(--blue, #1156B5);background:var(--blue-soft, #E8F0FB);border:1px solid #C4D8F3;width:38px;height:38px;flex:0 0 auto;border-radius:9px;display:grid;place-items:center}
.surveycad-workflow .sc-step b{display:block;color:var(--ink, #122843);font-family:var(--f-head, sans-serif);font-size:15.5px;font-weight:600;line-height:1.35}
.surveycad-workflow .sc-step p{margin:4px 0 0;color:var(--body, #3A4A61);font-size:13.5px;line-height:1.55}

/* ==========================================================================
   Input / output columns
   ========================================================================== */
.surveycad-io{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.surveycad-io__col{background:#FFFFFF;border:1px solid var(--line, #DCE4EE);border-radius:10px;padding:26px;box-shadow:var(--sh-sm, 0 1px 2px rgba(16,32,58,.05))}
.surveycad-io__col h3{display:flex;align-items:center;gap:10px;font-family:var(--f-head, sans-serif);font-weight:700;font-size:19px;color:var(--ink, #122843);margin:0 0 16px}
.surveycad-io__col h3 svg{width:24px;height:24px;color:var(--blue, #1156B5)}
.surveycad-chips{display:flex;flex-wrap:wrap;gap:10px}
.surveycad-chips span{font-family:var(--f-mono, monospace);font-size:12.5px;font-weight:500;color:var(--ink, #122843);padding:8px 14px;border-radius:8px;background:var(--bg-soft, #F5F8FB);border:1px solid var(--line, #DCE4EE)}
.surveycad-io__col--out .surveycad-chips span{border-color:#C4D8F3;background:var(--blue-soft, #E8F0FB);color:var(--blue-deep, #0D479A)}

/* ==========================================================================
   Stage table (learn-more)
   ========================================================================== */
.surveycad-table-wrap{overflow-x:auto;border:1px solid var(--line, #DCE4EE);border-radius:10px;background:#FFFFFF;box-shadow:var(--sh-sm, 0 1px 2px rgba(16,32,58,.05))}
.surveycad-table{width:100%;border-collapse:collapse;min-width:680px}
.surveycad-table th,.surveycad-table td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--line-soft, #E7EDF5);font-size:14px;line-height:1.55;vertical-align:top}
.surveycad-table thead th{background:var(--bg-soft, #F5F8FB);color:var(--ink, #122843);font-family:var(--f-head, sans-serif);font-weight:600;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.surveycad-table tbody td{color:var(--body, #3A4A61)}
.surveycad-table tbody td:first-child{color:var(--ink, #122843);font-weight:600}
.surveycad-table tbody tr:last-child td{border-bottom:0}
.surveycad-table tbody tr:hover{background:var(--bg-soft, #F5F8FB)}
.surveycad-table tbody td:last-child{color:var(--blue, #1156B5);font-weight:600;white-space:nowrap}

/* ==========================================================================
   CTA band (dark navy band — white text here is intentional)
   ========================================================================== */
.surveycad-cta{position:relative;overflow:hidden;text-align:center;border-radius:12px;padding:clamp(36px,5vw,64px);background:linear-gradient(180deg,var(--navy-800, #122A4C),var(--navy-900, #0B1C36));border:1px solid var(--navy-750, #1A3560)}
.surveycad-page .surveycad-cta h2{font-family:var(--f-head, sans-serif);font-weight:800;font-size:clamp(26px,3.4vw,38px);color:#FFFFFF;margin:0 0 12px;line-height:1.12}
.surveycad-page .surveycad-cta p{color:var(--on-dark-soft, #B9C6D9);max-width:60ch;margin:0 auto 26px;font-size:clamp(15px,1.7vw,17px);line-height:1.7}
.surveycad-cta .surveycad-hero__btns{justify-content:center;margin-top:0}
.surveycad-cta .btn--ghost{border-color:rgba(255,255,255,.4);color:#FFFFFF;background:transparent}
.surveycad-cta .btn--ghost:hover{border-color:#FFFFFF;color:#FFFFFF;background:rgba(255,255,255,.08)}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1000px){
  .surveycad-hero__grid{grid-template-columns:1fr;gap:34px}
  .surveycad-approved-screen{max-width:640px;margin:0 auto}
  .surveycad-features{grid-template-columns:repeat(2,1fr)}
  .surveycad-grid--4{grid-template-columns:repeat(2,1fr)}
  .surveycad-grid--3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .surveycad-hero{padding-top:110px}
}
@media (max-width:680px){
  .surveycad-hero__btns{gap:10px}
  .surveycad-hero__btns .btn{flex:1 1 100%;justify-content:center}
  .surveycad-features{grid-template-columns:1fr}
  .surveycad-grid--2,.surveycad-grid--3,.surveycad-grid--4{grid-template-columns:1fr}
  .surveycad-workflow{grid-template-columns:1fr}
  .surveycad-io{grid-template-columns:1fr}
}
