:root {
  color-scheme: light;
  --ink: #102b2f;
  --ink-2: #24464a;
  --muted: #5e7275;
  --paper: #fffdf8;
  --paper-2: #f5fbf7;
  --mist: #e5f1ec;
  --line: #ccdcd7;
  --teal: #108d86;
  --teal-dark: #05645f;
  --coral: #f4777b;
  --plum: #6b4dc5;
  --gold: #e0ac39;
  --night: #101520;
  --night-2: #1f2538;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 43, 47, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  padding: 14px 40px;
  border-bottom: 1px solid rgba(204, 220, 215, 0.68);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 0;
  min-width: 0;
}

.brand strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mist);
  color: var(--teal-dark);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--ink);
  color: var(--white);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--teal-dark);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 560px) 1fr;
  grid-template-areas: "content scene";
  align-items: center;
  min-height: 76svh;
  overflow: hidden;
  padding: 78px 40px 42px;
  background:
    linear-gradient(125deg, rgba(255, 253, 248, 0.98), rgba(245, 251, 247, 0.82) 55%, rgba(255, 246, 239, 0.88)),
    repeating-linear-gradient(90deg, rgba(16, 43, 47, 0.055) 0 1px, transparent 1px 120px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-content {
  grid-area: content;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 21px;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(16, 43, 47, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
  outline: none;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--teal);
  background: var(--mist);
  outline: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 610px;
  margin: 44px 0 0;
}

.hero-metrics div {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.hero-metrics dt {
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-scene {
  grid-area: scene;
  position: relative;
  align-self: stretch;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.pulse-lane {
  position: absolute;
  right: 5%;
  width: 48%;
  min-width: 620px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 141, 134, 0.4), rgba(244, 119, 123, 0.5), transparent);
  transform-origin: right center;
}

.lane-one {
  top: 28%;
  transform: rotate(-11deg);
}

.lane-two {
  top: 68%;
  transform: rotate(9deg);
}

.device {
  position: absolute;
  overflow: hidden;
  border: 8px solid #080c14;
  border-radius: 36px;
  background: #080c14;
  box-shadow: var(--shadow);
}

.device-main {
  right: 3%;
  top: 8%;
  width: 255px;
  aspect-ratio: 438 / 908;
  transform: rotate(2deg);
}

.device-secondary {
  right: 60%;
  bottom: 8%;
  width: 175px;
  aspect-ratio: 438 / 908;
  opacity: 0.96;
  transform: rotate(-5deg);
}

.panel-top,
.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top span,
.cockpit-header span,
.cockpit-tile span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.panel-top b,
.cockpit-header b {
  border-radius: 8px;
  background: #dff7ed;
  color: #0d6c51;
  font-size: 12px;
  padding: 6px 8px;
}

.mini-vitals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.mini-vitals span {
  display: grid;
  min-height: 64px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--muted);
  padding: 10px;
  font-size: 12px;
}

.mini-vitals b {
  color: var(--ink);
  font-size: 20px;
}

.signal-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.25fr 0.7fr 1fr;
  align-items: end;
  gap: 7px;
  height: 50px;
  margin-top: 16px;
}

.signal-row span {
  display: block;
  border-radius: 8px 8px 0 0;
  background: var(--teal);
}

.signal-row span:nth-child(1) { height: 28%; }
.signal-row span:nth-child(2) { height: 56%; background: var(--coral); }
.signal-row span:nth-child(3) { height: 78%; }
.signal-row span:nth-child(4) { height: 38%; background: var(--plum); }
.signal-row span:nth-child(5) { height: 64%; background: var(--gold); }

