:root {
  color-scheme: dark;
  --canvas: #050507;
  --canvas-deep: #020203;
  --panel: rgba(18, 18, 21, 0.78);
  --panel-strong: rgba(26, 26, 30, 0.86);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --ink: #f2f0eb;
  --muted: #93918a;
  --dim: #5e5c57;
  --plum: #b885ff;
  --plum-strong: #9f64ff;
  --indigo: #858fff;
  --sage: #5ce0ad;
  --teal: #47d6e0;
  --amber: #fac247;
  --rose: #fa6b80;
  --coral: #ff7061;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.78), rgba(2, 2, 3, 0.96)),
    #020203;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.045) 29%, transparent 38% 100%),
    linear-gradient(165deg, transparent 0 55%, rgba(184, 133, 255, 0.075) 56%, transparent 66% 100%);
  opacity: 0.38;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  height: 72px;
  padding: 12px 0;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.92), rgba(5, 5, 7, 0.74) 72%, rgba(5, 5, 7, 0));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(184, 133, 255, 0.18);
}

.nav-links,
.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  min-height: 34px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button {
  gap: 8px;
  padding: 0 15px;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(184, 133, 255, 0.72);
  background: linear-gradient(180deg, var(--plum), var(--plum-strong));
  color: #08070a;
  box-shadow: 0 14px 34px rgba(159, 100, 255, 0.28);
}

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

.button-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.button-wide {
  width: 100%;
}

.icon-button {
  width: 38px;
  padding: 0;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  border-color: var(--line);
}

.app-view {
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 168px);
  padding: 52px 0 72px;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 24px -34px 14px;
  z-index: -1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #050507;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 2, 3, 0.98), rgba(2, 2, 3, 0.66) 46%, rgba(2, 2, 3, 0.28)),
    linear-gradient(180deg, rgba(2, 2, 3, 0.18), rgba(2, 2, 3, 0.86));
}

.product-hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 24%, rgba(184, 133, 255, 0.22), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(92, 224, 173, 0.12), transparent 30%);
}

.hero-content {
  max-width: 760px;
  padding: 18px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin: 0 0 18px;
  color: var(--plum);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 18px rgba(184, 133, 255, 0.7);
  content: "";
}

.hero h1,
.page-heading h1 {
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-size: 64px;
  line-height: 0.98;
  font-weight: 850;
}

.hero-copy,
.page-heading p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions,
.section-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 630px;
  margin-top: 34px;
}

.metric-tile {
  min-height: 96px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 18, 21, 0.72);
  backdrop-filter: blur(14px);
}

.metric-tile strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.metric-tile span {
  display: block;
  margin-top: 8px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.4;
}

.section {
  padding: 74px 0;
}

.section.compact {
  padding-top: 42px;
}

.section-header,
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--plum);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2,
.auth-card h1,
.dashboard-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.05;
}

.section-header p,
.dashboard-title p,
.auth-card p,
.empty-state p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid,
.pricing-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 12px;
  margin-bottom: 12px;
}

.platform-card {
  display: grid;
  gap: 18px;
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.platform-card-wide {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  align-items: stretch;
}

.platform-card h3 {
  margin: 15px 0 8px;
  color: var(--ink);
  font-size: 22px;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.feature-card,
.price-card,
.dashboard-card,
.auth-card,
.billing-strip,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.feature-card,
.dashboard-card {
  min-height: 180px;
  padding: 18px;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  position: absolute;
  inset: 0;
  border-top: 2px solid var(--accent, var(--plum));
  opacity: 0.75;
  content: "";
}

.feature-icon,
.feature-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--accent, var(--plum)) 48%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent, var(--plum)) 13%, transparent);
  color: var(--accent, var(--plum));
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3,
.dashboard-card h3,
.price-card h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.feature-card p,
.dashboard-card p,
.price-card p,
.plan-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cloud-console {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 12px;
  margin-top: 22px;
}

.console-panel {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 10, 13, 0.82);
  overflow: hidden;
}

