:root {
  --navy: #07182d;
  --ink: #0b1f3a;
  --muted: #566b7b;
  --line: #d5e5ef;
  --sky: #83d7f0;
  --sky-soft: #e6f8ff;
  --gold: #e4b551;
  --orange: #ff7f12;
  --paper: #f5f8fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: white;
  background: rgba(7, 24, 45, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .2));
}

.site-header .brand {
  min-height: 78px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(131, 215, 240, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 22px;
}

.brand small {
  margin-top: 3px;
  color: #cde7f2;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  color: #eaf7fc;
  font-weight: 800;
}

.site-header nav a {
  padding: 10px 0;
}

.site-header nav a:hover {
  color: var(--sky);
}

.header-cta,
.primary-action,
.secondary-action,
.plan a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}

.header-cta,
.primary-action,
.plan.featured a {
  background: var(--gold);
  color: var(--navy);
}

.secondary-action,
.plan a {
  background: var(--sky-soft);
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 130px clamp(20px, 6vw, 84px) 98px;
  isolation: isolate;
  overflow: hidden;
  color: white;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background: rgba(7, 24, 45, .74);
}

.hero-content {
  width: min(820px, 100%);
}

.hero-brand-mark {
  width: clamp(96px, 10vw, 148px);
  height: clamp(96px, 10vw, 148px);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.hero-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, .32));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 124px);
  line-height: .95;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: #eef9fd;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.2;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-strip {
  position: absolute;
  inset: auto clamp(20px, 6vw, 84px) 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(131, 215, 240, .45);
  background: rgba(7, 24, 45, .7);
  color: #eaf7fc;
  font-weight: 900;
  text-align: center;
}

.section,
.showcase,
.flow-section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.section-heading {
  width: min(840px, 100%);
  margin-bottom: 30px;
}

.pricing-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section-heading h2,
.showcase h2,
.flow-copy h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.intro-grid,
.module-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
}

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

.intro-grid article,
.module-grid article,
.plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(7, 24, 45, .08);
}

.intro-grid article {
  padding: 24px;
}

.intro-grid strong,
.module-grid strong {
  display: block;
  font-size: 22px;
}

.intro-grid p,
.module-grid p,
.showcase p,
.plan p,
.flow span,
footer p {
  color: var(--muted);
  line-height: 1.45;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  background: var(--navy);
  color: white;
}

.showcase p {
  color: #d7edf5;
}

.product-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: white;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.product-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.image-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.image-tabs button {
  min-height: 48px;
  border: 0;
  background: #f6fbfe;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.image-tabs button.active,
.image-tabs button:hover {
  background: var(--sky);
}

.modules-section {
  background: #eef6fa;
}

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

.module-grid article {
  min-height: 230px;
  padding: 24px;
}

.module-grid span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--sky);
  font-weight: 900;
}

.flow-section {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  background: white;
}

.flow {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow li {
  position: relative;
  min-height: 112px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 20px 24px 20px 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sky-soft);
}

.flow li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: 22px;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.flow strong {
  font-size: 24px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.plan {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
}

.plan.featured {
  border-color: var(--gold);
  box-shadow: 0 24px 70px rgba(228, 181, 81, .25);
}

.plan-badge {
  width: max-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--sky);
  font-size: 12px;
  font-weight: 900;
}

.plan h3 {
  margin: 0;
  font-size: 34px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 24px;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.annual-price {
  width: max-content;
  max-width: 100%;
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(126, 206, 226, .16);
  color: var(--navy);
  font-weight: 900;
}

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

.plan li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 700;
}

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

.plan a {
  margin-top: 6px;
}

.checkout-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.setup-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px solid rgba(126, 206, 226, .45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 24, 45, .96), rgba(18, 49, 78, .96));
  color: white;
  box-shadow: 0 24px 70px rgba(7, 24, 45, .16);
}

.setup-card h3 {
  margin: 4px 0 8px;
  font-size: 26px;
}

.setup-card p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.setup-card .eyebrow {
  color: var(--sky);
}

