:root {
  --ink: #111936;
  --muted: #61708a;
  --purple: #6652f0;
  --purple-dark: #5741df;
  --soft-purple: #f1efff;
  --green: #35c760;
  --line: #e7eaf2;
  --card: #ffffff;
  --bg: #fbfcff;
  --shadow: 0 24px 70px rgba(26, 29, 71, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(102, 82, 240, 0.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

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

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: linear-gradient(135deg, #806cff, var(--purple));
  box-shadow: 0 10px 24px rgba(102, 82, 240, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #121a35;
  font-weight: 600;
}

.nav a:hover, .login-link:hover { color: var(--purple); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: var(--soft-purple);
  color: var(--purple);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 11px;
  padding: 13px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: linear-gradient(135deg, #765dff, var(--purple-dark));
  color: white;
  box-shadow: 0 14px 30px rgba(102, 82, 240, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: #dbe1ef;
  box-shadow: 0 10px 28px rgba(16, 24, 64, 0.06);
}

.button-large { padding: 16px 26px; }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 56px auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--purple);
  background: var(--soft-purple);
  font-size: 14px;
  font-weight: 600;
}

.eyebrow.centered { margin-inline: auto; }

.hero h1 {
  margin: 28px 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--purple);
  position: relative;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 0;
  bottom: -6px;
  height: 12px;
  border-bottom: 4px solid var(--purple);
  border-radius: 100%;
  transform: rotate(-2deg);
  opacity: .85;
}

.hero-text {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: #4c5972;
  font-weight: 600;
}

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

.family-photo-card {
  position: absolute;
  right: 0;
  top: 0;
  width: min(520px, 100%);
  height: 410px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #f3e8d8, #eaf1ff 55%, #fff);
}

.photo-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 22%, rgba(255, 255, 255, .9), transparent 30%),
    radial-gradient(circle at 20% 90%, rgba(102, 82, 240, .16), transparent 36%);
}

.family-illustration {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding-bottom: 42px;
}

.person {
  position: relative;
  width: 92px;
  height: 160px;
  border-radius: 52px 52px 18px 18px;
  background: #8bc78d;
}

.person::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -58px;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f2c9a9;
  box-shadow: inset 0 -9px rgba(121, 73, 47, .12);
}

.adult-one { height: 190px; background: #497f55; }
.adult-two { height: 205px; background: #517da7; }
.child-one { height: 128px; background: #e9c47c; }
.child-two { height: 120px; background: #eae1d3; }
.child-one::before, .child-two::before { width: 58px; height: 58px; top: -48px; }

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(230, 233, 244, .9);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.inbox-card {
  left: 12px;
  top: 54px;
  width: 220px;
  padding: 24px;
  display: grid;
  gap: 8px;
}

.mail-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  background: linear-gradient(135deg, #8b7bff, var(--purple));
}

.inbox-card small, .recipient small {
  color: var(--muted);
}

.status-pill {
  justify-self: start;
  color: #16893b;
  background: #dbf7e3;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.forwarding-card {
  right: 16px;
  bottom: 10px;
  width: 270px;
  padding: 18px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.recipient {
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.recipient strong, .recipient small { display: block; }
.recipient strong { font-size: 14px; }
.recipient small { font-size: 12px; }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: #e7a36b;
}
.avatar-two { background: #6c86ae; }
.avatar-three { background: #d4778e; }
.avatar-four { background: #c99d62; }

.check {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.scribble {
  position: absolute;
  left: 42%;
  bottom: 70px;
  color: var(--purple);
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  transform: rotate(-3deg);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 78px auto;
}

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

.section-heading h2, .pricing-card h2, .about-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}

.section-heading p, .pricing-copy, .about-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card, .step, .pricing-card, .about-section {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 38px rgba(22, 28, 67, 0.06);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 28px;
}

.purple { background: #f0edff; }
.green { background: #eaf9ee; }
.blue { background: #eef4ff; }
.orange { background: #fff2e3; }

.feature-card h3, .step h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p, .step p { margin: 0; color: var(--muted); line-height: 1.55; }

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

.step { padding: 28px; }
.step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: white;
  background: var(--purple);
  font-weight: 800;
}

.pricing-section {
  width: min(920px, calc(100% - 40px));
  margin: 72px auto;
}

.pricing-card {
  padding: 46px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(102, 82, 240, .12), transparent 34%),
    white;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.plan-featured {
  border-color: rgba(102, 82, 240, .34);
  box-shadow: 0 16px 38px rgba(102, 82, 240, .12);
}

.plan h3 {
  margin: 0;
  font-size: 22px;
}

.plan-note {
  margin: -8px 0 0;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 0 0 6px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.price {
  margin: 18px 0 6px;
  color: var(--muted);
  font-weight: 700;
}
.price span {
  color: var(--ink);
  font-size: 56px;
  letter-spacing: -0.05em;
}

.about-section {
  padding: 40px;
  text-align: center;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 0;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--purple);
}

.legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 48px auto 72px;
}

.legal-hero {
  margin-bottom: 24px;
}

.legal-hero h1 {
  margin: 22px 0 8px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.legal-hero p:last-child {
  color: var(--muted);
}

.legal-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 38px rgba(22, 28, 67, 0.06);
}

.legal-card h2 {
  margin: 30px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.legal-card h2:first-of-type {
  margin-top: 22px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal-card p {
  margin: 0 0 16px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-card a {
  color: var(--purple);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; }
  .mobile-menu-button { display: block; margin-left: auto; }
  .nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
  }
  .nav.open { display: flex; }
  .header-actions { display: none; }
  .hero { grid-template-columns: 1fr; margin-top: 24px; }
  .hero-visual { min-height: 500px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero, .section, .pricing-section, .site-header, .site-footer { width: min(100% - 28px, 1180px); }
  .hero-actions, .trust-row { flex-direction: column; align-items: stretch; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .family-photo-card { height: 340px; }
  .inbox-card { left: 0; top: 18px; width: 210px; }
  .forwarding-card { right: 0; bottom: 26px; }
  .scribble { left: 14px; bottom: 178px; }
  .person { width: 68px; height: 128px; }
  .adult-one { height: 145px; }
  .adult-two { height: 155px; }
  .child-one, .child-two { height: 105px; }
  .site-footer { flex-direction: column; }
  .pricing-card { padding: 32px 22px; }
  .plans { grid-template-columns: 1fr; }
  .legal-page { width: min(100% - 28px, 920px); margin-top: 28px; }
  .legal-card { padding: 28px 22px; }
  .legal-nav { display: flex; }
}