.guardian-panel p {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.care-rhythm,
.showcase,
.trust,
.final-cta {
  padding: 88px 40px;
}

.care-rhythm {
  padding-top: 38px;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  width: min(var(--max), 100%);
}

.section-heading h2,
.guardian-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-heading p:not(.eyebrow),
.guardian-copy p,
.final-cta p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.role-switcher {
  width: min(var(--max), 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 52px rgba(16, 43, 47, 0.08);
  overflow: hidden;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.role-tab {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 900;
}

.role-tab:last-child {
  border-right: 0;
}

.role-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.role-tab:focus-visible {
  outline: 3px solid rgba(16, 141, 134, 0.36);
  outline-offset: -3px;
}

.role-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  padding: 42px;
}

.role-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.role-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.value-list li {
  grid-row: span 3;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
  padding: 20px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.value-list li:hover {
  box-shadow: 0 10px 32px rgba(16, 43, 47, 0.1);
  transform: translateY(-3px);
}

.value-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  margin-bottom: 20px;
  background:
    linear-gradient(135deg, var(--teal) 0 45%, transparent 46%),
    linear-gradient(45deg, var(--coral) 0 45%, var(--gold) 46%);
}

.value-list strong,
.journey-step h3,
.trust-grid h3,
.proof-band strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.value-list p,
.journey-step p,
.trust-grid p,
.proof-band p {
  margin: 12px 0 0;
  color: var(--muted);
}

.experience-band {
  padding: 82px 40px;
  background: var(--ink);
  color: var(--white);
}

.experience-band .eyebrow {
  color: #8de3d8;
}

.experience-band h2 {
  color: var(--white);
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  gap: 1px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.journey-step {
  grid-row: span 3;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
  background: #142f34;
  padding: 28px;
  transition: background 200ms ease;
}

.journey-step:hover {
  background: #1a3b41;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border-radius: 8px;
  background: rgba(141, 227, 216, 0.12);
  color: #8de3d8;
  font-size: 14px;
  font-weight: 900;
}

.journey-step h3 {
  margin-top: 24px;
  color: var(--white);
  letter-spacing: -0.01em;
  font-size: 15px;
}

.journey-step p {
  margin-top: 0px;
  color: #bbd3d0;
  font-size: 14px;
}

.showcase {
  background: var(--paper-2);
}

.product-gallery {
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.85fr;
  align-items: center;
  gap: 26px;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.phone-frame {
  margin: 0;
  text-align: center;
}

.phone-frame .mock-phone {
  width: min(100%, 270px);
  aspect-ratio: 438 / 908;
  margin: 0 auto;
  border: 7px solid #060910;
  border-radius: 34px;
  background: #060910;
  box-shadow: 0 22px 50px rgba(16, 43, 47, 0.2);
  overflow: hidden;
}

.phone-frame.featured .mock-phone {
  width: min(100%, 330px);
}

.phone-frame figcaption {
  max-width: 300px;
  margin: 16px auto 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

.guardian-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 92px 0;
}

.guardian-copy .button {
  margin-top: 30px;
}

.guardian-cockpit {
  border: 1px solid #2e3445;
  border-radius: 8px;
  background: var(--night);
  color: var(--white);
  box-shadow: var(--shadow);
  padding: 24px;
}

.cockpit-header {
  padding-bottom: 22px;
  border-bottom: 1px solid #333a4f;
}

.cockpit-header strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.cockpit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.cockpit-tile {
  min-height: 158px;
  border: 1px solid #333a4f;
  border-radius: 8px;
  background: var(--night-2);
  padding: 18px;
  transition: border-color 200ms ease;
}

.cockpit-tile:hover {
  border-color: #4a5270;
}

.cockpit-tile strong {
  display: block;
  margin-top: 28px;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cockpit-tile small {
  display: block;
  margin-top: 10px;
  color: #b4bfd4;
  font-size: 13px;
}

.alert-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin-top: 16px;
  border: 1px solid rgba(141, 227, 216, 0.24);
  border-radius: 8px;
  background: rgba(16, 141, 134, 0.16);
  padding: 14px;
}

.alert-strip span {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #35e4b4;
}

.alert-strip p {
  margin: 0;
  color: #d9f2ee;
  font-weight: 800;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band article {
  min-height: 220px;
  background: var(--white);
  padding: 42px;
  transition: background 200ms ease;
}

.proof-band article:hover {
  background: var(--paper-2);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  gap: 16px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.trust-grid article {
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
  row-gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.trust-grid article:hover {
  box-shadow: 0 10px 32px rgba(16, 43, 47, 0.1);
  transform: translateY(-3px);
}

.trust-grid article:nth-child(1) {
  border-top: 5px solid var(--teal);
}

.trust-grid article:nth-child(2) {
  border-top: 5px solid var(--coral);
}

.trust-grid article:nth-child(3) {
  border-top: 5px solid var(--plum);
}

.trust-grid article:nth-child(4) {
  border-top: 5px solid var(--gold);
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  background: #f4faf7;
  border-top: 1px solid var(--line);
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
}

.final-cta .button {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px 40px;
  background: var(--ink);
  color: #d4e5e2;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.site-footer a {
  flex: 0 0 auto;
  color: #8de3d8;
  font-size: 13px;
  font-weight: 800;
}

/* ===== Phone mockup screen components ===== */

.mock-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #0c1120;
  color: white;
  font-size: 9px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  padding: 0 8px 10px;
  overflow: hidden;
}

.ms-island {
  width: 64px;
  height: 20px;
  background: #000;
  border-radius: 10px;
  margin: 6px auto 2px;
  flex-shrink: 0;
}

.ms-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 5px;
  flex-shrink: 0;
}

.ms-time {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.ms-icons {
  display: block;
  flex-shrink: 0;
}

.ms-back {
  margin: 0;
  color: #3de8d8;
  font-size: 9px;
  padding: 0 4px 4px;
  flex-shrink: 0;
}

.ms-heading {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
  padding: 0 4px 10px;
  flex-shrink: 0;
}

.ms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  flex: 1;
  min-height: 0;
  padding: 0 2px;
}

.ms-tile {
  background: #151c30;
  border-radius: 10px;
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  overflow: hidden;
}

.ms-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 4px 0;
}

.ms-label {
  font-size: 6.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  line-height: 1;
  flex-shrink: 0;
}

.ms-val {
  font-size: 13px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  flex-shrink: 0;
}

.ms-val small {
  font-size: 8px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.ms-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 2px 0;
  flex-shrink: 0;
}

.ms-tab {
  flex: 1;
  height: 22px;
  background: #151c30;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.ms-tab.is-active {
  background: #1f2b45;
  color: white;
}

/* Capture screens */

.ms-center-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 4px 0;
  flex-shrink: 0;
}

.ms-subtitle {
  text-align: center;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  padding: 2px 4px 3px;
  flex-shrink: 0;
}

.ms-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  align-self: center;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.ms-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3de8a0;
  display: block;
  flex-shrink: 0;
}

.ms-oval-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  min-height: 0;
}

.ms-oval {
  width: 50%;
  aspect-ratio: 3 / 4;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  flex-shrink: 0;
}

.ms-oval-done {
  border-color: #3de8a0;
  border-width: 2.5px;
  box-shadow: 0 0 0 4px rgba(61, 232, 160, 0.15), inset 0 0 30px rgba(61, 232, 160, 0.07);
}

.ms-hint {
  text-align: center;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.38);
  padding: 0 12px 5px;
  flex-shrink: 0;
}

