/* BYTE program page (/byte). Colours follow the BYTE seminar deck and flyer. */
.byte-page {
  --byte-green-dark: #27561f;
  --byte-green: #3bb054;
  --byte-green-soft: #edf5ec;
  --byte-ink: #1f2a1c;
  --byte-muted: #55624f;
  --byte-blue: #2563eb;
  --byte-orange: #ea580c;
  --byte-purple: #7c3aed;
  --byte-pink: #db2777;
  --byte-amber: #c2620a;
  color: var(--byte-ink);
}

.byte-page section { padding: 90px 0 0; }
.byte-page .byte-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--byte-green-soft);
  color: var(--byte-green-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.byte-page .byte-title { font-size: clamp(30px, 2.2vw + 18px, 46px); font-weight: 700; line-height: 1.2; margin: 0 0 16px; color: var(--byte-ink); }
.byte-page .byte-lead { font-size: 18px; line-height: 1.7; color: var(--byte-muted); max-width: 760px; }
.byte-page .byte-head { text-align: center; margin-bottom: 44px; }
.byte-page .byte-head .byte-lead { margin: 0 auto; }
.byte-page .byte-tagline { margin-top: 32px; text-align: center; font-size: 20px; font-style: italic; font-weight: 700; color: var(--byte-green-dark); }

/* Hero */
.byte-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 30%, rgba(59, 176, 84, .35), transparent 45%), var(--byte-green-dark);
  color: #fff;
  padding: 220px 0 90px;
}
.byte-hero .byte-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.byte-hero h1 { color: #fff; font-size: clamp(38px, 3.4vw + 18px, 68px); font-weight: 700; line-height: 1.1; margin: 0 0 18px; }
.byte-hero h1 span { color: #8ee09d; }
.byte-hero p { color: rgba(255, 255, 255, .88); font-size: 19px; line-height: 1.7; max-width: 620px; }
.byte-hero .byte-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; padding: 0; list-style: none; }
.byte-hero .byte-chips li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: 15px; font-weight: 600; }
.byte-hero .byte-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.byte-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 16px; font-weight: 700; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.byte-btn:hover { transform: translateY(-2px); }
.byte-btn svg { flex: none; width: 20px; height: 20px; }
.byte-compare-arrow svg { width: 28px; height: 28px; }
.byte-btn-primary { background: var(--byte-green); color: #fff; }
.byte-btn-primary:hover { background: #2f9a46; color: #fff; }
.byte-btn-ghost { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.byte-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.byte-hero .breadcrumb { margin: 0 0 22px; justify-content: flex-start; }
.byte-hero .breadcrumb a { color: rgba(255, 255, 255, .8); }
.byte-hero .breadcrumb .active { color: #fff; }

.byte-logo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.byte-logo-mark {
  width: min(300px, 70vw); aspect-ratio: 1;
  border-radius: 28%;
  background: var(--byte-green-dark);
  border: clamp(26px, 3.4vw, 40px) solid var(--byte-green);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(110px, 10vw, 150px); font-weight: 800; color: #fff; line-height: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.byte-logo-mark i { width: .16em; height: .16em; background: var(--byte-green); border-radius: 18%; align-self: flex-end; margin: 0 0 .2em .05em; }
.byte-logo-word { font-size: 42px; font-weight: 800; letter-spacing: .04em; color: #fff; }

/* B Y T E letters */
.byte-letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.byte-letter { border-radius: 20px; padding: 34px 16px; text-align: center; color: #fff; }
.byte-letter b { display: block; font-size: 84px; line-height: 1; font-weight: 800; }
.byte-letter span { display: block; margin-top: 14px; font-size: 22px; font-weight: 700; }
.byte-bg-blue { background: var(--byte-blue); }
.byte-bg-orange { background: var(--byte-orange); }
.byte-bg-purple { background: var(--byte-purple); }
.byte-bg-pink { background: var(--byte-pink); }
.byte-bg-amber { background: var(--byte-amber); }
.byte-bg-green { background: var(--byte-green-dark); }
.byte-bg-lime { background: var(--byte-green); }

.byte-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.byte-fact { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 16px; background: var(--byte-green-soft); font-size: 18px; font-weight: 700; }

/* Icons */
.byte-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.byte-icon svg { width: 26px; height: 26px; }
.byte-icon-lg { width: 72px; height: 72px; }
.byte-icon-lg svg { width: 32px; height: 32px; }

/* Stats */
.byte-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.byte-stat { border-radius: 20px; padding: 32px 28px; background: var(--byte-green-dark); color: #fff; display: flex; flex-direction: column; }
.byte-stat:nth-child(2) { background: var(--byte-green-soft); color: var(--byte-ink); }
.byte-stat strong { font-size: 60px; line-height: 1; font-weight: 800; }
.byte-stat:nth-child(2) strong { color: var(--byte-green-dark); }
.byte-stat p { font-size: 18px; line-height: 1.5; margin: 14px 0 18px; }
.byte-stat small { margin-top: auto; font-size: 13px; opacity: .8; }

.byte-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin-top: 30px; }
.byte-compare-box { border-radius: 20px; padding: 30px 32px; height: 100%; }
.byte-compare-box h3 { font-size: 24px; font-weight: 700; margin: 0 0 14px; }
.byte-compare-box ul { margin: 0; padding-left: 20px; font-size: 18px; line-height: 2; }
.byte-compare-box.is-school { background: var(--byte-green-soft); }
.byte-compare-box.is-byte { background: var(--byte-green-dark); color: #fff; }
.byte-compare-box.is-byte h3 { color: #fff; }
.byte-compare-arrow { width: 60px; height: 60px; border-radius: 50%; background: var(--byte-green); color: #fff; display: flex; align-items: center; justify-content: center; }
.byte-note { display: flex; gap: 14px; align-items: center; margin-top: 22px; font-size: 16px; color: var(--byte-muted); }

/* Learning areas */
.byte-tracks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.byte-track { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid #e3ebe1; box-shadow: 0 10px 30px rgba(31, 42, 28, .06); display: flex; flex-direction: column; }
.byte-track-top { padding: 24px 22px; color: #fff; min-height: 150px; }
.byte-track-top svg { width: 36px; height: 36px; }
.byte-track-top h3 { color: #fff; font-size: 21px; font-weight: 700; margin: 14px 0 0; line-height: 1.25; }
.byte-track-body { padding: 20px 22px 24px; font-size: 16px; line-height: 1.6; color: var(--byte-muted); }
.byte-track-body h4 { font-size: 13px; letter-spacing: .06em; font-weight: 800; margin: 16px 0 8px; text-transform: uppercase; }
.byte-track-body ul { margin: 0; padding-left: 18px; color: var(--byte-ink); }
.byte-track-body li { margin-bottom: 4px; }

/* Steps */
.byte-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.byte-step { text-align: center; position: relative; }
.byte-step .byte-icon { width: 96px; height: 96px; margin-bottom: 18px; }
.byte-step .byte-icon svg { width: 40px; height: 40px; }
.byte-step h3 { font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.byte-step p { font-size: 17px; color: var(--byte-muted); line-height: 1.6; margin: 0 auto; max-width: 260px; }
.byte-step:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: calc(50% + 62px); right: calc(-50% + 62px); height: 3px; background: var(--byte-green); border-radius: 2px; }

/* Cards (what you get, careers) */
.byte-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.byte-card { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid #e3ebe1; box-shadow: 0 10px 30px rgba(31, 42, 28, .06); }
.byte-card h3 { font-size: 21px; font-weight: 700; margin: 18px 0 6px; }
.byte-card p { font-size: 16px; color: var(--byte-muted); margin: 0; line-height: 1.6; }
.byte-card .byte-pill { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; }
.byte-card-row { display: flex; align-items: center; gap: 16px; }
.byte-card-row h3 { margin: 0; }

/* Earn */
.byte-earn { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.byte-earn-list { display: grid; gap: 14px; }
.byte-earn-item { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: center; }
.byte-earn-item b { padding: 14px 18px; border-radius: 999px; color: #fff; text-align: center; font-size: 16px; }
.byte-earn-item span { padding: 14px 20px; border-radius: 14px; background: var(--byte-green-soft); font-size: 17px; line-height: 1.5; }
.byte-safe { border-radius: 20px; padding: 28px; background: #fff7ed; border: 1px solid #fed7aa; }
.byte-safe h3 { font-size: 22px; font-weight: 700; margin: 16px 0 8px; }
.byte-safe p { font-size: 16px; line-height: 1.7; color: var(--byte-muted); margin: 0; }
.byte-free-steps { margin: 18px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.9; }

/* Roadmap */
.byte-roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.byte-roadmap::before { content: ""; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 8px; border-radius: 4px; background: #dbe7d8; }
.byte-road { text-align: center; position: relative; }
.byte-road .byte-num { width: 80px; height: 80px; border-radius: 50%; color: #fff; font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.byte-road small { display: block; font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.byte-road h3 { font-size: 24px; font-weight: 700; margin: 6px 0 8px; }
.byte-road p { font-size: 16px; color: var(--byte-muted); line-height: 1.6; margin: 0 auto; max-width: 240px; }
.byte-c-blue { color: var(--byte-blue); }
.byte-c-orange { color: var(--byte-orange); }
.byte-c-purple { color: var(--byte-purple); }
.byte-c-pink { color: var(--byte-pink); }
.byte-c-amber { color: #b45309; }
.byte-c-lime { color: var(--byte-green-dark); }

/* FAQ */
.byte-faq { max-width: 900px; margin: 0 auto; }

/* Join */
.byte-join { border-radius: 28px; background: var(--byte-green-soft); padding: 48px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; }
.byte-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.byte-form .byte-full { grid-column: 1 / -1; }
.byte-form label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.byte-form input[type="text"], .byte-form input[type="email"], .byte-form input[type="tel"], .byte-form select, .byte-form textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid #cfdccb; background: #fff; font-size: 16px; color: var(--byte-ink);
}
.byte-form input:focus, .byte-form select:focus, .byte-form textarea:focus { outline: 2px solid var(--byte-green); outline-offset: 1px; }
.byte-form fieldset { border: 0; padding: 0; margin: 0; }
.byte-form legend { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.byte-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.byte-checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #cfdccb; font-weight: 600; cursor: pointer; }
.byte-checks input { width: 18px; height: 18px; accent-color: var(--byte-green-dark); }
.byte-form button { border: 0; cursor: pointer; justify-self: start; }
.byte-form button[disabled] { opacity: .7; cursor: wait; }
.byte-form-status { grid-column: 1 / -1; display: none; padding: 14px 18px; border-radius: 12px; font-size: 16px; font-weight: 600; }
.byte-form-status.is-success { display: block; background: #dcfce7; color: #166534; }
.byte-form-status.is-error { display: block; background: #fee2e2; color: #991b1b; }
.byte-side h3 { font-size: 24px; font-weight: 700; margin: 0 0 14px; }
.byte-contact { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; font-size: 17px; }
.byte-contact a { color: var(--byte-green-dark); font-weight: 700; text-decoration: none; }
.byte-flyer { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(31, 42, 28, .15); max-width: 300px; }
.byte-flyer img { display: block; width: 100%; height: auto; }
.byte-flyer-link { display: inline-flex; margin-top: 14px; font-weight: 700; color: var(--byte-green-dark); }

@media (max-width: 1199px) {
  .byte-tracks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .byte-page section { padding-top: 70px; }
  .byte-hero { padding: 140px 0 70px; }
  .byte-hero .byte-hero-grid, .byte-earn, .byte-join { grid-template-columns: 1fr; }
  .byte-logo { display: none; }
  .byte-stats, .byte-facts { grid-template-columns: 1fr; }
  .byte-cards { grid-template-columns: repeat(2, 1fr); }
  .byte-steps, .byte-roadmap { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .byte-step::after, .byte-roadmap::before { display: none; }
  .byte-compare { grid-template-columns: 1fr; }
  .byte-compare-arrow { transform: rotate(90deg); margin: 0 auto; }
  .byte-join { padding: 32px 24px; }
}
@media (max-width: 767px) {
  .byte-letters { grid-template-columns: repeat(2, 1fr); }
  .byte-letter b { font-size: 64px; }
  .byte-tracks, .byte-cards { grid-template-columns: 1fr; }
  .byte-track-top { min-height: 0; }
  .byte-earn-item { grid-template-columns: 1fr; gap: 8px; }
  .byte-form { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .byte-steps, .byte-roadmap { grid-template-columns: 1fr; }
}
