@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700&display=swap");

:root {
  --ubc-primary: #ffbd59;
  --ubc-primary-dark: #f2a53a;
  --ubc-gradient-start: #ffbd59;
  --ubc-gradient-end: #ffdd85;
  --ubc-ink: #121212;
  --ubc-white: #ffffff;
  --ubc-cream: #fffdf7;
  --ubc-surface-muted: #f2f2f2;
  --ubc-surface-muted-hover: #e6e6e6;
  --ubc-border: #e2e2e2;
  --ubc-announcement-bg: #aeeeee;

  --ubc-font-heading: "Archivo Black", sans-serif;
  --ubc-font-body: "Archivo", sans-serif;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: var(--ubc-font-body);
  color: var(--ubc-ink);
  background: var(--ubc-white);
  line-height: 1.6;
}

a {
  color: var(--ubc-ink);
  text-decoration: none;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 48px;
  background-image: linear-gradient(90deg, var(--ubc-gradient-start), var(--ubc-gradient-end));
}

.brand {
  display: flex;
  align-items: center;
  flex: 1 1 0;
}

.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1 1 0;
}

nav.site-nav a {
  font-family: var(--ubc-font-heading);
  font-size: 16px;
  font-weight: 400;
  color: var(--ubc-ink);
}

nav.site-nav a:hover,
nav.site-nav a.active {
  text-decoration: underline;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex: 1 1 0;
}

.signup-pill {
  display: inline-block;
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 15px;
  background: var(--ubc-white);
  color: var(--ubc-ink);
  padding: 12px 24px;
  border-radius: 12px;
  transition: filter 0.15s ease;
}

.signup-pill:hover {
  filter: brightness(0.96);
  text-decoration: none;
}

.nav-toggle-input {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ubc-ink);
  border-radius: 2px;
}

@media (max-width: 749px) {
  header.site-header {
    justify-content: space-between;
  }
  .brand,
  .header-actions {
    flex: 0 0 auto;
  }
  .hamburger {
    display: flex;
  }
  nav.site-nav {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
  }
  .nav-toggle-input:checked ~ nav.site-nav {
    display: flex;
  }
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 120px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ubc-font-body);
  color: var(--ubc-primary-dark);
  margin: 0 0 20px;
}

.product-logo {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
  margin: 0 0 24px;
}

h1 {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--ubc-ink);
}

.lede {
  font-size: 19px;
  color: var(--ubc-ink);
  opacity: 0.75;
  margin: 0 0 48px;
}

.section-title {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ubc-ink);
  margin: 48px 0 16px;
}

ul.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.feature-list li {
  padding: 16px 0;
  border-top: 1px solid var(--ubc-border);
  display: flex;
  gap: 14px;
}

ul.feature-list li:first-child {
  border-top: none;
}

ul.feature-list li span.dot {
  color: var(--ubc-primary-dark);
  font-weight: 700;
}

.cta-row {
  margin-top: 48px;
  padding: 32px;
  background: var(--ubc-surface-muted);
  border-radius: 16px;
}

.cta-row-wide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
  padding-left: 48px;
  padding-right: 48px;
}

@media (max-width: 600px) {
  .cta-row-wide {
    margin-left: 24px;
    margin-right: 24px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

.cta-row p {
  margin: 0 0 16px;
  color: var(--ubc-ink);
  opacity: 0.75;
}

.button {
  display: inline-block;
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  background: var(--ubc-primary);
  color: var(--ubc-ink);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  transition: filter 0.15s ease;
  border: none;
}

.button:hover {
  filter: brightness(0.94);
}

/* Signup page */
.signup-box {
  text-align: center;
}

.signup-box h1 {
  text-align: center;
}

.signup-box .lede {
  text-align: center;
}

form.signup-form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

form.signup-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--ubc-font-body);
  border: 1px solid var(--ubc-border);
  border-radius: 12px;
  outline: none;
  background: var(--ubc-white);
  color: var(--ubc-ink);
}

