*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:   #252525;
  --blue:   #005ae1;
  --blue-h: #0048b8;
  --mid:    #474747;
  --light:  #f7f9fd;
  --white:  #ffffff;
  --radius: 12px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.nav-logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  text-decoration: none;
  color: var(--mid);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--dark);
  background: var(--light);
}

.nav-cta {
  text-decoration: none;
  background: var(--blue);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--blue-h); }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  background: var(--dark) url('/static/images/table_top.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 6rem 2rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
}

.hero-headline em {
  font-style: normal;
  color: var(--white);
}

.hero-sub {
  font-size: 1.05rem;
  color: #b0b8c8;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--blue-h);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  color: #b0b8c8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

/* ── Hero envelope illustration ─────────────────────────────────────────── */

.hero-visual {
  flex: 0 0 420px;
}

.envelope-card {
  background: #f8f6f0;
  border-radius: 16px;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border-top: 3px solid #e0d8c8;
  min-height: 220px;
  font-family: Georgia, serif;
  color: #1a1a2e;
}

.env-return {
  font-size: 0.72rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 2rem;
}

.env-address {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1a1a2e;
}

.env-address span { display: block; }

.env-stamp {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  width: 44px;
  height: 54px;
  border: 2px solid #c8b89a;
  border-radius: 4px;
  background: repeating-linear-gradient(
    45deg, #e8e0d0, #e8e0d0 2px, #f0e8d8 2px, #f0e8d8 8px
  );
}

/* ── Trust bar ───────────────────────────────────────────────────────────── */

.trust-bar {
  background: var(--light);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--mid);
  border-bottom: 1px solid #e8eaf0;
}

.trust-chip {
  background: var(--white);
  border: 1.5px solid #dde0e8;
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.section { padding: 5rem 2rem; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-light { background: var(--white); }

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 3rem;
  line-height: 1.2;
}

/* ── How it works ────────────────────────────────────────────────────────── */

.steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step {
  flex: 1;
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -2px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.step p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.5rem;
  color: #ccc;
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* ── Features grid ───────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background 0.2s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.08);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.85rem;
  color: #8892a4;
  line-height: 1.65;
}

/* ── CTA section ─────────────────────────────────────────────────────────── */

.section-blue {
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  transition: transform 0.1s, box-shadow 0.15s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
  background: var(--dark);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  color: #666;
}
.footer-contact {
  font-size: 0.8rem;
  color: #666;
  text-decoration: none;
}
.footer-contact:hover {
  text-decoration: underline;
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-card {
  max-width: 480px;
  margin: 2.5rem auto 0;
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.pricing-amount span {
  font-size: 1.25rem;
  font-weight: 500;
  color: #666;
}
.pricing-sub {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  display: inline-block;
}
.pricing-features li {
  padding: 0.35rem 0;
  color: #444;
  font-size: 0.95rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 3rem; }
  .hero-visual { flex: none; width: 100%; max-width: 420px; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links .nav-link { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.5rem; }
  .section { padding: 3.5rem 1.5rem; }
}
