:root {
  color-scheme: light;
  --ink: #071936;
  --ink-2: #102846;
  --muted: #65758c;
  --line: #dceaf4;
  --paper: #f7fbff;
  --panel: #ffffff;
  --cyan: #08a9cf;
  --cyan-2: #10bfd2;
  --green: #47b772;
  --amber: #f6a623;
  --deep: #041b32;
  --deep-2: #062b4d;
  --shadow: 0 22px 60px rgba(7, 25, 54, 0.12);
  --soft-shadow: 0 14px 36px rgba(7, 25, 54, 0.08);
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

.soft-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 234, 244, 0.78);
  backdrop-filter: blur(18px);
}

.site-header > *,
.hero-copy,
.dashboard-visual,
.mock-panel,
.wide-cta > *,
.signup-section > *,
.contact-section > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 178px;
  max-width: 100%;
  display: block;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a,
.login-link,
.primary-button,
.secondary-button,
.secondary-dark,
.features-grid a,
.security-card a,
.site-footer a {
  text-decoration: none;
}

.header-actions,
.hero-actions,
.hero-badges,
.contact-box,
.cookie-actions {
  display: flex;
  align-items: center;
}

.header-actions {
  justify-content: flex-end;
  gap: 18px;
}

.login-link {
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 800;
}

.primary-button,
.secondary-button,
.secondary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 22px;
  font-weight: 900;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

button,
a[class*="button"] {
  max-width: 100%;
}

.primary-button {
  background: linear-gradient(135deg, var(--cyan-2), #0795c3);
  color: #fff;
  box-shadow: 0 16px 30px rgba(8, 169, 207, 0.24);
}

.primary-button:hover,
.secondary-button:hover,
.secondary-dark:hover {
  transform: translateY(-1px);
}

.primary-button.small {
  min-height: 42px;
  padding: 0 18px;
}

.secondary-button {
  background: #fff;
  color: var(--ink);
  border-color: #cdddeb;
}

.secondary-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 180px));
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  overflow: hidden;
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 80px) 52px;
  background:
    radial-gradient(circle at 82% 36%, rgba(8, 169, 207, 0.18), transparent 31%),
    radial-gradient(circle at 64% 18%, rgba(80, 188, 225, 0.11), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f6fbff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: 7vh;
  width: 58vw;
  height: 36vh;
  background:
    linear-gradient(120deg, transparent 18%, rgba(8, 169, 207, 0.11) 19%, transparent 21%),
    linear-gradient(126deg, transparent 26%, rgba(16, 191, 210, 0.13) 27%, transparent 29%),
    linear-gradient(132deg, transparent 35%, rgba(71, 183, 114, 0.09) 36%, transparent 38%);
  transform: skewY(-8deg);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  width: 100%;
  max-width: 650px;
  font-size: clamp(2.85rem, 5vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero h1 strong,
.section h2 strong,
.audience-intro h2 strong {
  color: var(--cyan);
  font-weight: 900;
}

.hero-line {
  display: inline;
}

.hero-text {
  max-width: 570px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.play-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #b9cbe0;
  border-radius: 50%;
  font-size: 0.62rem;
}

.hero-badges {
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 44px;
}

.hero-badges span {
  position: relative;
  max-width: 185px;
  padding-left: 34px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-badges span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eaf8ff;
  color: var(--cyan);
  font-weight: 900;
}

.hero-badges b {
  display: block;
  color: var(--ink);
}

.dashboard-visual {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid #cfe5f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4, 27, 50, 0.18);
  overflow: hidden;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 22px 16px;
  background: linear-gradient(180deg, #061d37, #041326);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
}

.mock-sidebar img {
  width: 122px;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.mock-sidebar span {
  border-radius: 8px;
  padding: 10px 11px;
}

.mock-sidebar span:first-of-type {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mock-user {
  margin-top: auto;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  line-height: 1.3;
}

.mock-user small {
  color: rgba(255, 255, 255, 0.62);
}

.mock-panel {
  padding: 26px;
  background: #fbfdff;
}

.mock-top,
.metric-grid,
.mock-content {
  display: grid;
  gap: 14px;
}

.mock-top {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 18px;
}

.mock-top strong {
  font-size: 1.35rem;
}

.mock-top span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid article,
.chart-card,
.list-widget,
.alert-widget,
.donut-widget,
.quick-widget {
  min-width: 0;
  border: 1px solid #e4eef7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(7, 25, 54, 0.05);
}

.metric-grid article {
  padding: 14px;
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.metric-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 1.2rem;
}

.metric-grid small {
  color: var(--green);
}

.mock-content {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  margin-top: 14px;
}

.chart-card,
.list-widget,
.alert-widget,
.donut-widget,
.quick-widget {
  padding: 16px;
}

.chart-card {
  grid-row: span 2;
}

.bar-chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 11px;
  margin-top: 18px;
  padding-top: 12px;
}

.bar-chart span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #82b7ff, #3b7cff);
}

.bar-chart span:nth-child(1) { height: 52%; }
.bar-chart span:nth-child(2) { height: 71%; }
.bar-chart span:nth-child(3) { height: 63%; }
.bar-chart span:nth-child(4) { height: 79%; }
.bar-chart span:nth-child(5) { height: 88%; }
.bar-chart span:nth-child(6) { height: 98%; }

.list-widget p,
.alert-widget p,
.quick-widget p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.alert-widget p::before {
  content: "△";
  color: var(--amber);
  font-weight: 900;
}

.donut-widget span {
  display: block;
  width: 86px;
  height: 86px;
  margin: 18px auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 42%, var(--amber) 42% 65%, #40b872 65% 86%, #dceaf4 86% 100%);
  box-shadow: inset 0 0 0 18px #fff;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(150px, 1fr));
  align-items: center;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 80px);
  background: linear-gradient(90deg, #041b32, #082f54);
  color: #fff;
}

.feature-strip strong {
  display: block;
  max-width: 280px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.feature-strip span {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.feature-strip span img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 6px;
  border: 1px solid rgba(16, 191, 210, 0.65);
  border-radius: 8px;
  background: rgba(16, 191, 210, 0.08);
}

.section {
  padding: clamp(58px, 7vw, 92px) clamp(18px, 5vw, 80px);
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section h2,
.wide-cta h2,
.contact-section h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.features-grid article,
.price-card,
.security-card,
.signup-form,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.features-grid article {
  min-height: 278px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.features-grid article::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 20px;
  width: 110px;
  height: 78px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 169, 207, 0.1), rgba(8, 169, 207, 0));
}

.icon-bubble {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 32px;
  background: #effaff;
  color: var(--cyan);
  box-shadow: inset 0 0 0 9px #f8fdff;
}

.icon-bubble img {
  width: 38px;
  height: 38px;
  display: block;
}

.features-grid strong,
.price-card span,
.security-card strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.2;
}

.features-grid p,
.price-card p,
.security-card p,
.audience-intro p,
.signup-section p,
.contact-copy,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

.features-grid p {
  min-height: 72px;
  margin-top: 12px;
  font-size: 0.92rem;
}

.features-grid a,
.security-card a {
  color: var(--cyan);
  font-weight: 900;
  font-size: 0.9rem;
}

.audience-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding-top: 24px;
}

.audience-intro {
  align-self: start;
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.audience-cards article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 8px;
  padding: 26px 22px;
  background:
    linear-gradient(180deg, rgba(4, 27, 50, 0.78), rgba(4, 27, 50, 0.58)),
    url("/assets/audience-couriers.svg") center bottom / cover no-repeat;
  color: #fff;
  box-shadow: var(--soft-shadow);
}

.audience-cards article:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(4, 27, 50, 0.78), rgba(4, 27, 50, 0.58)),
    url("/assets/audience-local.svg");
}