form.signup-form input[type="email"]:focus {
  border-color: var(--ubc-primary-dark);
}

form.signup-form button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ubc-ink);
  opacity: 0.6;
}

.form-error {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ubc-primary-dark);
}

.success-message {
  display: none;
  margin-top: 32px;
  padding: 20px;
  background: var(--ubc-surface-muted);
  border-radius: 12px;
  color: var(--ubc-ink);
}

footer.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 48px 24px;
  background-image: linear-gradient(90deg, var(--ubc-gradient-start), var(--ubc-gradient-end));
}

.site-footer__logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.site-footer__disclaimer {
  margin: 0;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ubc-ink);
  opacity: 0.75;
}

.site-footer__copyright {
  margin: 0;
  font-size: 13px;
  color: var(--ubc-ink);
  opacity: 0.75;
}

/* Hybrid logo brand banner */
.hybrid-logo-banner {
  background: var(--ubc-white);
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hybrid-logo-banner__heading {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  color: var(--ubc-ink);
  margin: 0;
}

.hybrid-logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  background-image: linear-gradient(90deg, var(--ubc-gradient-start), var(--ubc-gradient-end));
  border-radius: 24px;
  padding: 32px 48px;
  max-width: 700px;
  box-sizing: border-box;
}

@media (max-width: 749px) {
  .hybrid-logo-banner {
    padding: 32px 24px;
  }
}

