* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
}
@font-face {
  font-family: a;
  src: url(assets/jost-variable.ttf);
}
@font-face {
  font-family: b;
  src: url(assets/roboto-medium.ttf);
}
@font-face {
  font-family: c;
  src: url(assets/roboto-regular.ttf);
}
#main {
  position: relative;
  overflow: hidden;
  background-color: #1137ca;
}
#page1 {
  position: relative;
  height: 100vh;
  width: 100vw;
}
#page1 video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#page1 > nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px 0px 30px;
  height: 10vh;
  width: 100vw;
}
#page1 > nav > img {
  width: 12%;
  margin-top: -4vw;
}
#right-nav > button,
#right-nav > .demo {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  background-color: #1863ff;
  border: 1px solid #fff;
  color: #fff;
  font-family: a;
  font-size: 15px;
  text-decoration: none;
  line-height: normal;
  vertical-align: middle;
  cursor: pointer;
}
#right-nav > .demo:hover {
  background-color: #fff;
  color: #0b48ed;
}
#bottom-page1 {
  position: absolute;
  bottom: 5%;
  height: 35vh;
  width: 50vw;
  left: 10%;
  text-transform: capitalize;
}
#bottom-page1 > h1 {
  font-family: a;
  font-size: 5vw;
  font-weight: 100;
  line-height: 1;
  color: #fff;
}
#bottom-page1-inner {
  position: absolute;
  bottom: 0%;
  height: 35%;
  width: 100%;
}
#bottom-page1-inner {
  display: flex;
  align-items: center;
  justify-content: start;
  font-family: a;
}
#bottom-page1-inner > button {
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  background-color: #fff;
  color: #0b48ed;
  font-size: 16px;
  font-family: b;
  margin-left: 2%;
}
#bottom-page1-inner > h4 {
  font-size: 1.3vw;
  font-weight: 100;
  color: #fff;
}

#page2 {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  font-family: a;
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #0a3cce;
  padding: 0vw 8vw;
  color: #fff;
}
#page2 > h2 {
  font-weight: 100;
  margin-bottom: 3vw;
}
#page2 > h1 {
  width: 80%;
  line-height: 1.3;
  font-weight: 100;
  font-size: 3vw;
  color: #dadada69;
}
#page3 {
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #1236c8;
  color: #fff;
}
#page3 > canvas {
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
}
#page4 {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #1137ca;
  font-family: a;
}
#page4 > h3 {
  margin-left: 15vw;
  margin-bottom: 2vw;
  font-weight: 100;
  color: #fff;
}
#page4 > h1 {
  margin-left: 15vw;
  width: 70%;
  font-size: 3vw;
  font-weight: 100;
  color: #ffffff81;
}
#page5 {
  height: 100vh;
  width: 100vw;
  position: relative;
}
#page5 > canvas {
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
}
#page6 {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  font-family: a;
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: #0a3cce;
  padding: 0vw 8vw;
  color: #fff;
}
#page6 > h3 {
  font-weight: 100;
  margin-bottom: 3vw;
}
#page6 > h1 {
  width: 80%;
  line-height: 1.3;
  font-weight: 100;
  font-size: 3vw;
  color: #dadada69;
}

#page7 {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #0a3cce;
}
#page7 > canvas {
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
}

