/* UmbrellaMail homepage */

:root {
  --background: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #eef7fd;
  --primary: #2c6da3;
  --primary-dark: #1f527d;
  --accent: #f5d66d;
  --text: #1b3046;
  --muted: #64768a;
  --border: #dce8f0;
  --shadow: 0 20px 60px rgba(35, 86, 125, 0.12);
  --radius-large: 28px;
  --radius-medium: 20px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(220, 232, 240, 0.85);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(35, 86, 125, 0.08);
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-link:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.96) 0 10%, transparent 10.5%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.8) 0 8%, transparent 8.5%),
    linear-gradient(180deg, #e4f4ff 0%, #f7fbff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(245, 214, 109, 0.25);
  filter: blur(8px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.hero-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 0 auto 22px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.privacy-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto;
}

.privacy-line span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  color: white;
  background: var(--primary);
  box-shadow: 0 12px 26px rgba(44, 109, 163, 0.24);
  font-weight: 850;
  transition: transform 0.16s ease, background 0.16s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.step {
  padding: 28px;
  border-radius: var(--radius-medium);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(35, 86, 125, 0.07);
}

.info-card p,
.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-icon,
.step-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
  font-size: 26px;
}

.step {
  position: relative;
  text-align: center;
}

.step-icon {
  margin-left: auto;
  margin-right: auto;
}

.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 900;
}

.closing-section {
  padding: 88px 0;
}

.closing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(28px, 6vw, 56px);
  border-radius: var(--radius-large);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.closing-card > div:first-child {
  max-width: 690px;
}

.closing-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.closing-icon {
  flex: 0 0 auto;
  font-size: clamp(3.5rem, 8vw, 6rem);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-wrap p {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .closing-card {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .nav-wrap {
    min-height: 64px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding: 70px 0 64px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.3rem);
  }

  .section,
  .closing-section {
    padding: 64px 0;
  }

  .info-card,
  .step {
    padding: 23px;
  }

  .closing-card {
    flex-direction: column;
    border-radius: 22px;
  }

  .closing-icon {
    align-self: center;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
}