.hybrid-logo-pill img {
  display: block;
  height: auto;
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

/* Media feature: heading + subtext + two images */
.media-feature {
  padding: 64px 24px 16px;
  text-align: center;
}

.media-feature__heading {
  font-family: var(--ubc-font-heading);
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.media-feature__subtext {
  font-size: 18px;
  opacity: 0.75;
  margin: 0 0 32px;
}

.media-feature__images {
  display: flex;
  gap: 16px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.media-feature__images img {
  flex: 1 1 0;
  width: 50%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

/* Benefit rows: alternating image/text */
.benefit-rows {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.benefit-row:nth-child(even) {
  flex-direction: row-reverse;
}

.benefit-row__image {
  flex: 1 1 0;
}

.benefit-row__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.benefit-row__content {
  flex: 1 1 0;
}

.benefit-row__content h3 {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.benefit-row__content p {
  font-size: 16px;
  opacity: 0.75;
  margin: 0;
  line-height: 1.6;
}

/* Benefit split: one tall image on the left, stacked text panels on the
   right. align-items: stretch makes the image column match the natural
   height of the text column, and the img fills that column via height:100%. */
.benefit-split {
  display: flex;
  align-items: stretch;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

.benefit-split__image {
  flex: 1 1 0;
  min-width: 0;
}

.benefit-split__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.benefit-split__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.benefit-split__item h3 {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 12px;
  line-height: 1.2;
}

.benefit-split__item p {
  font-size: 16px;
  opacity: 0.75;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 750px) {
  .benefit-split {
    flex-direction: column;
    gap: 32px;
  }

  .benefit-split__image img {
    min-height: 0;
    height: auto;
    object-fit: contain;
  }

  .benefit-split__content {
    gap: 32px;
  }
}

/* Lifestyle images */
.lifestyle-images {
  display: flex;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.lifestyle-images img {
  flex: 1 1 0;
  width: 50%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
}

/* Origin story block */
.story {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.story h2 {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 34px;
  text-align: center;
  margin: 0 0 32px;
}

.story p {
  font-size: 16px;
  color: var(--ubc-ink);
  opacity: 0.85;
  line-height: 1.7;
  margin: 0 0 20px;
}

.story ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.story ol li {
  font-size: 16px;
  color: var(--ubc-ink);
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Intro rich text */
.intro-rich-text {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.intro-rich-text h2 {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 38px;
  margin: 0 0 16px;
  line-height: 1.15;
}

.intro-rich-text p {
  font-size: 18px;
  opacity: 0.75;
  margin: 0;
  line-height: 1.6;
}

/* Icon grid */
.icon-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.icon-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.icon-grid__dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ubc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ubc-font-heading);
  color: var(--ubc-ink);
}

.icon-grid__item span.label {
  font-family: var(--ubc-font-heading);
  font-size: 15px;
}

/* Comparison table */
.comparison {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 24px;
}

.comparison h2 {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 34px;
  text-align: center;
  margin: 0 0 32px;
}

.comparison-table-wrap {
  border: 1px solid var(--ubc-border);
  border-radius: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.comparison table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.comparison tbody tr:last-child td {
  border-bottom: none;
}

.comparison th:first-child,
.comparison td:first-child {
  background: var(--ubc-white);
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 15px;
  border-bottom-color: var(--ubc-border);
}

.comparison th:nth-child(2),
.comparison td:nth-child(2) {
  background-image: linear-gradient(90deg, var(--ubc-gradient-start), var(--ubc-gradient-end));
}

.comparison th:nth-child(3),
.comparison td:nth-child(3) {
  background: var(--ubc-surface-muted);
  border-bottom-color: var(--ubc-border);
}

.comparison th {
  text-align: center;
  padding: 20px;
}

.comparison th:nth-child(3) {
  font-family: var(--ubc-font-heading);
  font-weight: 400;
  font-size: 20px;
}

.comparison-logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .comparison-logo {
    height: 34px;
  }
}

.compare-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.compare-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ubc-ink);
  font-size: 12px;
  font-weight: 700;
  color: var(--ubc-ink);
  margin-top: 1px;
}

@media (max-width: 750px) {
  .benefit-row,
  .benefit-row:nth-child(even) {
    flex-direction: column;
  }

  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .media-feature__images {
    flex-direction: column;
  }
  .media-feature__images img {
    width: 100%;
    height: 220px;
  }
  .lifestyle-images {
    flex-direction: column;
  }
  .lifestyle-images img {
    width: 100%;
    height: 240px;
  }
}

@media (max-width: 600px) {
  header.site-header {
    padding: 16px 24px;
  }
  nav.site-nav {
    gap: 18px;
  }
  main {
    padding: 56px 20px 80px;
  }
  h1 {
    font-size: 32px;
  }
  form.signup-form {
    flex-direction: column;
  }

  .media-feature__heading {
    font-size: 28px;
  }

  .media-feature__subtext {
    font-size: 16px;
  }

  .benefit-row__content h3 {
    font-size: 24px;
  }

  .intro-rich-text h2 {
    font-size: 28px;
  }

  .intro-rich-text p {
    font-size: 16px;
  }

  .comparison h2,
  .story h2 {
    font-size: 26px;
  }

  .cta-row p {
    font-size: 15px;
  }
}

/* Comparison table on mobile: stays a real table (not stacked cards) —
   table-layout: fixed with explicit column widths lets it shrink to the
   viewport instead of needing its content's min-width, so everything
   (including the "Others" column) stays on-screen without a swipe. */
@media (max-width: 700px) {
  .comparison table {
    min-width: 0;
    table-layout: fixed;
  }

  .comparison th:first-child,
  .comparison td:first-child {
    width: 30%;
  }

  .comparison th:nth-child(2),
  .comparison td:nth-child(2) {
    width: 38%;
  }

  .comparison th:nth-child(3),
  .comparison td:nth-child(3) {
    width: 32%;
  }

  .comparison th,
  .comparison td {
    padding: 8px 6px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .comparison td:first-child {
    font-size: 11.5px;
  }

  .comparison th:nth-child(3) {
    font-size: 12px;
  }

  .comparison-logo {
    height: 20px;
  }

  .compare-cell {
    gap: 4px;
  }

  .compare-mark {
    width: 14px;
    height: 14px;
    font-size: 8px;
    margin-top: 0;
  }
}