.setup-card strong {
  flex: 0 0 auto;
  display: grid;
  gap: 4px;
  text-align: right;
  color: var(--gold);
  font-size: 28px;
}

.setup-card span {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.account-section {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(580px, 820px);
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 6vw, 84px);
  background: var(--navy);
  color: white;
}

.account-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
}

.account-copy p {
  max-width: 420px;
  color: #d7edf5;
  line-height: 1.5;
  font-size: 18px;
}

.account-copy .eyebrow {
  color: var(--sky);
}

.account-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-radius: 7px;
  padding: 0 20px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.account-dashboard {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(220px, 260px);
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(126, 206, 226, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
}

.account-bar {
  grid-column: 1 / -1;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(126, 206, 226, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #d7edf5;
  font-weight: 900;
}

.account-main-card,
.account-tiles button,
.account-list {
  border: 1px solid rgba(126, 206, 226, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.account-main-card {
  position: relative;
  min-height: 315px;
  padding: 34px 30px 30px;
}

.account-main-card > span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 18px;
  border-radius: 8px 0 8px 0;
  background: rgba(255, 255, 255, .12);
  color: white;
  font-weight: 900;
}

.account-main-card small {
  display: block;
  margin-top: 46px;
  color: var(--sky);
  font-weight: 900;
}

.account-main-card strong {
  display: block;
  margin: 10px 0;
  color: var(--gold);
  font-size: clamp(38px, 5vw, 58px);
  line-height: .95;
}

.account-main-card strong em {
  color: #d7edf5;
  font-size: 18px;
  font-style: normal;
}

.account-main-card p {
  color: #d7edf5;
  font-size: 18px;
  font-weight: 800;
}

.account-users {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.account-users b,
.account-users i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  font-style: normal;
  font-weight: 900;
}

.account-users i {
  background: rgba(255, 255, 255, .12);
  color: white;
  border-style: dashed;
}

.account-tiles {
  display: grid;
  gap: 16px;
}

.account-tiles button {
  min-height: 112px;
  padding: 0 18px;
  color: white;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.account-list {
  grid-column: 1 / -1;
  display: grid;
  overflow: hidden;
}

.account-list button {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid rgba(126, 206, 226, .14);
  padding: 14px 18px;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
}

.account-list button::after {
  content: ">";
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  color: var(--sky);
  font-size: 22px;
  font-weight: 900;
}

.account-list button:last-child {
  border-bottom: 0;
}

.account-list span,
.account-list small {
  display: block;
}

.account-list span {
  grid-column: 1;
  font-size: 18px;
  font-weight: 900;
}

.account-list small {
  grid-column: 1;
  margin-top: 4px;
  color: #d7edf5;
  font-weight: 700;
}

.account-tiles button:hover,
.account-list button:hover {
  border-color: var(--sky);
  background: rgba(126, 206, 226, .2);
  color: var(--sky);
}

.account-page {
  min-height: 100vh;
  background: #0b0b0d;
  color: white;
}

.account-site-header {
  position: sticky;
}

.account-shell {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0 80px;
}

.account-hero-panel {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

.account-hero-panel h1 {
  width: min(820px, 100%);
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
}

.account-hero-panel p {
  width: min(720px, 100%);
  color: #cbd8e2;
  font-size: 19px;
  line-height: 1.45;
}

.account-search {
  display: grid;
  gap: 8px;
}

.account-search label {
  font-weight: 900;
  color: #cbd8e2;
}

.account-search input {
  min-height: 60px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 7px;
  padding: 0 18px;
  background: #252525;
  color: white;
  font-size: 18px;
  outline: none;
}

.account-search input:focus {
  border-color: var(--sky);
}

.account-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 16px;
}

.account-plan-card,
.account-quick-grid a,
.account-quick-grid button,
.account-menu-card,
.account-note-card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: #292929;
}

.account-plan-card {
  position: relative;
  min-height: 308px;
  padding: 64px 28px 28px;
}

.account-plan-card > span {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 128px;
  padding: 8px 20px;
  border-radius: 8px 0 8px 0;
  background: #3a3a3a;
  font-weight: 900;
}

.account-plan-card small {
  color: var(--sky);
  font-weight: 900;
}

.account-plan-card strong {
  display: block;
  margin: 14px 0 8px;
  color: #d8e2f0;
  font-size: clamp(42px, 6vw, 58px);
  line-height: .95;
}

.account-plan-card p {
  max-width: 620px;
  color: #d7edf5;
  font-size: 18px;
  line-height: 1.45;
}

.account-quick-grid {
  display: grid;
  gap: 16px;
}

.account-quick-grid a,
.account-quick-grid button {
  min-height: 146px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 20px;
  color: white;
  text-align: center;
  cursor: pointer;
}

.account-quick-grid span {
  font-size: 18px;
  font-weight: 900;
}

.account-quick-grid small {
  color: #cbd8e2;
  line-height: 1.35;
}

.account-menu-card {
  grid-column: 1 / -1;
  overflow: hidden;
}

.account-menu-card h2 {
  margin: 0;
  padding: 24px 28px 12px;
  font-size: 30px;
}

.account-menu-card button {
  position: relative;
  width: 100%;
  min-height: 74px;
  display: grid;
  gap: 5px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 54px 16px 28px;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
}

.account-menu-card button::after {
  content: ">";
  position: absolute;
  right: 24px;
  top: 50%;
  color: #b7c5d0;
  font-size: 26px;
  transform: translateY(-50%);
}

.account-menu-card span {
  font-size: 19px;
  font-weight: 900;
}

.account-menu-card small {
  color: #cbd8e2;
  font-size: 14px;
}

.account-menu-card button:hover,
.account-quick-grid a:hover,
.account-quick-grid button:hover {
  background: #343434;
  color: var(--sky);
}

.account-note-card {
  grid-column: 1 / -1;
  padding: 26px 28px;
}

.account-note-card h2 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
}

.account-note-card p {
  max-width: 760px;
  color: #cbd8e2;
  line-height: 1.5;
}

footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px clamp(20px, 6vw, 84px);
  background: #03101f;
  color: white;
}

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

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 900;
}

