:root {
  --ink: #07143f;
  --text: #07143f;
  --text-muted: #5f6f8d;
  --blue: #087cec;
  --blue-dark: #0666c4;
  --cyan: #14c8ed;
  --violet: #6225e9;
  --pale: #e7f5ff;
  --bg: #ffffff;
  --surface: #ffffff;
  --line: #d5e8f8;
  --shadow: 0 12px 28px rgba(28, 74, 130, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --container: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(209, 225, 242, 0.55);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand img {
  width: 150px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #27559a;
}

.main-nav > a:not(.btn) {
  color: #1d5fb8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #1590ff 0%, #087cec 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(8, 124, 236, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #1184ef 0%, #0666c4 100%);
}

.btn-outline {
  border: 2px solid #8fc0ff;
  color: #087cec;
  background: rgba(255, 255, 255, 0.8);
}

.btn-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-light {
  min-height: 42px;
  padding: 0 18px;
  color: #1475ec;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 16, 52, 0.16);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

.btn-arrow.dark {
  filter: none;
  color: #1475ec;
}

.hero-shell {
  background:
    url("/assets/demo-site/backgrounds/hero-wallpaper.svg") center top / cover no-repeat,
    linear-gradient(180deg, #f8fcff 0%, #eef7ff 72%, #ffffff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  /* Copy wide enough for 3 feature titles; diary takes the rest. */
  grid-template-columns: minmax(340px, 36rem) minmax(0, 1fr);
  align-items: start;
  column-gap: 20px;
  row-gap: 12px;
  padding: 14px 0 0;
}

.hero-copy {
  padding: 0;
  z-index: 1;
  max-width: 36rem;
  overflow: visible;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.6rem;
  font-weight: 600;
  color: #6b7d99;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #07143f;
  max-width: none;
}

.hero-copy h1 span {
  display: block;
  background: linear-gradient(90deg, #0a84ff 0%, #3b5bfd 48%, #6a2ff0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 34em;
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #6b7d99;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  gap: 16px;
  max-width: none;
  margin-top: 14px;
}

.feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}

.feature-item h3 {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}

.step h3 {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-weight: 700;
  color: #07143f;
}

.card-body h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
}

.feature-item p {
  margin: 1px 0 0;
  color: var(--text-muted);
  line-height: 1.25;
  font-size: 0.64rem;
  white-space: nowrap;
}

.step p,
.card-body p,
.bottom-cta p,
.how-title p {
  margin: 2px 0 0;
  color: #5f6f8d;
  line-height: 1.4;
  font-size: 0.82rem;
  font-weight: 500;
}

.feature-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  padding: 5px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 4px 12px rgba(42, 88, 147, 0.1);
}

.hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: visible;
  display: flex;
  justify-content: stretch;
  align-items: flex-start;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: none;
  margin-left: 0;
  min-height: 0;
  /* Extend diary right under the phone; left edge unchanged. */
  padding-right: 28px;
  padding-bottom: 0;
}

.hero-chevron {
  position: absolute;
  right: -18px;
  top: 4%;
  width: min(58%, 380px);
  height: auto;
  opacity: 0.78;
  pointer-events: none;
  z-index: 0;
}

.mock-diary {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #f4f7f9;
  border: 1px solid rgba(28, 44, 73, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(29, 64, 110, 0.13);
  font-size: 8.5px;
  color: #1c2430;
  line-height: 1.2;
}

.mock-chrome {
  background: #fff;
  padding: 6px 12px 4px;
  border-bottom: 1px solid #e6edf4;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mock-brand img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.mock-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b3a1f;
}

.mock-navrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #3a4658;
  font-size: 0.68rem;
  font-weight: 500;
}

.mock-nav .is-active {
  position: relative;
  font-weight: 700;
  color: #142033;
}

.mock-nav .is-active i {
  position: absolute;
  top: -7px;
  right: -12px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.mock-signout {
  color: #5a6a80;
  font-size: 0.66rem;
  white-space: nowrap;
}

.mock-shell {
  margin: 6px 8px 6px;
  background: #fff;
  border: 1px solid #e2eaf2;
  border-radius: 10px;
  overflow: hidden;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 6px;
}

.mock-date {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mock-date button,
.mock-views button {
  font: inherit;
  font-size: 0.62rem;
  border: 1px solid #d7e1ec;
  background: #fff;
  color: #33425f;
  border-radius: 6px;
  padding: 3px 7px;
  line-height: 1.2;
}

.mock-date strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #142033;
}

.mock-date small {
  display: block;
  margin-top: 1px;
  color: #7a8aa3;
  font-size: 0.58rem;
}

.mock-views {
  display: flex;
  gap: 4px;
  flex: 0 0 auto;
}

.mock-views .is-on {
  background: #fff;
  border-color: #b8c9dc;
  box-shadow: 0 0 0 1px #fff inset, 0 1px 2px rgba(20, 40, 70, 0.08);
  font-weight: 700;
}

.mock-caps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #e6edf4;
  border-bottom: 1px solid #e6edf4;
  background: #fff;
}

.mock-caps > div {
  padding: 4px 10px;
  border-right: 1px solid #eef2f7;
}

.mock-caps > div:last-child {
  border-right: 0;
}

.mock-caps span {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a97ab;
}

.mock-caps b {
  display: block;
  margin-top: 1px;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #142033;
}

.mock-caps i {
  display: block;
  height: 3px;
  margin-top: 5px;
  max-width: 5.2rem;
  border-radius: 2px;
  background: #087cec;
}

.mock-caps .is-warn b {
  color: #c47a12;
}

.mock-board {
  background: #fff;
}

.mock-ruler,
.mock-lane {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  border-bottom: 1px solid #eef2f7;
}

.mock-ruler {
  background: #f7fafc;
  border-bottom-color: #e2eaf2;
}

.mock-staff-label {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a97ab;
  border-right: 1px solid #e2eaf2;
}

.mock-hours {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  height: 24px;
  color: #8a97ab;
  font-size: 0.58rem;
  font-weight: 500;
}

.mock-hours span {
  padding: 8px 0 0 5px;
  border-left: 1px solid #e2eaf2;
}

.mock-now {
  position: absolute;
  top: 4px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 1px 6px;
  border-radius: 9px;
  background: #e11d2e;
  color: #fff;
  font-size: 0.6rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.3;
}

.mock-staff {
  padding: 6px 8px;
  border-right: 1px solid #e2eaf2;
  background: #fff;
}

.mock-staff strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #142033;
}

