/* Streamlite landing page, test version. Brand colours from the logo kit. Light only for now.
   Motion: none, except the industry tabs switching. */

:root {
  --navy: #031628;
  --ink: #0A1426;
  --blue: #0A93F7;        /* accent on light grounds: shapes, icons, large type */
  --blue-dark: #0670C2;   /* links on light grounds (blue text needs more contrast) */
  --blue-on-dark: #4AA6F4;
  --slate: #53585E;
  --paper: #F8F8F9;
  --white: #FFFFFF;
  --line: #E3E5E8;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --wrap: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin-bottom: 32px; }
h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--slate); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons: navy with white text (blue with white text is too faint to read) */
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn--main { background: var(--navy); color: var(--white); }
.btn--main:hover { background: #0B2A47; }
.btn--main:focus-visible, .tabs button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn--big { padding: 16px 26px; font-size: 17px; }
.btn--full { width: 100%; }

/* 1. Header: a light glass bar (solid where glass is off) */
.top { position: sticky; top: 0; z-index: 10; background: rgb(248 248 249 / 0.78); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%); border-bottom: 1px solid rgb(10 20 38 / 0.08); }
@media (prefers-reduced-transparency: reduce) { .top { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.top__row { display: flex; align-items: center; gap: 28px; height: 72px; }
.top__logo img { height: 34px; width: auto; }
.top__nav { display: flex; gap: 22px; margin-left: auto; }
.top__nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.top__nav a:hover { color: var(--blue-dark); }
.top__phone { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.top__cta { white-space: nowrap; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero__for { font-weight: 600; color: var(--blue-dark); margin-bottom: 14px; }
.hero__lead { font-size: 20px; margin-top: 22px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.hero__call { color: var(--ink); font-weight: 600; text-decoration: none; }
.hero__call:hover { text-decoration: underline; }
.hero__small { margin-top: 14px; color: var(--slate); font-size: 15px; }
/* The framed shots carry their own shadow in a transparent margin, so they are drawn a little wider than the column. */
.hero { overflow-x: clip; }
.hero__shot { margin: 0; position: relative; }
.hero__mac { width: 112%; max-width: none; margin-left: -6%; }
.hero__phone { position: absolute; width: 34%; right: -8%; bottom: -12%; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts li { font-weight: 600; padding-left: 28px; position: relative; }
.facts li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Sections */
.band { padding: 88px 0; }
.band--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .wrap > .btn { margin-top: 36px; }
.h2--gap { margin-top: 80px; }

/* 2. Reasons */
.reasons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.reasons li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: 16px; color: var(--slate); }
.reasons strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 8px; }

/* 3. What you get */
.gets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.gets > div { border-top: 3px solid var(--blue); padding-top: 18px; }
.gets p { color: var(--slate); }

/* 4. Industry tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs button { font: 600 16px var(--font); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.panel { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.js .panel { animation: show 0.18s ease-out; }
@keyframes show { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .panel { animation: none; } }
.panel + .panel { margin-top: 16px; } /* without script every panel shows, stacked */
.panel h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); margin-bottom: 14px; }
.searches li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 10px; font-size: 16px; background: var(--paper); }
.searches li::before { content: ""; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.6' fill='none' stroke='%2353585E' stroke-width='1.6'/%3E%3Cpath d='M10.4 10.4l3.6 3.6' stroke='%2353585E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.ticks--big li { margin-bottom: 18px; font-size: 18px; }

/* 5. How it works: three shaded bands, one line, six steps */
.section-lead { font-size: 20px; margin: -16px 0 40px; max-width: 40em; }
/* Each band has its own shade (--band) and line colour (--rail); the dots get a ring in the band's shade so the line looks cut. */
.bands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phase { --band: #F3F5F7; --rail: var(--navy); --pad: 20px; background: var(--band); padding: 24px var(--pad) 26px; display: flex; flex-direction: column; }
.phase--1 { border-radius: 16px 0 0 16px; }
.phase--2 { --band: #E9F1FA; --rail: #0B3A66; }
.phase--3 { --band: #D9E9F9; --rail: var(--blue-dark); border-radius: 0 16px 16px 0; }
.phase__title { font-size: 21px; font-weight: 700; margin: 0 0 20px; }
.phase__steps { position: relative; flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* The line: it runs edge to edge through the middle band, starts at dot 1 and ends at dot 6. */
.phase__steps::before { content: ""; position: absolute; top: 18px; height: 3px; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad)); background: var(--rail); }
.phase--1 .phase__steps::before { left: 20px; }
.phase--3 .phase__steps::before { right: auto; width: calc(50% + 28px + var(--pad)); }
.phase__steps li { position: relative; display: flex; flex-direction: column; gap: 5px; }
.phase__steps li > p:not(.yours) { flex: 1; } /* pushes every "Your part" box to the same bottom line */
.dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--band); margin-bottom: 10px; }
.phase--3 .dot { background: var(--blue-dark); }
.phase__steps h4 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.25; }
.phase__steps p { color: #4A535D; font-size: 15px; line-height: 1.5; }
.when { display: block; font-size: 13px; font-weight: 600; color: var(--blue-dark); }
.phase--3 .when { color: #005BA3; }
.yours { margin-top: 6px; padding: 7px 10px; border-radius: 8px; background: var(--white); color: var(--ink) !important; font-size: 14px !important; line-height: 1.4; }
.after-steps { margin-top: 40px; font-size: 19px; font-weight: 600; }

/* Tablet: the bands stack; inside each band the line joins its two dots only. */
@media (max-width: 1000px) {
  .bands { grid-template-columns: 1fr; gap: 12px; }
  .phase { border-radius: 16px !important; }
  .phase__steps::before, .phase--1 .phase__steps::before, .phase--3 .phase__steps::before { left: 20px; right: auto; width: calc(50% + 8px); }
}
/* Phone: the two steps in a band stack, the line runs down between their dots. */
@media (max-width: 600px) {
  .phase__steps { grid-template-columns: 1fr; gap: 24px; }
  .phase__steps::before, .phase--1 .phase__steps::before, .phase--3 .phase__steps::before { display: none; }
  .phase__steps li { padding-left: 56px; min-height: 40px; }
  .dot { position: absolute; left: 0; top: 0; margin: 0; }
  .phase__steps li:first-child::after { content: ""; position: absolute; left: 18.5px; top: 20px; bottom: -44px; width: 3px; background: var(--rail); }
}

/* 6 and 7. Security */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.photo { margin: 0; }
.photo img { border-radius: var(--radius); }
.photo figcaption { font-size: 14px; color: var(--slate); margin-top: 10px; }
/* The privacy picture */
.vault { margin: 0 0 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
.vault__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 0.5fr) minmax(0, 1.2fr) minmax(90px, 0.5fr) minmax(0, 1fr); align-items: center; }
.vault__side, .vault__main { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.vault__side span, .vault__main span { color: var(--slate); font-size: 15px; line-height: 1.45; max-width: 22ch; }
.vault__side strong, .vault__main strong { font-size: 18px; }
.vault__main strong { font-size: 20px; }
.vault__icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--navy); margin-bottom: 6px; box-sizing: content-box; }
.vault__side:last-child .vault__icon { color: var(--slate); }
.vault__cloud { width: 100%; max-width: 260px; height: auto; }
/* A link between two boxes: a label over a line (solid = access, dashed = counts only). */
.vault__link { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 8px; }
.vault__line { display: block; width: 100%; height: 3px; border-radius: 2px; background: var(--navy); }
.vault__link--counts .vault__line { height: 0; background: none; border-top: 3px dashed #9AA3AD; }
.vault__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.vault__link--counts .vault__tag { color: var(--slate); }
.vault__tag svg { width: 16px; height: 16px; }
.vault__others { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--line); }
.vault__others p { color: var(--slate); font-size: 15px; max-width: 46ch; }
.vault__others strong { color: var(--ink); }
.vault__minis { display: flex; gap: 20px; }
.vault__minis span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; color: var(--slate); }
.vault__minis svg { width: 76px; height: auto; }
@media (max-width: 860px) {
  .vault { padding: 28px 20px; }
  .vault__row { grid-template-columns: 1fr; gap: 8px; }
  .vault__link { padding: 6px 0; gap: 6px; }
  .vault__line { width: 3px; height: 30px; }
  .vault__link--counts .vault__line { height: 30px; width: 0; border-top: 0; border-left: 3px dashed #9AA3AD; }
  .vault__others { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .vault__minis svg { width: 60px; }
  .vault__minis { gap: 12px; }
}

.private { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.private > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.private p { color: var(--slate); }

/* 8. Team */
.split--team { grid-template-columns: 1fr 1.2fr; align-items: center; }
.team-photo { margin: 0; }
.team-photo img { border-radius: var(--radius); }
.team-photo figcaption { font-size: 14px; color: var(--slate); margin-top: 10px; }
.big-p { font-size: 20px; }
.contact-line { margin: 22px 0 8px; font-size: 19px; font-weight: 600; }
.contact-line a { color: var(--ink); }

/* 9. Portal screenshots and the add-on */
.band:has(.shots) { overflow-x: clip; }
/* Pictures share one row (bottoms lined up), captions share the next (tops lined up). */
.shots { display: grid; grid-template-columns: 2.3fr 1fr; grid-template-rows: auto auto; gap: 0 32px; }
.shots figure { margin: 0; display: grid; grid-template-rows: subgrid; grid-row: span 2; }
.shots img { align-self: end; }
.shots__mac img { width: 108%; max-width: none; margin-left: -4%; }
.shots figcaption { margin-top: 8px; color: var(--slate); font-size: 16px; }
.shots strong { color: var(--ink); }
.after-shots { margin-top: 32px; max-width: 52em; }
.addon { margin-top: 48px; padding: 28px 32px; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--white); max-width: 760px; }
.addon__tag { font-size: 14px; font-weight: 600; color: var(--blue-dark); margin-bottom: 4px; }
.addon h3 { font-size: 22px; margin-bottom: 10px; }
.addon .muted { margin-top: 10px; font-size: 15px; }

/* 10. Questions: answers open */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; margin: 0; }
.faq dt { font-weight: 600; font-size: 19px; margin-bottom: 6px; }
.faq dd { margin: 0; color: var(--slate); }

/* 11. Closing and form */
.close { background: var(--navy); color: var(--white); padding: 96px 0; }
.close__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.close h2 { color: var(--white); }
.close__text p { font-size: 20px; color: #D5DCE4; }
.close__alt { margin-top: 24px; font-size: 18px !important; }
.close a { color: var(--blue-on-dark); }
.form-card { background: var(--white); color: var(--ink); border-radius: 16px; padding: 32px; box-shadow: 0 24px 60px rgb(0 0 0 / 0.3); }
.form-card label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.form-card input, .form-card select, .form-card textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: 16px var(--font); color: var(--ink); background: var(--white); border: 1px solid #C9CED5; border-radius: 8px; }
.form-card input:user-invalid, .form-card select:user-invalid { border-color: #C2362B; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.optional { font-weight: 400; color: var(--slate); }
.form-note { text-align: center; color: var(--slate); font-size: 14px; margin-top: 10px; }
.form-done h3 { font-size: 26px; margin-bottom: 8px; }
.form-done p { margin-bottom: 8px; }

/* 12. Footer */
.foot { background: var(--ink); color: #C9D1DA; padding: 56px 0 32px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot__grid img { height: 32px; width: auto; margin-bottom: 14px; }
.foot a { color: #E6EBF0; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__small { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 13px; color: #8A919B; }
.foot__small a { color: #8A919B; text-decoration: underline; }

/* Tablet */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .top__phone { margin-left: auto; }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .gets { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr 1fr; }
  .panel > div:last-child { grid-column: 1 / -1; }
  .private { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid, .split, .split--team, .close__grid { grid-template-columns: 1fr; gap: 36px; }
  .shots { grid-template-columns: 1fr; }
  .shots__phone { max-width: 320px; }
  .faq { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .top__row { height: 60px; gap: 12px; }
  .top__logo img { height: 26px; }
  .top__phone { display: none; }
  .top__cta { margin-left: auto; padding: 10px 14px; font-size: 14px; }
  .hero { padding: 40px 0 24px; }
  .hero__lead { font-size: 18px; }
  .btn--big { width: 100%; text-align: center; }
  .hero__shot { margin-bottom: 40px; }
  .hero__phone { width: 36%; right: -4%; bottom: -14%; }
  .facts { flex-direction: column; margin-top: 36px; }
  .band { padding: 60px 0; }
  .reasons, .gets, .private, .panel, .two, .foot__grid { grid-template-columns: 1fr; }
  .panel { padding: 24px; gap: 28px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 20px; padding: 0 var(--gutter) 4px; }
  .tabs button { flex: none; }
  .close { padding: 64px 0; }
  .form-card { padding: 22px; }
  .big-p, .close__text p { font-size: 18px; }
}
