:root {
  --bg: #f7f9fd;
  --sidebar: #06265a;
  --sidebar-soft: #0b3778;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --text: #08224d;
  --muted: #65748b;
  --line: #e5eaf2;
  --line-strong: #cfd8e7;
  --accent: #ff6b00;
  --accent-dark: #d95500;
  --accent-soft: #fff3e8;
  --navy: #06265a;
  --navy-soft: #eaf0fb;
  --success: #18b879;
  --warning: #f2bf4c;
  --danger: #e05858;
  --shadow: 0 16px 42px rgba(6, 38, 90, 0.09);
  --radius: 8px;
  --sidebar-width: 280px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 28px 28px 56px calc(var(--sidebar-width) + 32px);
}

.top-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 38px;
  padding: 30px 22px 24px;
  background: var(--sidebar);
  box-shadow: 8px 0 30px rgba(17, 17, 31, 0.14);
}

.nav-brand,
.nav-links a,
.nav-btn {
  text-decoration: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 72px;
  padding: 0 14px;
  color: white;
  font-size: 0;
}

.nav-brand::after {
  content: "School Asset and Inventory Management System";
  flex: 1;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.nav-brand img {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 999px;
  background: white;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.nav-brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-links {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  width: 100%;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 0 42px 0 18px;
  border-radius: 999px;
  color: #b9b9c8;
  font-size: 0.98rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-icon {
  width: 22px;
  height: 22px;
  opacity: 0.96;
  flex: 0 0 auto;
  margin-right: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links a.active,
.nav-links a:hover {
  color: white;
  background: var(--sidebar-soft);
  box-shadow: none;
  transform: none;
}

.nav-links a::after {
  content: "›";
  position: absolute;
  right: 19px;
  top: 50%;
  transform: translateY(-52%);
  color: currentColor;
  font-size: 1.65rem;
  font-weight: 300;
}

.nav-links a.active::after { display: none; }

.nav-auth-slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.nav-auth-slot a,
.nav-logout-btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  color: #a9b9d5;
  padding: 0 16px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 0;
  background: transparent;
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left;
}

.nav-auth-slot .nav-icon,
.nav-logout-btn .nav-icon {
  margin-right: 14px;
}

.nav-auth-slot a.active,
.nav-auth-slot a:hover {
  color: white;
  background: var(--accent);
  border-color: transparent;
}

.nav-user-label {
  max-width: 100%;
  overflow: hidden;
  color: #d7e2f6;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
}

.nav-account-actions {
  display: grid;
  gap: 2px;
  margin-top: 26px;
}

.nav-logout-btn {
  color: #d7e2f6;
}

.nav-logout-btn:hover {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.page-header,
.hero {
  position: relative;
  display: grid;
  gap: 6px;
  margin: -28px -28px 22px calc(-1 * (var(--sidebar-width) + 32px));
  padding: 28px 28px 22px calc(var(--sidebar-width) + 32px);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.12;
}

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

.account-card {
  padding: 24px;
}

.account-card-wide {
  grid-column: 1 / -1;
}

.account-details {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.account-details div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) 1fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.account-details dt { color: var(--muted); font-weight: 600; }
.account-details dd { margin: 0; font-weight: 700; }
.account-status { color: var(--success); font-weight: 700; }

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.hero-card-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Work Sans", sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1rem;
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 8px 0 0;
}

.hero-card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 20px;
}

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

.stat-block {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border-radius: var(--radius);
  background: #f8fbff;
  border: 1px solid var(--line);
}

.stat-block strong {
  display: block;
  color: var(--text);
  font-size: 1.7rem;
  font-family: "Space Grotesk", sans-serif;
}

.stat-block span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.nav-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.compact-copy {
  margin-top: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.item-link {
  color: var(--accent-dark);
  text-decoration: none;
}

.item-link:hover {
  text-decoration: underline;
}

.panel {
  padding: 20px 25px;
  overflow: hidden;
}

.panel > .panel-heading:first-child,
.panel > .stack-form,
.panel > .card-list,
.panel > .nav-panel,
.panel > p,
.panel > h2,
.panel > .hero-copy,
.panel > button,
.panel > a {
  margin: 0;
}

.auth-shell {
  min-height: 100vh;
  padding: 24px;
}

.auth-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 48px);
}

.auth-panel {
  width: min(520px, 100%);
  padding: 28px;
}

.auth-shell .top-nav {
  display: none;
}

.auth-logo {
  width: 88px;
  height: 88px;
  display: block;
  margin-bottom: 18px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(6, 38, 90, 0.16);
}

.auth-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.auth-form {
  margin-top: 18px;
}

.landing-return-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 18px;
  color: var(--navy);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.landing-return-btn:hover { color: var(--accent-dark); border-color: var(--accent); background: var(--accent-soft); }

.auth-feedback {
  margin: 0;
  color: var(--danger);
  font-weight: 600;
}

.auth-readonly-note {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #fff7e6;
  border: 1px solid #ffe0a3;
  color: #9a6700;
  font-weight: 600;
}

.form-readonly {
  opacity: 0.72;
}

.panel-wide {
  grid-column: 1 / -1;
}

.top-gap {
  margin-top: 18px;
}

.panel-heading {
  margin: 0;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.panel-heading + .panel-heading {
  padding-top: 18px;
  padding-bottom: 18px;
  background: #fbfcff;
}

.split {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.stack-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.bundle-items-editor {
  display: grid;
  gap: 12px;
}

.bundle-items-editor.hidden {
  display: none;
}

.field-label {
  color: #344054;
  font-size: 0.86rem;
  font-weight: 700;
}

.bundle-item-lines {
  display: grid;
  gap: 10px;
}

.bundle-item-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.25fr) auto;
  gap: 10px;
  align-items: end;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 0.86rem;
  font-weight: 700;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  padding: 11px 13px;
  background: white;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

input::placeholder,
textarea::placeholder {
  color: #98a2b3;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 107, 0, 0.18);
  border-color: var(--accent);
}

button {
  cursor: pointer;
  border: none;
}

.primary-btn,
.ghost-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8a2a 100%);
  color: white;
  justify-self: start;
  box-shadow: 0 9px 18px rgba(255, 107, 0, 0.24);
}