footer p {
  color: #9fb8c7;
}

.footer-links a:hover {
  color: var(--sky);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .intro-grid,
  .module-grid,
  .pricing-grid,
  .showcase,
  .flow-section,
  footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86vh;
    padding-top: 170px;
  }

  .setup-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .setup-card strong {
    text-align: left;
  }

  .account-section,
  .account-dashboard,
  .account-home-grid {
    grid-template-columns: 1fr;
  }

  .account-section {
    justify-content: stretch;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .header-cta {
    width: 100%;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .site-header .brand {
    min-height: 62px;
    padding: 7px 10px 7px 7px;
  }

  .brand strong {
    font-size: 18px;
  }

  .site-header nav {
    gap: 16px;
  }

  .hero {
    min-height: 92vh;
    padding: 42px 18px 164px;
  }

  .hero-brand-mark {
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
    border-radius: 24px;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    inset-inline: 18px;
  }

  .hero-actions a {
    width: 100%;
  }

  .section,
  .showcase,
  .flow-section,
  .account-section {
    padding: 46px 18px;
  }

  .account-dashboard {
    padding: 12px;
  }

  .account-main-card {
    min-height: 0;
  }

  .account-list button {
    grid-template-columns: minmax(0, 1fr) 22px;
  }

  .account-shell {
    width: min(100% - 28px, 1040px);
    padding-top: 34px;
  }

  .account-plan-card,
  .account-menu-card h2,
  .account-menu-card button,
  .account-note-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .account-menu-card button {
    padding-right: 46px;
  }

  .intro-grid article,
  .module-grid article,
  .plan,
  .setup-card {
    padding: 18px;
  }

  .image-tabs button {
    font-size: 13px;
    padding: 0 8px;
  }

  .flow li {
    padding: 76px 18px 18px;
  }

  .flow li::before {
    left: 18px;
    top: 18px;
    transform: none;
  }
}
