/* Erioun public site. Static, fast, SEO-first HTML with a restrained SaaS system. */

:root {
  color-scheme: light;
  --navy: #0B1F3A;
  --navy-2: #102B4C;
  --blue: #1F6BFF;
  --orange: #F26A21;
  --gold: #D99A2B;
  --bg: #F7F9FC;
  --panel: #FFFFFF;
  --ink: #071A33;
  --muted: #5C6B7C;
  --line: #DDE5EF;
  --snow: #F3F7FC;
  --snow-2: #EAF1F9;
  --header-link: #D8E5F5;
  --blue-soft: #EAF1FF;
  --gold-soft: #FFF4DC;
  --green: #13795B;
  --green-soft: #E8F6EF;
  --red: #B33B3B;
  --red-soft: #FBEAEA;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(11, 31, 58, 0.10);
  --shadow-sm: 0 12px 28px rgba(11, 31, 58, 0.07);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 31, 58, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 32px rgba(11, 31, 58, 0.16);
  backdrop-filter: blur(14px);
}

.nav,
.site-nav {
  width: min(var(--maxw), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
}
.brand:hover { text-decoration: none; }
.site-header .brand {
  color: #fff;
  font-size: 1.55rem;
}

.mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-block;
  background:
    linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.92) 42% 58%, transparent 58%),
    linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}
