/* Home and /automations page styles (owner rework 2026-11-14). Light only,
   like the rest of the site; colours follow the app (green #15803d, ink
   #0b1220). The product screens are HTML drawings of the real app with
   fictional clients — no screenshots of customer data. */

/* ---------- Shared layout ---------- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  padding-top: 104px;
  padding-bottom: 104px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.band-soft {
  background: #f6f8fb;
}
.band-soft > .wrap {
  padding-top: 104px;
  padding-bottom: 104px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.band-soft > .wrap.split {
  flex-direction: row;
}
@media (max-width: 700px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section,
  .band-soft > .wrap {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 780px;
}
.eyebrow,
.kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #15803d;
}
.kicker {
  color: #64748b;
  font-weight: 600;
}
h1,
h2,
h3 {
  text-wrap: balance;
  margin: 0;
}
.sec-head h2,
.split-copy h2,
.final-cta h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sec-head p,
.split-copy > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
}
.fine {
  margin: 0;
  font-size: 14px;
  color: #475569;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 12px;
  line-height: 1.2;
}
.btn-green {
  background: #15803d;
  color: #ffffff;
}
.btn-green:hover {
  background: #166534;
  color: #ffffff;
}
.btn-dark {
  background: #0b1220;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
}
.btn-dark:hover {
  color: #ffffff;
  background: #1e293b;
}
.btn-outline {
  background: #ffffff;
  color: #0b1220;
  font-weight: 600;
  padding: 14px 24px;
  border: 1px solid #cbd5e1;
}
.btn-outline:hover {
  color: #0b1220;
  border-color: #94a3b8;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #14532d;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
}
/* The pill sits inside the h1 so the heading names IDpilot, Microsoft 365
   and MSPs. The large line stays the same length as before. */
.hero h1 .badge {
  display: flex;
  width: fit-content;
  margin-bottom: 26px;
  letter-spacing: normal;
  line-height: 1.3;
}
.hero-lede {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: #475569;
  max-width: 580px;
}
.hero .fine {
  margin-top: -12px;
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}
.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
}
.ticks li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: #15803d
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.5 2.5L11 4.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
@media (max-width: 700px) {
  .hero {
    padding: 56px 16px 56px;
    gap: 40px;
  }
}

/* Ticket timeline card (hero) */
.hero-visual {
  flex: 1 1 440px;
  min-width: 0;
  background: #0b1220;
  border-radius: 24px;
  padding: clamp(16px, 3vw, 28px);
}
.tl-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.tl-head {
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tl-head b {
  font-size: 17px;
  margin-left: 6px;
}
.tl-sub {
  font-size: 13px;
  color: #5b6678;
}
.tl {
  list-style: none;
  margin: 0;
  padding: 6px 20px;
  display: flex;
  flex-direction: column;
}
.tl li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  line-height: 1.4;
}
.tl li:last-child {
  border-bottom: 0;
}
.tl-foot {
  padding: 12px 20px;
  background: #f0fdf4;
  border-top: 1px solid #dcfce7;
  font-size: 13px;
  font-weight: 600;
  color: #14532d;
}
.when {
  font-size: 12px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.ok-pill {
  font-size: 11px;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.who {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.who-client {
  color: #1e40af;
}
.who-msp {
  color: #8a6d1a;
}
.who-idp {
  color: #15803d;
}
@media (max-width: 480px) {
  .tl li {
    grid-template-columns: 1fr auto;
  }
  .tl li .who {
    grid-column: 1 / -1;
  }
}

/* Pills used in the product drawings */
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-arrive,
.pill-ok {
  background: #dcfce7;
  color: #166534;
}
.pill-depart {
  background: #f3e8dc;
  color: #8a4b12;
}
.pill-info {
  background: #eff6ff;
  color: #1e40af;
}

/* ---------- Australia + works-with bands ---------- */
.aus {
  padding: 0 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.aus ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}
.works {
  border-top: 1px solid #e5e9f0;
  border-bottom: 1px solid #e5e9f0;
  background: #fafbfc;
}
.works > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}

/* ---------- Journey ---------- */
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
}
.journey li {
  padding: 22px 18px;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.journey li:first-child {
  border-left: 0;
}
.journey h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.journey p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}
.journey .j-idp {
  background: #f0fdf4;
}
.journey .j-idp h3 {
  color: #14532d;
}
@media (max-width: 1000px) {
  .journey {
    grid-template-columns: repeat(3, 1fr);
  }
  .journey li:nth-child(4) {
    border-left: 0;
  }
  .journey li:nth-child(n + 4) {
    border-top: 1px solid #e2e8f0;
  }
}
@media (max-width: 600px) {
  .journey {
    grid-template-columns: 1fr;
  }
  .journey li {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
  }
  .journey li:first-child {
    border-top: 0;
  }
}

/* Checklists and chat cards */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: #334155;
}
.checks li {
  padding-left: 30px;
  position: relative;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #dcfce7
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.5 2.5L11 4.5' fill='none' stroke='%2315803d' stroke-width='2'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.checks b {
  color: #0b1220;
}
.chat {
  flex: 1 1 400px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.chat-head {
  padding: 16px 20px;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}
.chat-head span {
  font-size: 13px;
  color: #475569;
}
.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.chat-body p {
  margin: 0;
  max-width: 85%;
  padding: 10px 14px;
}
.chat-body .me {
  align-self: flex-end;
  background: #15803d;
  color: #ffffff;
  border-radius: 14px 14px 4px 14px;
}
.chat-body .bot {
  align-self: flex-start;
  background: #f1f5f9;
  border-radius: 14px 14px 14px 4px;
}
.chat-foot {
  padding: 14px 20px;
  border-top: 1px solid #eef2f6;
  background: #f8fafc;
  font-size: 13px;
  color: #14532d;
  font-weight: 600;
}

/* ---------- Automation catalogue ---------- */
.cat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.cat-col {
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--c);
  border-radius: 16px;
  padding: 22px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-col h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cat-k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c);
}
.cat-col ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: #334155;
}
.cat-col li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
}
.cat-col li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--c);
}
.c-arrive {
  --c: #15803d;
}
.c-depart {
  --c: #8a4b12;
}
.c-mail {
  --c: #6d28d9;
}
.c-change {
  --c: #1e40af;
}
.cat-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e5e9f0;
  padding-top: 24px;
}
.cat-foot p {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.55;
  color: #334155;
  font-weight: 600;
}

