/* Web pública de Hermaily. Sin scripts ni recursos de terceros: fuentes y logotipo servidos desde aquí. */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/jost-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/jost-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(/assets/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2-variations");
}

:root {
  --ink: #0b1026;
  --ink-2: #2a3052;
  --muted: #4b5274;
  --line: #d5d8e8;
  --accent: #4f46e5;
  --accent-ink: #4338ca;
  --tint: #eef0ff;
  --tint-2: #f5f6ff;
  --code-bg: #0f1430;
  --bg: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.5;
}
a { color: var(--accent-ink); }
a:hover { color: #312e81; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Cabecera */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.brand img { height: 36px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; font-size: 16px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--ink);
  color: var(--ink); background: transparent;
}
.btn:hover { background: var(--tint); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.nav .btn { padding: 8px 18px; }
.nav a.btn.primary { color: #fff; }

/* Portada */
.hero { padding: 72px 0 56px; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.hero h1 { margin: 20px 0 0; font-size: clamp(56px, 11vw, 120px); line-height: 0.92; font-weight: 600; letter-spacing: -0.045em; }
.hero h1 span { color: var(--accent); }
.lead { margin: 28px 0 0; max-width: 640px; font-size: 22px; line-height: 1.45; color: var(--ink-2); }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.price-pill { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--tint); color: #1e1b4b; font-size: 17px; font-weight: 500; }
.price-pill strong { font-size: 22px; font-weight: 700; }
.note { font-size: 15px; color: var(--muted); }

/* Secciones */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
h2 span { color: var(--accent); }
h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pillars .num { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); }
.pillars div { display: flex; flex-direction: column; gap: 8px; }
.pillars p { font-size: 16px; color: var(--ink-2); }

.code { margin: 40px 0 0; display: flex; flex-direction: column; gap: 10px; }
.code figcaption { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.code pre {
  margin: 0; padding: 20px 24px; border-radius: 14px; background: var(--code-bg); color: #e6e8f5; overflow-x: auto;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14.5px; line-height: 1.6;
}
.code .c { color: #8b93b8; }
.code .k { color: #a5b4fc; }
.code .s { color: #67e8f9; }

.features { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.features div { border-top: 1.5px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.features p { font-size: 16px; color: var(--ink-2); }

.plans-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plans { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1.5px solid var(--line); border-radius: 16px; }
.plan.featured { border: 2px solid var(--accent); background: var(--tint-2); }
.plan .name { font-size: 16px; font-weight: 600; }
.plan.featured .name { color: var(--accent-ink); }
.plan .amount { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.plan .vol { font-size: 16px; color: var(--ink-2); }
.plan .extra { font-size: 14.5px; line-height: 1.4; color: var(--muted); }

.steps { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.steps strong { color: var(--ink); }
.steps .n { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }

.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 18px; }
.card.soft { background: var(--tint); }
.card.line { border: 1.5px solid var(--ink); }
.card .tag { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.card.line .tag { color: var(--muted); }
.card .big { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.card p { font-size: 16px; color: var(--ink-2); }
.card .btn { align-self: flex-start; margin-top: 8px; }

/* Pie */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); }

@media (max-width: 860px) {
  .pillars, .steps, .audiences { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 48px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .lead { font-size: 19px; }
  .nav .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