#page7 > #page7-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
  z-index: 99;
  height: 40vw;
  width: 40vw;
  border-radius: 50%;
  border: 1px solid #fff;
}
#page7-circle-inner {
  position: absolute;
  height: 30vw;
  width: 30vw;
  border-radius: 50%;
  border: 1px solid #fff;
}
#page8 {
  height: 100vh;
  width: 100vw;
  position: relative;
  /* object-fit: cover; */
}
#page8 video{
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.page8-bottom{
  position: absolute;
  bottom: 10%;
  left: 50%;
  z-index: 9;
  text-align: center;
  transform: translateX(-50%);
  color: white;
  font-family: a;
}
.page8-bottom>h1{
  font-size: 5vw;
  font-weight: 100;
  
}
.page8-bottom>button{
 padding: 10px 30px;
  border-radius: 50px;
  color: #0a3cce;
  font-size: 15px;
  font-weight: 100;
  border: 1px solid #fff;
  
}
#page9{
  position: relative;
  height: 100vh;
  width: 100vw;background-color: #0a3cce;
  display: flex;
}
.left9{
  position: relative;
  height: 100vh;
  width: 40vw;
  font-family: a;
  /* background-color: red; */
}
.left9>h1{
  position: absolute;
  top: 40%;
  right: 5%;
  transform: translateY(-50%);
  font-size:6vw ;
  line-height: 1;
  font-weight: 100;
  color: white;
}
.right9{
  position: relative;
  height: 100vh;
  width: 60vw;
  /* background-color: magenta; */
}
.right9-center{
  height: 70%;
  width: 85%;
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  /* background-color: aqua; */
  border-radius: 10px;
  background-size: cover;

}
#page10{
  height: 100vh;
  width: 100vw;
  background-color:#0a3cce;
  position: relative;
}
.right10{
  position: relative;
  height: 100%;
  width: 60%;
  left: 40%;
  /* background-color: aqua; */
}
.right10-inner{
  height: 33.3%;
  width: 100%;
  /* background-color: magenta; */
  font-family: a;
  color: #fff;
  display: flex;
  align-items: start;
  flex-direction: column;
  line-height: 1.5;
}
.right10-inner>h1{
  font-size: 2vw;
}
.right10-inner>p{
  font-size: 1.3vw;
  width: 70%;
  margin-top: 1.3vw;
  margin-bottom: 2vw;
}
#page11{
  height: 120vh;
  width: 100vw;
  background-color: #fff;
  position: relative;
  font-family: a;
}
#page11>h1{
  position: absolute;
  top: 5%;
  left: 10%;
  color: black;
  font-size: 4vw;
  font-weight: 100;


}
.page11-inner{
  position: relative;
  top: 17%;
  /* background-color: aqua; */
  margin-bottom: 1vw;
  height: 25%;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.left11{
  position: relative;
  /* background-color: yellow; */
  height: 100%;
  width: 40%;
}
.left11>img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 1vw;

}
.right11{
  position: relative;
  /* background-color:pink; */
  height: 100%;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.right11>h4{
  /* font-size: 4vw; */
  font-weight: 100;

}
.right11>h1{
  /* font-weight: 100; */
  font-size: 2vw;
}
#page12{
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #02268c;


}
.page12-inner
{
  position: absolute;
  top: 20%;
  right: 10%;
  font-family: a;
  color: #fff;
}
.page12-inner>h1{
  font-size: 5vw;
  font-weight: 100;
  
}
.page12-inner>p{
  font-size: 1.3vw;
  font-weight: 100;
  
}
#page13{
  position: relative;
  width: 100vw;
  height: 60vh;
  color: #fff;
  font-family: a;
  background-color: #000;
  padding: 10vw 10vw;
}
#page13>h1{
  font-size: 5vw;
  font-weight: 100;
  line-height: 1;
  text-transform: capitalize;
}
#page13>button{
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  margin-top: 1vw;
  background-color: #0b48ed;
  color: #fff;
  transition:  all ease-in 1s;

}
#page13>button:hover{
  background-color: #fff;
  color: #000;
  /* transform: translate();
    transition:  all ease-in 1s; */

}
#page14{
  position: relative;
  height: 60vh;
  width: 100vw;
  background-color:#000;
}

.page14-inner{
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0vw 5vw;
  height: 33.3%;
  width: 100%;
  background-color: #000;
  font-family: a;
  color: #fff;
  border-top: .5px solid #ffffff5C;
  border-bottom: 1px solid #ffffff54;
}
.page14-inner>i{
  font-weight: 100;
  font-size: 2.4vw;
  position: relative;
  z-index: 9;
}
.page14-inner>h1{
  font-weight: 100;
  font-size: 2.5vw;
  position: relative;
  z-index: 9;
}
.center14{
  position: absolute;
  height: 0%;
  width: 100%;
  background-color: #0a3cce;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50% );
  transition: all ease .5s;
}
.page14-inner:hover .center14{
  height: 100%;
}
/* =========================================================
   OMNI — additions. Same language: Jost (a), vw sizing,
   thin weights, the site's blues. Nothing above is removed.
   ========================================================= */