/* ---------- Split sections ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.band-soft > .wrap.split {
  flex-wrap: wrap;
}
.split-copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.split > .shot,
.split > .calc {
  flex: 1.15 1 460px;
  min-width: 0;
}

/* ---------- Browser frame for product drawings ---------- */
.shot {
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 48px -28px rgba(11, 18, 32, 0.45);
}
.chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #f6f8fb;
  border-bottom: 1px solid #e2e8f0;
}
.chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.chrome em {
  margin-left: 8px;
  flex: 1;
  font-style: normal;
  font-size: 12px;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 10px;
}

/* Leaver ticket */
.ticket {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
}
.ticket-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
.ticket-head b {
  display: block;
  font-size: 19px;
  margin-top: 4px;
}
.ticket-approvals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.steps li {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border-top: 1px solid #eef2f6;
  line-height: 1.4;
}
.steps li:first-child {
  border-top: 0;
}
.steps i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.steps i.done {
  background: #15803d
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.5 2.5L11 4.5' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.steps i.todo {
  border: 2px solid #cbd5e1;
}
.steps small {
  color: #64748b;
  font-size: 12px;
  margin-left: 4px;
}
.steps em {
  font-style: normal;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

/* Dashboard drawing: follows the app's dashboard (tiles, cards, clients) */
.dash-scroll {
  overflow-x: auto;
}
.dash {
  display: grid;
  grid-template-columns: 184px 1fr;
  min-width: 880px;
  font-size: 13px;
}
.rail {
  background: #f6f8fb;
  border-right: 1px solid #e2e8f0;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rail > div {
  display: flex;
  flex-direction: column;
}
.rail-brand {
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  padding: 0 6px;
}
.rk {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0 8px 4px;
}
.ra {
  padding: 5px 8px;
  border-radius: 6px;
  color: #334155;
  font-weight: 500;
}
.ra.on {
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
}
.dash-main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.dash-head b {
  display: block;
  font-size: 20px;
  font-weight: 800;
}
.dash-head span {
  font-size: 12px;
  color: #64748b;
}
.mini-btn {
  white-space: nowrap;
  background: #15803d;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 12px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.tile {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}
.tile b {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.tile span {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}
.tile.att {
  border-color: #15803d;
}
.tile.att b {
  color: #15803d;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
}
.dcard {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dcard.flush {
  padding: 0;
}
.dcard.flush .dcard-h {
  padding: 12px 14px 4px;
}
.dcard-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.dcard-h span {
  font-size: 11px;
  color: #64748b;
}
.auto {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
}
.auto ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.auto li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 2px;
}
.auto b {
  font-variant-numeric: tabular-nums;
}
.dash table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.dash th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  padding: 6px 14px;
  border-bottom: 1px solid #e2e8f0;
}
.dash td {
  padding: 8px 14px;
  border-bottom: 1px solid #eef2f6;
  font-variant-numeric: tabular-nums;
}
.dash tr:last-child td {
  border-bottom: 0;
}
.managed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.managed li {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  background: #f6f8fb;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 14px;
}
.callouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.callouts p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  border-left: 3px solid #15803d;
  padding-left: 14px;
}
.callouts b {
  color: #0b1220;
}

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
}
.calc-ins {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calc label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}
.calc input {
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #0b1220;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.calc input:focus-visible {
  outline: 2px solid #15803d;
  outline-offset: 1px;
}
.calc-out {
  background: #0b1220;
  color: #ffffff;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.calc-out > span:first-child {
  font-size: 14px;
  color: #cbd5e1;
}
.calc-out b {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
  color: #4ade80;
  font-variant-numeric: tabular-nums;
}
#c-cost {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
}
.calc-out small {
  font-size: 12.5px;
  line-height: 1.5;
  color: #94a3b8;
}
@media (max-width: 640px) {
  .calc {
    grid-template-columns: 1fr;
  }
}

