/* Smart Links by Secured Link — theme styles
   Colors are CSS variables; the Customizer overrides them in <head>. */

:root {
  --sl-navy: #003366;
  --sl-accent: #456ad9;
  --sl-cta: #25bf92;
  --sl-plan: #3366ff;
  --sl-hero-bg: #d8e7f2;
  --sl-steps-bg: #1883cb;
  --sl-card-bg: #ecf6f1;
  --sl-footer-bg: #252630;
  --sl-band: #edf4f8;
  --sl-sand: #f7f6f0;
  --sl-lilac: #ebebf4;
  --sl-text: #1f3550;
  --sl-muted: #5a6b80;
  --sl-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sl-radius: 10px;
  --sl-wrap: 1170px;
  --sl-header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sl-font); font-size: 16px; line-height: 1.7; color: var(--sl-text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--sl-accent); }
h1, h2, h3, h4 { color: var(--sl-navy); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sl-cta); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--sl-header-h) + 10px); }

.wrap { width: 100%; max-width: var(--sl-wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }
.skip, .screen-reader-text { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; color: var(--sl-navy); padding: 10px 16px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-block; font-family: inherit; font-weight: 700; text-decoration: none; border: 0; border-radius: 8px; cursor: pointer; text-align: center; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn--cta { background: var(--sl-cta); color: #fff; padding: 14px 30px; font-size: 17px; box-shadow: 0 6px 18px -8px var(--sl-cta); }
.btn--lg { padding: 16px 38px; font-size: 19px; }
.btn--login { color: #fff; border: 1.5px solid rgba(255,255,255,.55); padding: 7px 20px; font-size: 15px; font-weight: 600; border-radius: 6px; }
.btn--login:hover { background: rgba(255,255,255,.1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sl-navy); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--sl-header-h); gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__img { max-height: 50px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 28px; }
.nav__list a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; opacity: .92; }
.nav__list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --sl-header-h: 68px; }
  .logo { font-size: 22px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sl-navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .btn--login { margin-top: 16px; }
}

/* Shared section bits */
section { position: relative; }
.section-title { text-align: center; font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 14px; }
.section-title--light { color: #fff; }
.section-sub { text-align: center; font-size: 18px; color: var(--sl-navy); max-width: 680px; margin: 0 auto 40px; }
.section-shapes { background-repeat: no-repeat; background-position: center; background-size: cover; }

/* Hero */
.hero { background-color: var(--sl-hero-bg); padding: 56px 0 80px; text-align: center; }
.has-shapes .hero { background-image: url("../img/shapes-hero.webp"); }
.hero__title { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; max-width: 980px; margin: 0 auto 20px; }
.hero__title .accent { color: var(--sl-accent); }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 820px; margin: 0 auto 36px; color: var(--sl-navy); }
.hero__cta { margin: 36px 0 60px; }
.video { max-width: 960px; margin: 10px auto 0; padding: 8px; background: #fff; border-radius: var(--sl-radius); box-shadow: 0 20px 50px -20px rgba(0, 51, 102, .45); }
.video__play { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; cursor: pointer; background: var(--sl-navy) center / cover no-repeat; }
.video__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--sl-cta); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .15s; }
.video__icon svg { width: 38px; height: 38px; margin-left: 4px; }
.video__play:hover .video__icon { transform: scale(1.06); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }

.hero-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hero-features.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hero-features.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.hero-features.cols-1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.hero-features img { display: block; margin: 0 auto 18px; width: 74px; height: 74px; }
.hero-features h2 { font-size: 20px; margin-bottom: 12px; }
.hero-features p { font-size: 15px; color: var(--sl-navy); margin: 0; }

/* Steps */
.steps { background: var(--sl-steps-bg); padding: 80px 0 90px; }
.steps .section-title { margin-bottom: 44px; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border-radius: 8px; padding: 34px 28px 40px; text-align: center; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.step img { display: block; margin: 0 auto 22px; width: 74px; height: 74px; }
.step h3 { font-size: 20px; margin-bottom: 16px; }
.step p { font-size: 15px; color: var(--sl-navy); margin: 0; }

/* Channels */
.channels { background: var(--sl-band); padding: 36px 0; }
.channels__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.channels__title { font-size: 22px; margin: 0; }
.channels__logos { display: flex; align-items: center; justify-content: space-around; flex: 1; gap: 40px; flex-wrap: wrap; max-width: 700px; }
.channels__logos img { width: 70px; height: 70px; object-fit: contain; display: block; }

/* Features */
.features { background-color: #fff; padding: 90px 0; }
.has-shapes .features { background-image: url("../img/shapes-features.webp"); }
.features .section-title { margin-bottom: 44px; }
.features .section-sub + .features__grid, .features .section-title + .section-sub { margin-top: -30px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature { background: var(--sl-card-bg); border-radius: 8px; padding: 30px 26px 36px; text-align: center; }
.feature img { display: block; margin: 0 auto 20px; width: 70px; height: 70px; }
.feature h3 { font-size: 19px; margin-bottom: 14px; }
.feature p { font-size: 15px; color: var(--sl-navy); margin: 0; }

/* Use cases */
.usecases { background: var(--sl-sand); padding: 90px 0; }
.usecases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.usecase { background: #fff; border-radius: 8px; padding: 34px 28px 36px; text-align: center; box-shadow: 0 2px 14px -8px rgba(0, 30, 60, .18); display: flex; flex-direction: column; align-items: center; }
.usecase__img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 22px; }
.usecase__text { font-size: 15px; color: var(--sl-navy); flex: 1; }
.usecase__title { font-size: 17px; text-transform: uppercase; letter-spacing: .02em; margin: 6px 0 8px; }
.usecase__label { font-size: 14px; color: var(--sl-muted); text-transform: uppercase; letter-spacing: .03em; margin: 0; }

/* Pricing */
.pricing { background-color: var(--sl-lilac); padding: 90px 0 100px; }
.has-shapes .pricing { background-image: url("../img/shapes-pricing.webp"); }
.pricing .section-title { margin-bottom: 50px; }
.pricing .section-sub { margin-top: -34px; margin-bottom: 50px; }
.plans { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.plan { background: #fff; border-radius: 12px; padding: 54px 34px 50px; width: 100%; max-width: 360px; text-align: center; box-shadow: 0 20px 40px -28px rgba(0, 30, 60, .35); display: flex; flex-direction: column; }
.plan__label { font-size: 42px; font-weight: 800; color: var(--sl-plan); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 14px; }
.plan__name { font-size: 20px; margin-bottom: 14px; }
.plan__desc { font-size: 15px; color: var(--sl-muted); }
.plan__price { margin: 6px 0 18px; color: var(--sl-navy); }
.plan__price b { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.plan__price span { font-size: 15px; color: var(--sl-muted); }
.plan__features { margin: 8px auto 34px; display: inline-flex; flex-direction: column; gap: 6px; align-self: center; text-align: left; flex: 1; }
.plan__features li { position: relative; padding-left: 28px; font-size: 15px; color: var(--sl-navy); }
.plan__features li::before { content: ""; position: absolute; left: 0; top: .35em; width: 17px; height: 17px; border-radius: 50%; background: var(--sl-cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan__btn { text-transform: uppercase; letter-spacing: .03em; align-self: center; min-width: 200px; }
.plan__note { font-size: 13px; color: var(--sl-muted); margin: 14px 0 0; }
.plan--featured { background: var(--sl-navy); }
.plan--featured .plan__label { color: color-mix(in srgb, var(--sl-plan) 60%, #fff); }
.plan--featured .plan__name, .plan--featured .plan__features li, .plan--featured .plan__price, .plan--featured .plan__desc { color: #fff; }
.plan--featured .plan__price span, .plan--featured .plan__note { color: rgba(255,255,255,.7); }
.pricing__note { text-align: center; font-size: 14px; color: var(--sl-muted); max-width: 640px; margin: 36px auto 0; }

/* FAQ */
.faq { background: #fff; padding: 90px 0 80px; }
.faq .section-title { margin-bottom: 50px; }
.faq__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 60px; margin: 0; }
.faq__item dt { font-weight: 700; font-size: 18px; color: var(--sl-navy); margin-bottom: 12px; }
.faq__item dd { margin: 0; font-size: 16px; color: var(--sl-text); }

/* Footer */
.site-footer { background: var(--sl-footer-bg); color: rgba(255,255,255,.72); padding: 36px 0; font-size: 15px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .logo { font-size: 24px; }
.site-footer__tagline { margin: 10px 0 0; max-width: 320px; font-size: 14px; }
.site-footer__meta { text-align: center; flex: 1; min-width: 260px; }
.site-footer__copy { margin: 0 0 6px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.site-footer__email { margin: 6px 0 0; font-size: 14px; }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .15s; }
.social a:hover { background: var(--sl-plan); }
.social svg { width: 18px; height: 18px; }

/* Inner pages, posts, EDD checkout */
.content { padding: 70px 0 90px; min-height: 55vh; }
.content--center { text-align: center; }
.content__title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 24px; }
.entry__content { font-size: 17px; }
.entry__content h2 { font-size: 26px; margin-top: 1.6em; }
.entry__content h3 { font-size: 21px; margin-top: 1.4em; }
.entry__content ul, .entry__content ol { padding-left: 1.4em; margin-bottom: 1em; }
.entry__content ul { list-style: disc; }
.entry__content ol { list-style: decimal; }
.entry__content table { width: 100%; border-collapse: collapse; }
.entry__content th, .entry__content td { padding: 10px; border-bottom: 1px solid #e3e8ef; text-align: left; }
.extra { padding: 60px 0; }
.post-list { display: grid; gap: 30px; }
.post-card { border-bottom: 1px solid #e3e8ef; padding-bottom: 26px; }
.post-card__title { font-size: 24px; margin-bottom: 4px; }
.post-card__title a { color: var(--sl-navy); text-decoration: none; }
.post-card__meta { color: var(--sl-muted); font-size: 14px; }

/* Easy Digital Downloads: match the theme */
#edd_checkout_wrap input[type="text"], #edd_checkout_wrap input[type="email"], #edd_checkout_wrap input[type="password"], #edd_checkout_wrap input[type="tel"], #edd_checkout_wrap select,
.edd-blocks-form input[type="text"], .edd-blocks-form input[type="email"], .edd-blocks-form input[type="password"] { width: 100%; padding: 12px 14px; border: 1px solid #c9d3df; border-radius: 8px; font: inherit; }
#edd-purchase-button, .edd-submit, .edd-submit.button, .wp-block-button__link { background: var(--sl-cta) !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; padding: 14px 28px !important; font: 700 17px var(--sl-font) !important; cursor: pointer; }
#edd_checkout_cart { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
#edd_checkout_cart th, #edd_checkout_cart td { padding: 12px; border-bottom: 1px solid #e3e8ef; }
#edd_checkout_form_wrap fieldset { border: 1px solid #e3e8ef; border-radius: var(--sl-radius); padding: 20px 22px; margin: 0 0 24px; }
#edd_checkout_form_wrap legend { font-weight: 700; color: var(--sl-navy); padding: 0 6px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-features { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .features__grid, .usecases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hero { padding: 40px 0 60px; }
  .hero__cta { margin: 28px 0 44px; }
  .steps, .features, .usecases, .pricing, .faq { padding: 64px 0; }
  .steps__grid, .features__grid, .usecases__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero-features, .hero-features.cols-3 { grid-template-columns: 1fr; }
  .channels__inner { flex-direction: column; text-align: center; }
  .channels__logos { justify-content: center; gap: 30px; }
  .plans { gap: 30px; }
  .plan__label { font-size: 36px; }
  .site-footer__inner { flex-direction: column; text-align: center; }
  .site-footer__tagline { margin-left: auto; margin-right: auto; }
}
