:root {
  color-scheme: light;
  --ink: #102427;
  --muted: #5a6e70;
  --soft: #eef4f2;
  --paper: #ffffff;
  --panel: #ffffff;
  --green: #163f46;
  --teal: #1f8a83;
  --coral: #e56b4d;
  --amber: #c8912d;
  --line: rgba(16, 36, 39, 0.14);
  --shadow: 0 28px 80px rgba(15, 45, 48, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(238, 244, 242, 0.68), rgba(255, 255, 255, 0) 520px),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark,
.mail-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--green);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  min-height: calc(100vh - 75px);
  gap: clamp(36px, 6vw, 80px);
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 78px);
  background: #ffffff;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='126' viewBox='0 0 180 126'%3E%3Cg fill='none' stroke='%23163f46' stroke-opacity='.13' stroke-width='2'%3E%3Crect x='22' y='28' width='62' height='40' rx='5'/%3E%3Cpath d='M24 31l29 24 29-24'/%3E%3Crect x='106' y='70' width='48' height='31' rx='5'/%3E%3Cpath d='M108 73l22 18 22-18'/%3E%3Cpath d='M118 24h38M118 36h26M32 92h44M32 104h28' stroke='%231f8a83' stroke-opacity='.16'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-position:
    center,
    center -18px;
  background-size:
    auto,
    360px 252px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: none;
  font-size: clamp(2rem, 6.5vw, 6.2rem);
  white-space: nowrap;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-copy {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 850;
}

.button-primary {
  color: #ffffff;
  background: var(--green);
}

.button-secondary {
  color: var(--green);
  background: transparent;
}

.mail-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.mail-window {
  overflow: hidden;
  width: min(100%, 690px);
  margin-left: auto;
  background: var(--panel);
  border: 1px solid rgba(16, 36, 39, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  background: #173f45;
}

.window-bar span {
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

.mail-shell {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 440px;
}

.mail-sidebar {
  padding: 22px 18px;
  background: #f0eee5;
  border-right: 1px solid var(--line);
}

.mail-logo {
  margin-bottom: 34px;
}

.sidebar-line {
  height: 12px;
  margin-bottom: 16px;
  background: rgba(16, 36, 39, 0.18);
  border-radius: 999px;
}

.sidebar-line.active {
  background: var(--teal);
}

.sidebar-line.short {
  width: 68%;
}

.sidebar-gap {
  height: 42px;
}

.mail-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(31, 138, 131, 0.08), transparent 38%),
    #ffffff;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.panel-top strong {
  color: var(--green);
}

.message-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(16, 36, 39, 0.08);
}

.message-card div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.message-card p {
  margin: 10px 0 0 25px;
  color: var(--muted);
}

.primary-message {
  border-left: 6px solid var(--coral);
}

.message-dot {
  width: 15px;
  height: 15px;
  background: var(--coral);
  border-radius: 50%;
}

.message-dot.teal {
  background: var(--teal);
}

.message-dot.amber {
  background: var(--amber);
}

.intro,
.trust-band,
.closing {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 90px);
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-text {
  max-width: 980px;
}

.intro-text p {
  max-width: 72ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.feature {
  min-height: 330px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.feature-number {
  display: inline-block;
  margin-bottom: 62px;
  color: var(--coral);
  font-weight: 900;
}

.feature p {
  margin: 18px 0 0;
  color: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 7vw, 100px);
  color: #ffffff;
  background: var(--green);
}

.trust-band .section-label {
  color: #8dd6cf;
}

.trust-points {
  display: grid;
  gap: 22px;
  align-content: center;
}

.trust-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.closing {
  display: grid;
  place-items: center;
  min-height: 46vh;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0)),
    var(--paper);
}

.closing h2 {
  color: var(--green);
}

.closing p:last-child {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #102427;
}

.site-footer span:first-child {
  color: #ffffff;
  font-weight: 900;
}

@media (max-width: 1000px) {
  .hero,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .mail-window {
    margin-left: 0;
  }

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

  .feature {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-attachment: scroll;
    background-size:
      auto,
      280px 196px;
  }

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

  .mail-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mail-sidebar {
    display: none;
  }

  .panel-top {
    flex-direction: column;
  }

  .intro,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
    border-right: 0;
  }

  .feature-number {
    margin-bottom: 34px;
  }

  .site-footer {
    flex-direction: column;
  }
}