/* ---------- Final CTA ---------- */
.final-cta {
  border-radius: 28px;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  padding: clamp(28px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.final-cta > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}
.final-cta p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #334155;
}
.final-cta a:not(.btn) {
  font-weight: 600;
}

/* ---------- /automations page ---------- */
.auto-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auto-hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 900px;
}
.auto-hero p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: #475569;
  max-width: 720px;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jump a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 8px 16px;
}
.jump a:hover {
  border-color: #15803d;
  color: #15803d;
}
.group {
  scroll-margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid #e5e9f0;
}
.group-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.group-head h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.group-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}
.items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.items li {
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--c);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
}
.items h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.items p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}
@media (max-width: 800px) {
  .group {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.every {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.every div {
  background: #0b1220;
  color: #ffffff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.every b {
  font-size: 16px;
}
.every span {
  font-size: 14px;
  line-height: 1.55;
  color: #cbd5e1;
}

/* ---------- AI request assistant ---------- */
.section.ai {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.ai-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ai-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ai-lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
}
.ai-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.ai-benefits > div {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-benefits h3 {
  font-size: 18px;
  font-weight: 800;
  color: #14532d;
}
.ai-benefits p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #334155;
}
.ai-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  display: grid;
  place-items: center;
}
.ai-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: #334155;
}
.ai-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
}
.ai-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: #15803d;
}
.ai-visual {
  flex: 1 1 420px;
  min-width: 0;
  background: #0b1220;
  border-radius: 24px;
  padding: clamp(16px, 3vw, 28px);
  scroll-margin-top: 24px;
}
.bot-wrap {
  align-self: flex-start;
  max-width: 88%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bot-wrap .bot {
  max-width: none;
}
.ai-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #15803d;
}
.ai-tag::before {
  content: "";
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 6.6L21 11l-6.6 2.4L12 20l-2.4-6.6L3 11l6.6-2.4z' fill='%2315803d'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.ai-card {
  margin: 0;
  align-self: stretch;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 13px;
}
.ai-card > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #dcfce7;
}
.ai-card > div:last-child {
  border-bottom: 0;
}
.ai-card dt {
  color: #5b6678;
  font-weight: 600;
}
.ai-card dd {
  margin: 0;
  color: #0b1220;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ai-card .ok-pill {
  margin-left: 4px;
  font-size: 10px;
}
.ai-card small {
  display: block;
  font-weight: 500;
  color: #475569;
  margin-top: 2px;
}

/* ---------- Phones (owner phone review, 2026-11-14) ----------
   Shorter, tighter page on a phone: smaller headings, full-width buttons,
   compact cards, and the product drawings reflowed instead of scrolling. */
