:root {
  --navy: #0b2451;
  --navy-2: #143a7a;
  --blue: #1a73c8;
  --blue-2: #2b8ee6;
  --sky: #e8f2fc;
  --sky-2: #f4f8fd;
  --red: #e4111b;
  --ink: #16233a;
  --muted: #5b6b85;
  --line: #d9e3f0;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 36, 81, .10);
  --shadow-lg: 0 24px 60px rgba(11, 36, 81, .16);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky); color: var(--blue);
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}
.eyebrow svg { width: 16px; height: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 17px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-2) 100%);
  box-shadow: 0 12px 28px rgba(26, 115, 200, .38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(26, 115, 200, .45); }
.btn-ghost {
  color: var(--navy); background: #fff; border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { color: #fff; background: #25d366; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand-row { display: flex; align-items: center; gap: 22px; }
.brand-row img { height: 24px; width: auto; }
.brand-row img[alt="LogBook360"] { height: 34px; }
.brand-row .sep { width: 1px; height: 30px; background: var(--line); }
.brand-row img.brand-tt { height: 38px; }
.site-header .btn { padding: 12px 20px; font-size: 15px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(43, 142, 230, .22), transparent 60%),
    radial-gradient(600px 400px at -10% 80%, rgba(26, 115, 200, .14), transparent 60%),
    linear-gradient(180deg, #f7fafe 0%, #ffffff 100%);
  padding: 64px 0 56px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(42px, 6vw, 70px); font-weight: 800; color: var(--navy); line-height: .98; letter-spacing: -.03em;
}
.hero h1 span { color: var(--blue); display: block; }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 560px; }
.hero .lead strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--navy); font-weight: 700; font-size: 15px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--blue); }

.opportunity {
  background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); position: relative;
}
.opportunity::before {
  content: ""; position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
  background: linear-gradient(135deg, rgba(43,142,230,.5), rgba(228,17,27,.25));
  filter: blur(14px); opacity: .5;
}
.opportunity .tag { font-family: "Caveat", cursive; font-size: 30px; color: var(--blue); font-weight: 700; transform: rotate(-2deg); display: inline-block; }
.opportunity h3 { font-size: 24px; color: var(--navy); margin-top: 4px; }
.opportunity ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.opportunity li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.opportunity li strong { color: var(--navy); }
.check { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-grid; place-items: center; }
.check svg { width: 14px; height: 14px; }
.countdown { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); }
.countdown .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.countdown .cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.countdown .cell { background: var(--sky-2); border: 1px solid var(--line); border-radius: 12px; text-align: center; padding: 10px 4px; }
.countdown .cell b { display: block; font-size: 26px; color: var(--navy); line-height: 1; }
.countdown .cell small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.seats { margin-top: 14px; font-family: "Caveat", cursive; font-size: 24px; color: var(--red); text-align: center; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--sky-2); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--navy); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* Product cards */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden;
}
.product::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,142,230,.16), transparent 70%);
}
.product .logo { height: 40px; display: flex; align-items: center; }
@supports (grid-template-rows: subgrid) {
  .product { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 18px; align-items: start; }
  .product .earn { margin-top: 0; align-self: stretch; }
  .product .pill { justify-self: start; }
  .product .tagline { margin-top: -10px; }
}
.product .logo img { height: 40px; width: auto; }
.product .logo.tt { gap: 10px; }
.product .logo.tt img.brand-tt { height: 62px; }
.product .tagline { font-size: 13px; color: var(--muted); margin-top: -10px; }
.product h3 { font-size: 28px; color: var(--navy); font-weight: 800; }
.product .desc { color: var(--muted); font-size: 16px; }
.product ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.product li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.product .pill { align-self: flex-start; background: var(--sky); color: var(--blue); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.product .earn { margin-top: auto; background: linear-gradient(135deg, #0b2451, #143a7a); color: #fff; border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.product .earn b { color: #9fd0ff; }

/* Benefit strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip .item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: center; }
.strip .ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.strip .ico svg { width: 24px; height: 24px; }
.strip .item b { display: block; color: var(--navy); font-size: 15px; }
.strip .item small { color: var(--muted); font-size: 13px; }

/* Learn / agenda */
.learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.learn .card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.learn .num { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--navy-2)); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.learn h3 { font-size: 20px; color: var(--navy); }
.learn p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Who should attend */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.who .chip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--navy); }

