/* Hermio website. Layout language of arenzo.io, colours and type of the Hermio app. */
:root {
  --ink-deep: #0F2A2E;      /* headings, Hermio app ink */
  --ink: #1C2B30;           /* body text */
  --ink-soft: #46585C;
  --mist: #6B7F84;
  --cream: #FAF6EF;
  --cream-panel: #F1ECE2;
  --white: #FFFFFF;
  --teal: #0B7A84;          /* Hermio primary */
  --teal-bright: #14B8C4;
  --teal-wash: #E7F5F6;
  --line: rgba(15, 42, 46, .10);
  --line-soft: rgba(15, 42, 46, .06);
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--ink-deep); }
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- glossy dark panel (arenzo .gloss, Hermio teal) ---------- */
.gloss {
  position: relative;
  background: linear-gradient(160deg, #1E4D53 0%, #0F2A2E 50%, #0A1E21 100%);
  color: #EAF4F4;
  overflow: hidden;
  isolation: isolate;
}
.gloss::before {
  content: ""; position: absolute; top: -60%; left: -20%; width: 70%; height: 220%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.08) 47%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.08) 53%, rgba(255,255,255,0) 65%);
  transform: rotate(8deg); pointer-events: none; z-index: 1;
}
.gloss::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 12% -10%, rgba(20,184,196,.22), transparent 55%);
  pointer-events: none; z-index: 1;
}
.gloss > * { position: relative; z-index: 2; }
.gloss h2, .gloss h3 { color: #fff; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.navlinks { display: flex; gap: 32px; font-size: 14.5px; font-weight: 600; }
.navlinks a { opacity: .72; transition: opacity .2s; }
.navlinks a:hover, .navlinks a.on { opacity: 1; }
.navright { display: flex; align-items: center; gap: 18px; }
.navright .login { font-size: 14.5px; font-weight: 600; opacity: .72; }
.navright .login:hover { opacity: 1; }
.navcta {
  background: var(--ink-deep); color: var(--cream);
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(15,42,46,.55); transition: transform .2s, box-shadow .2s;
}
.navcta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(15,42,46,.65); }
@media (max-width: 900px) { .navlinks { display: none; } }
@media (max-width: 480px) { .navright .login { display: none; } .brand img { height: 28px; } }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--teal-bright); }
.gloss .eyebrow { color: var(--teal-bright); }
em.accent, h1 em, h2 em { font-style: normal; color: var(--teal); }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 580px; }
.muted { color: var(--mist); }
.small { font-size: 13.5px; }

/* ---------- buttons ---------- */
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 10px; font-weight: 700; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; cursor: pointer; border: 0;
}
.btn-primary {
  background: linear-gradient(160deg, #13838D, var(--teal) 55%, #08606A);
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 14px 30px -12px rgba(11,122,132,.6);
}
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(11,122,132,.65); }
.btn-ghost { border: 1.5px solid rgba(15,42,46,.18); color: var(--ink-deep); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); background: rgba(11,122,132,.05); }
.gloss .btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 92px 0 100px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -1.5px; max-width: 900px; }
.hero .lede { margin-top: 26px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--mist); }
.metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 60px; max-width: 760px;
}
.metrics > div { background: var(--cream); padding: 22px 24px; }
.metrics .num { font-family: Georgia, serif; font-size: 30px; color: var(--ink-deep); }
.metrics .lbl { font-size: 12.5px; color: var(--mist); font-weight: 600; margin-top: 4px; }
@media (max-width: 640px) { .metrics { grid-template-columns: repeat(3, 1fr); } .metrics > div { padding: 16px 14px; } .metrics .num { font-size: 22px; } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- product mock (Hermio app look) ---------- */
.mock {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(15,42,46,.35); overflow: hidden;
}
.mock-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: #F7FAFA; }
.mock-top i { width: 9px; height: 9px; border-radius: 50%; background: #D5DEDF; display: block; }
.mock-top span { margin-left: 8px; font-size: 12px; color: var(--mist); font-weight: 600; }
.mock-body { padding: 20px 20px 8px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-kpis div { background: var(--teal-wash); border-radius: 10px; padding: 10px 12px; }
.mock-kpis b { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 22px; color: var(--ink-deep); }
.mock-kpis small { font-size: 11px; color: var(--mist); font-weight: 600; }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.mock-row .nm { font-weight: 600; font-size: 14px; color: var(--ink-deep); }
.mock-row .why { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-soft); }
.mock-row .meta { font-size: 12px; color: var(--mist); }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--teal-wash); color: var(--teal); white-space: nowrap; }
.pill.strong { background: var(--teal); color: #fff; }
.fit { height: 5px; border-radius: 999px; background: #E6EEEF; overflow: hidden; margin-top: 6px; grid-column: 1 / -1; }
.fit span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-bright), var(--teal)); border-radius: 999px; }