@media (max-width: 700px) {
  .hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }
  .hero-lede,
  .ai-lede,
  .sec-head p,
  .split-copy > p,
  .auto-hero p {
    font-size: 16.5px;
  }
  .sec-head h2,
  .split-copy h2,
  .final-cta h2,
  .ai-copy h2 {
    font-size: 28px;
  }
  .auto-hero h1 {
    font-size: 32px;
  }
  .hero .cta-row .btn,
  .final-cta .cta-row .btn {
    flex: 1 1 100%;
    text-align: center;
  }
  .section,
  .band-soft > .wrap {
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 28px;
  }
  .section.ai,
  .split {
    gap: 32px;
  }
  .aus {
    padding-bottom: 48px;
  }
  .works .kicker {
    flex-basis: 100%;
    text-align: center;
  }
  .journey li {
    padding: 14px 18px;
    gap: 4px;
  }
  .cat-col {
    padding: 18px;
  }
  .cat-col ul {
    gap: 8px;
  }
  /* Leaver ticket: keep the status on the right, drop the small print. */
  .steps small {
    display: none;
  }
  .steps li {
    padding: 8px 10px;
    font-size: 13px;
  }
  .steps em {
    font-size: 11px;
  }
  /* Dashboard drawing: no sideways scroll on a phone. */
  .dash {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .rail {
    display: none;
  }
  .dash-main {
    padding: 14px;
  }
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
  .tiles .tile:nth-child(n + 4) {
    display: none;
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .dash th:nth-child(2),
  .dash td:nth-child(2),
  .dash th:nth-child(3),
  .dash td:nth-child(3) {
    display: none;
  }
  .dash th,
  .dash td {
    padding-left: 10px;
    padding-right: 10px;
  }
  .managed li {
    font-size: 13px;
    padding: 6px 12px;
  }
  /* "Why not scripts?" table: less padding per cell. */
  [role="row"] > [role="rowheader"],
  [role="row"] > [role="cell"] {
    padding: 4px 18px !important;
  }
  [role="row"] {
    padding: 12px 0;
  }
  .audit-log {
    display: none;
  }
  .final-cta {
    padding: 28px 22px;
  }
  /* /automations */
  .group {
    padding: 32px 0;
  }
  .items {
    gap: 10px;
  }
  .items li {
    padding: 12px 14px;
  }
}

/* Click-to-play product videos (draft placement, 2026-11-19). Used on the
   homepage (#see-it, #properly) and /automations (#onboarding, #offboarding). */
#see-it,
#properly {
  scroll-margin-top: 24px;
}
.cta-text {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  color: #15803d;
  text-decoration: none;
  padding: 8px 4px;
}
.cta-text:hover {
  color: #166534;
}
.band-soft > .wrap.wrap-lead {
  padding-bottom: 40px;
}
.band-soft > .wrap.wrap-continue {
  padding-top: 0;
}
.group-video {
  grid-column: 1 / -1;
  min-width: 0;
}
.video-facade {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1220;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgb(15 23 42 / 0.12);
}
.video-facade img,
.video-facade video,
.video-facade picture {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-facade__button {
  appearance: none;
  border: 0;
  padding: 0;
  background: #0b1220;
  width: 100%;
  cursor: pointer;
  color: inherit;
  text-align: left;
  position: relative;
  display: block;
}
.video-facade__button:focus-visible {
  outline: 2px solid #15803d;
  outline-offset: 3px;
}
.video-facade__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: #15803d;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.28);
  display: grid;
  place-items: center;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.video-facade__play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-facade__button:hover .video-facade__play,
.video-facade__button:focus-visible .video-facade__play {
  background: #166534;
  transform: scale(1.05);
}
.video-facade__meta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgb(11 18 32 / 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}
.transcript {
  margin: 16px 0 0;
  font-size: 14px;
  color: #475569;
}
.transcript summary {
  cursor: pointer;
  font-weight: 700;
  color: #0b1220;
}
.transcript summary:focus-visible {
  outline: 2px solid #15803d;
  outline-offset: 3px;
  border-radius: 4px;
}
.transcript p {
  margin: 12px 0 0;
  max-width: 75ch;
  line-height: 1.65;
}
@media (prefers-reduced-motion: reduce) {
  .video-facade__play {
    transition: none;
  }
  .video-facade__button:hover .video-facade__play,
  .video-facade__button:focus-visible .video-facade__play {
    transform: none;
  }
}
