:root {
    --palm-blue: #278AE5;
    --palm-blue-dark: #1a6cc4;
    --palm-blue-light: #5aaff0;
    --palm-glow: rgba(39, 138, 229, 0.25);
    --dark: #080c14;
    --dark-mid: #0f1824;
    --dark-card: #111d2e;
    --dark-border: rgba(39, 138, 229, 0.18);
    --text-bright: #f0f6ff;
    --text-mid: #a8c4e0;
    --text-muted: #5a7a9a;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  html, body { scrollbar-width: none; }
  html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
  body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--text-bright);
    min-height: 100vh;
    overflow-x: hidden;
  }
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% -10%, rgba(39,138,229,0.18) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 90% 80%, rgba(39,138,229,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }
  .page { position: relative; z-index: 1; }

  /* NAV */
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--dark-border);
    background: rgba(8,12,20,0.7);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 16px rgba(39,138,229,0.35);
  }
  .logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: var(--text-bright);
  }
  .edge-badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--palm-blue-light);
    background: rgba(39,138,229,0.12);
    border: 1px solid rgba(39,138,229,0.3);
    padding: 5px 12px;
    border-radius: 100px;
  }

  /* HERO — email front and center */
  .hero {
    padding: 56px 24px 48px;
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--palm-blue-light);
    margin-bottom: 20px;
  }
  .hero-eyebrow::before, .hero-eyebrow::after {
    content: '';
    display: block;
    width: 22px;
    height: 1px;
    background: var(--palm-blue);
    opacity: 0.6;
  }
  .hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.9rem, 6.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-bright);
  }
  .hero h1 em {
    font-style: normal;
    color: var(--palm-blue-light);
  }
  .hero-sub {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 32px;
  }

  /* EMAIL FORM — hero-level prominence */
  .form-wrap {
    background: var(--dark-card);
    border: 1px solid rgba(39,138,229,0.25);
    border-radius: 20px;
    padding: 28px 24px 22px;
    box-shadow: 0 0 60px rgba(39,138,229,0.1), 0 0 0 1px rgba(39,138,229,0.05);
  }
  .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-mid);
    text-align: left;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.03em;
  }
  .form-group {
    position: relative;
    margin-bottom: 12px;
  }
  .form-group-name {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .form-group.form-group-name input {
    flex: 1;
    width: auto;
  }
  .form-group input {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(39,138,229,0.22);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-bright);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .form-group input::placeholder { color: var(--text-muted); }
  .form-group input:focus {
    border-color: var(--palm-blue);
    box-shadow: 0 0 0 3px rgba(39,138,229,0.15);
  }
  .btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--palm-blue);
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 28px rgba(39,138,229,0.45);
    position: relative;
    overflow: hidden;
  }
  .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
  }
  .btn-primary:hover {
    background: var(--palm-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 36px rgba(39,138,229,0.5);
  }
  .btn-primary:active { transform: translateY(0); }
  .form-microcopy {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
    margin-top: 11px;
  }
  .form-microcopy svg {
    vertical-align: -2px;
    margin-right: 3px;
  }

  /* DIVIDER */
  .divider {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--dark-border), transparent);
  }

  /* SECTION */
  .section { padding: 52px 24px; max-width: 700px; margin: 0 auto; }
  .section-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--palm-blue);
    margin-bottom: 10px;
  }
  .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 32px;
    color: var(--text-bright);
  }
  .cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .card:hover {
    border-color: rgba(39,138,229,0.4);
    box-shadow: 0 4px 28px rgba(39,138,229,0.1);
  }
  .card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(39,138,229,0.1);
    border: 1px solid rgba(39,138,229,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 5px;
  }
  .card-body {
    font-size: 0.83rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-mid);
  }
  .section-closer {
    margin-top: 26px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-bright);
    text-align: center;
    opacity: 0.8;
  }

  /* EDGE EXCLUSIVE */
  .exclusive {
    padding: 0 24px 52px;
    max-width: 700px;
    margin: 0 auto;
  }
  .exclusive-card {
    background: linear-gradient(135deg, rgba(39,138,229,0.1) 0%, rgba(39,138,229,0.04) 100%);
    border: 1px solid rgba(39,138,229,0.3);
    border-radius: 24px;
    padding: 32px 26px;
    position: relative;
    overflow: hidden;
  }
  .exclusive-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--palm-blue), transparent);
  }
  .exclusive-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 3.2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text-bright);
  }
  .exclusive-sub {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-mid);
    margin-bottom: 20px;
    line-height: 1.65;
  }
  .webinar-tag {
    display: inline-block;
    background: rgba(39,138,229,0.15);
    border: 1px solid rgba(39,138,229,0.3);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--palm-blue-light);
    margin-bottom: 14px;
  }
  .checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 26px;
  }
  .checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.55;
  }
  .checklist li::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: rgba(39,138,229,0.2);
    border: 1px solid rgba(39,138,229,0.4);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%23278AE5' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
  }
  .exclusive-note {
    font-size: 0.72rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: 14px;
  }

  /* FOOTER */
  footer {
    padding: 26px 24px;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    border-top: 1px solid var(--dark-border);
    margin-top: 16px;
  }
  footer a { color: var(--palm-blue); text-decoration: none; }

  /* CONFIRMATION PAGES */
  .confirm-page { display: none; }
  .confirm-page.active { display: block; }
  .landing-page.hidden { display: none; }

  .confirm-hero {
    padding: 60px 24px 36px;
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
  }
  .confirm-badge {
    display: inline-block;
    background: rgba(39,138,229,0.12);
    border: 1px solid rgba(39,138,229,0.3);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--palm-blue-light);
    margin-bottom: 20px;
  }
  .confirm-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 5.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 10px;
  }
  .confirm-hero p {
    font-size: 0.95rem;
    color: var(--text-mid);
  }
  .progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 28px 24px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
  }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: var(--palm-blue);
    opacity: 0.4;
  }
  .step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--palm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 16px rgba(39,138,229,0.5);
  }
  .step-label {
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--text-mid);
    text-align: center;
    letter-spacing: 0.04em;
  }

  /* App Section */
  .app-section {
    padding: 0 24px 32px;
    max-width: 580px;
    margin: 0 auto;
  }
  .app-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 18px;
    padding: 26px;
    text-align: center;
  }
  .app-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-bright);
  }
  .app-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
  }
  .app-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #111;
    border-radius: 12px;
    padding: 12px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
  }
  .app-btn:hover { opacity: 0.9; transform: translateY(-1px); }
  .app-btn.android {
    background: #1a1a2e;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
  }
  .app-btn-icon { font-size: 1.2rem; }
  .open-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--palm-blue);
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 24px rgba(39,138,229,0.4);
    margin-bottom: 10px;
  }
  .open-btn:hover { background: var(--palm-blue-dark); transform: translateY(-1px); }

  /* Session Section */
  .session-section {
    padding: 0 24px 40px;
    max-width: 580px;
    margin: 0 auto;
  }
  .session-card {
    background: linear-gradient(135deg, rgba(39,138,229,0.1) 0%, rgba(39,138,229,0.04) 100%);
    border: 1px solid rgba(39,138,229,0.3);
    border-radius: 18px;
    padding: 26px;
    position: relative;
    overflow: hidden;
  }
  .session-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--palm-blue), transparent);
  }
  .session-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-bright);
  }
  .session-card .inbox-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 18px;
  }
  .session-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
  }
  .session-list li {
    font-size: 0.84rem;
    color: var(--text-mid);
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .session-list li::before {
    content: '→';
    color: var(--palm-blue);
    font-weight: 600;
    flex-shrink: 0;
  }
  .event-datetime {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-mid);
    margin-left: 6px;
  }
  .cal-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
  }
  .cal-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .cal-btn {
    flex: 1;
    min-width: 80px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-mid);
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  .cal-btn:hover {
    background: rgba(39,138,229,0.1);
    border-color: rgba(39,138,229,0.35);
    color: var(--text-bright);
  }
  .session-privacy {
    font-size: 0.7rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: 14px;
  }

  /* Dev indicator */
  .funnel-indicator {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: rgba(8,12,20,0.9);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.68rem;
    color: var(--text-muted);
    z-index: 999;
    backdrop-filter: blur(8px);
  }
  #funnel-type { color: var(--palm-blue-light); font-weight: 600; }

  /* Animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 28px rgba(39,138,229,0.4); }
    50%       { box-shadow: 0 4px 42px rgba(39,138,229,0.65); }
  }
  .animate-up { animation: fadeUp 0.55s ease both; }
  .delay-1 { animation-delay: 0.08s; }
  .delay-2 { animation-delay: 0.18s; }
  .delay-3 { animation-delay: 0.28s; }
  .btn-primary { animation: pulse-glow 3s ease-in-out infinite; }

  @media (min-width: 600px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
    .card { flex-direction: column; gap: 12px; }
    .form-group-name { flex-direction: row; }
  }

  /* Loader Overlay */
  .Loaderoverlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b1120;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Confirmation Popup */
  .confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .confirm-popup-card {
    background: var(--dark-card);
    border: 1px solid rgba(39, 138, 229, 0.3);
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 60px rgba(39, 138, 229, 0.15);
  }
  .confirm-popup-text {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-bottom: 24px;
  }
  .confirm-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .confirm-popup-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }
  .confirm-popup-cancel:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-bright);
  }

/* Replacements for style attributes, which the preview hosts drop */
.tf-hidden { display: none !important; }
.tf-logo-wrap { text-align: center; margin: 16px 0; }
.tf-logo-img { max-width: 180px; height: auto; }
.tf-store-kicker { font-size: 0.62rem; font-weight: 400; opacity: 0.7; }
.tf-webinar-note { font-size: 0.83rem; color: var(--text-mid); margin-bottom: 12px; font-weight: 500; }
.tf-mb-16 { margin-bottom: 16px; }
.tf-btn-link { display: inline-block; text-decoration: none; text-align: center; }
.confirm-badge-warn { background: rgba(237,137,54,0.15); color: #ed8936; }
.confirm-badge-error { background: rgba(229,62,62,0.15); color: #f56565; }

/* The tag manager noscript iframe. This was a style attribute the strict
   policy refuses. */
.gtm-noscript{
	display: none;
	visibility: hidden;
}