.mock-staff small {
  display: block;
  margin-top: 1px;
  color: #8a97ab;
  font-size: 0.56rem;
}

.mock-track {
  position: relative;
  height: 44px;
  background-image:
    linear-gradient(to right, #e2eaf2 0 1px, transparent 1px),
    linear-gradient(to right, #eef2f7 0 1px, transparent 1px);
  background-size: calc(100% / 9) 100%, calc(100% / 18) 100%;
  background-repeat: repeat-x;
}

.mock-nowline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e11d2e;
  z-index: 1;
  pointer-events: none;
}

.mock-job {
  position: absolute;
  top: 6px;
  bottom: 6px;
  z-index: 2;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-left-width: 3px;
  border-radius: 4px;
  overflow: hidden;
}

.mock-job b,
.mock-job small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-job b {
  font-size: 0.62rem;
  font-weight: 700;
}

.mock-job small {
  margin-top: 1px;
  font-size: 0.54rem;
  opacity: 0.85;
}

.mock-job.is-ok {
  background: #e7fbf4;
  border-color: #28dfa2;
  color: #0f6b4f;
}

.mock-job.is-wait {
  background: #fff4e5;
  border-color: #c47a12;
  color: #8a5410;
}

.mock-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 5px;
  border-top: 1px solid #eef2f7;
  color: #6b7d99;
  font-size: 0.54rem;
}

.mock-legend span {
  position: relative;
  padding-left: 10px;
}

.mock-legend span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 1px;
}

