:root {
  --ink: #102027;
  --muted: #5d6b74;
  --line: #dce6e4;
  --paper: #ffffff;
  --wash: #f5f8fc;
  --teal: #215fa8;
  --green: #2f86d8;
  --amber: #4d7181;
  --blue: #215fa8;
  --olive: #4d7181;
  --danger: #c85245;
  --shadow: 0 18px 55px rgba(16, 32, 39, 0.12);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 230, 228, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 38%),
    linear-gradient(135deg, var(--green), var(--teal) 52%, var(--blue));
  box-shadow: 0 12px 30px rgba(14, 143, 135, 0.28);
}

.brand-logo {
  width: 205px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark svg,
.btn svg,
.icon-box svg,
.eyebrow svg,
.check-list svg,
.menu-toggle svg {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 2.2;
  flex: 0 0 auto;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 8px;
  color: #314249;
  font-weight: 720;
  font-size: 0.93rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: #eef4fb;
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 820;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #215fa8, #173f75);
  box-shadow: 0 16px 32px rgba(33, 95, 168, 0.24);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-soft {
  color: var(--blue);
  background: #edf4fb;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 132px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(33, 95, 168, 0.15), transparent 26%),
    radial-gradient(circle at 78% 25%, rgba(47, 134, 216, 0.18), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #edf4fb 48%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 88px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 60px 0 78px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #174d8a;
  background: #eaf4ff;
  border: 1px solid #cfe2f6;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 820;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: #3c4e56;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  margin-bottom: 28px;
}

.hero-actions,
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-visual img {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(780px, 58vw);
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-strip {
  width: var(--container);
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 22px 45px rgba(16, 32, 39, 0.08);
}

.signal-item {
  background: #fff;
  padding: 18px;
  min-height: 98px;
}

.signal-item strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 8px;
}

.signal-item span {
  color: var(--muted);
  font-weight: 680;
  font-size: 0.92rem;
}

.location-section {
  padding: 78px 0 36px;
}

.location-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 30px;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(33, 95, 168, 0.1), transparent 28%),
    linear-gradient(135deg, #f8fbff, #eef5ff);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 18px 55px rgba(33, 95, 168, 0.09);
}

.location-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 850;
}

.location-copy h2 {
  max-width: 600px;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.location-copy p {
  max-width: 640px;
  color: #52616b;
  font-size: 1.03rem;
}

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

.location-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: #243946;
  font-weight: 760;
}

.location-list svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
}

.location-visual img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: #f5f7f8;
}

.section.deep {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(33, 95, 168, 0.92), rgba(19, 34, 58, 0.96)),
    url("assets/pratikmail-hero.png") center / cover;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 15px;
}

.section-head p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 1.06rem;
}

.deep .section-head p,
.deep .lead {
  color: rgba(255, 255, 255, 0.82);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.feature-card,
.contact-panel,
.legal-panel,
.step-card,
.webmail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(16, 32, 39, 0.05);
}

.feature-card {
  min-height: 242px;
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: #edf4fb;
  border-radius: 8px;
  margin-bottom: 18px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.step-card h3,
.contact-panel h3,
.webmail-panel h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.feature-card p,
.step-card p,
.contact-panel p,
.webmail-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.product-shot {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  background: #0f2428;
  box-shadow: var(--shadow);
}

.product-shot img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.92;
}

.mail-console {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  padding: 18px;
}

.console-row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 32, 39, 0.08);
  font-weight: 760;
}

.console-row:last-child {
  border-bottom: 0;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(33, 95, 168, 0.14);
}

.console-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 720;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: #34464e;
  font-weight: 700;
}

.check-list i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf4ff;
  border-radius: 999px;
}

.process {
  counter-reset: step;
}

.step-card {
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 850;
}

.page-hero {
  padding: 86px 0 62px;
  background:
    radial-gradient(circle at 18% 20%, rgba(33, 95, 168, 0.16), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(47, 134, 216, 0.16), transparent 22%),
    linear-gradient(135deg, #f7fbff, #edf4fb);
}

.page-hero .container {
  max-width: var(--container);
}

.page-hero .container > .reveal {
  max-width: 900px;
}

.webmail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.login-mock {
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(33, 95, 168, 0.92), rgba(19, 34, 58, 0.96)),
    url("assets/pratikmail-hero.png") center / cover;
  color: #fff;
  padding: 34px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-mock .lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(16, 32, 39, 0.28);
}

.login-screen {
  width: min(360px, 100%);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.fake-input {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  color: var(--muted);
  background: #fff;
  font-weight: 690;
}

.fake-submit {
  margin-top: 14px;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.28fr);
  gap: 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #314249;
  font-weight: 760;
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(14, 143, 135, 0.16);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  color: var(--teal);
  font-weight: 760;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: 24px;
  align-items: start;
}

.legal-panel h2 {
  font-size: 1.35rem;
  margin-top: 28px;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p,
.legal-panel li {
  color: #4b5d65;
}

.side-nav {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.side-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 760;
}

.side-nav a:hover {
  color: var(--teal);
  background: #edf4fb;
}

.site-footer {
  background: #13223a;
  color: #fff;
}

.site-footer .brand {
  width: max-content;
  max-width: 100%;
}

.site-footer .brand-logo {
  filter: brightness(0) invert(1);
}

.footer-main {
  width: var(--container);
  margin: 0 auto;
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.8fr;
  gap: 28px;
}

.footer-main p,
.footer-main a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-main h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  width: var(--container);
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
  gap: 16px;
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 28px, 760px);
  }

  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split,
  .location-panel,
  .webmail-wrap,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 50px 0 66px;
  }

  .hero-visual {
    min-height: 360px;
    order: -1;
  }

  .hero-visual img {
    width: 100%;
  }

  .signal-strip,
  .grid-3,
  .grid-2,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .side-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 24px);
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 4.1rem);
  }

  .header-actions .btn-primary {
    display: none;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 160px;
    height: 36px;
  }

  .section {
    padding: 68px 0;
  }

  .grid-3,
  .grid-2,
  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .signal-item {
    min-height: 116px;
    padding: 16px 14px;
  }

  .signal-item strong {
    font-size: 1.08rem;
  }

  .signal-item span {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .hero-actions,
  .split-actions {
    align-items: stretch;
  }

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

  .product-shot,
  .product-shot img {
    min-height: 420px;
  }

  .location-section {
    padding: 58px 0 24px;
  }

  .location-panel {
    padding: 22px;
  }

  .location-copy h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .location-visual img {
    min-height: 260px;
    object-position: center;
  }

  .mail-console {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .console-row {
    grid-template-columns: 16px 1fr;
  }

  .console-row em {
    grid-column: 2;
  }

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