.site-header .mark {
  width: 34px;
  height: 34px;
  background:
    linear-gradient(90deg, transparent 42%, rgba(255, 255, 255, 0.95) 42% 58%, transparent 58%),
    linear-gradient(135deg, #6FA0FF, var(--blue));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--header-link);
  font-size: 0.94rem;
  font-weight: 650;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  text-decoration: none;
}
.nav-links .button {
  margin-left: 4px;
  color: #fff;
  min-height: 42px;
  padding-inline: 16px;
}

.button,
.button-secondary,
.button-ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 760;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
}
.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31, 107, 255, 0.23);
}
.button:hover { background: #155AE6; }
.site-header .nav-links .button {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.site-header .nav-links .button:hover {
  background: var(--blue-soft);
  color: var(--navy);
}
.button-secondary {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.04);
}
.button-secondary:hover { border-color: #BFD0E6; background: #F9FBFE; }
.button-ghost {
  color: var(--blue);
  background: transparent;
  padding-inline: 0;
}

.hero {
  padding: 86px 0 68px;
  background:
    radial-gradient(900px 360px at 82% 12%, rgba(31, 107, 255, 0.12), transparent 62%),
    linear-gradient(180deg, #F8FBFF 0%, var(--snow-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero.solo { padding: 74px 0 58px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 52px;
  align-items: center;
}
.hero.solo .hero-grid {
  display: block;
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #C9D8EE;
  border-radius: 999px;
  background: #F5F8FD;
  color: var(--navy-2);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
h1 {
  max-width: 820px;
  margin: 18px 0;
  font-size: clamp(2.35rem, 4.7vw, 4.35rem);
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
}
h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}
h4 { margin: 0 0 10px; }

.lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.68;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.trust-row span,
.trust-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.mockup,
.hero-visual {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: var(--shadow);
  color: #D7E4F5;
}
.mockup::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.mockup-chrome,
.preview-top {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 760;
}
.dot-row {
  display: flex;
  gap: 6px;
}
.dot-row span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.mockup-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  padding-top: 14px;
}
.mockup-panel,
.preview-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #112B4D;
  padding: 16px;
}
.mockup-panel-wide { grid-column: 1 / -1; }
.mockup-panel h3,
.preview-card strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}
.mockup-panel p,
.preview-card p {
  margin: 0;
  color: #AFC0D6;
  font-size: 0.9rem;
}
.mockup-meta,
.signal-row,
.mini-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mockup-meta {
  margin-bottom: 14px;
  color: #AFC0D6;
  font-size: 0.82rem;
  font-weight: 700;
}
.signal-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #AFC0D6;
  font-size: 0.86rem;
}
.signal-row strong { color: #fff; }
.badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #174FBF;
  font-size: 0.76rem;
  font-weight: 800;
}
.badge-blue { background: rgba(31, 107, 255, 0.2); color: #BFD4FF; }
.score-ring {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background:
    conic-gradient(var(--gold) 0 82%, rgba(255, 255, 255, 0.13) 82% 100%);
}
.score-ring span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 850;
}
.mini-list {
  display: grid;
  gap: 10px;
}
.mini-list span {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #D7E4F5;
  font-size: 0.88rem;
}
.mini-list span:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.mini-list strong {
  color: #7EA6FF;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 14px; }
.stage { height: 9px; border-radius: 999px; margin: 7px 0; background: rgba(31, 107, 255, 0.55); }
.stage.gold { background: rgba(217, 154, 43, 0.78); }
.stage.green { background: rgba(19, 121, 91, 0.78); }

main > section:nth-of-type(odd):not(.hero):not(.band):not(.section-dark):not(.cta-band) {
  background: #F9FBFE;
}
main > section:nth-of-type(even):not(.hero):not(.band):not(.section-dark):not(.cta-band) {
  background: var(--snow);
}

section { padding: 64px 0; }
.section,
.section-dark { padding: 64px 0; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}
.section-heading.left {
  margin-left: 0;
  text-align: left;
}
.section-heading .lead { margin: 0 auto; }

.band {
  background:
    linear-gradient(180deg, #EAF2FB, #F3F7FC);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-navy,
.section-dark {
  background: var(--navy);
  color: #D7E4F5;
}
.band-navy h2,
.section-dark h2 { color: #fff; }
.band-navy .lead,
.section-dark .lead { color: #B6C6DB; }

.feature-grid,
.pricing-grid,
.faq-grid,
.grid-2,
.grid-4 {
  display: grid;
  gap: 16px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card,
.feature-card,
.proof-card,
.notice-card,
.pricing-card,
.price-card,
.note,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.card,
.feature-card,
.proof-card,
.notice-card { padding: 24px; }
.card p,
.feature-card p,
.proof-card p,
.notice-card p,
.price-card p,
.pricing-card p,
.note p {
  margin: 0;
  color: var(--muted);
}
.card .icon,
.feature-card .icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: #174FBF;
  font-size: 1rem;
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 44px;
}
.note,
.notice-card {
  padding: 24px;
  border-left: 3px solid var(--gold);
}

.checklist,
.crosslist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li,
.crosslist li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 30px;
  color: var(--muted);
}
.checklist li::before,
.crosslist li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 850;
}
.checklist li::before {
  content: "✓";
  background: var(--green-soft);
  color: var(--green);
}
.crosslist li::before {
  content: "×";
  background: var(--red-soft);
  color: var(--red);
}

.trust-strip,
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust-bar .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 720;
}
.trust-bar .pill::before {
  content: "✓";
  color: var(--green);
  font-weight: 850;
}
.section-dark .trust-bar .pill,
.band-navy .trust-bar .pill {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #E8F0FB;
}
.section-dark .trust-bar .pill::before,
.band-navy .trust-bar .pill::before {
  color: var(--gold);
}

.price-card,
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
}
.price-card.popular,
.pricing-card.popular {
  border-color: rgba(31, 107, 255, 0.78);
  box-shadow: 0 18px 44px rgba(31, 107, 255, 0.15);
}
.plan-flag {
  position: absolute;
  top: -12px;
  left: 20px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price {
  margin: 12px 0 4px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 850;
}
.price small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}
.price-card .checklist,
.pricing-card .checklist {
  flex: 1;
  margin: 16px 0;
}
.price-card .button,
.price-card .button-secondary,
.pricing-card .button,
.pricing-card .button-secondary { width: 100%; }

.faq {
  max-width: 840px;
  margin: 0 auto;
}
.faq details {
  margin-bottom: 10px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.faq details[open] { border-color: #B9CBE4; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 850;
}
.faq details[open] summary::after { content: "-"; }
.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-band {
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  max-width: 780px;
  margin-inline: auto;
  color: #fff;
}
.cta-band .lead {
  margin: 0 auto;
  color: #B6C6DB;
}
.cta-band .cta-row { justify-content: center; }
.cta-band .button {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.cta-band .button:hover { background: #EDF3FB; }
.cta-band .button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.legal-page,
.form-page { padding: 58px 0; }
.legal-page .container { max-width: 840px; }
.legal-page h2 {
  margin-top: 34px;
  font-size: 1.42rem;
}
.legal-page h2:first-child { margin-top: 0; }
.legal-page p,
.legal-page li { color: var(--ink); }
.legal-page .muted { color: var(--muted); }

.form-page .container { max-width: 660px; }
.form-card {
  padding: 28px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field-help {
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}
.field input[type="email"],
.field input[type="text"],
.field input[type="tel"],
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.14);
}
.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.toggle-row:last-child { border-bottom: 0; }
.toggle-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
}
.label-text strong { display: block; color: var(--ink); }
.label-text span {
  color: var(--muted);
  font-size: 0.92rem;
}
.form-note {
  display: none;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.form-note.ok { display: block; background: var(--green-soft); color: var(--green); }
.form-note.err { display: block; background: var(--red-soft); color: var(--red); }
.form-note.info { display: block; background: var(--blue-soft); color: #174FBF; }

.site-footer {
  margin-top: 0;
  padding: 34px 0 20px;
  background:
    linear-gradient(180deg, var(--navy), #07182D);
  color: #B6C6DB;
}
.footer-cols,
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(120px, 1fr));
  gap: 18px;
  align-items: start;
}
.footer-cols h4,
.footer-grid h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-cols a,
.footer-grid a {
  display: block;
  margin-bottom: 5px;
  color: #9FB2CC;
  font-size: 0.84rem;
  line-height: 1.35;
}
.footer-cols a:hover,
.footer-grid a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-brand p {
  max-width: 280px;
  color: #8EA2BE;
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 10px 0 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8EA2BE;
  font-size: 0.8rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .feature-grid,
  .pricing-grid,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-cols,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mockup-body { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container,
  .nav,
  .site-nav { width: min(100% - 28px, var(--maxw)); }
  .site-header { position: static; }
  .nav,
  .site-nav {
    min-height: 0;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }
  .nav-links a { padding-inline: 8px; }
  .nav-links .button { margin-left: 0; width: 100%; }
  .hero { padding: 56px 0 46px; }
  .hero.solo { padding: 50px 0 42px; }
  section,
  .section,
  .section-dark { padding: 48px 0; }
  h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .lead { font-size: 1.04rem; }
  .mockup { padding: 12px; }
  .mockup-panel,
  .preview-card { padding: 14px; }
  .signal-row,
  .mockup-meta,
  .mini-list span {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-cols,
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 28px; }
  .field-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .button,
  .button-secondary {
    width: 100%;
  }
  .trust-row span,
  .trust-row a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
