:root {
  --bg: #eef4fa;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --text: #10233d;
  --muted: #60738a;
  --line: #d8e2ee;
  --primary: #0866c7;
  --primary-dark: #082f59;
  --accent: #17a4d8;
  --success: #0f8b5f;
  --shadow: 0 24px 70px rgba(16, 35, 61, 0.10);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(216,226,238,0.8);
}
.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  box-shadow: 0 10px 24px rgba(8, 102, 199, 0.24);
}
.brand__copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand__copy strong { font-size: 18px; }
.brand__copy small { color: var(--muted); font-size: 12px; }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--text); font-weight: 700; }
.site-nav a:last-child {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
}
.site-main { min-height: calc(100vh - 160px); }
.hero { padding: 44px 0 26px; }
.hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: stretch;
}
.hero__content {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(23,164,216,.32), transparent 35%), linear-gradient(135deg, #082f59, #075fad);
  color: #fff;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero__content:after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
}
.eyebrow {
  display: inline-block;
  color: #87d7ff;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
}
.hero__content h1 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.hero__content p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 18px;
  max-width: 680px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: #fff; color: var(--primary-dark); }
.btn--primary:hover { box-shadow: 0 12px 22px rgba(0,0,0,.10); color: var(--primary-dark); }
.btn--secondary { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.34); color: #fff; }
.btn--secondary:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--dark { background: var(--primary-dark); color: #fff; }
.btn--dark:hover { color: #fff; box-shadow: 0 12px 24px rgba(8,47,89,.20); }
.btn--outline { background: #fff; border-color: var(--line); color: var(--primary-dark); }
.hero__checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero__checks li { position: relative; padding-left: 30px; color: rgba(255,255,255,.92); font-weight: 650; }
.hero__checks li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.38);
}
.hero__checks li:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.dark-checks li { color: var(--text); }
.dark-checks li:before { background: #e8f4ff; border-color: #c5ddf7; }
.dark-checks li:after { border-color: var(--primary); }
.hero__image-card {
  padding: 12px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(216,226,238,.86);
}
.hero__image-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 10px);
}
.quick-stats,
.feature-section,
.access-panel,
.standard-page,
.auth-page { padding: 28px 0 44px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card,
.feature-card,
.content-card,
.auth-card,
.access-panel__inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stat-card { padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.stat-card strong { font-size: 36px; color: var(--primary-dark); line-height: 1; }
.stat-card span { color: var(--muted); font-weight: 700; text-transform: capitalize; }
.section-heading { max-width: 780px; margin-bottom: 24px; }
.section-heading .eyebrow,
.auth-card .eyebrow,
.auth-copy .eyebrow,
.access-panel .eyebrow,
.content-card .eyebrow { color: var(--primary); }
.section-heading h2,
.access-panel h2 { margin: 12px 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.section-heading p,
.access-panel p { color: var(--muted); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 28px; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f4ff;
  color: var(--primary-dark);
  font-weight: 900;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 22px; margin: 0 0 10px; }
.feature-card p { color: var(--muted); margin: 0; }
.access-panel__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background: linear-gradient(135deg, #fff, #e8f4ff);
}
.auth-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.auth-copy,
.auth-card,
.content-card { padding: 34px; }
.auth-copy {
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(232,244,255,.78));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.auth-copy h1,
.auth-card h1,
.auth-card h2,
.content-card h1 { margin: 12px 0 12px; line-height: 1.1; letter-spacing: -0.03em; }
.auth-copy h1,
.content-card h1 { font-size: clamp(32px, 4vw, 46px); }
.auth-card h2 { font-size: clamp(26px, 4vw, 34px); }
.auth-copy p,
.auth-card p,
.content-body,
.post-item p { color: var(--muted); }
.login-form-wrap form { display: grid; gap: 16px; margin-top: 20px; }
.login-form-wrap label { display: block; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.login-form-wrap input[type="text"],
.login-form-wrap input[type="password"] {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #bfcbd8;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
}
.login-form-wrap input[type="text"]:focus,
.login-form-wrap input[type="password"]:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(8,102,199,.11); }
.login-form-wrap .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--muted); }
.login-form-wrap input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 900;
  padding: 14px 24px;
  cursor: pointer;
}
.notice-banner {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff3d6;
  color: #6f4300;
  border: 1px solid #ffd383;
  font-weight: 700;
  margin: 16px 0;
}
.small-note { margin-top: 14px; }
.compact-actions { margin-top: 18px; }
.centered-card { text-align: center; }
.centered-actions { justify-content: center; }
.post-list { display: grid; gap: 18px; }
.post-item { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.post-item:last-child { border-bottom: 0; padding-bottom: 0; }
.site-footer { background: #0f2135; color: #fff; margin-top: 20px; }
.site-footer p { color: rgba(255,255,255,.72); margin: 6px 0 0; }
.site-footer__links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer__links a,
.site-footer__links span { color: rgba(255,255,255,.86); }
@media (max-width: 980px) {
  .hero__grid,
  .stats-grid,
  .feature-grid,
  .auth-layout { grid-template-columns: 1fr; }
  .access-panel__inner { flex-direction: column; align-items: flex-start; }
  .hero__image-card img { min-height: 320px; }
}
@media (max-width: 700px) {
  .container,
  .narrow { width: min(100% - 24px, 100%); }
  .site-header__inner,
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .hero__content,
  .auth-copy,
  .auth-card,
  .content-card,
  .access-panel__inner,
  .feature-card,
  .stat-card { padding: 24px; }
  .hero__content h1 { font-size: 34px; }
  .hero__image-card img { min-height: 260px; }
}

.brand__logo img {
  max-height: 46px;
  width: auto;
}
.nav-pill {
  background: var(--primary-dark);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 999px;
}
.nav-pill:hover {
  background: var(--primary);
}
.site-nav .menu-item {
  list-style: none;
}
.site-nav .menu-item a {
  color: var(--text);
  font-weight: 700;
}
.site-footer__links .menu-item {
  list-style: none;
}


/* Page builder and editor compatibility */
.builder-page {
  padding: 0;
  background: transparent;
}
.builder-content {
  width: 100%;
}
.builder-content > *:first-child {
  margin-top: 0;
}
.builder-content > *:last-child {
  margin-bottom: 0;
}
.builder-page--full-width {
  width: 100%;
}
.page-template-page-full-width .site-main,
.page-template-templatespage-full-width-php .site-main,
.elementor-page .site-main {
  overflow: hidden;
}
.tss-canvas-template {
  background: #fff;
}
.tss-canvas-main {
  min-height: 100vh;
}
.wp-block-cover.alignfull,
.wp-block-group.alignfull {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.alignwide {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.alignfull {
  max-width: none;
  width: 100%;
}