.primary-btn:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #f47416 100%);
}

.primary-btn::before {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}

.primary-btn[id*="download"]::before,
.primary-btn[data-action*="edit"]::before,
.primary-btn[data-action*="stock"]::before,
.nav-btn::before {
  content: none;
}

.ghost-btn {
  background: #f1f3f7;
  color: #5e687a;
}

.ghost-btn:hover {
  background: #e9edf5;
}

.card-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.card-list::before {
  content: "Name  •  Details";
  display: block;
  padding: 14px 24px;
  color: #344054;
  font-weight: 700;
  background: #f8f9fc;
  border-bottom: 1px solid var(--line);
}

.teacher-card {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 16px 24px;
  background: var(--panel-strong);
  border-bottom: 1px solid var(--line);
}

.teacher-card:last-child {
  border-bottom: 0;
}

.teacher-card:hover {
  background: #fbfcff;
}

.teacher-card h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1rem;
}

.teacher-meta {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.teacher-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.teacher-actions,
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.teacher-action-btn {
  width: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
}

.filter-bar label {
  min-width: 190px;
}

.filter-bar label:has(input[type="search"]) {
  min-width: 280px;
}

.filter-bar input[type="search"] {
  padding-left: 40px;
  background-image: radial-gradient(circle at 17px 22px, transparent 7px, #667085 7px, #667085 8px, transparent 8px),
    linear-gradient(45deg, transparent 57%, #667085 57%, #667085 64%, transparent 64%);
  background-position: left top, 23px 27px;
  background-size: 32px 44px, 12px 12px;
  background-repeat: no-repeat;
}

.table-wrap {
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: var(--panel-strong);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

th {
  color: #344054;
  font-family: "Work Sans", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  background: #f8f9fc;
}

tbody tr:hover {
  background: #fbfcff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.status-Available {
  background: #ecfdf5;
  color: #047857;
  border-color: #c6f6dc;
}

.status-Assigned {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: #ffd8b8;
}

.status-Maintenance {
  background: #fff7e6;
  color: #a16207;
  border-color: #ffe0a3;
}

.status-Retired {
  background: #fef2f2;
  color: #b42318;
  border-color: #ffd2d2;
}

.notes {
  color: var(--muted);
  font-size: 0.9rem;
}

.inline-note {
  display: block;
  margin-top: 8px;
}

.table-select {
  min-width: 180px;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.table-input,
.table-textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
  background: white;
}

.table-inline-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 8px;
  margin-top: 8px;
}

.table-textarea {
  min-width: 220px;
  resize: vertical;
}

.table-action-btn,
.table-delete-btn {
  display: inline-flex;
  width: auto;
  white-space: nowrap;
}

a.table-action-btn { text-decoration: none; }

.table-delete-btn::before {
  content: "⌫";
}

.pagination-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: #fbfcff;
}

.pagination-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, 0.48);
}