/* Nav wordmark (replaces the image logo) */
#page1 > nav > .logo {
  display: block;
  width: 9vw;
  margin-top: -1vw;
}
#page1 > nav > .logo > img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero copy keeps the deck's sentence case */
#bottom-page1 {
  text-transform: none;
}
#bottom-page1-inner > h4 {
  line-height: 1.4;
}

/* Section eyebrow labels share one look */
#apps > h3,
#page11 > h3,
.page12-inner > h3,
.gate-left > h3,
#restraint > h3,
#who > h3 {
  font-weight: 100;
  letter-spacing: 0.25em;
  font-size: 0.95vw;
  margin-bottom: 2vw;
}

/* ---------- The forty (app grid) ---------- */
#apps {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background-color: #0a3cce;
  padding: 7vw 8vw;
  font-family: a;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.8vw;
}
.app {
  display: flex;
  align-items: center;
  gap: 0.7vw;
  padding: 0.65vw 0.9vw;
  border-radius: 0.7vw;
  background-color: #ffffff12;
  border: 1px solid #ffffff2e;
  font-size: 0.95vw;
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color 0.4s ease;
}
.app:hover {
  background-color: #ffffff26;
}
.app > img {
  width: 1.9vw;
  height: 1.9vw;
  flex: none;
  border-radius: 0.45vw;
  background-color: #fff;
  padding: 0.12vw;
  object-fit: contain;
}
#apps > p {
  margin-top: 2.5vw;
  font-family: c;
  font-size: 1vw;
  letter-spacing: 0.05em;
  color: #dadada99;
}

/* ---------- Page 9: chat card replaces the photo ---------- */
.right9-center {
  height: auto;
  max-height: 80%;
  background-image: none;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2vw 4vw #00000040;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 0.6vw;
  padding: 1.1vw 1.6vw;
  background-color: #0b1f4b;
  color: #fff;
  font-family: a;
  font-weight: 600;
  font-size: 0.9vw;
  letter-spacing: 0.25em;
}
.chat-head > img {
  width: 1.7vw;
  height: 1.7vw;
}
.chat-body {
  padding: 1.8vw 1.6vw;
  display: flex;
  flex-direction: column;
  gap: 1.1vw;
  font-family: a;
  color: #0b1f4b;
}
.chat-q {
  border-left: 3px solid #1863ff;
  padding-left: 1vw;
  font-size: 1.15vw;
  font-weight: 400;
  line-height: 1.5;
}
.chat-a {
  margin-left: 1vw;
  padding: 0.9vw 1.1vw;
  border-radius: 0.6vw;
  background-color: #e9f2ff;
  color: #1a3d8f;
  font-size: 0.95vw;
  line-height: 1.5;
}
.chat-a + .chat-q {
  margin-top: 0.8vw;
}

/* ---------- Page 10: at-a-glance stats on the empty left ---------- */
.left10 {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 26%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5vw 1.5vw;
  font-family: a;
  color: #fff;
}
.stat > h1 {
  font-size: 4.2vw;
  font-weight: 100;
  line-height: 1;
}
.stat > p {
  margin-top: 0.5vw;
  font-size: 0.95vw;
  font-weight: 300;
  color: #ffffffa6;
}
.right10-inner > p {
  font-weight: 300;
}
.right10 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1vw;
  padding: 4vw 0;
}
.right10 > .right10-inner {
  height: auto;
}