/* ---------- strip ---------- */
.strip { padding: 30px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip .label { font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mist); }
.strip .items { display: flex; gap: 36px; flex-wrap: wrap; }
.strip .items span { font-family: Georgia, serif; font-size: 18px; color: var(--ink-deep); opacity: .85; }

/* ---------- sections ---------- */
section { padding: 100px 0; }
section.tight { padding: 64px 0; }
section.panel { background: var(--cream-panel); }
section.white { background: var(--white); }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.8px; line-height: 1.12; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }
.gloss .section-head p { color: rgba(234,244,244,.78); }

/* steps: arenzo .process */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 2px; background: var(--line); border-radius: 18px; overflow: hidden; }
.steps .step { background: var(--cream); padding: 38px 32px; }
section.panel .steps .step { background: var(--cream-panel); }
.steps .idx { font-family: Georgia, serif; font-size: 15px; color: var(--teal); font-weight: 700; }
.steps h3 { margin-top: 14px; font-size: 22px; line-height: 1.2; }
.steps p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(15,42,46,.25); }
.card h3 { font-size: 21px; line-height: 1.25; }
.card p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; display: block; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230B7A84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.gloss .checks li { color: rgba(234,244,244,.85); }
.gloss .checks li::before { background-color: rgba(20,184,196,.18); }

/* video slot */
.video-slot {
  aspect-ratio: 16 / 9; border-radius: 18px; border: 1px dashed rgba(15,42,46,.25);
  background: repeating-linear-gradient(135deg, #F4EFE6, #F4EFE6 14px, #EFE9DE 14px, #EFE9DE 28px);
  display: flex; align-items: center; justify-content: center; text-align: center; color: var(--mist); font-size: 14px; font-weight: 600;
}

/* ---------- pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } }
.price-card { border-radius: 20px; padding: 40px 38px; }
.price-card .plan { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--teal-bright); }
.price-card h3 { font-size: 30px; margin-top: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.price b { font-family: Georgia, serif; font-weight: 400; font-size: 64px; line-height: 1; color: #fff; }
.price span { font-size: 15px; color: rgba(234,244,244,.75); }
.price-note { font-size: 13.5px; color: rgba(234,244,244,.7); margin-top: 6px; }
.price-card .btn { margin-top: 30px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px 34px; }
.side-card h3 { font-size: 24px; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.compare th { font-size: 13px; letter-spacing: .4px; text-transform: uppercase; color: var(--mist); font-weight: 700; background: #FBFAF7; }
.compare td.c, .compare th.c { text-align: center; }
.compare .hl { background: var(--teal-wash); color: var(--ink-deep); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: 16px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink-deep); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 700; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }

/* CTA band */
.cta-band { border-radius: 24px; padding: 64px 56px; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; }
.cta-band p { margin-top: 12px; color: rgba(234,244,244,.78); font-size: 16.5px; max-width: 520px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 44px 28px; } }

/* ---------- article / legal / blog pages ---------- */
.page-hero { padding: 80px 0 40px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -1px; }
.page-hero .lede { margin-top: 18px; }
.prose { max-width: 740px; padding-bottom: 100px; font-size: 16.5px; color: var(--ink); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 30px; line-height: 1.2; margin-top: 48px; }
.prose h3 { font-size: 22px; margin-top: 34px; }
.prose h4 { font-size: 17px; margin-top: 26px; font-family: Inter, sans-serif; font-weight: 700; color: var(--ink-deep); }
.prose p, .prose li { color: #33454A; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink-deep); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.prose th { background: #FBFAF7; font-size: 13px; text-transform: uppercase; letter-spacing: .3px; color: var(--mist); }
.prose blockquote { border-left: 3px solid var(--teal-bright); padding: 6px 0 6px 18px; color: var(--ink-soft); font-style: italic; }
.prose code { background: var(--cream-panel); padding: 2px 6px; border-radius: 5px; font-size: 14px; }
.prose pre { background: var(--ink-deep); color: #E6F2F2; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: 13.5px; }
.prose pre code { background: none; padding: 0; color: inherit; }
.note { background: #FFF7E6; border: 1px solid #F0D9A6; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; color: #6B4E12; }

/* index lists (blog, glossary) */
.index-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 100px; }
.index-list a { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; transition: transform .2s, box-shadow .2s; display: block; }
.index-list a:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(15,42,46,.3); }
.index-list h3 { font-size: 20px; line-height: 1.25; }
.index-list p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 760px) { .index-list { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--cream); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot .tagline { margin-top: 14px; font-size: 14px; color: var(--mist); max-width: 280px; }
.foot h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mist); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.foot ul a { opacity: .78; } .foot ul a:hover { opacity: 1; color: var(--teal); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mist); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