.mock-legend .is-wait::before { background: #c47a12; }
.mock-legend .is-ok::before { background: #28dfa2; }

.mock-legend em {
  margin-left: auto;
  font-style: normal;
  color: #8a97ab;
}

.phone-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 142px;
  aspect-ratio: 9 / 18.8;
  height: auto;
  max-height: 96%;
  background: #111;
  border-radius: 28px;
  padding: 10px 6px 7px;
  box-shadow: 0 22px 40px rgba(18, 29, 49, 0.26);
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 12px;
  border-radius: 0 0 11px 11px;
  background: #000;
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  background: #f8fbff;
  padding: 22px 10px 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-logo {
  width: 42px;
  height: 42px;
  margin: 0 auto 2px;
  border-radius: 12px;
  object-fit: cover;
  background: #000;
}

.sms-bubble {
  max-width: 90%;
  border-radius: 13px;
  padding: 9px 9px;
  font-size: 0.74rem;
  line-height: 1.3;
  box-shadow: 0 6px 18px rgba(36, 54, 85, 0.08);
}

.sms-received {
  align-self: flex-start;
  background: #eef1f6;
  color: #424f67;
}

.sms-sent {
  align-self: flex-end;
  background: #20cf6e;
  color: #fff;
  min-width: 32px;
  text-align: center;
}

.sms-bubble.small {
  font-size: 0.7rem;
}

.demo-section {
  padding: 36px 0 20px;
  background: #fff;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.how-title h2,
.bottom-cta h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.1vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #07143f;
}

.section-heading p {
  max-width: 42rem;
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
  color: #5f6f8d;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.demo-card {
  background: #fff;
  border: 1px solid rgba(201, 223, 245, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-cover {
  height: 104px;
  overflow: hidden;
  background: #dceaf7;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-body {
  padding: 0 12px 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.card-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0b0b0b;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(33, 51, 79, 0.12);
  margin-top: -28px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 3px solid #fff;
}

.card-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0b0b0b;
}

.card-body .category {
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #7a8aa5;
}

.card-body .description {
  min-height: 44px;
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #5f6f8d;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 12px;
}

.tags span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  background: #e8f3ff;
  color: #0d4fa8;
  font-weight: 700;
  font-size: 0.82rem;
}

.card-link:hover {
  background: #d9ecff;
}

.theme-copper h3 { color: #b35f24; }
.theme-copper .tags span { background: #fff0e7; color: #b35f24; }
.theme-plumbing h3 { color: #0c71c7; }
.theme-plumbing .tags span { background: #e8f4ff; color: #116dd4; }
.theme-garage h3 { color: #1258a9; }
.theme-garage .tags span { background: #e5f7ef; color: #137f65; }
.theme-pitlane h3 { color: #de2b1f; }
.theme-pitlane .tags span { background: #ffeaea; color: #d82519; }
.theme-quill h3 { color: #234d85; }
.theme-quill .tags span { background: #ebfbf8; color: #168d82; }

.how-it-works {
  padding: 4px 0 18px;
  background: #fff;
}

.how-panel {
  display: grid;
  grid-template-columns: 1fr 3.4fr;
  gap: 0;
  background: #edf6ff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.how-title {
  padding: 14px 18px;
  border-right: 1px solid #d4e5f7;
}

.how-title h2 {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
}

.how-title p {
  margin-top: 4px;
  max-width: 14rem;
  font-size: 0.78rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 8px;
  align-items: start;
  padding: 14px 14px;
  border-left: 1px solid #d4e5f7;
}

.step:first-child {
  border-left: 0;
}

.step h3 {
  font-size: 0.8rem;
}

.step p {
  font-size: 0.74rem;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #087cec;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}

.step-icon {
  width: 28px;
  height: 28px;
  margin-top: 1px;
}

.bottom-cta {
  margin-top: 0;
  background:
    url("/assets/demo-site/backgrounds/cta-gradient.svg") center / cover no-repeat,
    linear-gradient(90deg, #08a7ef 0%, #1475ec 55%, #6225e9 100%);
  color: #fff;
}

.bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 6px;
}

.bottom-cta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  background: #0b0b0b;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.bottom-cta-left h2 {
  color: #fff;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  margin: 0 0 2px;
  font-weight: 800;
}

.bottom-cta-left p,
.bottom-cta-right p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
}

.bottom-cta-right {
  text-align: right;
  min-width: 240px;
}

.bottom-cta-right .btn-arrow.dark {
  filter: none;
}

.bottom-cta-right p {
  margin-top: 4px;
  font-size: 0.72rem;
}

.support-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
}

.support-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.support-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
}

.support-link:hover {
  background: rgba(255, 255, 255, 0.22);
}

.support-link img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 1480px) {
  .demo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 12px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    max-width: none;
    margin: 0;
  }

  .hero-stage {
    width: 100%;
    max-width: none;
    padding-right: 36px;
  }

  .hero-chevron {
    right: -12px;
  }
}

@media (max-width: 980px) {
  .main-nav {
    gap: 14px;
  }

  .brand img {
    width: 160px;
  }

  .steps,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .hero-features {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 12px;
  }

  .feature-item h3,
  .feature-item p {
    white-space: normal;
  }

  .how-panel {
    grid-template-columns: 1fr;
  }

  .how-title {
    border-right: 0;
    border-bottom: 1px solid #d4e5f7;
  }

  .step {
    border-left: 0;
    border-top: 1px solid #d4e5f7;
  }

  .bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .bottom-cta-right {
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .btn-light {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 1.9rem;
  }

  .hero-visual {
    max-width: none;
    width: 100%;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 0;
  }

  .mock-diary {
    width: 100%;
    font-size: 11px;
    border-radius: 12px;
  }

  .mock-chrome {
    padding: 10px 12px 8px;
  }

  .mock-brand strong {
    font-size: 0.95rem;
  }

  .mock-nav {
    gap: 8px;
    font-size: 0.72rem;
  }

  .mock-nav span:nth-child(n + 4) {
    display: none;
  }

  .mock-signout {
    display: none;
  }

  .mock-shell {
    margin: 8px;
  }

  .mock-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mock-date strong {
    font-size: 0.88rem;
  }

  .mock-caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-caps > div:nth-child(2) {
    border-right: 0;
  }

  .mock-caps b {
    font-size: 1rem;
  }

  .mock-board {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mock-ruler,
  .mock-lane {
    grid-template-columns: 64px minmax(280px, 1fr);
    min-width: 360px;
  }

  .mock-track {
    height: 52px;
  }

  .mock-job b {
    font-size: 0.72rem;
  }

  .mock-job small {
    font-size: 0.62rem;
  }

  .mock-legend {
    padding: 6px 10px 8px;
    font-size: 0.66rem;
  }

  .mock-legend em {
    display: none;
  }

  .phone-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 148px;
    max-height: none;
    margin: 0 auto;
    flex: 0 0 auto;
  }

  .hero-chevron {
    display: none;
  }

  .section-heading h2,
  .how-title h2,
  .bottom-cta h2 {
    font-size: 1.8rem;
  }

  .card-body .description {
    min-height: 0;
  }
}