.console-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.console-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.console-row strong,
.billing-strip strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.console-row span,
.billing-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 16px color-mix(in srgb, var(--sage) 76%, transparent);
}

.pricing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.billing-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.billing-toggle button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--plum);
  color: #08070a;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 20px;
}

.price-card.featured {
  border-color: rgba(184, 133, 255, 0.72);
  background: rgba(24, 20, 32, 0.9);
}

.plan-badge,
.discount-badge,
.account-pill,
.feature-status {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.discount-badge {
  margin-top: 14px;
  border-color: rgba(92, 224, 173, 0.36);
  background: rgba(92, 224, 173, 0.09);
  color: var(--sage);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0 6px;
}

.price strong {
  color: var(--ink);
  font-size: 40px;
  line-height: 1;
}

.price span,
.saving,
.billing-note {
  color: var(--muted);
  font-size: 13px;
}

.saving {
  min-height: 20px;
  color: var(--sage);
}

.billing-note {
  min-height: 19px;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 18px;
}

.plan-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--plum);
  content: "";
}

.price-card .button {
  margin-top: auto;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(340px, 470px) 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: calc(100vh - 170px);
  padding: 52px 0 72px;
}

.auth-card {
  align-self: center;
  padding: 28px;
}

.auth-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 10, 0.76);
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 2, 3, 0.22), rgba(2, 2, 3, 0.08));
  content: "";
}

.device-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center end;
  padding: 48px;
  opacity: 0.92;
}

.auth-visual .device-stage {
  place-items: center;
  padding: 24px;
  transform: scale(0.92);
}

.auth-visual > .cloud-mock {
  width: min(520px, calc(100% - 36px));
  margin: 92px auto 0;
}

.social-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.social-button span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--plum);
  font-size: 12px;
}

.social-button.pending {
  color: var(--muted);
}

.social-button.pending span {
  color: var(--muted);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.mac-mock,
.phone-mock,
.cloud-mock,
.mini-board {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(12, 12, 15, 0.9);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46), 0 0 70px rgba(184, 133, 255, 0.12);
}

.mac-mock {
  width: min(720px, 58vw);
  min-height: 430px;
  margin-left: auto;
  overflow: hidden;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.mock-titlebar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dim);
}

.mock-titlebar span:nth-child(1) {
  background: var(--coral);
}

.mock-titlebar span:nth-child(2) {
  background: var(--amber);
}

.mock-titlebar span:nth-child(3) {
  background: var(--sage);
}

.mock-titlebar strong {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
}

.mac-mock-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 394px;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.mock-sidebar span,
.mobile-module-rail span {
  min-height: 30px;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.mock-sidebar span.active,
.mobile-module-rail span:nth-child(odd) {
  background: rgba(184, 133, 255, 0.16);
  color: var(--ink);
}

.mock-main {
  padding: 20px;
}

.mock-kicker {
  color: var(--plum);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.mock-headline {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.05;
  font-weight: 850;
}

.timeline-bars {
  display: flex;
  gap: 5px;
  height: 64px;
  margin: 24px 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.timeline-bars span {
  width: var(--w);
  border-radius: 6px;
  background: var(--c);
  opacity: 0.86;
}

.mock-cards,
.cloud-mock-grid,
.mini-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mock-cards div,
.cloud-metric,
.mini-board div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.mock-cards strong,
.cloud-metric strong,
.mini-board strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.mock-cards span,
.cloud-metric span,
.mini-board span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.phone-mock {
  position: absolute;
  right: 28px;
  bottom: 40px;
  width: 188px;
  min-height: 366px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(4, 4, 6, 0.95);
}

.phone-speaker {
  width: 58px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.phone-screen {
  min-height: 326px;
  padding: 18px 13px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(250, 112, 97, 0.22), transparent 38%),
    rgba(16, 16, 20, 0.96);
}

.phone-screen strong {
  display: block;
  margin-top: 13px;
  color: var(--ink);
  font-size: 26px;
}

.phone-screen p {
  margin: 7px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.phone-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--plum));
}

.phone-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.phone-list span {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.04);
}

.mini-board {
  align-self: stretch;
  padding: 12px;
}