.audience-cards article:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(4, 27, 50, 0.78), rgba(4, 27, 50, 0.58)),
    url("/assets/audience-night.svg");
}

.audience-cards article:nth-child(4) {
  background-image:
    linear-gradient(180deg, rgba(4, 27, 50, 0.78), rgba(4, 27, 50, 0.58)),
    url("/assets/audience-growth.svg");
}

.audience-cards strong {
  font-size: 1.28rem;
  line-height: 1.12;
}

.audience-cards span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.audience-cards p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.profile-section {
  padding-top: 20px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.profile-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid #d9eaf5;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 252, 255, 0.98)),
    radial-gradient(circle at 80% 15%, rgba(8, 169, 207, 0.14), transparent 34%);
  box-shadow: 0 14px 34px rgba(7, 25, 54, 0.08);
}

.profile-grid strong {
  display: block;
  color: var(--deep);
  font-size: 1.16rem;
  line-height: 1.15;
}

.profile-grid p {
  margin-top: 12px;
  color: var(--ink-2);
  line-height: 1.5;
}

.pricing-section {
  border-top: 1px solid #edf4f9;
  background: linear-gradient(180deg, #fff, #f8fcff);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.price-card,
.security-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px 24px;
}

.price-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 20px 60px rgba(8, 169, 207, 0.18);
}

.price-card em {
  position: absolute;
  top: -13px;
  right: 18px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  padding: 5px 12px;
  background: #fff;
  color: var(--cyan);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 900;
}

