:root {
  --bg: #0b1f2a;
  --paper: #f7fafb;
  --ink: #0b1f2a;
  --muted: #5a6d75;
  --line: #d7e1e5;
  --red: #e85d4c;
  --red-dark: #c9483a;
  --tan: #1aa6a0;
  --green: #1aa6a0;
  --blue: #3d8ea8;
  --slate: #6d838d;
  --slate-deep: #3f5560;
  --ok: #e7f6f1;
  --ok-ink: #0f6e56;
  --bad: #fdecea;
  --bad-ink: #9c2b2b;
  --header-bg: transparent;
  --footer-bg: transparent;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.45;
}
.sheet {
  max-width: 980px;
  margin: 32px auto;
  background: var(--paper);
  box-shadow: 18px 22px 32px rgba(45, 48, 54, 0.35);
  padding: 22px 22px 28px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 6px 16px;
  background: var(--header-bg);
}
.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--paper);
}
.hero-support {
  margin: 12px 0 0;
  max-width: 18rem;
  font-size: 15px;
  font-weight: 600;
}
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.foot { background: var(--footer-bg); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-size: 20px;
}
.logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
}
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a, .nav-form button {
  color: #222;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav a.is-on { background: var(--red); color: #fff; }
.hero {
  position: relative;
  background: var(--tan);
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0 0 28px;
}
.slides { position: relative; z-index: 1; min-height: 220px; width: min(420px, 58%); }
.slide { display: none; padding: 36px 54px; }
.slide.is-on { display: block; }
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 800;
}
.hero-art { position: absolute; right: 24px; bottom: 18px; width: 320px; }
.hero-art svg { width: 100%; height: auto; }
.chev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  left: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
}
.chev.right { left: auto; right: 8px; }
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
  padding: 8px 18px 28px;
}
.features h2, .panel h2 { color: var(--red); font-size: 18px; margin: 12px 0 6px; }
.features p, .panel p { color: var(--muted); margin: 0; font-size: 14px; }
.orb {
  width: 108px;
  height: 108px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.12);
}
.orb svg { width: 48px; height: 48px; }
.orb.green { background: var(--green); }
.orb.blue { background: var(--blue); }
.orb.red { background: #e15a55; }
.panel {
  background: var(--slate);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  padding: 26px 20px;
}
.panel article { display: grid; grid-template-columns: 86px 1fr; gap: 12px; align-items: start; }
.panel h2 { color: #fff; margin-top: 0; }
.panel p { color: #f4f7f8; }
.tile {
  width: 86px;
  height: 86px;
  background: var(--slate-deep);
  display: grid;
  place-items: center;
  color: #fff;
}
.tile svg { width: 42px; height: 42px; }
.tile strong { font-size: 22px; }
h1 { color: var(--red); font-size: 28px; margin: 8px 0 12px; }
h2 { font-size: 20px; }
.lede, .hint { color: var(--muted); }
.narrow { max-width: 640px; }
.narrow.wide { max-width: 760px; }
.stack { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, textarea, select {
  font: inherit;
  color: var(--ink);
  border: 1px solid #d5d8dc;
  padding: 10px 12px;
  width: 100%;
  background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--red); border-color: transparent; }
fieldset.inline, form.inline {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}
fieldset.inline input { width: 120px; }
fieldset.inline select { width: 140px; }
form.inline label { min-width: 260px; }
.btn, a.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover, a.btn:hover { background: var(--red-dark); }
button.text, .text {
  background: none;
  border: 0;
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.danger { color: var(--red-dark); }
.alert { padding: 10px 12px; margin: 0 0 14px; }
.alert.ok { background: var(--ok); color: var(--ok-ink); }
.alert.bad { background: var(--bad); color: var(--bad-ink); }
.page-head, .kicker { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kicker { color: var(--muted); font-size: 14px; }
.kicker a { color: var(--red); }
.table-wrap { overflow-x: auto; margin: 12px 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); padding: 8px; border-bottom: 2px solid var(--line); }
td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.badge { display: inline-block; padding: 3px 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.st-ok { background: var(--green); }
.st-work { background: var(--blue); }
.st-warn { background: #e0a045; }
.st-bad { background: var(--red); }
.st-draft, .st-muted { background: var(--slate-deep); }
.recip { display: grid; grid-template-columns: 1fr 1fr minmax(220px, 1.2fr) auto; gap: 10px; align-items: end; }
.phone-fields { display: grid; grid-template-columns: minmax(140px, 0.9fr) 1fr; gap: 8px; align-items: end; }
.optional { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: lowercase; letter-spacing: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0 24px; }
.plan-card { border: 1px solid var(--line); padding: 14px; background: #fafbfc; }
.plan-card h3 { margin: 0 0 8px; }
.plan-price { font-weight: 800; color: var(--red); font-size: 22px; margin: 8px 0; }
.drop {
  border: 2px dashed var(--slate);
  padding: 22px;
  text-align: center;
  background: #f7f8f8;
}
.drop.over { background: #e7f6f1; }
.file-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.file-list li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.bar { height: 10px; background: #eceff1; }
.bar span { display: block; height: 100%; width: 0; background: var(--red); }
.note { margin: 0 0 12px; padding: 12px 14px; background: #f6f7f8; white-space: pre-wrap; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.check input { width: auto; }
.mail { border-top: 1px solid var(--line); padding: 12px 0; }
.mail pre { white-space: pre-wrap; background: #f6f7f8; padding: 12px; }
code { font-size: 12px; word-break: break-all; }
.foot { color: var(--muted); font-size: 13px; padding: 18px 6px 0; }
@media (max-width: 800px) {
  .sheet { margin: 0; box-shadow: none; }
  .features, .panel, .recip, .phone-fields { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-art { display: none; }
  .slides { width: 100%; }
  .top { flex-direction: column; align-items: flex-start; }
}

/* Brand + marketing (envia) */
body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 166, 160, 0.35), transparent 55%),
    radial-gradient(900px 500px at 110% 10%, rgba(232, 93, 76, 0.22), transparent 50%),
    linear-gradient(160deg, #07151c 0%, #0b1f2a 42%, #12333d 100%);
  color: var(--ink);
  min-height: 100vh;
}
.brand-word, h1, h2, h3, .mkt-brand, .hero h1, .mkt-hero h1 {
  font-family: Sora, "Source Sans 3", sans-serif;
}
.logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.logo img { width: 46px; height: 46px; display: block; }
.brand { color: var(--red); }
.sheet {
  background: var(--paper);
  box-shadow: 0 28px 60px rgba(4, 14, 20, 0.45);
}
.sheet-marketing {
  max-width: 1120px;
  padding: 18px 18px 36px;
  background: rgba(247, 250, 251, 0.96);
}
.is-marketing .top { background: transparent; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: #fff; }

.mkt-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  min-height: min(72vh, 560px);
  margin: 0 -18px 36px;
  padding: 42px 36px 48px;
  overflow: hidden;
  color: #f4fbfb;
  background:
    linear-gradient(115deg, rgba(7, 21, 28, 0.92), rgba(11, 31, 42, 0.72)),
    radial-gradient(circle at 70% 40%, rgba(26, 166, 160, 0.45), transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(232, 93, 76, 0.35), transparent 40%);
}
.mkt-hero.has-hero {
  background-size: cover;
  background-position: center;
}
.mkt-brand {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: #fff;
}
.mkt-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  font-weight: 700;
  color: #d7f3f1;
  max-width: 16ch;
}
.mkt-lede {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 1.05rem;
  color: rgba(244, 251, 251, 0.86);
}
.mkt-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mkt-hero-visual { position: relative; min-height: 260px; }
.mkt-orbit {
  position: absolute;
  inset: 10% 8%;
  border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(242, 245, 247, 0.18), transparent 55%),
    rgba(26, 166, 160, 0.18);
  animation: envia-drift 9s ease-in-out infinite alternate;
}
.mkt-packet {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(240px, 70%);
  padding: 22px;
  border-radius: 24px;
  background: rgba(247, 250, 251, 0.95);
  color: #0b1f2a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: envia-float 5.5s ease-in-out infinite;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}
.mkt-packet img { width: 72px; height: 72px; }
@keyframes envia-drift {
  from { transform: rotate(-4deg) scale(0.96); }
  to { transform: rotate(5deg) scale(1.04); }
}
@keyframes envia-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.mkt-section-head { max-width: 42rem; margin: 0 0 18px; }
.mkt-section-head h2 { color: var(--ink); margin: 0 0 8px; font-size: 1.7rem; }
.mkt-section-head p { margin: 0; color: var(--muted); }
.mkt-actions, .mkt-plans, .mkt-features, .mkt-panel { margin: 0 0 40px; }
.mkt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mkt-split article {
  padding: 22px 20px;
  background: linear-gradient(180deg, #fff, #eef6f6);
  border-left: 4px solid var(--green);
}
.mkt-split article:last-child { border-left-color: var(--red); }
.mkt-split h3 { margin: 0 0 8px; font-size: 1.25rem; }
.mkt-split a { color: var(--red); font-weight: 700; }
.mkt-plan-grid .plan-card {
  background: #fff;
  border: 0;
  box-shadow: 0 10px 28px rgba(11, 31, 42, 0.08);
}
.mkt-plan-grid .is-free { outline: 2px solid var(--green); }
.plan-meta { list-style: none; padding: 0; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.plan-meta li { padding: 2px 0; }
.provider-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.trial-banner {
  padding: 12px 14px;
  margin: 0 0 16px;
  background: #e7f6f1;
  color: #0f6e56;
  font-weight: 700;
}
@media (max-width: 800px) {
  .mkt-hero, .mkt-split { grid-template-columns: 1fr; }
  .mkt-hero { min-height: auto; margin: 0 0 28px; padding: 28px 18px 36px; }
  .mkt-hero-visual { min-height: 180px; }
}