/* ---------- Page 11: the roster (white section) ---------- */
#page11 {
  height: auto;
  min-height: 120vh;
  padding: 7vw 10vw 6vw 10vw;
  color: #000;
}
#page11 > h3 {
  color: #0a3cce;
}
#page11 > h1 {
  position: static;
  margin-bottom: 3vw;
  line-height: 1.1;
}
.roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2vw;
}
.desk {
  padding: 1.6vw;
  border-radius: 1vw;
  background-color: #f6f8ff;
  border: 1px solid #0a3cce1a;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.desk:hover {
  border-color: #0a3cce55;
  box-shadow: 0 1.5vw 3vw #0a3cce1f;
}
.desk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8vw;
}
.desk h2 {
  font-size: 1.5vw;
  font-weight: 500;
  color: #0b1f4b;
}
.shift {
  font-family: c;
  font-size: 0.6vw;
  letter-spacing: 0.15em;
  padding: 0.3vw 0.7vw;
  border-radius: 50px;
  background-color: #e3edff;
  color: #0a3cce;
}
.desk > p {
  font-size: 1vw;
  font-weight: 300;
  line-height: 1.55;
  color: #333;
}
.desk > small {
  display: block;
  margin-top: 1vw;
  padding-top: 0.7vw;
  border-top: 1px solid #0000000f;
  font-family: c;
  font-size: 0.75vw;
  letter-spacing: 0.05em;
  color: #888;
}
.desk > small > b {
  margin-left: 0.4vw;
  font-weight: 500;
  color: #0b1f4b;
}
#page11 > .note,
#page12 .note {
  margin-top: 2vw;
  font-style: italic;
  font-weight: 300;
  font-size: 1vw;
  color: #777;
}

/* ---------- Page 12: one Tuesday (timeline) ---------- */
#page12 {
  height: auto;
  min-height: 100vh;
  padding: 7vw 10vw;
}
.page12-inner {
  position: static;
  width: 100%;
}
.page12-inner > h1 {
  font-size: 4vw;
  line-height: 1.1;
  margin-bottom: 3vw;
}
.day {
  width: 100%;
}
.day-row {
  display: grid;
  grid-template-columns: 6vw 15vw 1fr;
  align-items: center;
  padding: 1vw 1.2vw;
  border-top: 1px solid #ffffff2a;
  font-size: 1.05vw;
  font-weight: 300;
  line-height: 1.5;
}
.day-row:last-child {
  border-bottom: 1px solid #ffffff2a;
}
.day-row > .t {
  font-family: c;
  letter-spacing: 0.05em;
  color: #ffffffb3;
}
.day-row > .d {
  font-family: c;
  font-size: 0.68vw;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8fb3ff;
}
.day-row.you {
  background-color: #ffffff14;
  border-radius: 0.5vw;
  border-top-color: transparent;
}
.day-row.you > .d,
.day-row.you > .t {
  color: #7cffb2;
}
.day-row.you > .x > b {
  font-weight: 500;
}
#page12 .note {
  color: #ffffff90;
}

/* ---------- The gate ---------- */
#gate {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background-color: #0a3cce;
  color: #fff;
  font-family: a;
  padding: 7vw 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6vw;
}
.gate-left {
  width: 50%;
}
.gate-left > h1 {
  font-size: 3.2vw;
  font-weight: 100;
  line-height: 1.15;
  margin-bottom: 2vw;
}
.gate-left > p {
  width: 90%;
  font-size: 1.15vw;
  font-weight: 300;
  line-height: 1.6;
  color: #ffffffc4;
  margin-bottom: 1.2vw;
}
.approval {
  width: 36%;
  padding: 1.8vw;
  border-radius: 1vw;
  background-color: #fff;
  color: #0b1f4b;
  box-shadow: 0 2vw 4vw #00000040;
}
.approval > .id {
  font-family: c;
  font-size: 0.75vw;
  letter-spacing: 0.1em;
  color: #8a8a8a;
}
.approval > h2 {
  margin: 0.4vw 0 1.1vw 0;
  font-size: 1.45vw;
  font-weight: 500;
}
.approval > .meta {
  font-size: 0.95vw;
  color: #555;
  margin-bottom: 0.4vw;
}
.approval > .warn {
  font-size: 0.95vw;
  color: #b4530a;
  margin-bottom: 1.4vw;
}
.approval > .acts {
  display: flex;
  gap: 0.6vw;
}
.approval > .acts > button {
  padding: 0.6vw 1.2vw;
  border-radius: 50px;
  border: 1px solid #0a3cce;
  background-color: #fff;
  color: #0a3cce;
  font-family: c;
  font-size: 0.85vw;
  cursor: pointer;
  transition: all ease 0.3s;
}
.approval > .acts > button.yes {
  background-color: #0a3cce;
  color: #fff;
}
.approval > .acts > button:hover {
  background-color: #0b1f4b;
  border-color: #0b1f4b;
  color: #fff;
}

