:root {
  --ink: #14213d;
  --muted: #5c6b82;
  --brand: #2257d6;
  --brand-dark: #173b91;
  --cyan: #18a9c7;
  --green: #19a86b;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --line: #dce5f2;
  --shadow: 0 20px 55px rgba(22, 48, 93, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand { font-family: Montserrat, Arial, sans-serif; }
a { color: var(--brand); }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 74px;
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid rgba(220, 229, 242, .9);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  width: min(1180px, calc(100% - 36px));
  min-height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  box-shadow: 0 8px 20px rgba(34, 87, 214, .25);
}
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
  padding: 10px 12px;
  color: #34435b;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.main-nav a:hover { color: var(--brand); background: #edf3ff; }
.main-nav .nav-cta { margin-left: 7px; color: #fff; background: var(--brand); }
.main-nav .nav-cta:hover { color: #fff; background: var(--brand-dark); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; }

.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.hero {
  overflow: hidden;
  padding: 82px 0 70px;
  background:
    radial-gradient(circle at 84% 8%, rgba(24, 169, 199, .18), transparent 32%),
    radial-gradient(circle at 15% 78%, rgba(34, 87, 214, .12), transparent 30%),
    linear-gradient(180deg, #fff, #f4f8ff);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 60px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 99px; background: var(--cyan); }
.hero h1 { max-width: 760px; margin: 0 0 20px; font-size: clamp(2.55rem, 5.4vw, 5rem); line-height: 1.01; letter-spacing: -.055em; }
.hero h1 span { color: var(--brand); }
.hero-copy { max-width: 680px; margin: 0 0 30px; color: var(--muted); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(34, 87, 214, .22); }
.button.secondary { color: var(--ink); border-color: var(--line); background: #fff; }
.button.secondary:hover { color: var(--brand); }
.button.green { background: var(--green); }
.button.small { min-height: 42px; padding: 0 16px; font-size: .88rem; }
.hero-visual { position: relative; }
.hero-visual > a { position: relative; display: block; border-radius: 30px; }
.hero-visual > a:focus-visible { outline: 4px solid var(--cyan); outline-offset: 5px; }
.hero-visual::before { content: ""; position: absolute; inset: 9% -6% -7% 10%; border-radius: 35px; background: linear-gradient(145deg, #dfeaff, #dff9f5); transform: rotate(4deg); }
.hero-visual img { position: relative; width: 100%; max-height: 500px; object-fit: contain; border-radius: 30px; filter: drop-shadow(0 28px 38px rgba(35, 61, 105, .16)); }

.proof { margin-top: -26px; position: relative; z-index: 2; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); box-shadow: 0 16px 38px rgba(31, 55, 96, .08); }
.proof-item { padding: 24px; background: #fff; }
.proof-item strong { display: block; margin-bottom: 4px; font-family: Montserrat, sans-serif; font-size: 1rem; }
.proof-item span { color: var(--muted); font-size: .88rem; }

.section { padding: 92px 0; }
.section.white { background: #fff; }
.section.blue { color: #fff; background: linear-gradient(135deg, #142f70, #2257d6 62%, #168ca9); }
.section.blue .section-intro, .section.blue .muted { color: #dbe7ff; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.04em; }
.section-intro { margin: 0; color: var(--muted); font-size: 1.05rem; }

.product { display: grid; grid-template-columns: .88fr 1.12fr; gap: 58px; align-items: start; }
.product.reverse { grid-template-columns: 1.12fr .88fr; }
.product.reverse .product-media { order: 2; }
.product-media { position: sticky; top: 105px; }
.product-media > a { display: block; border-radius: var(--radius); }
.product-media > a:focus-visible { outline: 4px solid var(--cyan); outline-offset: 5px; }
.product-media img { width: 100%; max-height: 470px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.websender-gallery { padding: 12px; border: 1px solid var(--line); background: #edf3fa; box-shadow: var(--shadow); text-decoration: none; }
.product-media .websender-gallery img { width: 100%; max-height: none; border: 0; border-radius: 12px; background: #fff; box-shadow: none; object-fit: cover; }
.websender-thumbs { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-top: 10px; }
.product-media .websender-thumbs img { height: 128px; object-fit: cover; object-position: top left; }
.product-media .websender-thumbs img:last-child { object-fit: contain; }
.product-copy h2 { margin-bottom: 12px; }
.product-tag { display: inline-block; margin-bottom: 15px; padding: 7px 11px; color: var(--brand); border-radius: 9px; background: #eaf1ff; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin: 28px 0; }
.feature-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.feature-card strong { display: block; margin-bottom: 5px; font-family: Montserrat, sans-serif; font-size: .96rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.resource-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.resource-list a { padding: 8px 11px; color: #33435d; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .82rem; font-weight: 700; text-decoration: none; }
.resource-list a:hover { color: var(--brand); border-color: #a9c0ee; }
.message-limit-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 17px 19px;
  color: var(--ink);
  border: 1px solid #b9ccef;
  border-radius: 15px;
  background: #edf4ff;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.message-limit-button:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(34, 87, 214, .12); }
.message-limit-button strong, .message-limit-button small { display: block; }
.message-limit-button small { margin-top: 2px; color: var(--muted); font-size: .78rem; }
.message-limit-icon { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--brand); font-weight: 900; }
.message-limit-global { padding: 6px 0 54px; }

.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pricing.pricing-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 14px 35px rgba(34, 87, 214, .12); }
.price-label { color: var(--muted); font-weight: 800; font-size: .82rem; text-transform: uppercase; }
.old-price { margin: 7px 0 0; color: #8794a8; font-size: .9rem; text-decoration: line-through; }
.price { margin: 0 0 15px; font-family: Montserrat, sans-serif; font-size: 1.8rem; font-weight: 850; }
.price small { color: var(--muted); font: 600 .78rem "Open Sans", sans-serif; }
.setup-note { min-height: 0; margin: -3px 0 14px; padding: 7px 9px; color: #684d12; border-left: 2px solid #e1a72c; border-radius: 4px; background: #fff8e9; font-size: .63rem; font-weight: 600; line-height: 1.35; }
.price-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-description { min-height: 62px; margin: -3px 0 15px; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.websender-onboarding { margin: 16px 0 0; padding: 13px 15px; color: #684d12; border-left: 3px solid #e1a72c; border-radius: 7px; background: #fff8e9; font-size: .75rem; line-height: 1.5; }

.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote { margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.quote p { margin-top: 0; color: #43516a; }
.quote footer { color: var(--ink); font-weight: 800; }
.quote img { width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; }
.quote img.quote-logo { width: 100%; max-width: 520px; height: auto; max-height: 210px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; object-fit: contain; }

.contact-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.contact-card h2 { margin: 0 0 10px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; }

.notice { padding: 26px; border: 1px solid #f0d79f; border-radius: 16px; background: #fff8e9; color: #684d12; font-size: .88rem; }
.site-footer { padding: 44px 0; color: #b9c7df; background: #0f1d36; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer p { margin: 15px 0 0; }
.site-footer h3 { margin: 0 0 13px; color: #fff; font-size: .95rem; }
.site-footer a { display: block; margin: 6px 0; color: #d4def0; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Modern treatment for the original detail and legal pages. */
body:not(.home-modern) > header.u-header { min-height: 74px; }
body:not(.home-modern) > section:not(.u-backlink) {
  width: min(1160px, calc(100% - 36px));
  min-height: 0 !important;
  margin: 42px auto !important;
  padding: clamp(24px, 4vw, 48px) !important;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(25, 52, 93, .08);
}
body:not(.home-modern) .u-sheet { width: 100% !important; min-height: 0 !important; }
body:not(.home-modern) h1,
body:not(.home-modern) h2,
body:not(.home-modern) h3,
body:not(.home-modern) h4 { color: var(--ink); letter-spacing: -.025em; }
body:not(.home-modern) .u-btn { border-radius: 11px !important; font-weight: 800 !important; }
body:not(.home-modern) table { border-collapse: separate !important; border-spacing: 0 !important; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
body:not(.home-modern) th { color: #fff !important; background: var(--brand) !important; }
body:not(.home-modern) th,
body:not(.home-modern) td { padding: 12px 10px !important; border-color: var(--line) !important; }
body:not(.home-modern) tr:nth-child(even) td { background: #f6f8fc; }
body:not(.home-modern) .u-footer { margin-top: 70px; padding: 34px 18px !important; color: #d4def0 !important; background: #0f1d36 !important; }
body:not(.home-modern) .u-footer p { color: #d4def0 !important; }
.u-backlink { display: none !important; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; inset: 74px 18px auto; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { margin-left: 0; }
  .hero-grid, .product, .product.reverse, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-visual { max-width: 600px; margin: auto; }
  .product.reverse .product-media { order: 0; }
  .product-media { position: static; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing.pricing-three { grid-template-columns: 1fr; }
  .plan-description { min-height: 0; }
}

@media (max-width: 620px) {
  .container, .nav-wrap { width: min(100% - 24px, 1160px); }
  .section { padding: 68px 0; }
  .hero h1 { font-size: 2.6rem; }
  .proof-grid, .feature-grid, .pricing, .testimonial-grid, .footer-grid { grid-template-columns: 1fr; }
  .proof-item { padding: 18px; }
  .contact-card { padding: 28px 22px; }
  body:not(.home-modern) > section:not(.u-backlink) { width: calc(100% - 20px); margin: 18px auto !important; padding: 18px 12px !important; overflow-x: auto; }
  body:not(.home-modern) th, body:not(.home-modern) td { min-width: 110px; font-size: .78rem !important; }
}
