:root {
  --bg: #e8efee;
  --bg-deep: #d7e3e1;
  --surface: rgba(248, 252, 251, 0.88);
  --surface-strong: #f6fbfa;
  --surface-dark: #12353e;
  --ink: #112126;
  --muted: #5b7074;
  --line: rgba(17, 33, 38, 0.11);
  --accent: #167d7a;
  --accent-bright: #63b7b0;
  --accent-soft: #d5ece9;
  --shadow: 0 26px 70px rgba(16, 43, 48, 0.1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(99, 183, 176, 0.2), transparent 28%),
    radial-gradient(circle at right 18%, rgba(18, 53, 62, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1440px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 30px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-bottom: 18px;
  backdrop-filter: blur(18px);
}

.site-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background: rgba(18, 53, 62, 0.8);
  box-shadow: var(--shadow);
}

.brand-mark {
  display: grid;
  gap: 4px;
  text-transform: uppercase;
}

.brand-mark span {
  color: #f4fbfa;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-mark small {
  color: rgba(244, 251, 250, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  justify-content: center;
}

.nav-links a,
.account-chip {
  color: rgba(244, 251, 250, 0.82);
  font-size: 0.92rem;
}

.account-chip {
  padding: 10px 14px;
  border: 1px solid rgba(244, 251, 250, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-brand {
  color: #f5fffe;
  background: linear-gradient(135deg, var(--accent) 0%, #11515d 100%);
  border-color: rgba(17, 81, 93, 0.5);
}

.btn-ghost,
.btn-nav {
  color: var(--ink);
  background: rgba(248, 252, 251, 0.72);
  border-color: rgba(17, 33, 38, 0.08);
}

.page-content {
  display: grid;
  gap: 24px;
}

.hero-shell,
.signal-band,
.category-band,
.product-showcase,
.story-section,
.contact-section,
.login-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-shell::before,
.login-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(99, 183, 176, 0.14), transparent 34%, rgba(18, 53, 62, 0.08) 78%);
  pointer-events: none;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 0.72fr;
  gap: 18px;
  padding: 28px;
  min-height: 720px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 125, 122, 0.12);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy,
.login-story,
.login-card,
.contact-panel,
.map-panel,
.promise-card,
.category-card,
.product-panel,
.hero-frame,
.rail-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
}

.hero-copy,
.login-story {
  padding: 26px;
  background: linear-gradient(180deg, rgba(18, 53, 62, 0.96) 0%, rgba(23, 72, 81, 0.92) 100%);
  color: #eef8f7;
}

.hero-copy h1,
.login-story h1,
.section-heading h2,
.login-card h2,
.hero-frame-copy h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.hero-copy h1,
.login-story h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.hero-text,
.split-heading p,
.story-copy p,
.contact-panel p,
.login-card p,
.product-panel-copy span,
.hero-frame-copy p,
.rail-card p,
.category-card__body p,
.promise-card ul,
.contact-panel dt,
.demo-credentials span,
.login-backlink {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy .hero-text,
.login-story p,
.login-story .demo-credentials span,
.login-story .hero-kicker {
  color: rgba(238, 248, 247, 0.76);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-stage {
  display: grid;
  gap: 18px;
}

.hero-stage-main {
  grid-template-rows: 1fr auto;
}

.hero-frame-large {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eef7f6 100%);
}

.hero-frame-large img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.hero-frame-copy,
.hero-frame-small,
.rail-card,
.login-card,
.promise-card,
.contact-panel {
  padding: 20px;
}

.hero-frame-small h3,
.rail-card h3,
.promise-card h3,
.category-card__body h3,
.product-panel-copy h3 {
  margin: 10px 0;
  font-size: 1.42rem;
}

.hero-frame-small {
  background: linear-gradient(135deg, rgba(99, 183, 176, 0.16), rgba(255, 255, 255, 0.9));
}

.hero-rail {
  display: grid;
  gap: 18px;
}

.rail-card-dark {
  background: linear-gradient(180deg, #102f38 0%, #173e48 100%);
  color: #f3fffe;
}

.rail-card-dark p,
.inverse {
  color: rgba(243, 255, 254, 0.74);
}

.rail-card-dark strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 2rem;
}

.card-label,
.product-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(22, 125, 122, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inverse {
  background: rgba(255, 255, 255, 0.12);
}

.rail-card-stats {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(213, 236, 233, 0.74));
}

.rail-stat {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(17, 33, 38, 0.08);
}

.rail-stat:first-child {
  border-top: 0;
}

.rail-stat strong {
  color: var(--surface-dark);
  font-size: 1.7rem;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: linear-gradient(90deg, #12353e 0%, #174851 100%);
}

.signal-band span {
  padding: 20px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(243, 255, 254, 0.82);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.signal-band span:last-child {
  border-right: 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2,
.login-card h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.category-band,
.product-showcase,
.story-section,
.contact-section {
  padding: 28px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 243, 241, 0.94));
}

.category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category-card__body {
  padding: 18px;
}

.category-index {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 125, 122, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: end;
}

.product-columns {
  column-count: 3;
  column-gap: 18px;
}

.product-panel {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 243, 241, 0.9));
}

.product-panel-media {
  position: relative;
}

.product-panel-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(17, 33, 38, 0.08));
}