/* ---------- Restraint ---------- */
#restraint {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  background-color: #1137ca;
  color: #fff;
  font-family: a;
  padding: 7vw 8vw;
}
#restraint > h1 {
  font-size: 3.2vw;
  font-weight: 100;
  line-height: 1.15;
  margin-bottom: 1.5vw;
}
#restraint > p {
  width: 70%;
  font-size: 1.15vw;
  font-weight: 300;
  line-height: 1.6;
  color: #ffffffc4;
  margin-bottom: 3vw;
}
.limits {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05vw;
  font-weight: 300;
}
.limits th {
  text-align: left;
  font-family: c;
  font-weight: 400;
  font-size: 0.68vw;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8fb3ff;
  padding: 0.8vw 1vw;
  border-bottom: 1px solid #ffffff40;
}
.limits td {
  padding: 1vw 1vw;
  border-bottom: 1px solid #ffffff22;
}
.limits td.muted {
  color: #ffffff80;
  font-style: italic;
}
.brakes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5vw;
  margin-top: 3.5vw;
}
.brakes h2 {
  font-size: 1.4vw;
  font-weight: 400;
  margin-bottom: 0.6vw;
}
.brakes p {
  font-size: 1vw;
  font-weight: 300;
  line-height: 1.6;
  color: #ffffffb3;
}

/* ---------- Who it's for (same treatment as page 4) ---------- */
#who {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #0a3cce;
  font-family: a;
}
#who > h3 {
  margin-left: 15vw;
  color: #fff;
}
#who > h1 {
  margin-left: 15vw;
  width: 70%;
  font-size: 2.6vw;
  font-weight: 100;
  line-height: 1.3;
  color: #ffffff81;
}

/* ---------- CTA ---------- */
#page13 {
  height: auto;
  min-height: 60vh;
  padding: 8vw 10vw;
}
#page13 > h1 {
  text-transform: none;
}
#page13 > p {
  width: 60%;
  margin-top: 1.5vw;
  font-size: 1.2vw;
  font-weight: 300;
  line-height: 1.6;
  color: #ffffffb3;
}
#page13 > button,
#page13 > .cta {
  display: inline-block;
  margin-top: 2vw;
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  background-color: #0b48ed;
  color: #fff;
  font-family: b;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all ease-in 1s;
}
#page13 > .cta:hover {
  background-color: #fff;
  color: #000;
}
#right-nav > button,
#bottom-page1-inner > button,
.page8-bottom > button {
  cursor: pointer;
}

