:root {
  --navy: #0B1F3A;
  --navy-2: #14304f;
  --teal: #1A9B8E;
  --teal-2: #148077;
  --cream: #F7F4EF;
  --cream-2: #EFEAE2;
  --ink: #1C2430;
  --muted: #5A6573;
  --line: rgba(11, 31, 58, 0.12);
  --white: #ffffff;
  --danger: #B33A3A;
  --success: #1A7A4C;
  --shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
  --radius: 14px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body.lwa {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.lwa-wrap { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost { background: transparent; color: var(--navy); border: 0; padding-inline: .5rem; }

/* Nav */
.lwa-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1.25rem 0;
}
.lwa-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lwa-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
}
.lwa-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255,255,255,.92);
  border-radius: 10px;
  padding: 4px;
}
.lwa-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.lwa-brand-text strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.lwa-brand-text span {
  font-size: .72rem;
  opacity: .85;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lwa-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.lwa-nav-links a {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: .95rem;
}
.lwa-nav-links a:hover { color: #fff; }
.lwa-nav-actions { display: flex; gap: .65rem; align-items: center; }
.lwa-menu-btn {
  display: none;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 10px;
  padding: .55rem .75rem;
  cursor: pointer;
}
.lwa-drawer {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  right: 1.25rem;
  width: min(280px, calc(100vw - 2rem));
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.lwa-drawer.open { display: grid; gap: .85rem; }
.lwa-drawer a { color: #fff; font-weight: 600; }

body.lwa-inner .lwa-nav { position: sticky; top: 0; background: rgba(11,31,58,.96); backdrop-filter: blur(10px); }
body.lwa-inner .lwa-nav-links a { color: rgba(255,255,255,.88); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,31,58,.35) 0%, rgba(11,31,58,.72) 55%, rgba(11,31,58,.92) 100%),
    url("../images/hero-networking.png") center/cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 4.5rem;
  max-width: 40rem;
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 650;
  line-height: 1.05;
  margin: 0 0 .85rem;
  letter-spacing: -.02em;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  margin: 0 0 .85rem;
  line-height: 1.2;
  max-width: 18ch;
}
.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: rgba(255,255,255,.88);
  max-width: 34ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-navy { background: var(--navy); color: #fff; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-head { max-width: 38rem; margin-bottom: 2.25rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 .75rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p { color: rgba(255,255,255,.78); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
}
.split-media {
  min-height: 360px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.split-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  margin: 0 0 .85rem;
  line-height: 1.15;
}
.split-copy p { margin: 0 0 1rem; color: var(--muted); }

.feature-list {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  align-items: start;
}
.feature-list .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(26,155,142,.12);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.feature-list h3 {
  margin: 0 0 .25rem;
  font-size: 1.05rem;
}
.feature-list p { margin: 0; color: var(--muted); font-size: .96rem; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mosaic figure {
  margin: 0;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
}
.mosaic figure:first-child { grid-row: span 2; min-height: 460px; }
.mosaic figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(11,31,58,.85));
  color: #fff;
  font-weight: 600;
}

.quote-block {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  font-weight: 500;
}
.quote-block cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), #163a5c 60%, #1a5f5a);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-band h2 {
  font-family: var(--display);
  margin: 0 0 .35rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }

/* Inner pages */
.page-hero {
  padding: 8.5rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(11,31,58,.88), rgba(11,31,58,.92)),
    url("../images/feature-event.png") center/cover no-repeat;
  color: #fff;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 .65rem;
  line-height: 1.1;
}
.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
}

.prose-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
}
.stack { display: grid; gap: 1rem; }
.stack h3 {
  font-family: var(--display);
  margin: 0 0 .35rem;
  font-size: 1.35rem;
}
.stack p { margin: 0; color: var(--muted); }

.faq-list { display: grid; gap: .85rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}
.faq-item h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
}
.faq-item p { margin: 0; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
}
.contact-card, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}
.contact-card h3 {
  margin: 0 0 .35rem;
  font-family: var(--display);
}
.contact-card p, .contact-card a { color: var(--muted); }
.contact-card a:hover { color: var(--teal); }
.contact-card + .contact-card { margin-top: 1rem; }

.form-row { display: grid; gap: .45rem; margin-bottom: 1rem; }
.form-row label { font-weight: 600; font-size: .92rem; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .9rem;
  background: #fff;
  color: var(--ink);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(26,155,142,.35);
  border-color: var(--teal);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.alert {
  padding: .9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.alert-success { background: rgba(26,122,76,.12); color: var(--success); }
.alert-danger { background: rgba(179,58,58,.12); color: var(--danger); }

.price-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  max-width: 520px;
}
.price-panel .tag {
  display: inline-block;
  background: rgba(26,155,142,.12);
  color: var(--teal-2);
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.price-panel h2 {
  font-family: var(--display);
  margin: 0 0 .5rem;
}
.price-panel .amount {
  font-family: var(--display);
  font-size: 2.6rem;
  margin: .5rem 0 1rem;
}
.price-panel ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.price-panel li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  margin-right: .5rem;
}

/* Footer */
.lwa-footer {
  background: var(--navy);
  color: rgba(255,255,255,.82);
  padding: 3rem 0 2rem;
}
.lwa-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.lwa-footer h4 {
  margin: 0 0 .75rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.1rem;
}
.lwa-footer a { color: rgba(255,255,255,.78); }
.lwa-footer a:hover { color: #fff; }
.lwa-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.lwa-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .92rem;
}

/* App shell */
.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--cream-2);
}
.sidebar {
  background: var(--navy);
  color: #fff;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sidebar .lwa-brand img { width: 40px; height: 40px; }
.side-nav { display: grid; gap: .35rem; }
.side-nav a {
  padding: .7rem .85rem;
  border-radius: 10px;
  color: rgba(255,255,255,.82);
  font-weight: 600;
}
.side-nav a:hover, .side-nav a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.side-user {
  margin-top: auto;
  padding: .85rem;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  font-size: .92rem;
}
.side-user a { color: var(--teal); font-weight: 700; }
.app-main { padding: 1.5rem; }
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.app-top h1 {
  font-family: var(--display);
  margin: 0;
  font-size: 1.75rem;
}
.app-menu {
  display: none;
  margin-bottom: .5rem;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.panel h2, .panel h3 {
  margin: 0 0 .85rem;
  font-family: var(--display);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}
.stat .label { color: var(--muted); font-size: .88rem; font-weight: 600; }
.stat .value {
  font-family: var(--display);
  font-size: 1.85rem;
  margin-top: .25rem;
}
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
}
table.data th, table.data td {
  text-align: left;
  padding: .75rem .5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.badge-ok { background: rgba(26,122,76,.12); color: var(--success); }
.badge-off { background: rgba(179,58,58,.12); color: var(--danger); }
.badge-new { background: rgba(26,155,142,.14); color: var(--teal-2); }
.progress {
  height: 10px;
  background: var(--cream-2);
  border-radius: 999px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #2bb8a8);
}
.profile-hero {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
}
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .lwa-nav-links, .lwa-nav-actions { display: none; }
  .lwa-menu-btn { display: inline-flex; }
  .split, .prose-grid, .contact-grid, .lwa-footer-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic figure:first-child { grid-row: auto; min-height: 240px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    z-index: 50;
    transform: translateX(-105%);
    transition: transform .25s ease;
  }
  .sidebar.open { transform: none; }
  .app-menu { display: inline-flex; }
  .backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11,31,58,.45);
    z-index: 45;
  }
  .backdrop.open { display: block; }
}

@media (max-width: 640px) {
  .mosaic { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 3rem; }
}
