:root {
  --blue: #1582dc;
  --blue-dark: #1166ad;
  --blue-hover: #1374c5;
  --green: #15db81;
  --green-hover: #13c473;
  --text: #59595a;
  --heading: #454545;
  --heading-dark: #2b2b2c;
  --muted: #878788;
  --border: #d8dcee;
  --light: #eaecf6;
  --white: #ffffff;
  --header-h: 60px;
  --container: 1170px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 300ms, background-color 300ms, border-color 300ms;
}

a:hover,
a:focus {
  color: var(--blue-dark);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  color: var(--heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  margin: 60px 0;
}

.logo {
  display: flex;
  align-items: center;
  padding: 15px;
}

.logo img {
  display: block;
  height: 28px;
  width: auto;
  margin-top: -6px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 14px 10px;
  padding: 5px;
}

.nav a:hover,
.nav a:focus,
.nav a.is-active {
  color: rgba(219, 237, 252, 0.95);
}

.nav a.btn {
  color: var(--white);
  margin: 14px 10px;
}

section[id] {
  scroll-margin-top: 72px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 13px 10px;
}

.mobile-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

.header.is-stuck {
  position: fixed;
  top: 0;
  background: rgba(21, 130, 220, 0.95);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header.is-stuck .header-inner,
.header.is-inner .header-inner {
  margin: 0;
}

.header.is-open {
  background: rgba(21, 130, 220, 0.95);
}

.header.is-inner {
  position: fixed;
  background: rgba(21, 130, 220, 0.95);
}

/* Buttons */
.btn {
  display: inline-block;
  outline: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s linear;
}

.btn-lg {
  padding: 16.5px 16px;
}

.btn-rounded {
  border-radius: 40px;
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  min-width: 130px;
}

.btn-white-outline:hover,
.btn-white-outline:focus {
  background: var(--white);
  color: #0d0d0d;
}

.btn-success {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  padding-left: 10px;
  padding-right: 10px;
  line-height: 20px;
}

.btn-success:hover,
.btn-success:focus {
  background: var(--green-hover);
  border-color: var(--green-hover);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.hero-bg,
.quote-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 130, 220, 0.9);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px 0 80px;
}

.hero-title {
  color: inherit;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.hero-sub {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 1px;
}

.hero-actions {
  margin-top: 50px;
}

/* Sections */
.section {
  position: relative;
  overflow: hidden;
}

.section-pad {
  padding: 150px 0;
}

.section-pad-sm {
  padding: 50px 0;
}

.section-light {
  background: var(--light);
}

.section-title {
  max-width: 770px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 1px;
}

.section-kicker::after {
  content: "";
  display: block;
  width: 30px;
  margin: 10px auto;
  border-bottom: 1px solid #d8dcee;
}

.section-heading {
  color: var(--heading-dark);
  font-size: 18px;
  text-transform: uppercase;
  margin: 0;
}

.accent {
  color: var(--blue);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--blue);
}

.icon-circle svg,
.icon-left svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 14px;
  margin: 0 0 4px;
}

.feature-title small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.feature-copy {
  margin: 12px 0 0;
}

/* Ads / user side */
.ads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  max-width: 940px;
  margin: 0 auto;
}

.ads-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 40px;
}

.feature-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.icon-left {
  flex: 0 0 auto;
  margin-top: 15px;
  color: var(--blue);
}

.feature-body h5 {
  font-size: 14px;
  margin: 0 0 8px;
}

.feature-body p {
  margin: 0;
}

.ads-visual {
  text-align: center;
}

.ads-visual img {
  display: block;
  margin: 25px auto 0;
  max-width: 100%;
}

.section-ads {
  padding-bottom: 0;
}

/* Admin */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 30px;
}

.admin-item {
  padding: 25px 10px;
}

/* Quote */
.quote {
  position: relative;
  color: var(--white);
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.quote-inner {
  position: relative;
  z-index: 2;
  max-width: 770px;
  margin: 0 auto;
  text-align: center;
}

blockquote {
  margin: 15px 0;
  padding: 10px;
  border: 0;
  font-size: 14px;
  color: var(--white);
}

blockquote::before {
  content: "“";
  float: left;
  margin-right: 10px;
  color: #e2e4e9;
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1;
}

blockquote p {
  display: inline;
  font-size: 14px;
  line-height: 2;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
}

/* Contact */
.contact {
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  color: inherit;
  font-size: 18px;
  text-transform: none;
  margin: 0 0 16px;
}

.contact p,
.contact a {
  color: var(--white);
}

.contact a:hover {
  color: #dbedfc;
}

.contact-copy {
  max-width: 820px;
  margin: 0 auto 12px;
}

.contact-legal {
  margin: 18px 0 0;
}

.contact-legal a {
  margin: 0 8px;
}

/* Footer */
.site-footer {
  text-align: center;
  color: var(--text);
}

.site-footer small {
  display: block;
}

/* Legal pages */
.legal-main {
  padding: 160px 0 80px;
}

.legal-article {
  max-width: 800px;
  margin: 0 auto;
}

.legal-article h1 {
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.legal-article h2 {
  font-size: 16px;
  margin: 28px 0 10px;
}

.legal-article p,
.legal-article li {
  line-height: 1.9;
}

.legal-article ul {
  padding-left: 20px;
  list-style: disc;
  margin: 0 0 1em;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .hero-bg,
  .quote-bg {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  .admin-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .header-inner {
    margin: 0;
    flex-wrap: wrap;
  }

  .branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 16px;
  }

  .header.is-open .nav {
    display: flex;
  }

  .nav a {
    margin: 5px 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .nav a.btn {
    display: inline-block;
    align-self: flex-start;
    border-bottom: 0;
    margin: 12px 15px 16px;
  }

  .hero-title {
    font-size: 26px;
    padding: 0 8px;
  }

  .hero-sub {
    padding: 0 16px;
  }

  .section-pad {
    padding: 80px 0;
  }

  .steps,
  .ads-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .ads-visual img {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