/* ---------- Page 8: glass briefing card (replaces the token video) ---------- */
#page8 {
  overflow: hidden;
  background: radial-gradient(60% 70% at 72% 28%, #2f6bff 0%, #0a3cce 55%, #072a9a 100%);
}
.glass-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 120vw;
  padding-bottom: 12vh;
}
.glass {
  width: 34vw;
  padding: 2vw;
  border-radius: 1.5vw;
  background: linear-gradient(135deg, #ffffff30, #ffffff0d);
  border: 1px solid #ffffff59;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 3vw 6vw #00000045, inset 0 1px 0 #ffffff80;
  color: #fff;
  font-family: a;
  transform: rotateX(8deg) rotateY(-14deg) rotate(-4deg);
  animation: glassfloat 7s ease-in-out infinite;
}
@keyframes glassfloat {
  0%,
  100% {
    transform: translateY(0) rotateX(8deg) rotateY(-14deg) rotate(-4deg);
  }
  50% {
    transform: translateY(-1.5vw) rotateX(11deg) rotateY(-9deg) rotate(-3deg);
  }
}
.glass-top {
  display: flex;
  align-items: center;
  gap: 0.6vw;
  margin-bottom: 1.2vw;
  font-family: c;
  font-size: 0.68vw;
  letter-spacing: 0.25em;
  color: #ffffffc0;
}
.glass-top > img {
  width: 1.6vw;
  height: 1.6vw;
}
.glass-row {
  display: flex;
  flex-direction: column;
  gap: 0.3vw;
  padding: 0.9vw 0;
  border-top: 1px solid #ffffff2a;
}
.glass-row > .k {
  font-family: c;
  font-size: 0.65vw;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fb3ff;
}
.glass-row > .v {
  font-size: 1.05vw;
  font-weight: 300;
  line-height: 1.5;
}
.glass-row.needs > .k {
  color: #7cffb2;
}
.page8-bottom > button {
  background-color: #fff;
  cursor: pointer;
}

/* =========================================================
   RESPONSIVE
   Desktop rules above are all viewport-width based. Below
   ~1100px the copy gets too small, and below ~820px the
   two-column sections need to stack. Two tiers:
   - tablet: bump type, loosen grids
   - phone: single column, clamp()-based type, static layout
   ========================================================= */

/* ---------- Tablet (821px – 1100px) ---------- */
@media (max-width: 1100px) {
  #bottom-page1 {
    width: 70vw;
  }
  #bottom-page1-inner > h4 {
    font-size: 1.8vw;
  }
  #page2 > h1,
  #page6 > h1,
  #page4 > h1,
  #who > h1 {
    font-size: 3.4vw;
    width: 90%;
  }
  .apps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .app {
    font-size: 1.4vw;
    gap: 1vw;
    padding: 1vw 1.2vw;
  }
  .app > img {
    width: 2.8vw;
    height: 2.8vw;
  }
  #apps > p,
  .desk > small,
  #page11 > .note,
  #page12 .note {
    font-size: 1.4vw;
  }
  .glass {
    width: 48vw;
  }
  .glass-top,
  .glass-row > .k {
    font-size: 1vw;
  }
  .glass-row > .v {
    font-size: 1.6vw;
  }
  .chat-head {
    font-size: 1.2vw;
  }
  .chat-q {
    font-size: 1.8vw;
  }
  .chat-a {
    font-size: 1.5vw;
  }
  .stat > p {
    font-size: 1.4vw;
  }
  .right10-inner > h1 {
    font-size: 2.4vw;
  }
  .right10-inner > p {
    font-size: 1.7vw;
    width: 85%;
  }
  .roster {
    grid-template-columns: repeat(2, 1fr);
  }
  .desk h2 {
    font-size: 2.2vw;
  }
  .shift {
    font-size: 0.9vw;
  }
  .desk > p {
    font-size: 1.6vw;
  }
  .day-row {
    grid-template-columns: 8vw 20vw 1fr;
    font-size: 1.6vw;
  }
  .day-row > .d {
    font-size: 1vw;
  }
  .gate-left > p,
  #restraint > p,
  .brakes p,
  #page13 > p {
    font-size: 1.7vw;
  }
  .approval > h2 {
    font-size: 2vw;
  }
  .approval > .id {
    font-size: 1.1vw;
  }
  .approval > .meta,
  .approval > .warn {
    font-size: 1.4vw;
  }
  .approval > .acts > button {
    font-size: 1.2vw;
    padding: 0.8vw 1.4vw;
  }
  .limits {
    font-size: 1.5vw;
  }
  .limits th {
    font-size: 1vw;
  }
  .brakes h2 {
    font-size: 2vw;
  }
  #page13 > p {
    width: 80%;
  }
}