.mobile-module-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cloud-mock {
  min-height: 360px;
  overflow: hidden;
}

.cloud-mock-grid {
  padding: 18px;
}

.cloud-metric.wide {
  grid-column: 1 / -1;
}

.product-console-panel {
  padding: 0;
}

.form-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: rgba(184, 133, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(184, 133, 255, 0.16);
}

.form-note,
.inline-message {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-link {
  width: fit-content;
  color: var(--plum);
  font-size: 13px;
  font-weight: 850;
}

.inline-message.error {
  color: var(--rose);
}

.inline-message.success {
  color: var(--sage);
}

.dashboard-shell {
  padding: 36px 0 72px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}

.dashboard-title,
.account-summary {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.account-summary {
  display: grid;
  align-content: space-between;
  gap: 20px;
}

.account-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-plan strong {
  color: var(--ink);
  font-size: 30px;
}

.account-pill.ready {
  border-color: rgba(92, 224, 173, 0.45);
  background: rgba(92, 224, 173, 0.12);
  color: var(--sage);
}

.account-pill.locked {
  border-color: rgba(250, 194, 71, 0.45);
  background: rgba(250, 194, 71, 0.1);
  color: var(--amber);
}

.billing-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
}

.dashboard-card {
  display: grid;
  gap: 12px;
  align-content: space-between;
}

.dashboard-card.locked {
  opacity: 0.78;
}

.dashboard-card .feature-status.ready {
  border-color: rgba(92, 224, 173, 0.46);
  background: rgba(92, 224, 173, 0.11);
  color: var(--sage);
}

.dashboard-card .feature-status.pro {
  border-color: rgba(71, 214, 224, 0.46);
  background: rgba(71, 214, 224, 0.11);
  color: var(--teal);
}

.dashboard-card .feature-status.locked {
  border-color: rgba(250, 194, 71, 0.42);
  background: rgba(250, 194, 71, 0.1);
  color: var(--amber);
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 190px);
  padding: 28px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 18, 21, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}

.site-footer a {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .site-shell {
    width: min(100% - 24px, 760px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 142px);
    padding-top: 36px;
  }

  .hero-visual {
    inset: 16px -18px 10px;
  }

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

  .hero-copy,
  .page-heading p {
    font-size: 16px;
  }

  .hero-metrics,
  .feature-grid,
  .pricing-grid,
  .dashboard-grid,
  .billing-strip,
  .cloud-console,
  .platform-grid,
  .platform-card-wide,
  .auth-layout,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

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

  .device-stage {
    justify-items: end;
    padding: 26px 18px;
  }

  .mac-mock {
    width: min(680px, 92vw);
    opacity: 0.66;
  }

  .phone-mock {
    right: 16px;
    bottom: 18px;
    transform: scale(0.9);
    transform-origin: bottom right;
  }

  .auth-visual {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 18px, 460px);
  }

  .topbar-actions .button-soft,
  .topbar-actions .button-primary[data-signed-out] {
    display: none;
  }

  .hero h1,
  .page-heading h1 {
    font-size: 36px;
  }

  .section h2,
  .auth-card h1,
  .dashboard-title h1 {
    font-size: 28px;
  }

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

  .hero-actions .button,
  .form-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .hero-metrics,
  .product-feature-grid,
  .social-auth {
    grid-template-columns: 1fr;
  }

  .mac-mock {
    width: 620px;
    transform: translateX(210px) scale(0.86);
    transform-origin: center right;
  }

  .phone-mock {
    width: 162px;
    min-height: 326px;
    right: 8px;
    bottom: 14px;
  }

  .phone-screen {
    min-height: 286px;
  }

  .mock-sidebar {
    display: none;
  }

  .mac-mock-body {
    grid-template-columns: 1fr;
  }

  .mock-cards,
  .cloud-mock-grid,
  .mini-board {
    grid-template-columns: 1fr;
  }

  .price-card,
  .auth-card,
  .dashboard-title,
  .account-summary {
    padding: 18px;
  }
}

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

  .button,
  .icon-button {
    transition: none;
  }
}