.modal-card {
  width: min(840px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  background: var(--panel-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  border: 1px solid var(--line);
}

.modal-card-compact {
  width: min(560px, 100%);
}

.modal-heading {
  margin-bottom: 0;
}

.hidden {
  display: none;
}

.inventory-detail-page .page-header,
.inventory-detail-page .page-shell > main {
  display: none;
}

.inventory-detail-page .page-shell {
  min-height: 0;
  padding: 0;
}

.inventory-detail-page .modal-backdrop {
  position: static;
  display: block;
  min-height: 100vh;
  padding: 28px 28px 56px calc(var(--sidebar-width) + 32px);
  background: var(--bg);
}

.inventory-detail-page .modal-card {
  width: 100%;
  max-width: none;
  max-height: none;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.inventory-detail-page .modal-heading {
  position: static;
  padding: 0 0 22px;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.inventory-detail-page .modal-card > .stack-form {
  margin-top: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.empty-state {
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 920px) {
  :root {
    --sidebar-width: 0px;
  }

  .page-shell {
    padding: 92px 16px 42px;
  }

  .inventory-detail-page .modal-backdrop {
    padding: 92px 16px 42px;
  }

  .top-nav {
    inset: 0 0 auto 0;
    width: 100%;
    min-height: 76px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .nav-brand {
    width: 48px;
    height: 48px;
    padding: 0;
  }

  .nav-brand img {
    width: 42px;
    height: 42px;
  }

  .nav-brand::after {
    display: none;
  }

  .nav-links {
    flex: 0 1 auto;
    flex-direction: row;
    justify-content: flex-end;
    gap: 8px;
    overflow: auto;
  }

  .nav-links a {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .nav-links .nav-icon {
    margin-right: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-auth-slot {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    margin: 0;
  }

  .nav-auth-slot a,
  .nav-auth-slot button {
    width: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
    font-size: 0;
    text-align: center;
  }

  .nav-auth-slot .nav-icon,
  .nav-logout-btn .nav-icon { margin-right: 0; }

  .nav-account-actions { display: flex; margin-top: 0; }

  .nav-user-label {
    display: none;
  }

  .page-header,
  .hero {
    margin: -92px -16px 18px;
    padding: 96px 16px 20px;
  }

  .hero,
  .grid,
  .account-grid {
    grid-template-columns: 1fr;
  }

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

  .teacher-card {
    grid-template-columns: 1fr;
  }

  .teacher-side {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: 10px;
  }

  .page-header,
  .hero {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .panel-heading,
  .stack-form,
  .teacher-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .input-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .bundle-item-line {
    grid-template-columns: 1fr;
  }

  .filter-bar label,
  .filter-bar label:has(input[type="search"]) {
    min-width: 100%;
  }

  th,
  td {
    min-width: 150px;
  }
}

/* Public landing page */
html { scroll-behavior: smooth; }
.landing-page { background: #f7f9fd; color: #08224d; }
.landing-page a { text-decoration: none; }
.landing-header {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; min-height: 80px; padding: 12px clamp(24px, 6vw, 88px);
  background: rgba(247, 248, 252, 0.92); border-bottom: 1px solid #e5e7ee;
  backdrop-filter: blur(16px);
}
.landing-brand { display: flex; align-items: center; gap: 12px; }
.landing-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.landing-brand span { display: grid; }
.landing-brand strong { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; letter-spacing: .04em; }
.landing-brand small { color: #737789; font-size: .67rem; letter-spacing: .03em; }
.landing-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-weight: 500; }
.landing-nav > a:not(.landing-login) { color: #55596b; }
.landing-nav > a:hover { color: #ff6b00; }
.landing-login, .landing-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 22px; border-radius: 999px; background: #ff6b00; color: white;
  font-weight: 600; box-shadow: 0 10px 25px rgba(255, 107, 0, .2);
}
.landing-hero {
  min-height: calc(100vh - 80px); display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: clamp(42px, 8vw, 110px); max-width: 1320px; margin: auto;
  padding: 72px clamp(24px, 6vw, 88px);
}
.landing-kicker { margin: 0 0 15px; color: #ff6b00; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.landing-hero h1 { font-size: clamp(3.1rem, 6vw, 5.8rem); letter-spacing: -.055em; line-height: .94; }
.landing-hero h1 span { color: #ff6b00; }
.landing-hero-content > p:not(.landing-kicker) { max-width: 650px; margin: 25px 0 0; color: #65697a; font-size: 1.1rem; line-height: 1.75; }
.landing-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.landing-secondary { color: #08224d; font-weight: 600; border-bottom: 1px solid #aeb1bd; padding: 10px 2px; }
.landing-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 35px; color: #777b8b; font-size: .82rem; }
.landing-visual { position: relative; padding: 28px; color: white; border-radius: 30px; background: #06265a; box-shadow: 0 35px 75px rgba(6,38,90,.24); overflow: hidden; }
.landing-visual::after { content: ""; position: absolute; width: 250px; height: 250px; right: -80px; top: -100px; border-radius: 50%; background: rgba(255,107,0,.16); filter: blur(2px); }
.visual-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #c4c5ce; font-size: .82rem; }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #67d59b; }
.visual-stat { position: relative; z-index: 1; display: grid; gap: 9px; padding: 70px 4px; }
.visual-stat span { color: #9d9eaa; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.visual-stat strong { font: 600 clamp(2rem,4vw,3.2rem)/1 "Space Grotesk",sans-serif; max-width: 360px; }
.visual-stat small { color: #b9bac4; }
.visual-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.visual-grid div { display: grid; gap: 24px; padding: 18px; border-radius: 16px; background: #0b3778; }
.visual-grid b { color: #ff6b00; }.visual-grid span { font-size: .82rem; color: #d6d6dd; }
.landing-section { padding: 105px clamp(24px,6vw,88px); max-width: 1320px; margin: auto; }
.landing-heading { max-width: 690px; margin-bottom: 46px; }
.landing-heading h2, .about-section h2, .contact-section h2 { font-size: clamp(2rem,4vw,3.4rem); letter-spacing: -.04em; }
.landing-heading > p:last-child { color: #747889; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-grid article { padding: 30px; border: 1px solid #e1e3ea; border-radius: 20px; background: white; transition: transform .2s, box-shadow .2s; }
.feature-grid article:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(25,28,48,.08); }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 13px; color: #ff6b00; background: #fff0e5; font-size: 1.3rem; }
.feature-grid h3 { font-size: 1.12rem; }.feature-grid p { color: #747889; line-height: 1.65; }
.about-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; padding: 110px max(24px,calc((100vw - 1144px)/2)); color: white; background: #06265a; }
.about-mark { font: 700 clamp(4rem,10vw,8rem)/1 "Space Grotesk",sans-serif; color: #174582; letter-spacing: -.07em; }
.about-mark span { color: #ff6b00; }.about-section > div:last-child > p:not(.landing-kicker) { color: #b9bac5; line-height: 1.8; }
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 90px clamp(24px,7vw,110px); background: #ff6b00; color: white; }
.contact-section .landing-kicker { color: #ffe0c9; }.contact-section p:last-child { max-width: 700px; line-height: 1.7; color: #fff0e5; }
.landing-primary.light { flex: 0 0 auto; background: white; color: #d95600; box-shadow: none; }
.landing-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(24px,6vw,88px); color: #747889; font-size: .82rem; background: white; }
.landing-footer a { color: #08224d; font-weight: 600; }
@media (max-width: 900px) {
  .landing-hero { grid-template-columns: 1fr; padding-top: 55px; }
  .landing-visual { max-width: 620px; }.feature-grid { grid-template-columns: repeat(2,1fr); }
  .about-section { grid-template-columns: 1fr; gap: 35px; }.contact-section { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .landing-header { min-height: 68px; }.landing-brand small, .landing-nav > a:not(.landing-login) { display: none; }
  .landing-nav { gap: 0; }.landing-login { padding: 11px 19px; }
  .landing-hero { min-height: auto; padding-top: 60px; padding-bottom: 70px; }
  .landing-actions { align-items: stretch; flex-direction: column; }.landing-secondary { text-align: center; }
  .visual-grid, .feature-grid { grid-template-columns: 1fr; }.visual-grid div { gap: 8px; }
  .landing-section { padding-top: 75px; padding-bottom: 75px; }.landing-footer { flex-direction: column; }
}