/* ---------- Phone (≤ 820px) ---------- */
@media (max-width: 820px) {
  :root {
    --fs-body: clamp(15px, 4vw, 18px);
    --fs-small: clamp(12px, 3.3vw, 14px);
    --fs-label: clamp(11px, 3vw, 13px);
    --fs-h1: clamp(30px, 8.5vw, 46px);
    --fs-h2: clamp(20px, 5.6vw, 28px);
    --pad-y: clamp(64px, 18vw, 110px);
    --pad-x: 6vw;
  }

  /* Hero */
  #page1 {
    height: 100vh;
    height: 100svh;
  }
  #page1 > nav {
    height: auto;
    padding: 16px 18px 0 18px;
  }
  #page1 > nav > .logo {
    width: 28vw;
    max-width: 130px;
    margin-top: 0;
  }
  #right-nav {
    display: flex;
    gap: 8px;
  }
  #right-nav > button,
  #right-nav > .demo {
    padding: 8px 14px;
    font-size: 13px;
  }
  #bottom-page1 {
    left: var(--pad-x);
    width: calc(100vw - var(--pad-x) * 2);
    height: auto;
    bottom: 7%;
  }
  #bottom-page1 > h1 {
    font-size: clamp(34px, 10.5vw, 56px);
  }
  #bottom-page1-inner {
    position: static;
    height: auto;
    margin-top: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  #bottom-page1-inner > h4 {
    font-size: var(--fs-body);
  }
  #bottom-page1-inner > h4 br {
    display: none;
  }
  #bottom-page1-inner > button {
    margin-left: 0;
  }

  /* Statement sections */
  #page2,
  #page4,
  #page6,
  #who {
    height: auto;
    min-height: 100vh;
    padding: var(--pad-y) var(--pad-x);
  }
  #page2 > h2,
  #page4 > h3,
  #page6 > h3,
  #who > h3 {
    margin-left: 0;
    margin-bottom: 20px;
    font-size: var(--fs-label);
    letter-spacing: 0.25em;
  }
  #page2 > h1,
  #page4 > h1,
  #page6 > h1,
  #who > h1 {
    margin-left: 0;
    width: 100%;
    font-size: var(--fs-h2);
    line-height: 1.45;
  }

  /* The forty */
  #apps {
    min-height: 0;
    padding: var(--pad-y) var(--pad-x);
  }
  #apps > h3 {
    font-size: var(--fs-label);
  }
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .app {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: var(--fs-small);
  }
  .app > img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    padding: 2px;
  }
  #apps > p {
    margin-top: 20px;
    font-size: var(--fs-small);
  }

  /* Pinned canvas scenes */
  #page7 > #page7-circle {
    height: 80vw;
    width: 80vw;
  }
  #page7-circle-inner {
    height: 60vw;
    width: 60vw;
  }

  /* Glass briefing */
  .glass-wrap {
    padding-bottom: 32vh;
  }
  .glass {
    width: 84vw;
    padding: 18px;
    border-radius: 16px;
  }
  @keyframes glassfloat {
    0%,
    100% {
      transform: translateY(0) rotateX(5deg) rotateY(-8deg) rotate(-2deg);
    }
    50% {
      transform: translateY(-8px) rotateX(7deg) rotateY(-5deg) rotate(-1.5deg);
    }
  }
  .glass-top {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .glass-top > img {
    width: 18px;
    height: 18px;
  }
  .glass-row {
    gap: 4px;
    padding: 10px 0;
  }
  .glass-row > .k {
    font-size: 10px;
  }
  .glass-row > .v {
    font-size: var(--fs-small);
  }
  .page8-bottom {
    width: 88vw;
    bottom: 8%;
  }
  .page8-bottom > h1 {
    margin-bottom: 12px;
    font-size: clamp(26px, 7.5vw, 40px);
  }

  /* What is Omni */
  #page9 {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: var(--pad-y) var(--pad-x);
  }
  .left9 {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
  }
  .left9 > h1 {
    position: static;
    transform: none;
    font-size: var(--fs-h1);
  }
  .left9 > h1 br {
    display: none;
  }
  .right9 {
    width: 100%;
    height: auto;
  }
  .right9-center {
    position: static;
    transform: none;
    width: 100%;
    max-height: none;
  }
  .chat-head {
    padding: 12px 16px;
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .chat-head > img {
    width: 18px;
    height: 18px;
  }
  .chat-body {
    padding: 16px;
    gap: 12px;
  }
  .chat-q {
    padding-left: 12px;
    font-size: var(--fs-body);
  }
  .chat-a {
    margin-left: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: var(--fs-small);
  }
  .chat-a + .chat-q {
    margin-top: 8px;
  }

  /* At a glance */
  #page10 {
    height: auto;
    min-height: 100vh;
    padding: var(--pad-y) var(--pad-x);
  }
  .left10 {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    margin-bottom: 40px;
  }
  .stat > h1 {
    font-size: clamp(36px, 12vw, 64px);
  }
  .stat > p {
    font-size: var(--fs-small);
  }
  .right10 {
    position: static;
    left: auto;
    width: 100%;
    height: auto;
    padding: 0;
    gap: 28px;
  }
  .right10-inner > h1 {
    font-size: var(--fs-h2);
  }
  .right10-inner > p {
    width: 100%;
    margin: 10px 0 0 0;
    font-size: var(--fs-body);
  }

  /* Roster */
  #page11 {
    min-height: 0;
    padding: var(--pad-y) var(--pad-x);
  }
  #page11 > h3 {
    font-size: var(--fs-label);
  }
  #page11 > h1 {
    margin-bottom: 24px;
    font-size: var(--fs-h1);
  }
  .roster {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .desk {
    padding: 18px;
    border-radius: 14px;
  }
  .desk-top {
    margin-bottom: 10px;
  }
  .desk h2 {
    font-size: clamp(18px, 5vw, 22px);
  }
  .shift {
    padding: 4px 8px;
    font-size: 9px;
  }
  .desk > p {
    font-size: var(--fs-body);
  }
  .desk > small {
    margin-top: 12px;
    padding-top: 10px;
    font-size: 11px;
  }
  #page11 > .note,
  #page12 .note {
    margin-top: 20px;
    font-size: var(--fs-small);
  }

  /* One Tuesday */
  #page12 {
    padding: var(--pad-y) var(--pad-x);
  }
  .page12-inner > h3 {
    font-size: var(--fs-label);
  }
  .page12-inner > h1 {
    margin-bottom: 24px;
    font-size: var(--fs-h1);
  }
  .page12-inner > h1 br,
  #page11 > h1 br,
  #page13 > h1 br {
    display: none;
  }
  .day-row {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "t d"
      "x x";
    gap: 4px 12px;
    padding: 12px 10px;
    font-size: var(--fs-body);
  }
  .day-row > .t {
    grid-area: t;
    font-size: var(--fs-small);
  }
  .day-row > .d {
    grid-area: d;
    align-self: center;
    font-size: 10px;
  }
  .day-row > .x {
    grid-area: x;
  }
  .day-row.you {
    border-radius: 8px;
  }

  /* The gate */
  #gate {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 100vh;
    padding: var(--pad-y) var(--pad-x);
    gap: 32px;
  }
  .gate-left {
    width: 100%;
  }
  .gate-left > h3 {
    font-size: var(--fs-label);
  }
  .gate-left > h1 {
    margin-bottom: 16px;
    font-size: var(--fs-h1);
  }
  .gate-left > p {
    width: 100%;
    margin-bottom: 12px;
    font-size: var(--fs-body);
  }
  .approval {
    width: 100%;
    padding: 18px;
    border-radius: 14px;
  }
  .approval > .id {
    font-size: 11px;
  }
  .approval > h2 {
    margin: 6px 0 12px 0;
    font-size: clamp(18px, 5vw, 22px);
  }
  .approval > .meta,
  .approval > .warn {
    font-size: var(--fs-small);
  }
  .approval > .acts {
    flex-wrap: wrap;
    gap: 8px;
  }
  .approval > .acts > button {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Restraint */
  #restraint {
    height: auto;
    min-height: 100vh;
    padding: var(--pad-y) var(--pad-x);
  }
  #restraint > h3 {
    font-size: var(--fs-label);
  }
  #restraint > h1 {
    margin-bottom: 14px;
    font-size: var(--fs-h1);
  }
  #restraint > p {
    width: 100%;
    margin-bottom: 24px;
    font-size: var(--fs-body);
  }
  .limits {
    font-size: var(--fs-small);
  }
  .limits th {
    padding: 8px 6px;
    font-size: 9px;
    letter-spacing: 0.15em;
  }
  .limits td {
    padding: 10px 6px;
  }
  .brakes {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }
  .brakes h2 {
    font-size: clamp(17px, 4.6vw, 20px);
  }
  .brakes p {
    font-size: var(--fs-body);
  }

  /* CTA + footer */
  #page13 {
    padding: var(--pad-y) var(--pad-x);
  }
  #page13 > h1 {
    font-size: var(--fs-h1);
  }
  #page13 > p {
    width: 100%;
    margin-top: 14px;
    font-size: var(--fs-body);
  }
  #page13 > .cta {
    margin-top: 20px;
  }
  #page14 {
    height: auto;
  }
  .page14-inner {
    height: auto;
    padding: 22px var(--pad-x);
  }
  .page14-inner > h1,
  .page14-inner > i {
    font-size: clamp(18px, 5.5vw, 26px);
  }
}