.ms-complete-text {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: #3de8a0;
  padding: 0 4px 5px;
  flex-shrink: 0;
}

.ms-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 2px;
  flex-shrink: 0;
}

.ms-mini {
  background: #151c30;
  border-radius: 8px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ms-mini-svg {
  display: block;
  flex-shrink: 0;
}

.ms-mini-label {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

.ms-mini-val {
  font-size: 10px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
}

.ms-btn-row {
  display: flex;
  gap: 5px;
  padding: 6px 2px 0;
  flex-shrink: 0;
}

.ms-btn-start {
  flex: 1;
  height: 28px;
  background: #3de8d8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #0c1120;
}

.ms-btn-ghost {
  flex: 1;
  height: 28px;
  background: #1f2b45;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero device float animations */

@keyframes float-main {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-10px); }
}

@keyframes float-secondary {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-7px); }
}

/* ===== Responsive ===== */

@media (max-width: 1120px) {
  .hero {
    padding-top: 92px;
  }

  .device-main {
    width: 210px;
  }

  .device-secondary {
    display: none;
  }

  .role-story {
    grid-template-columns: 1fr;
  }

  .guardian-section {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shrink devices for the narrower scene column at mid-range viewports */
@media (max-width: 960px) {
  .device-main {
    width: 168px;
    transform: none;
    animation: none;
  }

  .device-secondary {
    width: 120px;
    transform: none;
    animation: none;
  }

  .guardian-panel {
    display: none;
  }
}

@media (min-width: 961px) {
  .device-main {
    animation: float-main 5s ease-in-out infinite;
  }

  .device-secondary {
    animation: float-secondary 5.8s ease-in-out infinite;
    animation-delay: -2.4s;
  }
}

@media (max-width: 840px) {
  .site-header {
    min-height: 68px;
    padding: 12px 20px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 8px;
    box-shadow: 0 18px 36px rgba(16, 43, 47, 0.14);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "content" "scene";
    min-height: auto;
    padding: 92px 22px 34px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .hero-scene {
    position: relative;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 12px;
    align-items: end;
    min-height: 500px;
    margin: 40px 0 0;
    pointer-events: none;
  }

  .pulse-lane {
    display: none;
  }

  .device,
  .guardian-panel {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    animation: none;
  }

  .device-main {
    width: 100%;
    max-width: 250px;
    justify-self: end;
  }

  .device-secondary {
    width: 100%;
    max-width: 168px;
    justify-self: start;
    align-self: center;
  }

  .guardian-panel {
    grid-column: 1 / -1;
    width: 100%;
  }

  .care-rhythm,
  .showcase,
  .trust,
  .final-cta {
    padding: 68px 22px;
  }

  .experience-band {
    padding: 68px 22px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .guardian-copy h2,
  .final-cta h2 {
    font-size: 36px;
  }

  .section-heading p:not(.eyebrow),
  .guardian-copy p,
  .final-cta p {
    font-size: 16px;
  }

  .role-story {
    padding: 24px;
  }

  .value-list,
  .product-gallery,
  .proof-band,
  .trust-grid,
  .journey,
  .cockpit-grid {
    grid-template-columns: 1fr;
  }

  .value-list li,
  .journey-step,
  .trust-grid article,
  .proof-band article {
    min-height: auto;
  }

  .product-gallery {
    gap: 42px;
  }

  .phone-frame.featured {
    order: -1;
  }

  .guardian-section {
    width: calc(100% - 44px);
    padding: 68px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }
}

@media (max-width: 480px) {
  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-scene {
    min-height: 460px;
  }

  .role-tabs {
    grid-template-columns: 1fr;
  }

  .role-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .role-tab:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
