﻿:root {
  --ink: #0c2036;
  --ink-2: #18334f;
  --muted: #63758a;
  --blue: #0a72c7;
  --blue-2: #43a2ff;
  --navy: #04172d;
  --navy-2: #06254d;
  --green: #7bd544;
  --surface: #ffffff;
  --soft: #eef6ff;
  --line: #dce8f5;
  --shadow: 0 20px 60px rgba(7, 24, 48, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--ink); background: #f7fbff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -999px; top: 10px; padding: 10px 14px; background: var(--surface); color: var(--ink); border-radius: 10px; z-index: 50; }
.skip-link:focus { left: 10px; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(4, 23, 45, 0.96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.brand-mark { width: 54px; height: 54px; flex: 0 0 54px; }
.brand strong { display: block; font-size: 1.08rem; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; color: #9fc5f9; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; color: #fff; font-weight: 800; }
.site-nav a { opacity: .9; transition: opacity .2s ease, color .2s ease; }
.site-nav a:hover { opacity: 1; color: var(--green); }
.menu-button { display: none; width: 44px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; background: transparent; padding: 8px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: #fff; }

.hero { background: radial-gradient(circle at 78% 28%, rgba(18,134,224,.30), transparent 32%), linear-gradient(135deg, var(--navy), #073a74 58%, #05264e); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 86% 34%, rgba(255,255,255,.13), rgba(255,255,255,.13) 1px, transparent 2px, transparent 18px); opacity: .14; pointer-events: none; }
.hero-grid { min-height: 560px; position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 32px; padding: 58px 0 58px; }
.eyebrow { margin: 0 0 14px; color: #a7d3ff; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.eyebrow.blue { color: var(--blue); }
.hero h1, .hero h2 { margin: 0; font-size: clamp(2.9rem, 5.65vw, 5.45rem); line-height: .95; letter-spacing: -.065em; }
.hero h2 { margin-top: 8px; color: var(--green); }
.lead { margin: 24px 0 20px; max-width: 620px; color: #e5f0ff; font-size: 1.13rem; line-height: 1.6; }
.hero-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; color: #fff; font-size: 1.02rem; }
.hero-list li { position: relative; padding-left: 36px; }
.hero-list li::before { content: ""; position: absolute; left: 0; top: -1px; width: 23px; height: 23px; border-radius: 50%; background: var(--green); }
.hero-list li::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 12px; border: solid #072045; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--green); color: #08284b; box-shadow: 0 14px 32px rgba(123,213,68,.28); }
.button.secondary { color: #fff; border: 1px solid rgba(255,255,255,.36); background: rgba(255,255,255,.05); }

.phone-stage { min-height: 455px; position: relative; }
.phone { position: absolute; color: #fff; text-decoration: none; cursor: pointer; width: 190px; height: 360px; border-radius: 38px; background: linear-gradient(160deg, #05162a, #0b3a70); border: 8px solid #17283d; box-shadow: 0 28px 70px rgba(0,0,0,.42); display: grid; place-items: center; text-align: center; padding: 34px 20px; transition: opacity .35s ease, transform .35s ease; }
.phone.is-changing { opacity: .4; transform: translateY(8px) scale(.98); }
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 70px; height: 17px; border-radius: 100px; background: #020a12; }
.phone img { width: 112px; height: 112px; object-fit: contain; border-radius: 24px; box-shadow: 0 12px 34px rgba(0,0,0,.2); background: #fff; }
.phone span { display: block; margin-top: 20px; color: #fff; font-weight: 900; font-size: 1.1rem; }
.phone-main { z-index: 3; left: 31%; top: 20px; width: 222px; height: 418px; }
.phone-left { z-index: 1; left: 2%; top: 66px; transform: rotate(-4deg); background: linear-gradient(160deg, #090b10, #061326); }
.phone-left.is-changing { transform: rotate(-4deg) translateY(8px) scale(.98); }
.phone-right { z-index: 2; right: 6%; top: 76px; transform: rotate(4deg); background: linear-gradient(160deg, #035f91, #0d86c2); }
.phone-right.is-changing { transform: rotate(4deg) translateY(8px) scale(.98); }

.section { padding: 76px 0; background: #fff; }
.approach-grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: 64px; align-items: start; }
.section h2, .approach h2, .founder h2, .cta h2, .ai-speed h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.04em; line-height: 1; }
.approach p, .founder p, .problem-grid p, .ai-speed p { color: var(--muted); line-height: 1.7; font-size: 1.05rem; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.principles article, .problem-grid article, .app-card { border: 1px solid var(--line); background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 14px 45px rgba(10,43,78,.08); }
.icon, .problem-grid span { width: 54px; height: 54px; display: inline-grid; place-items: center; border-radius: 16px; background: var(--soft); color: var(--blue); font-weight: 1000; font-size: 1rem; }
.principles h3, .problem-grid h3, .app-card h3 { margin: 18px 0 8px; font-size: 1.2rem; }

.ai-speed { background: radial-gradient(circle at 75% 28%, rgba(123,213,68,.2), transparent 25%), linear-gradient(135deg, #062042, #073f7d); color: #fff; padding: 70px 0; }
.ai-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 44px; align-items: center; }
.ai-speed p { color: #dceaff; }
.ai-card { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); border-radius: 28px; padding: 30px; box-shadow: 0 20px 60px rgba(0,0,0,.22); }
.ai-card strong { display: block; color: var(--green); font-size: 1.6rem; margin-bottom: 12px; }
.ai-card span { color: #eaf4ff; line-height: 1.65; }

.apps, .problems { background: linear-gradient(180deg, #f7fbff, #ffffff); }
.section-heading { text-align: center; max-width: 820px; margin: 0 auto 38px; }
.section-heading h2 { margin-bottom: 10px; }
.section-heading p { margin: 0 auto; color: var(--muted); line-height: 1.6; }
.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.app-cards.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.app-card { text-align: center; }
.app-card img { width: 128px; height: 118px; margin: 0 auto 18px; border-radius: 24px; object-fit: contain; box-shadow: 0 16px 38px rgba(0,0,0,.12); background: #fff; }
.app-type { display: inline-flex; min-height: 28px; align-items: center; justify-content: center; padding: 5px 10px; margin: 0 0 10px; border-radius: 100px; background: var(--soft); color: var(--blue); font-weight: 900; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.app-card p:not(.app-type) { color: var(--muted); line-height: 1.55; min-height: 92px; font-size: .94rem; }
.app-card a { margin-top: 14px; display: inline-flex; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); color: var(--blue); font-weight: 900; }

.founder { background: #eaf5ff; }
.founder-grid { display: grid; grid-template-columns: 180px 1fr 310px; gap: 34px; align-items: center; }
.founder-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 8px solid #fff; box-shadow: var(--shadow); }
.stats { display: grid; gap: 16px; border-left: 1px solid #cfe2f7; padding-left: 32px; }
.stats div { display: grid; gap: 2px; }
.stats strong { font-size: 2rem; color: var(--blue); }
.stats span { color: var(--ink-2); font-weight: 800; }
.compact { margin-bottom: 28px; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.cta { background: radial-gradient(circle at 20% 10%, rgba(60,159,255,.24), transparent 28%), linear-gradient(135deg, var(--navy), #07376e); color: #fff; padding: 50px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.cta p { color: #cfe2f7; margin: 0; }
.site-footer { background: #031224; color: #fff; padding: 46px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .65fr .75fr; gap: 34px; align-items: start; }
.footer-grid h3 { margin: 0 0 12px; color: #9fc5f9; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid a, .footer-grid span { display: block; color: #dceaff; margin: 8px 0; }
.footer-brand .brand-mark { width: 48px; height: 48px; }
.copyright { text-align: center; color: #95aec8; margin: 34px 0 0; font-size: .9rem; }

.app-detail-hero { background: radial-gradient(circle at 80% 30%, rgba(67,162,255,.28), transparent 32%), linear-gradient(135deg, var(--navy), #073a74); color: #fff; padding: 76px 0; }
.app-detail-grid { display: grid; grid-template-columns: 170px 1fr; gap: 36px; align-items: center; }
.app-detail-logo { width: 150px; height: 150px; border-radius: 28px; object-fit: contain; background: #fff; padding: 10px; box-shadow: var(--shadow); }
.app-detail-hero h1 { margin: 0 0 12px; font-size: clamp(2.8rem, 6vw, 5.3rem); letter-spacing: -.06em; line-height: .95; }
.app-status { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: rgba(123,213,68,.16); color: var(--green); font-weight: 900; margin-bottom: 18px; }
.app-detail-body { padding: 70px 0; background: #fff; }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; }
.detail-card { border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: 0 14px 45px rgba(10,43,78,.08); }
.detail-card li { margin: 12px 0; color: var(--muted); line-height: 1.55; }
.detail-card p { color: var(--muted); line-height: 1.75; }

@media (min-width: 981px) and (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 20px; }
  .hero h1, .hero h2 { font-size: clamp(3.2rem, 5.4vw, 4.95rem); }
  .phone-stage { min-height: 420px; }
  .phone { width: 172px; height: 330px; }
  .phone-main { left: 29%; width: 205px; height: 390px; }
  .phone-right { right: 10%; }
  .phone img { width: 96px; height: 96px; }
  .app-cards.five { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid, .approach-grid, .founder-grid, .footer-grid, .ai-grid, .detail-grid, .app-detail-grid { grid-template-columns: 1fr; }
  .phone-stage { min-height: 470px; }
  .phone-main { left: 28%; }
  .phone-left { left: 0; }
  .phone-right { right: 2%; }
  .app-cards, .app-cards.five, .problem-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .stats { border-left: 0; padding-left: 0; grid-template-columns: repeat(3, 1fr); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 74px; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 74px; padding: 18px; border-radius: 18px; background: #061b36; box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; }
  .site-nav.is-open { display: flex; }
  .menu-button { display: block; }
  .brand small { display: none; }
  .hero-grid { padding-top: 46px; min-height: auto; }
  .hero h1, .hero h2 { font-size: clamp(2.9rem, 15vw, 4.1rem); }
  .phone-stage { min-height: 345px; transform: scale(.82); transform-origin: top center; }
  .phone { width: 180px; height: 330px; }
  .phone-main { width: 205px; height: 370px; left: 23%; }
  .phone img { width: 96px; height: 96px; }
  .section { padding: 54px 0; }
  .stats { grid-template-columns: 1fr; }
  .app-detail-logo { width: 120px; height: 120px; }
}

.phone:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 6px;
}

.phone:hover {
  box-shadow: 0 34px 82px rgba(0,0,0,.48);
}

.phone-stage.is-paused .phone {
  transition-duration: .2s;
}


.app-card img[alt="ub-MakeIt logo"],
.phone img[alt="ub-MakeIt app logo"],
.app-detail-logo[alt="ub-MakeIt logo"] {
  object-fit: contain;
  background: #ffffff;
}

.app-card img[alt="ub-MakeIt logo"],
.phone img[alt="ub-MakeIt app logo"] {
  padding: 0;
}


.app-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.app-logo-link:hover {
  transform: translateY(-2px);
}

.app-logo-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

.detail-logo-link {
  display: inline-flex;
  width: fit-content;
  border-radius: 30px;
  transition: transform .2s ease;
}

.detail-logo-link:hover {
  transform: translateY(-2px);
}

.detail-logo-link:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 6px;
}


.principles article {
  position: relative;
  padding-left: 58px;
}

.principles article::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 31px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(123, 213, 68, .18);
}

.principles article h3 {
  margin-top: 0;
}


@media (prefers-reduced-motion: reduce) {
  .phone-stage.is-rotating,
  .phone.is-spinning {
    animation: none;
  }
}


/* True three-phone group carousel:
   left drops off, center moves left, right becomes center, and the next app enters from the right. */
.phone-stage {
  perspective: 1100px;
  transform-style: preserve-3d;
}

.phone-stage .phone {
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  width: 190px;
  height: 360px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(430px) rotate(7deg) scale(.86);
  transition:
    transform 1.15s ease-in-out,
    opacity 1.15s ease-in-out,
    width 1.15s ease-in-out,
    height 1.15s ease-in-out,
    box-shadow .25s ease;
  will-change: transform, opacity, width, height;
}

.phone-stage .phone.slot-left {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  width: 190px;
  height: 360px;
  transform: translate(-50%, -50%) translateX(-225px) rotate(-4deg) scale(.95);
}

.phone-stage .phone.slot-center {
  opacity: 1;
  pointer-events: auto;
  z-index: 4;
  width: 222px;
  height: 418px;
  transform: translate(-50%, -50%) translateX(0) rotate(0deg) scale(1);
}

.phone-stage .phone.slot-right {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  width: 190px;
  height: 360px;
  transform: translate(-50%, -50%) translateX(225px) rotate(4deg) scale(.95);
}

.phone-stage .phone.slot-next {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  width: 190px;
  height: 360px;
  transform: translate(-50%, -50%) translateX(450px) rotate(7deg) scale(.86);
}

.phone-stage .phone.slot-exit {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  width: 190px;
  height: 360px;
  transform: translate(-50%, -50%) translateX(-450px) rotate(-7deg) scale(.86);
}

.phone-stage.is-paused .phone {
  transition-duration: .25s;
}

@media (min-width: 981px) and (max-width: 1180px) {
  .phone-stage .phone.slot-left {
    transform: translate(-50%, -50%) translateX(-195px) rotate(-4deg) scale(.92);
  }

  .phone-stage .phone.slot-right {
    transform: translate(-50%, -50%) translateX(195px) rotate(4deg) scale(.92);
  }

  .phone-stage .phone.slot-next {
    transform: translate(-50%, -50%) translateX(385px) rotate(7deg) scale(.82);
  }

  .phone-stage .phone.slot-exit {
    transform: translate(-50%, -50%) translateX(-385px) rotate(-7deg) scale(.82);
  }
}

@media (max-width: 720px) {
  .phone-stage .phone.slot-left {
    transform: translate(-50%, -50%) translateX(-165px) rotate(-4deg) scale(.88);
  }

  .phone-stage .phone.slot-center {
    transform: translate(-50%, -50%) translateX(0) rotate(0deg) scale(.94);
  }

  .phone-stage .phone.slot-right {
    transform: translate(-50%, -50%) translateX(165px) rotate(4deg) scale(.88);
  }

  .phone-stage .phone.slot-next {
    transform: translate(-50%, -50%) translateX(315px) rotate(7deg) scale(.78);
  }

  .phone-stage .phone.slot-exit {
    transform: translate(-50%, -50%) translateX(-315px) rotate(-7deg) scale(.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-stage .phone {
    transition: opacity .2s ease;
  }
}


.app-card {
  scroll-margin-top: 110px;
}

.app-card:target {
  border-color: rgba(123, 213, 68, .95);
  box-shadow: 0 24px 70px rgba(123, 213, 68, .20);
}


.founder .eyebrow {
  text-transform: none;
  letter-spacing: 0;
}


.apps .app-cards {
  margin-top: 0;
}


.hero-copy .hero-list {
  margin-bottom: 0;
}


/* CO byline casing override */
.brand small {
  text-transform: none;
  letter-spacing: 0;
}

/* CO-14767977-UBFISHING-PAGE-BANNER-AND-APP-NAV-CLEANUP-01 R2
   ub-Fishing company website page banner image. */
.app-page-banner {
  background: #071f3a;
  overflow: hidden;
}

.app-page-banner img {
  display: block;
  width: 100%;
  height: clamp(240px, 38vw, 500px);
  object-fit: cover;
  object-position: center center;
}

.app-page-banner-fishing img {
  object-position: center center;
}

@media (max-width: 760px) {
  .app-page-banner img {
    height: 260px;
    object-position: center center;
  }
}

/* CO-14767977-UBFISHING-SHOULDNT-LABEL-01 R1
   Small Shouldn't label above ub-Fishing title for the "Shouldn't you be fishing" brand phrase. */
.app-brand-shouldnt {
  display: block;
  margin: 0 0 -0.2rem 0.1rem;
  color: #ffffff;
  font-size: clamp(0.74rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* CO-14767977-HOMEPAGE-FOOTER-AND-UBPROJECTS-01 R1
   Remove duplicate home-page navigation/CTA and spread footer links horizontally. */
.home-footer-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(620px, 1.7fr);
  gap: 2rem;
  align-items: center;
}

.home-footer-apps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.home-footer-heading {
  flex-basis: 100%;
  color: #9fc5f9;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.home-footer-apps a {
  color: #dceaff;
  font-weight: 800;
  white-space: nowrap;
}

.home-footer-apps a:hover,
.home-footer-apps a:focus-visible {
  color: var(--green);
}

.home-policy-links {
  justify-content: space-evenly;
  width: min(100% - 40px, 1180px);
}

@media (max-width: 980px) {
  .home-footer-layout {
    grid-template-columns: 1fr;
  }

  .home-footer-apps {
    justify-content: flex-start;
  }

  .home-footer-heading {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .home-footer-apps,
  .home-policy-links {
    justify-content: center;
  }

  .home-footer-heading {
    text-align: center;
  }
}

/* CO-14767977-HOMEPAGE-FOOTER-AND-UBPROJECTS-01 R2
   Stack company brand, Apps, policy links, and copyright in clear horizontal rows. */
.home-footer-stack {
  display: grid;
  gap: 1.35rem;
  justify-items: center;
}

.home-footer-brand {
  justify-self: center;
}

.home-footer-apps {
  width: 100%;
}

.home-footer-heading {
  display: block;
  margin-bottom: 0.8rem;
  color: #9fc5f9;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.home-footer-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 0.8rem 1.5rem;
  width: 100%;
}

.home-footer-link-row a {
  color: #dceaff;
  font-weight: 800;
  white-space: nowrap;
}

.home-footer-link-row a:hover,
.home-footer-link-row a:focus-visible {
  color: var(--green);
}

.home-policy-links {
  width: 100%;
  margin: 0;
  padding-top: 1.2rem;
  justify-content: space-evenly;
}

.site-footer .copyright {
  margin: 0;
}

@media (max-width: 720px) {
  .home-footer-link-row,
  .home-policy-links {
    justify-content: center;
  }
}

/* CO-14767977-HOMEPAGE-NAV-AND-FOOTER-01 R1
   Restore Apps-only home navigation and add dot separators to footer link rows. */
.home-footer-link-row a,
.home-policy-links a {
  display: inline-flex;
  align-items: center;
}

.home-footer-link-row a:not(:last-child)::after,
.home-policy-links a:not(:last-child)::after {
  content: "â€¢";
  margin-left: 1.5rem;
  color: #7fb4ff;
  text-decoration: none;
}

@media (max-width: 720px) {
  .home-footer-link-row a:not(:last-child)::after,
  .home-policy-links a:not(:last-child)::after {
    margin-left: 1rem;
  }
}

/* CO-14767977-HOMEPAGE-NAV-AND-FOOTER-01 R3
   Correct footer alignment and spacing across desktop and phone widths. */
.site-footer {
  padding: 2.25rem 0 1.1rem;
}

.home-footer-stack {
  display: grid;
  gap: 1.35rem;
  justify-items: stretch;
}

.home-footer-brand {
  justify-self: start;
  align-items: center;
  gap: 1rem;
}

.home-footer-brand .brand-mark {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}

.home-footer-brand strong {
  font-size: 1.25rem;
}

.home-footer-brand small {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.home-footer-apps {
  width: 100%;
}

.home-footer-heading {
  margin: 0 0 0.8rem;
  text-align: left;
}

.home-footer-link-row,
.home-policy-links {
  display: grid;
  width: 100%;
  gap: 0;
}

.home-footer-link-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-policy-links {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding-top: 1.15rem;
}

.home-footer-link-row a,
.home-policy-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.2rem 1rem;
  text-align: center;
  white-space: nowrap;
}

.home-footer-link-row a:not(:last-child)::after,
.home-policy-links a:not(:last-child)::after {
  content: "â€¢";
  position: absolute;
  right: -0.18rem;
  margin: 0;
  color: #7fb4ff;
  text-decoration: none;
}

.site-footer .copyright {
  margin-top: 0.15rem;
  text-align: center;
}

@media (max-width: 720px) {
  .site-footer {
    padding-top: 1.6rem;
  }

  .home-footer-stack {
    gap: 1.15rem;
  }

  .home-footer-brand {
    justify-self: start;
  }

  .home-footer-brand .brand-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .home-footer-brand strong {
    font-size: 1.1rem;
  }

  .home-footer-brand small {
    display: block;
    font-size: 0.76rem;
  }

  .home-footer-heading {
    text-align: left;
  }

  .home-footer-link-row,
  .home-policy-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
  }

  .home-footer-link-row a,
  .home-policy-links a {
    justify-content: flex-start;
    padding: 0;
    text-align: left;
    white-space: normal;
  }

  .home-footer-link-row a:not(:last-child)::after,
  .home-policy-links a:not(:last-child)::after {
    content: none;
  }

  .site-footer .copyright {
    margin-top: 0.25rem;
    text-align: left;
  }
}

/* CO-14767977-HOMEPAGE-NAV-AND-FOOTER-01 R5
   Replace the rigid footer grids with a simple company / apps / company layout. */
.home-footer-columns {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(170px, 0.65fr) minmax(210px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.home-footer-company {
  min-width: 0;
}

.home-footer-brand {
  justify-self: start;
  align-items: center;
  gap: 1rem;
}

.home-footer-brand .brand-mark {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
}

.home-footer-brand strong {
  font-size: 1.3rem;
}

.home-footer-brand small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.84rem;
}

.home-footer-list {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.home-footer-list h3 {
  margin: 0 0 0.35rem;
  color: #9fc5f9;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-footer-list a {
  color: #dceaff;
  font-weight: 700;
  line-height: 1.35;
}

.home-footer-list a:hover,
.home-footer-list a:focus-visible {
  color: var(--green);
}

.site-footer .copyright {
  margin: 2rem 0 0;
  text-align: center;
}

@media (max-width: 820px) {
  .home-footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .home-footer-company {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 1.8rem;
  }

  .home-footer-columns {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .home-footer-company {
    grid-column: auto;
  }

  .home-footer-brand .brand-mark {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .home-footer-brand strong {
    font-size: 1.15rem;
  }

  .home-footer-list {
    gap: 0.55rem;
  }

  .site-footer .copyright {
    margin-top: 1.7rem;
    text-align: left;
  }
}
/* CO-14767977-UB-DRAFTROOM-ACCOUNT-DELETION-SECTION-01 R1 */
.account-deletion-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  scroll-margin-top: 7rem;
  border-color: rgba(239, 68, 68, 0.35);
}
.account-deletion-card p:last-child { margin-bottom: 0; }
.account-deletion-actions {
  display: grid;
  gap: 0.65rem;
  min-width: 13rem;
}
.account-deletion-actions .button {
  width: 100%;
  text-align: center;
}
.danger-button {
  color: #fff;
  background: #c62828;
  border-color: #c62828;
}
.danger-button:hover,
.danger-button:focus-visible {
  background: #a91f1f;
  border-color: #a91f1f;
}
@media (max-width: 760px) {
  .account-deletion-card { grid-template-columns: 1fr; }
  .account-deletion-actions { min-width: 0; width: 100%; }
}

/* CO-14767977-HOMEPAGE-CARD-SIZING-SWIPE-01 R1
   Keep homepage app cards at a consistent readable width at every viewport. */
.apps .app-cards.five {
  grid-template-columns: repeat(auto-fit, minmax(295px, 300px));
  justify-content: center;
  gap: 18px;
}

.apps .app-cards.five .app-card {
  width: 100%;
  max-width: 300px;
}

/* Horizontal swipe/drag for the rotating homepage phone showcase.
   Vertical page scrolling remains available on touch screens. */
.phone-stage {
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.phone-stage.is-swipe-dragging {
  cursor: grabbing;
}

.phone-stage .phone.slot-prev {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  width: 190px;
  height: 360px;
  transform: translate(-50%, -50%) translateX(-450px) rotate(-7deg) scale(.86);
}

.phone-stage .phone.slot-exit-right {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  width: 190px;
  height: 360px;
  transform: translate(-50%, -50%) translateX(450px) rotate(7deg) scale(.86);
}

@media (min-width: 981px) and (max-width: 1180px) {
  .phone-stage .phone.slot-prev {
    transform: translate(-50%, -50%) translateX(-385px) rotate(-7deg) scale(.82);
  }

  .phone-stage .phone.slot-exit-right {
    transform: translate(-50%, -50%) translateX(385px) rotate(7deg) scale(.82);
  }
}

@media (max-width: 720px) {
  .phone-stage .phone.slot-prev {
    transform: translate(-50%, -50%) translateX(-315px) rotate(-7deg) scale(.78);
  }

  .phone-stage .phone.slot-exit-right {
    transform: translate(-50%, -50%) translateX(315px) rotate(7deg) scale(.78);
  }
}

/* Very narrow devices may use the full available width rather than overflow. */
@media (max-width: 340px) {
  .apps .app-cards.five {
    grid-template-columns: 1fr;
  }

  .apps .app-cards.five .app-card {
    max-width: none;
  }
}