/* Final CTA */
.cta-band {
  background: linear-gradient(135deg, #0b2451 0%, #143a7a 55%, #1a73c8 100%);
  color: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band .eyebrow { background: rgba(255,255,255,.12); color: #bfe0ff; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 16px; font-weight: 800; }
.cta-band .bits { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: #cfe4fb; font-weight: 600; }
.cta-band .when { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 24px; display: grid; gap: 14px; }
.cta-band .when .row { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; }
.cta-band .when svg { width: 24px; height: 24px; color: #9fd0ff; }
.cta-band .when .btn { margin-top: 6px; background: #fff; color: var(--navy); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.cta-band .note { font-family: "Caveat", cursive; font-size: 22px; color: #ffd166; text-align: center; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 16px; }

/* Footer */
.site-footer { background: var(--navy); color: #b9c8e0; font-size: 14px; padding: 44px 0 36px; }
.site-footer .wrap { display: block; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer .brand-row { background: #fff; padding: 12px 20px; border-radius: 14px; }
.site-footer .brand-row img { height: 20px; }
.site-footer .brand-row img[alt="LogBook360"] { height: 28px; }
.site-footer .brand-row img.brand-tt { height: 32px; }
.site-footer .contact { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; font-size: 16px; text-decoration: none; background: #25d366; padding: 12px 20px; border-radius: 999px; box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.site-footer .contact:hover { transform: translateY(-2px); }
.site-footer .contact svg { width: 22px; height: 22px; color: #fff; }
.site-footer .bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
.site-footer .bottom a { color: #dbe6f7; text-decoration: none; }
.site-footer .bottom a:hover { color: #fff; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  display: none; gap: 12px; align-items: center; justify-content: space-between;
}
.sticky-cta .t { font-size: 13px; color: var(--navy); font-weight: 700; line-height: 1.2; }
.sticky-cta .t small { display: block; color: var(--muted); font-weight: 600; }
.sticky-cta .btn { padding: 12px 18px; font-size: 15px; }

/* Registration page */
.reg-page { min-height: 100vh; background: linear-gradient(180deg, #f3f8fe 0%, #fff 60%); }
.reg-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; padding: 48px 0 80px; }
.reg-side h1 { font-size: clamp(34px, 4.2vw, 52px); color: var(--navy); font-weight: 800; margin-top: 18px; letter-spacing: -.03em; }
.reg-side h1 span { color: var(--blue); }
.reg-side .lead { margin-top: 14px; color: var(--muted); font-size: 18px; }
.reg-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.reg-side li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.reg-side .when { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--navy); font-weight: 700; }
.reg-side .when span { display: inline-flex; gap: 8px; align-items: center; }
.reg-side .when svg { width: 18px; height: 18px; color: var(--blue); }
.reg-side .logos { display: flex; align-items: center; gap: 18px; margin-top: 30px; opacity: .9; }
.reg-side .logos img { height: 24px; width: auto; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 24px; color: var(--navy); }
.form-card .sub { color: var(--muted); margin-top: 6px; font-size: 15px; }
.form-card form { margin-top: 22px; display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); font: 500 16px var(--font); color: var(--ink);
  background: #fbfdff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,115,200,.14); background: #fff; }
.field input:user-invalid { border-color: var(--red); }
.phone-row { display: grid; grid-template-columns: 86px 1fr; gap: 8px; }
.phone-row .cc { display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--sky-2); font-weight: 700; color: var(--navy); }
.attend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.attend { position: relative; }
.attend input { position: absolute; width: 1px; height: 1px; left: 0; top: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.attend label {
  margin: 0; text-align: center; padding: 13px 8px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 700; color: var(--muted); background: #fbfdff;
  transition: all .15s;
}
.attend input:checked + label { border-color: var(--blue); color: var(--blue); background: var(--sky); box-shadow: 0 0 0 3px rgba(26,115,200,.12); }
.form-card .btn { margin-top: 6px; }
.form-card .fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.form-error { display: none; background: #fff2f2; border: 1px solid #ffc9c9; color: #a30f16; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.form-error.show { display: block; }

.success { display: none; text-align: center; padding: 10px 0; }
.success.show { display: block; }
.success .tick { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: #e7f8ee; color: #1f9d55; display: grid; place-items: center; }
.success .tick svg { width: 40px; height: 40px; }
.success h2 { font-size: 28px; }
.success p { margin-top: 10px; color: var(--muted); }
.success .when { margin: 18px auto 0; display: inline-grid; gap: 6px; background: var(--sky-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 22px; color: var(--navy); font-weight: 700; }
.success .actions { display: grid; gap: 10px; margin-top: 22px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .reg-grid, .cta-band { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .learn, .who { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 44px; }
  .section { padding: 52px 0; }
  .site-header .wrap { height: 64px; }
  .site-header .btn { display: none; }
  .brand-row { gap: 10px; min-width: 0; }
  .brand-row .sep { display: none; }
  .brand-row img { height: 16px; }
  .brand-row img[alt="LogBook360"] { height: 23px; }
  .brand-row img.brand-tt { height: 26px; }
  .strip, .learn, .who { grid-template-columns: 1fr; }
  .product { padding: 24px; }
  .cta-band { padding: 28px 22px; border-radius: 22px; }
  .form-card { padding: 24px 18px; }
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 110px; }
  .site-footer .top, .site-footer .bottom { justify-content: center; text-align: center; }
  .site-footer .brand-row { width: 100%; justify-content: center; }
  .opportunity { padding: 22px; }
}

/* Phone polish */
@media (max-width: 640px) {
  .site-footer .brand-row { flex-wrap: wrap; justify-content: center; gap: 10px 16px; padding: 12px 14px; width: auto; max-width: 100%; }
  .site-footer .brand-row img { height: 16px; }
  .site-footer .brand-row img[alt="LogBook360"] { height: 22px; }
  .site-footer .brand-row img.brand-tt { height: 26px; }
  .site-footer .contact { font-size: 15px; padding: 11px 18px; max-width: 100%; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 48px); }
  .hero .lead { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { gap: 8px 16px; font-size: 14px; }
  .opportunity h3 { font-size: 21px; }
  .seats { font-size: 20px; }
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 16px; }
  .product h3 { font-size: 24px; }
  .product .pill { white-space: normal; text-align: left; }
  .learn .card, .who .chip { padding: 20px; }
  .cta-band .bits span:nth-child(even) { display: none; }
  .cta-band .bits { gap: 6px 14px; font-size: 14px; }
  .cta-band .when .row { font-size: 18px; }
  .faq summary { font-size: 15px; }
  .reg-side h1 { font-size: 30px; }
  .reg-side .lead { font-size: 16px; }
  .reg-grid { gap: 28px; padding: 28px 0 60px; }
  .form-card h2 { font-size: 21px; }
  .attend { grid-template-columns: 1fr; gap: 8px; }
  .attend label { text-align: left; padding: 12px 14px; }
  .steps { margin-bottom: 14px; }
}