.product-panel-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-panel.tall .product-panel-media img {
  height: 430px;
}

.product-panel.wide .product-panel-media img {
  height: 360px;
}

.product-panel-copy {
  padding: 18px;
}

.product-panel-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.product-panel-topline strong {
  color: var(--surface-dark);
}

.product-panel-copy p {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-panel-copy h3 {
  margin-top: 8px;
}

.story-layout,
.contact-layout,
.login-shell {
  display: grid;
  gap: 18px;
}

.story-layout,
.contact-layout {
  grid-template-columns: 1fr 0.92fr;
}

.story-copy,
.promise-card,
.contact-panel,
.map-panel,
.login-story,
.login-card {
  padding: 24px;
}

.story-copy {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 243, 241, 0.75));
}

.promise-card {
  background: linear-gradient(180deg, rgba(18, 53, 62, 0.08), rgba(99, 183, 176, 0.08));
}

.promise-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.contact-panel dl {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.contact-panel dt {
  margin-bottom: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-panel dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.map-panel {
  padding: 0;
  overflow: hidden;
  background: #d7e7e5;
}

.map-panel iframe {
  width: 100%;
  min-height: 420px;
  height: 100%;
  border: 0;
}

.login-shell {
  grid-template-columns: 0.95fr 0.82fr;
  padding: 26px;
}

.login-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(229, 241, 239, 0.9));
}

.demo-credentials {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.login-card form {
  display: grid;
  gap: 14px;
}

.login-input {
  min-height: 54px;
  border: 1px solid rgba(17, 33, 38, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.login-input:focus {
  border-color: rgba(22, 125, 122, 0.42);
  box-shadow: 0 0 0 0.2rem rgba(22, 125, 122, 0.1);
}

.validation-summary {
  padding: 12px 14px;
  border: 1px solid rgba(124, 28, 28, 0.18);
  border-radius: 14px;
  background: rgba(158, 31, 31, 0.06);
  color: #8b1f1f;
}

.validation-summary ul {
  margin: 0;
  padding-left: 18px;
}

.login-backlink {
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  padding: 8px 6px 10px;
  color: #355057;
}

.site-footer div {
  display: grid;
  gap: 6px;
}

@media (max-width: 1200px) {
  .hero-shell,
  .story-layout,
  .contact-layout,
  .login-shell,
  .split-heading,
  .site-nav {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .product-columns {
    column-count: 2;
  }

  .category-grid,
  .signal-band,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 16px, 1440px);
  }

  .site-nav,
  .nav-links,
  .nav-actions,
  .contact-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-shell,
  .category-band,
  .product-showcase,
  .story-section,
  .contact-section,
  .login-shell,
  .signal-band {
    padding: 18px;
  }

  .hero-frame-large img {
    height: 280px;
  }

  .product-columns {
    column-count: 1;
  }

  .category-grid,
  .signal-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .signal-band span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .signal-band span:last-child {
    border-bottom: 0;
  }
}