.price-card strong {
  display: block;
  min-height: 58px;
  margin-top: 18px;
  font-size: 2rem;
  line-height: 1.08;
}

.price-card strong small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.price-card p {
  min-height: 72px;
  margin-top: 10px;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 24px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 700;
}

.price-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.price-card .primary-button,
.price-card .secondary-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
}

.security-card {
  background:
    radial-gradient(circle at 72% 68%, rgba(8, 169, 207, 0.26), transparent 28%),
    #fff;
}

.security-card a {
  margin-top: auto;
}

.security-card::after {
  content: "✓";
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin: 28px auto 0;
  border-radius: 34px;
  background: linear-gradient(135deg, #eaffff, #a6eff7);
  color: #058eb9;
  font-size: 3rem;
  font-weight: 900;
  box-shadow: 0 20px 45px rgba(8, 169, 207, 0.2);
}

.signup-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(380px, 1.15fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.signup-section {
  background: #fff;
}

.signup-form,
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdddeb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 169, 207, 0.12);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 18px;
}

.form-note.error {
  color: #b83232;
  font-weight: 900;
}

.wide-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 80px);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(90deg, rgba(4, 27, 50, 0.94), rgba(5, 49, 84, 0.92)),
    url("/assets/hero-courier-fleet.png") left center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.wide-cta h2 {
  max-width: 720px;
  color: #fff;
}

.wide-cta p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.wide-cta > div:last-child {
  display: grid;
  gap: 12px;
  min-width: 280px;
}

.contact-section {
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.contact-box {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-box a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.legal-main {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 42px);
}

.legal-main article {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  padding: clamp(24px, 5vw, 46px);
}

.legal-main h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.legal-main h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.25rem;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-main a {
  color: var(--cyan);
  font-weight: 900;
}

.privacy-form {
  display: grid;
  gap: 14px;
  max-width: 620px;
}

.privacy-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.privacy-form input,
.privacy-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.privacy-submit {
  width: fit-content;
  border: 0;
}

.privacy-status {
  min-height: 24px;
  font-weight: 900;
}

.privacy-status.is-error {
  color: #b83232;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(150px, 0.7fr));
  gap: 34px;
  padding: 46px clamp(18px, 5vw, 80px) 34px;
  background: linear-gradient(180deg, #062b4d, #041a31);
  color: #fff;
}

.footer-brand img {
  width: 174px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.site-footer nav,
.site-footer > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer strong {
  margin-bottom: 4px;
}

.demo-page,
.install-page {
  max-width: 1120px;
}

.demo-page h1,
.install-page h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.role-demo-grid,
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.role-demo-grid a,
.install-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.role-demo-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 181, 216, 0.4);
}

.role-demo-grid strong,
.install-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.role-demo-grid p,
.install-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  color: var(--muted);
  line-height: 1.45;
}

.cookie-actions {
  gap: 12px;
  white-space: nowrap;
}

.cookie-actions a {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .dashboard-visual {
    min-height: 520px;
  }

  .feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features-grid,
  .profile-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-section,
  .signup-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    justify-content: center;
  }

  .site-nav {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-top: 34px;
  }

  .hero-copy {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero-text,
  .hero-actions {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero h1 {
    width: calc(100vw - 36px);
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .hero-line {
    display: block;
  }

  .hero-badges {
    gap: 14px;
  }

  .dashboard-visual {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-top: 28px;
    min-height: 0;
  }

  .mock-sidebar {
    display: none;
  }

  .metric-grid,
  .mock-content,
  .features-grid,
  .profile-grid,
  .pricing-grid,
  .audience-cards,
  .role-demo-grid,
  .install-grid,
  .signup-form,
  .contact-form,
  .site-footer,
  .wide-cta {
    grid-template-columns: 1fr;
  }

  .mock-panel {
    padding: 16px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .features-grid article {
    min-height: auto;
  }

  .wide-cta {
    margin: 0 18px;
  }

  .wide-cta > div:last-child {
    min-width: 0;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: min(330px, calc(100vw - 48px));
    gap: 10px;
    margin: 0 auto;
  }

  .header-actions > * {
    width: 100%;
    min-width: 0;
  }

  .header-actions .primary-button {
    padding: 0 12px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .login-link {
    display: grid;
    place-items: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

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

  .hero-copy,
  .hero h1,
  .hero-text,
  .hero-actions {
    width: min(330px, calc(100vw - 48px));
    max-width: min(330px, calc(100vw - 48px));
  }

  .hero-actions > *,
  .contact-box > * {
    width: 100%;
  }

  .cookie-actions {
    flex-wrap: wrap;
    white-space: normal;
  }

  .cookie-actions > * {
    flex: 1 1 120px;
  }
}
