* {
  box-sizing: border-box;
}

.sensor-page {
  min-height: 100vh;
}

.sensor-header {
  border-bottom: 1px solid var(--line);
}

.sensor-header .main-nav .active {
  background: var(--orange);
  color: var(--ink);
}

.sensor-main {
  margin: 0 auto;
  max-width: 1280px;
  padding: 76px 5vw 100px;
}

.sensor-intro {
  align-items: end;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 82px;
}

.sensor-intro h1 {
  color: var(--orange);
  font: 600 clamp(72px, 10vw, 140px) 'Barlow Condensed', sans-serif;
  letter-spacing: -0.06em;
  line-height: 0.8;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.sensor-intro h1 em,
.sensor-help h2 em {
  color: var(--cream);
  font-style: italic;
}

.sensor-lede {
  color: rgba(243, 237, 228, 0.7);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
}

.connection-status {
  align-items: center;
  border: 1px solid var(--orange);
  display: flex;
  gap: 15px;
  min-width: 255px;
  padding: 17px 20px;
}

.connection-status strong,
.connection-status span {
  display: block;
}

.connection-status strong {
  color: var(--orange);
  font-size: 13px;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.connection-status div span {
  color: rgba(243, 237, 228, 0.6);
  font-size: 10px;
}

.connection-pulse,
.sensor-state i,
.live-label i {
  background: #86d69e;
  border-radius: 50%;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.connection-pulse {
  box-shadow: 0 0 0 5px rgba(134, 214, 158, 0.14);
}

.sensor-overview .section-heading,
.sensor-activity .section-heading {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 15px;
}

.sensor-overview h2,
.sensor-activity h2 {
  font: 500 30px 'Barlow Condensed', sans-serif;
  margin: 0;
  text-transform: uppercase;
}

.sensor-count,
.live-label {
  color: var(--orange);
  font-size: 10px;
  text-transform: uppercase;
}

.connection-map {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(50px, 0.45fr) minmax(170px, 1.15fr) minmax(50px, 0.45fr) minmax(130px, 1fr);
  margin: 44px 0 54px;
}

.connection-node {
  align-items: center;
  border: 1px solid var(--line);
  display: grid;
  min-height: 136px;
  padding: 18px;
  position: relative;
}

.connection-node-motion {
  border-color: var(--orange);
}

.connection-node-pressure {
  border-color: var(--blue);
}

.connection-node-icon {
  font: 500 42px 'Barlow Condensed', sans-serif;
  line-height: 0.8;
}

.connection-node-number {
  color: rgba(243, 237, 228, 0.5);
  font-size: 9px;
  position: absolute;
  right: 14px;
  top: 14px;
}

.connection-node strong {
  font: 500 26px 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

.connection-node small {
  align-items: center;
  color: rgba(243, 237, 228, 0.62);
  display: flex;
  font-size: 9px;
  gap: 7px;
}

.connection-node small i {
  background: #86d69e;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.connection-hub {
  align-items: center;
  background: var(--orange);
  border-radius: 50%;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  height: 170px;
  justify-content: center;
  justify-self: center;
  position: relative;
  text-align: center;
  width: 170px;
  z-index: 1;
}

.hub-mark {
  font-size: 18px;
  letter-spacing: -5px;
  margin-left: -5px;
}

.connection-hub strong {
  font-size: 11px;
  margin-top: 11px;
}

.connection-hub small {
  font-size: 8px;
  margin-top: 6px;
}

.connection-line {
  border-top: 1px dashed rgba(243, 237, 228, 0.5);
  position: relative;
}

.connection-line span {
  animation: signal-flow 2.4s linear infinite;
  background: var(--orange);
  border-radius: 50%;
  height: 7px;
  position: absolute;
  top: -4px;
  width: 7px;
}

.connection-line-motion span {
  right: 0;
}

.connection-line-pressure span {
  left: 0;
}

@keyframes signal-flow {
  from {
    opacity: 0.3;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0.3;
    transform: translateX(100%);
  }
}

.sensor-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sensor-card {
  color: var(--ink);
  min-height: 365px;
  padding: 29px 31px;
}

.sensor-card-orange {
  background: var(--orange);
}

.sensor-card-blue {
  background: var(--blue);
}

.sensor-card-topline,
.sensor-details div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.sensor-number {
  font-size: 11px;
  font-weight: 700;
}

.sensor-state {
  align-items: center;
  display: inline-flex;
  font-size: 10px;
  gap: 8px;
  text-transform: uppercase;
}

.sensor-state i {
  background: var(--ink);
  height: 7px;
  width: 7px;
}

.sensor-icon {
  font: 500 72px 'Barlow Condensed', sans-serif;
  height: 100px;
  line-height: 1;
  margin-top: 33px;
}

.sensor-card h3 {
  font: 600 47px 'Barlow Condensed', sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.sensor-card p {
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  max-width: 390px;
}

.sensor-details {
  border-top: 1px solid rgba(23, 25, 26, 0.3);
  display: grid;
  gap: 9px;
  margin: 28px 0 0;
  padding-top: 14px;
}

.sensor-details dt,
.sensor-details dd {
  font-size: 10px;
  margin: 0;
  text-transform: uppercase;
}

.sensor-details dd {
  font-weight: 700;
}

.sensor-lower-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.5fr 1fr;
  margin-top: 22px;
}

.sensor-activity,
.sensor-help {
  border: 1px solid var(--line);
  padding: 29px 31px;
}

.live-label {
  align-items: center;
  color: #86d69e;
  display: inline-flex;
  gap: 8px;
}

.live-label i {
  height: 7px;
  width: 7px;
}

.activity-reading {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  padding: 25px 0 21px;
}

.activity-reading span,
.activity-reading strong {
  display: block;
}

.activity-reading span {
  color: rgba(243, 237, 228, 0.55);
  font-size: 9px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.activity-reading strong {
  color: var(--cream);
  font: 500 25px 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

.activity-note,
.sensor-help p {
  color: rgba(243, 237, 228, 0.65);
  font-size: 11px;
  line-height: 1.65;
}

.activity-note {
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 17px;
}

.sensor-help {
  background: var(--lilac);
  color: var(--ink);
}

.sensor-help .eyebrow {
  color: var(--ink);
}

.sensor-help h2 {
  font: 500 43px 'Barlow Condensed', sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.sensor-help h2 em {
  color: var(--ink);
}

.sensor-help p {
  color: rgba(23, 25, 26, 0.7);
  max-width: 300px;
}

.sensor-help .outline-button {
  border-color: var(--ink);
  color: var(--ink);
  margin-top: 8px;
}

.sensor-help .outline-button:hover,
.sensor-help .outline-button:focus-visible {
  background: var(--ink);
  color: var(--lilac);
}

@media (max-width: 760px) {
  .sensor-main {
    padding-top: 48px;
  }

  .sensor-intro {
    align-items: start;
    flex-direction: column;
    margin-bottom: 58px;
  }

  .sensor-grid,
  .sensor-lower-grid {
    grid-template-columns: 1fr;
  }

  .connection-map {
    gap: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 34px;
  }

  .connection-node {
    justify-self: stretch;
    width: 100%;
  }

  .connection-line {
    border-left: 1px dashed rgba(243, 237, 228, 0.5);
    border-top: 0;
    height: 46px;
    width: 1px;
  }

  .connection-line span {
    left: -3px;
    top: 0;
  }

  .connection-line-motion span {
    animation-name: signal-flow-vertical;
    right: auto;
  }

  .connection-line-pressure span {
    animation-name: signal-flow-vertical;
  }
}

@media (max-width: 480px) {
  .sensor-header {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .sensor-header .main-nav {
    flex-wrap: wrap;
  }

  .sensor-intro h1 {
    font-size: 72px;
  }

  .connection-status {
    min-width: 100%;
  }

  .sensor-card,
  .sensor-activity,
  .sensor-help {
    padding: 24px;
  }

  .activity-reading {
    grid-template-columns: 1fr;
  }
}

@keyframes signal-flow-vertical {
  from {
    opacity: 0.3;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0.3;
    transform: translateY(100%);
  }
}

.basic-sensor-main {
  margin: 0 auto;
  max-width: 850px;
  padding: 90px 5vw 120px;
}

.basic-sensor-main h1 {
  color: var(--orange);
  font: 600 clamp(72px, 12vw, 140px) 'Barlow Condensed', sans-serif;
  letter-spacing: -0.06em;
  line-height: 0.8;
  margin: 0 0 25px;
  text-transform: uppercase;
}

.basic-sensor-intro {
  color: rgba(243, 237, 228, 0.65);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 52px;
}

.basic-sensor-list {
  display: grid;
  gap: 14px;
}

.basic-sensor-card {
  align-items: center;
  border: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 58px 1fr auto;
  padding: 22px 25px;
}

.basic-sensor-icon {
  align-items: center;
  border: 1px solid var(--orange);
  color: var(--orange);
  display: flex;
  font: 500 35px 'Barlow Condensed', sans-serif;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.basic-sensor-info h2 {
  font: 500 29px 'Barlow Condensed', sans-serif;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.basic-sensor-info p {
  color: rgba(243, 237, 228, 0.55);
  font-size: 10px;
  margin: 0;
}

.basic-sensor-status {
  align-items: center;
  display: flex;
  font-size: 10px;
  gap: 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.basic-sensor-status span {
  border-radius: 50%;
  display: block;
  height: 9px;
  width: 9px;
}

.is-connected {
  color: #86d69e;
}

.is-connected span {
  background: #86d69e;
}

.is-connecting {
  color: var(--orange);
}

.is-connecting span {
  animation: connecting-pulse 1.2s ease-in-out infinite;
  background: var(--orange);
}

@keyframes connecting-pulse {
  50% {
    opacity: 0.25;
    transform: scale(0.7);
  }
}

@media (max-width: 600px) {
  .basic-sensor-main {
    padding-top: 60px;
  }

  .basic-sensor-card {
    align-items: start;
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .basic-sensor-icon {
    height: 48px;
    width: 48px;
  }

  .basic-sensor-status {
    grid-column: 2;
  }
}

.error-page {
background: rgba(23, 25, 26, 0.96);
color: var(--cream);
min-height: 100vh;
}

.error-overlay {
align-items: center;
display: flex;
justify-content: center;
min-height: 100vh;
padding: 32px 5vw;
}

.error-card {
background: var(--cream);
box-shadow: 14px 14px 0 var(--orange);
color: var(--ink);
max-width: 560px;
padding: 48px;
position: relative;
width: 100%;
}

.error-code {
color: var(--orange);
display: block;
font: 700 clamp(56px, 10vw, 100px) 'Barlow Condensed', sans-serif;
letter-spacing: -0.06em;
line-height: 0.8;
margin-bottom: 28px;
}

.error-card h1 {
font: 600 clamp(58px, 9vw, 100px) 'Barlow Condensed', sans-serif;
letter-spacing: -0.05em;
line-height: 0.8;
margin: 0 0 28px;
text-transform: uppercase;
}

.error-card h1 em {
color: var(--orange);
font-style: italic;
}

.error-message {
font-size: 12px;
line-height: 1.7;
margin: 0 0 30px;
max-width: 390px;
}

.error-home-link {
align-items: center;
display: inline-flex;
justify-content: space-between;
text-decoration: none;
width: min(100%, 280px);
}

@media (max-width: 480px) {
.error-card {
  padding: 34px 26px;
}
}

:root {
  --ink: #17191a;
  --orange: #ff5728;
  --cream: #f3ede4;
  --blue: #b9d5d1;
  --lilac: #d0c6e5;
  --line: rgba(243, 237, 228, 0.22);
  --background: var(--ink);
  --text: var(--cream);
  --muted-text: rgba(243, 237, 228, 0.65);
  --panel: #222526;
  --calendar-background: #242728;
  --event-background: rgba(255, 253, 250, 0.08);
  --calendar-muted: rgba(243, 237, 228, 0.65);
  --calendar-heading: #f3ede4;
  --card-text: #f3ede4;
  --card-muted: rgba(243, 237, 228, 0.65);
  --contact-accent: #b9d5d1;
}

[data-theme="light"] {
  --ink: #f3ede4;
  --cream: #17191a;
  --background: #f3ede4;
  --text: #17191a;
  --muted-text: rgba(23, 25, 26, 0.65);
  --line: rgba(23, 25, 26, 0.22);
  --panel: #fffaf3;
  --calendar-background: #f3ede4;
  --event-background: rgba(255, 253, 250, 0.9);
  --calendar-muted: #5d6260;
  --calendar-heading: #17191a;
  --card-text: #17191a;
  --card-muted: #5d6260;
  --contact-accent: #287c79;
}

[data-theme="dark"] {
  --ink: #17191a;
  --cream: #f3ede4;
  --background: #17191a;
  --text: #f3ede4;
  --muted-text: rgba(243, 237, 228, 0.65);
  --line: rgba(243, 237, 228, 0.22);
  --panel: #222526;
  --calendar-background: #242728;
  --event-background: rgba(255, 253, 250, 0.08);
  --calendar-muted: rgba(243, 237, 228, 0.65);
  --calendar-heading: #f3ede4;
  --card-text: #f3ede4;
  --card-muted: rgba(243, 237, 228, 0.65);
  --contact-accent: #b9d5d1;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--text);
  font-family: 'Space Mono', monospace;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.theme-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--orange);
  border-radius: 3px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 11px;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--orange);
  color: var(--ink);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.page-theme-toggle {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 10;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 30px 3.7vw;
  position: relative;
  z-index: 4;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.brand span,
.eyebrow,
.main-nav a:hover {
  color: var(--orange);
}

.main-nav {
  align-items: stretch;
  display: flex;
  gap: 8px;
}

.main-nav a {
  align-items: center;
  border: 1px solid var(--orange);
  border-radius: 3px;
  color: var(--cream);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 12px 17px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--orange);
  color: var(--ink);
  outline: none;
}

.main-nav a:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.menu-button {
  align-items: center;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 4px;
  color: var(--ink);
  display: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  min-width: 92px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.menu-button:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-icon span {
  background: var(--orange);
  display: block;
  height: 2px;
  width: 22px;
}

.menu-button .menu-icon span {
  background: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  grid-template-columns: 24% 52% 24%;
  min-height: 660px;
  padding: 26px 3.7vw 92px;
  position: relative;
}

.hero-copy {
  padding: 0 3.4vw;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--orange);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(82px, 11.8vw, 190px);
  font-style: normal;
  letter-spacing: -0.055em;
  line-height: 0.76;
  margin: 0 0 35px;
  text-transform: uppercase;
}

.hero h1 em,
h2 em {
  font-style: italic;
}

.hero-text {
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 27px;
  max-width: 330px;
}

.outline-button {
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  display: inline-flex;
  font-size: 11px;
  justify-content: center;
  padding: 15px 26px;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.outline-button:hover {
  background: var(--orange);
  color: var(--ink);
}

.outline-button span {
  margin-left: 16px;
}

.hero-image {
  align-self: center;
  min-width: 0;
  position: relative;
}

.hero-image img {
  display: block;
  filter: saturate(0.72) contrast(1.05);
  height: 430px;
  object-fit: cover;
  width: 100%;
}

.hero-image-right {
  align-self: end;
  margin-bottom: 0;
}

.hero-image-right img {
  height: 225px;
}

.image-label {
  bottom: -22px;
  color: rgba(243, 237, 228, 0.55);
  font-size: 9px;
  position: absolute;
  text-transform: uppercase;
}

.hero-image-left .image-label {
  right: 0;
}

.hero-image-right .image-label {
  left: 0;
}

.ticker {
  border-bottom: 1px solid var(--orange);
  border-top: 1px solid var(--orange);
  color: var(--orange);
  contain: inline-size;
  overflow: clip;
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.ticker-track {
  animation: ticker 18s linear infinite;
  display: flex;
  gap: 36px;
  justify-content: space-around;
  width: 200vw;
}

.ticker span {
  font-size: 11px;
}

.ticker b {
  font-size: 12px;
}

.dashboard-section,
.audience-section,
.how-section {
  width: 100%;
  padding: 125px 7.4vw;
}

.dashboard-section {
  display: grid;
  gap: 8vw;
  grid-template-columns: 0.8fr 1.2fr;
}

.section-intro h2,
.audience-heading h2,
.how-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(62px, 8vw, 120px);
  letter-spacing: -0.04em;
  line-height: 0.8;
  margin: 0 0 35px;
  text-transform: uppercase;
}

.section-intro > p:last-child {
  font-size: 12px;
  line-height: 1.7;
  max-width: 310px;
}

.usage-panel {
  background: var(--panel);
  color: var(--text);
  min-width: 0;
  padding: 28px;
}

.panel-topline {
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  padding-bottom: 18px;
  text-transform: uppercase;
}

.status-dot::before {
  background: #b9d5d1;
  border-radius: 50%;
  content: '';
  display: inline-block;
  height: 6px;
  margin: 0 8px 1px 0;
  width: 6px;
}

.usage-main {
  align-items: center;
  display: flex;
  gap: 8vw;
  padding: 52px 5%;
}

.usage-ring {
  align-items: center;
  background: conic-gradient(var(--orange) 0 64%, #414546 64% 100%);
  border-radius: 50%;
  display: flex;
  height: 210px;
  justify-content: center;
  min-width: 210px;
  position: relative;
}

.usage-ring::after {
  background: var(--panel);
  border-radius: 50%;
  content: '';
  height: 180px;
  position: absolute;
  width: 180px;
}

.usage-ring div {
  position: relative;
  text-align: center;
  z-index: 1;
}

.usage-ring strong {
  display: block;
  font-size: 25px;
}

.usage-ring small {
  color: var(--muted-text);
  display: block;
  font-size: 9px;
  margin-top: 9px;
  text-transform: uppercase;
}

.note-label {
  color: var(--orange);
  font-size: 10px;
  text-transform: uppercase;
}

.usage-notes h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  line-height: 0.85;
  margin: 15px 0 28px;
  text-transform: uppercase;
}

.usage-notes {
  min-width: 0;
}

.usage-notes h3 em {
  font-style: italic;
}

.mini-chart {
  align-items: end;
  display: flex;
  gap: 4px;
  height: 46px;
}

.mini-chart i {
  background: #7a8886;
  display: block;
  width: 10px;
}

.mini-chart .accent {
  background: var(--orange);
}

.primary-button {
  background: var(--orange);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font: 700 11px 'Space Mono', monospace;
  padding: 16px 20px;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}

.primary-button span {
  float: right;
  font-size: 18px;
  line-height: 10px;
}

.primary-button:hover {
  background: var(--cream);
}

.check-in-message {
  color: var(--blue);
  font-size: 10px;
  min-height: 14px;
}

.audience-section {
  background: var(--cream);
  color: var(--ink);
}

.audience-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 62px;
}

.audience-heading h2 {
  margin: 0;
}

.audience-heading .eyebrow {
  margin: 0;
}

.audience-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-card {
  min-height: 390px;
  min-width: 0;
  padding: 22px;
  position: relative;
}

.card-blue {
  background: var(--blue);
}

.card-orange {
  background: var(--orange);
}

.card-lilac {
  background: var(--lilac);
}

.card-number {
  font-size: 10px;
}

.card-icon {
  font-size: 42px;
  position: absolute;
  right: 22px;
  top: 15px;
}

.audience-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  line-height: 0.82;
  margin: 145px 0 18px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.audience-card p {
  font-size: 11px;
  line-height: 1.5;
  max-width: 230px;
}

.audience-card a {
  bottom: 22px;
  font-size: 10px;
  position: absolute;
  text-transform: uppercase;
}

.audience-card a span {
  font-size: 16px;
  margin-left: 10px;
}

.how-section {
  display: grid;
  gap: 9vw;
  grid-template-columns: 0.85fr 1.15fr;
}

.steps {
  border-top: 1px solid var(--line);
}

.steps > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 40px 1fr 1.8fr;
  padding: 25px 0;
}

.steps b {
  color: var(--orange);
  font-size: 11px;
}

.steps h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  line-height: 0.8;
  margin: 0;
  text-transform: uppercase;
}

.steps p {
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
}

.site-footer {
  align-items: center;
  background: var(--orange);
  border-top: 1px solid var(--orange);
  color: var(--ink);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  padding: 25px 7.4vw;
}

.site-footer p {
  color: var(--ink);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) and (min-width: 801px) {
  .site-header {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .main-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 22% 56% 22%;
    min-height: 570px;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .hero-copy {
    padding-left: 2vw;
    padding-right: 2vw;
  }

  .hero h1 {
    font-size: clamp(72px, 10.5vw, 120px);
  }

  .dashboard-section,
  .how-section,
  .audience-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .usage-main {
    gap: 4vw;
    padding-left: 0;
    padding-right: 0;
  }

  .usage-ring {
    height: 180px;
    min-width: 180px;
    width: 180px;
  }

  .usage-ring::after {
    height: 154px;
    width: 154px;
  }
}

@media (max-width: 800px) {
  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    background: var(--ink);
    border-bottom: 1px solid var(--orange);
    border-left: 0;
    border-right: 0;
    border-top: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    left: 0;
    padding: 14px 7.4vw 18px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .menu-button {
    display: flex;
  }

  .main-nav a {
    border: 1px solid var(--orange);
    border-radius: 3px;
    font-size: 13px;
    min-height: 48px;
    padding: 15px 12px;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 80px;
  }

  .hero-copy {
    order: 1;
    padding: 55px 0 45px;
  }

  .hero-image-left {
    order: 2;
    width: 55%;
  }

  .hero-image-right {
    align-self: end;
    margin-top: -70px;
    order: 3;
    width: 54%;
  }

  .hero-image img {
    height: 330px;
  }

  .hero-image-right img {
    height: 180px;
  }

  .dashboard-section,
  .how-section {
    grid-template-columns: 1fr;
    padding: 85px 7.4vw;
  }

  .usage-main {
    align-items: start;
    flex-direction: column;
    gap: 35px;
  }

  .audience-section {
    padding: 85px 7.4vw;
  }

  .audience-heading {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }

  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-card {
    min-height: 310px;
  }

  .audience-card h3 {
    margin-top: 105px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 22px 5vw;
  }

  }

  /* Contact page */
  .contact-page {
    background: var(--cream);
    color: var(--ink);
  }

  .contact-page .site-header {
    background: var(--ink);
  }

  .contact-page .brand {
    color: var(--cream);
  }

  .contact-page .site-footer .brand {
    color: var(--ink);
  }

  .contact-page .main-nav a {
    color: var(--cream);
  }

  .contact-page .main-nav a.active {
    background: var(--orange);
    color: var(--ink);
  }

  .contact-hero {
    align-items: center;
    background: var(--ink);
    display: grid;
    gap: 8vw;
    grid-template-columns: 1fr 0.8fr;
    min-height: 470px;
    padding: 70px 7.4vw 90px;
  }

  .contact-hero-copy {
    max-width: 620px;
  }

  .contact-hero h1 {
    color: var(--cream);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(76px, 12vw, 170px);
    letter-spacing: -0.055em;
    line-height: 0.78;
    margin: 0 0 35px;
    text-transform: uppercase;
  }

  .contact-hero h1 em {
    color: var(--orange);
    font-style: italic;
  }

  .contact-lede {
    color: var(--cream);
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
    max-width: 410px;
  }

  .contact-hero-art {
    align-self: end;
    background: var(--blue);
    min-height: 290px;
    position: relative;
  }

  .contact-hero-art::before {
    background: var(--lilac);
    content: '';
    height: 100%;
    left: 14px;
    position: absolute;
    top: 14px;
    width: 100%;
  }

  .contact-hero-art img {
    display: block;
    height: 290px;
    object-fit: contain;
    position: relative;
    width: 100%;
    z-index: 1;
  }

  .contact-hero-art .image-label {
    bottom: 12px;
    color: var(--ink);
    position: absolute;
    right: 16px;
    z-index: 2;
  }

  .contact-content {
    display: grid;
    gap: 10vw;
    grid-template-columns: 0.8fr 1.2fr;
    padding: 105px 7.4vw 120px;
  }

  .contact-intro h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(58px, 7vw, 100px);
    letter-spacing: -0.05em;
    line-height: 0.8;
    margin: 0 0 30px;
    text-transform: uppercase;
  }

  .contact-intro h2 em {
    color: var(--orange);
  }

  .contact-intro > p:not(.eyebrow) {
    font-size: 11px;
    line-height: 1.7;
    max-width: 300px;
  }

  .contact-details {
    border-top: 1px solid rgba(23, 25, 26, 0.25);
    margin-top: 45px;
    max-width: 340px;
  }

  .contact-details div {
    border-bottom: 1px solid rgba(23, 25, 26, 0.25);
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 17px 0;
  }

  .contact-details span {
    color: #6f7473;
    font-size: 9px;
    text-transform: uppercase;
  }

  .contact-details a {
    font-size: 11px;
  }

  .contact-details a:hover,
  .contact-details a:focus-visible {
    color: var(--orange);
  }

  .contact-form {
    background: var(--ink);
    color: var(--cream);
    padding: 35px 4vw 32px;
  }

  .form-note {
    color: var(--contact-accent);
    font-size: 10px;
    margin-bottom: 32px;
    text-transform: uppercase;
  }

  .form-note span {
    color: var(--orange);
    margin-right: 8px;
  }

  .contact-form label {
    display: block;
    font-size: 10px;
    margin-bottom: 22px;
    text-transform: uppercase;
  }

  .form-row {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #686e6c;
    border-radius: 0;
    color: var(--cream);
    display: block;
    font: 13px 'Space Mono', monospace;
    margin-top: 10px;
    outline: none;
    padding: 11px 0;
    width: 100%;
  }

  .contact-form select {
    appearance: none;
    background: linear-gradient(45deg, transparent 50%, var(--orange) 50%) calc(100% - 8px) 50% / 6px 6px no-repeat,
      linear-gradient(135deg, var(--orange) 50%, transparent 50%) 100% 50% / 6px 6px no-repeat;
    cursor: pointer;
  }

  .contact-form option {
    background: var(--ink);
    color: var(--cream);
  }

  .contact-form textarea {
    min-height: 100px;
    resize: vertical;
  }

  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: var(--orange);
  }

  .contact-form input:user-invalid,
  .contact-form textarea:user-invalid {
    border-color: #e89076;
  }

  .contact-form .primary-button {
    margin-top: 10px;
  }

  .form-status {
    color: var(--contact-accent);
    font-size: 10px;
    line-height: 1.5;
    min-height: 15px;
  }

  @media (max-width: 800px) {
    .contact-hero,
    .contact-content {
      grid-template-columns: 1fr;
    }

    .contact-hero {
      gap: 50px;
      padding-top: 60px;
    }

    .contact-hero-art {
      max-width: 430px;
      width: 80%;
    }

    .contact-content {
      gap: 65px;
      padding-bottom: 85px;
      padding-top: 85px;
    }

    .contact-form {
      padding: 30px 7vw;
    }
  }

  @media (max-width: 480px) {
    .contact-hero {
      padding: 45px 5vw 70px;
    }

    .contact-hero h1 {
      font-size: clamp(68px, 21vw, 100px);
    }

    .contact-hero-art {
      width: 92%;
    }

    .contact-content {
      padding: 70px 5vw;
    }

    .form-row {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }

@media (max-width: 480px) {
  .hero {
    padding: 10px 5vw 64px;
  }

  .hero-copy {
    padding: 44px 0 36px;
  }

  .hero h1 {
    font-size: clamp(68px, 21vw, 100px);
    line-height: 0.8;
    margin-bottom: 28px;
  }

  .hero-text {
    font-size: 11px;
  }

  .outline-button {
    font-size: 10px;
    padding: 13px 20px;
  }

  .hero-image-left {
    width: 72%;
  }

  .hero-image-right {
    margin-top: -48px;
    width: 68%;
  }

  .hero-image img {
    height: 270px;
  }

  .hero-image-right img {
    height: 145px;
  }

  .dashboard-section,
  .how-section,
  .audience-section {
    padding: 64px 5vw;
  }

  .section-intro h2,
  .audience-heading h2,
  .how-section h2 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .usage-panel {
    padding: 18px;
  }

  .panel-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .usage-main {
    gap: 28px;
    padding: 36px 0;
  }

  .usage-ring {
    height: 170px;
    min-width: 170px;
    width: 170px;
  }

  .usage-ring::after {
    height: 144px;
    width: 144px;
  }

  .usage-ring strong {
    font-size: 21px;
  }

  .usage-notes h3 {
    font-size: 34px;
  }

  .primary-button {
    font-size: 10px;
    line-height: 1.4;
    padding: 14px;
  }

  .audience-heading {
    margin-bottom: 38px;
  }

  .audience-card {
    min-height: 280px;
    padding: 18px;
  }

  .audience-card h3 {
    font-size: 44px;
    margin-top: 86px;
  }

  .steps > div {
    gap: 14px;
    grid-template-columns: 28px 1fr;
  }

  .steps p {
    grid-column: 2;
  }

  .site-footer {
    padding: 22px 5vw;
  }
}

/* Anti-Burnout dashboard */
.app {
  background: var(--ink);
  color: var(--cream);
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 285px;
  margin: auto;
  min-height: 100vh;
  width: 100%;
}

.sidebar {
  border-right: 1px solid rgba(243, 237, 228, .22);
  display: flex;
  flex-direction: column;
  padding: 34px 27px;
}

.app .brand {
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.08em;
  text-decoration: none;
}

.brand span {
  color: var(--orange);
}

.brand-mark {
  color: var(--orange);
  letter-spacing: -0.2em;
  margin-right: 7px;
}

.profile {
  margin: 75px 0 55px;
  text-align: center;
}

.profile-avatar {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: var(--ink);
  display: grid;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 35px;
  height: 82px;
  justify-items: center;
  margin: auto;
  place-items: center;
  width: 82px;
}

.profile h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 16px 0 6px;
}

.profile p,
.date {
  color: #767477;
  font-size: 12px;
  margin: 0;
}

.nav {
  display: grid;
  gap: 10px;
}

.nav a {
  align-items: center;
  border: 2px solid var(--cream);
  border-radius: 6px;
  color: var(--cream);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 13px;
  min-height: 52px;
  padding: 13px 14px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav a::before {
  border: 1px solid #767477;
  border-radius: 50%;
  content: '';
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.nav a.active,
.nav a:hover {
  color: var(--cream);
  transform: translateX(2px);
}

.nav a:nth-child(1) {
  border-color: rgba(243, 237, 228, .28);
}

.nav a:nth-child(2) {
  border-color: var(--blue);
}

.nav a:nth-child(3) {
  border-color: var(--lilac);
}

.nav a:nth-child(4) {
  border-color: var(--cream);
}

.nav a.selected {
  border-color: var(--orange);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.selected {
  background: rgba(243, 237, 228, .1);
}

.nav a.selected {
  box-shadow: inset 5px 0 0 var(--orange);
}

.nav a.active::before {
  background: var(--orange);
  border-color: var(--orange);
}

.nav a:focus-visible {
  border-color: var(--orange);
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.sidebar-footer {
  color: #767477;
  font-size: 11px;
  line-height: 1.7;
  margin-top: auto;
}

.main {
  background: var(--ink);
  min-width: 0;
  padding: 38px 40px 55px;
}

.dashboard-nav {
  align-items: center;
  border-bottom: 1px solid rgba(243, 237, 228, .22);
  display: flex;
  justify-content: space-between;
  margin-bottom: 38px;
  padding-bottom: 18px;
}

.dashboard-nav-home {
  color: var(--cream);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.dashboard-nav-home span {
  color: var(--orange);
}

.dashboard-nav-links {
  align-items: center;
  display: flex;
  gap: 8px;
}

.dashboard-nav-links a {
  align-items: center;
  border: 1px solid var(--orange);
  color: var(--cream);
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.dashboard-nav-links a:hover,
.dashboard-nav-links a.active {
  background: var(--orange);
  color: var(--ink);
}

.topbar {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 37px;
}

.app .eyebrow {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.app h1,
.app h2,
.app h3,
.app p {
  margin-top: 0;
}

.app h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.05em;
  line-height: .88;
  margin-bottom: 12px;
}

.notification {
  align-items: center;
  background: var(--orange);
  border: 0;
  box-shadow: 0 8px 18px rgba(255, 87, 40, .2);
  color: var(--ink);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  padding: 13px 16px;
  text-transform: uppercase;
}

.notification span {
  color: var(--ink);
  font-size: 17px;
}

.notification:hover {
  background: var(--cream);
}

.section-heading {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin: 0 0 16px;
}

.section-heading h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 27px;
  letter-spacing: -0.03em;
  margin: 0;
}

.section-heading a {
  align-items: center;
  border: 2px solid var(--orange);
  color: var(--orange);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  min-height: 46px;
  padding: 10px 15px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.section-heading a:hover,
.section-heading a:focus-visible {
  background: var(--orange);
  color: var(--ink);
  outline: 3px solid var(--cream);
  outline-offset: 2px;
}

.project-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 43px;
}

.project {
  min-height: 153px;
  padding: 20px;
  position: relative;
}

.project h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 27px;
  line-height: .95;
  margin: 27px 0 26px;
  max-width: 130px;
}

.project p {
  font-size: 12px;
  margin: 0;
}

.project strong {
  font-size: 14px;
}

.project .progress {
  background: rgba(23, 25, 26, .2);
  height: 4px;
  margin-top: 9px;
  width: 100%;
}

.project .progress i {
  background: var(--ink);
  display: block;
  height: 100%;
}

.project.orange {
  background: var(--orange);
  color: var(--ink);
}

.project.blue {
  background: var(--blue);
  color: var(--ink);
}

.project.lilac {
  background: var(--lilac);
  color: var(--ink);
}

.project-tag {
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.project-menu {
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
  position: absolute;
  right: 17px;
  top: 14px;
}

.lower-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
}

.task-list {
  display: grid;
  gap: 12px;
}

.task {
  align-items: center;
  border-left: 5px solid var(--orange);
  background: #fffdfa;
  color: var(--card-text);
  box-shadow: 0 9px 23px rgba(23, 25, 26, .07);
  display: flex;
  gap: 14px;
  padding: 15px 16px;
  transition: box-shadow .2s ease, outline .2s ease;
}

.task.selected {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.task:nth-child(2) {
  border-color: var(--lilac);
}

.task:nth-child(2).selected {
  outline-color: var(--lilac);
}

.task:nth-child(3) {
  border-color: var(--blue);
}

.task:nth-child(3).selected {
  outline-color: var(--blue);
}

.task-copy {
  flex: 1;
  color: var(--card-text);
}

.task strong {
  color: var(--card-text);
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
}

.task span {
  color: var(--card-muted);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.task-check {
  background: transparent;
  border: 1px solid #d9d2c9;
  border-radius: 50%;
  cursor: pointer;
  height: 26px;
  width: 26px;
}

.task.done .task-check {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  font-size: 17px;
  font-weight: 700;
}

.stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
}

.stat {
  background: var(--panel);
  color: var(--card-text);
  min-height: 100px;
  padding: 16px;
}

.stat strong {
  color: var(--card-text);
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
}

.stat span {
  color: var(--card-muted);
  display: block;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 8px;
}

.break-card {
  background: var(--ink);
  color: var(--cream);
  padding: 21px;
}

.break-card h3 {
  color: var(--orange);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 25px;
  line-height: .95;
  margin-bottom: 10px;
}

.break-card p {
  color: var(--muted-text);
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 15px;
}

.break-card button {
  background: var(--orange);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 13px;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.break-card button:hover {
  background: var(--cream);
  color: var(--ink);
}

.calendar {
  background: var(--calendar-background);
  border-left: 1px solid var(--line);
  border-top: 6px solid var(--orange);
  color: var(--text);
  overflow: hidden;
  padding: 49px 30px;
  position: relative;
}

.calendar-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 51px;
  padding-bottom: 20px;
}

.calendar-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  letter-spacing: -0.03em;
  margin: 0;
}

.calendar-header button {
  background: var(--orange);
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  height: 37px;
  transition: background .2s ease, transform .2s ease;
  width: 37px;
}

.calendar-header button:hover {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(90deg);
}

.day {
  border-left: 2px solid var(--line);
  margin-bottom: 42px;
  padding-left: 14px;
}

.day-heading {
  color: var(--calendar-muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.day-heading span:first-child {
  color: var(--calendar-heading);
  font-weight: 700;
}

.event {
  align-items: center;
  background: var(--event-background);
  box-shadow: 0 5px 14px rgba(23, 25, 26, .04);
  display: grid;
  gap: 10px;
  grid-template-columns: 50px 3px 1fr;
  margin: 16px 0;
  padding: 10px 10px 10px 0;
  transition: background .2s ease, transform .2s ease;
}

.event:hover {
  background: var(--blue);
  transform: translateX(4px);
}

.event time {
  font-size: 12px;
  font-weight: 700;
}

.event-bar {
  align-self: stretch;
  background: var(--orange);
  min-height: 32px;
}

.event.blue .event-bar {
  background: var(--blue);
}

.event.lilac .event-bar {
  background: var(--lilac);
}

.event small {
  color: var(--calendar-muted);
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}

.event b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.toast {
  background: var(--orange);
  bottom: 24px;
  color: var(--ink);
  display: none;
  font-size: 11px;
  font-weight: 700;
  left: 50%;
  padding: 14px 18px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 3;
}

.toast.show {
  display: block;
}

@media (max-width: 1050px) {
  .app {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .calendar {
    display: none;
  }

  .main {
    padding: 32px;
  }
}

@media (max-width: 700px) {
  .app {
    display: block;
  }

  .sidebar {
    border-bottom: 1px solid rgba(243, 237, 228, .22);
    border-right: 0;
    padding: 22px 20px;
  }

  .profile {
    margin: 28px 0 20px;
  }

  .profile-avatar {
    font-size: 25px;
    height: 58px;
    width: 58px;
  }

  .nav {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }

  .nav a {
    flex-direction: column;
    font-size: 12px;
    gap: 6px;
    min-height: 64px;
    padding: 10px 4px;
    text-align: center;
  }

  .sidebar-footer {
    display: none;
  }

  .main {
    padding: 27px 20px 40px;
  }

  .dashboard-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 29px;
  }

  .dashboard-nav-links {
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
  }

  .dashboard-nav-links a {
    font-size: 9px;
    min-height: 36px;
    padding: 9px 11px;
  }

  .project-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .project {
    min-height: 145px;
  }

  .topbar {
    margin-bottom: 29px;
  }

  .notification {
    padding: 10px;
  }

  .notification label {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 64px;
  }

  .hero-image-left {
    width: 78%;
  }

  .hero-image-right {
    width: 74%;
  }

  .usage-ring {
    height: 150px;
    min-width: 150px;
    width: 150px;
  }

  .usage-ring::after {
    height: 126px;
    width: 126px;
  }

  .usage-ring strong {
    font-size: 18px;
  }

  .usage-ring small,
  .panel-topline,
  .check-in-message {
    font-size: 8px;
  }

  .usage-notes h3 {
    font-size: 30px;
  }
}

@media (min-width: 1051px) {
  .nav a {
    font-size: 15px;
  }

  .sidebar-footer {
    font-size: 12px;
  }

  .dashboard-nav-home {
    font-size: 16px;
  }

  .dashboard-nav-links a {
    font-size: 13px;
    min-height: 44px;
  }

  .app .eyebrow {
    font-size: 13px;
  }

  .app h1 {
    font-size: clamp(42px, 4vw, 62px);
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .section-heading a {
    font-size: 14px;
    min-height: 50px;
  }

  .project h3 {
    font-size: 29px;
  }

  .project p,
  .task span,
  .break-card p {
    font-size: 13px;
  }

  .task strong {
    font-size: 21px;
  }

  .event b {
    font-size: 17px;
  }
}


/* Login page */
:root {
      --panel-soft: #342b42;
      --field: rgba(243, 237, 228, 0.08);
      --field-border: rgba(208, 198, 229, 0.18);
      --field-border-strong: rgba(255, 87, 40, 0.72);
      --text-muted: var(--muted-text);
      --login-panel: linear-gradient(180deg, rgba(42, 36, 53, 0.98), rgba(33, 28, 42, 0.98));
      --login-text: #f3ede4;
      --login-muted: rgba(243, 237, 228, 0.68);
      --login-accent: #b9d5d1;
    }

[data-theme="light"] {
      --login-panel: linear-gradient(180deg, #fffaf3, #f3ede4);
      --login-text: #17191a;
      --login-muted: rgba(23, 25, 26, 0.68);
      --login-accent: #287c79;
      --field: rgba(23, 25, 26, 0.05);
      --field-border: rgba(23, 25, 26, 0.2);
}

    * {
      box-sizing: border-box;
    }

    html.login-page, body.login-page {
      min-height: 100%;
    }

    body.login-page {
      margin: 0;
      font-family: 'Space Mono', monospace;
      color: var(--cream);
      background:
        radial-gradient(circle at top left, rgba(208, 198, 229, 0.17), transparent 34%),
        radial-gradient(circle at bottom right, rgba(185, 213, 209, 0.10), transparent 28%),
        var(--ink);
      display: grid;
      place-items: center;
        min-height: 100vh;
        overflow-y: auto;
        padding: 32px;
    }

    .login-shell {
      width: min(1120px, 100%);
      min-height: 680px;
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
      padding: 14px;
    }

    .login-card {
      min-height: 652px;
      border-radius: 16px;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1.08fr 1fr;
      background: linear-gradient(180deg, rgba(43, 37, 54, 0.98), rgba(34, 29, 44, 0.98));
    }

    .visual {
      position: relative;
      padding: 28px;
      background:
        radial-gradient(circle at 24% 20%, rgba(208, 198, 229, 0.28), transparent 25%),
        radial-gradient(circle at 55% 55%, rgba(255, 87, 40, 0.11), transparent 24%),
        linear-gradient(180deg, rgba(118, 90, 200, 0.88), rgba(30, 20, 48, 0.96));
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 100%;
    }

    .visual::before,
    .visual::after {
      content: "";
      position: absolute;
      inset: auto;
      border-radius: 999px;
      pointer-events: none;
    }

    .visual::before {
      width: 240px;
      height: 240px;
      left: -60px;
      top: -70px;
      background: rgba(255, 255, 255, 0.06);
      filter: blur(10px);
    }

    .visual::after {
      width: 320px;
      height: 320px;
      right: -90px;
      bottom: -110px;
      background: rgba(255, 87, 40, 0.08);
      filter: blur(12px);
    }

    .logo-badge {
      position: relative;
      z-index: 1;
      width: 100%;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
    }

    .logo-frame {
      width: min(240px, 52vw);
      aspect-ratio: 1;
      border-radius: 28px;
      background: rgba(243, 237, 228, 0.10);
      border: 1px solid rgba(243, 237, 228, 0.14);
      backdrop-filter: blur(10px);
      display: grid;
      place-items: center;
      padding: 18px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    }

    .logo-frame img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
    }

    .back-link {
      align-items: center;
      align-self: flex-start;
      background: rgba(243, 237, 228, 0.16);
      border: 1px solid rgba(243, 237, 228, 0.4);
      box-shadow: 0 8px 18px rgba(20, 14, 35, 0.2);
      color: var(--cream);
      display: inline-flex;
      font-size: 14px;
      font-weight: 700;
      gap: 8px;
      justify-content: center;
      min-height: 48px;
      min-width: 170px;
      z-index: 1;
      padding: 12px 20px;
      border-radius: 999px;
      text-decoration: none;
      transition: background .2s ease, color .2s ease, transform .2s ease;
    }

    .back-link::before {
      content: '←';
      font-size: 19px;
      line-height: 1;
    }

    .back-link:hover,
    .back-link:focus-visible {
      background: rgba(243, 237, 228, 0.28);
      border-color: var(--cream);
      color: var(--cream);
      outline: 3px solid var(--cream);
      outline-offset: 3px;
      transform: translateY(-2px);
    }

    .visual-copy {
      position: relative;
      z-index: 1;
      max-width: 360px;
      padding-left: 4px;
      margin-top: 24px;
    }

    .visual-slides {
      min-height: 300px;
      position: relative;
    }

    .visual-slide {
      animation: login-slide 12s infinite;
      left: 0;
      opacity: 0;
      position: absolute;
      top: 0;
      width: 100%;
    }

    @media (min-width: 941px) {
      .visual-copy {
        margin-top: 34px;
      }

      .visual-slides {
        min-height: 320px;
      }
    }

    .visual-slide:nth-child(1) {
      animation-delay: 0s;
    }

    .visual-slide:nth-child(2) {
      animation-delay: 4s;
    }

    .visual-slide:nth-child(3) {
      animation-delay: 8s;
    }

    @keyframes login-slide {
      0%, 29% {
        opacity: 1;
      }
      33%, 100% {
        opacity: 0;
      }
    }

    .visual-copy h1 {
      margin: 0;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(38px, 5vw, 58px);
      line-height: 0.92;
      letter-spacing: -0.04em;
      font-weight: 700;
    }

    .visual-copy p {
      margin: 14px 0 0;
      color: rgba(243, 237, 228, 0.78);
      font-size: 13px;
      line-height: 1.6;
      max-width: 28ch;
    }

    .status-dots {
      display: inline-flex;
      gap: 8px;
      margin-top: 24px;
    }

    .status-dots span {
      width: 18px;
      height: 4px;
      border-radius: 999px;
      background: rgba(243, 237, 228, 0.26);
    }

    .status-dots span.active {
      width: 34px;
      background: var(--cream);
    }

    .status-dots span {
      animation: login-dot 12s infinite;
    }

    .status-dots span:nth-child(1) {
      animation-delay: 0s;
    }

    .status-dots span:nth-child(2) {
      animation-delay: 4s;
    }

    .status-dots span:nth-child(3) {
      animation-delay: 8s;
    }

    @keyframes login-dot {
      0%, 29% {
        background: var(--cream);
        width: 34px;
      }
      33%, 100% {
        background: rgba(243, 237, 228, 0.26);
        width: 18px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .visual-slide,
      .status-dots span {
        animation: none;
      }

      .visual-slide:not(:first-child) {
        display: none;
      }

      .status-dots span:first-child {
        background: var(--cream);
        width: 34px;
      }
    }

    .form-panel {
      padding: clamp(34px, 5vw, 72px);
      background: var(--login-panel);
      color: var(--login-text);
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 24px;
    }

    .login-page .eyebrow {
      margin: 0;
      color: var(--login-accent);
      font-size: 12px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .login-page .title {
      color: var(--login-text);
      margin: 0;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(44px, 5vw, 68px);
      line-height: 0.95;
      letter-spacing: -0.05em;
      font-weight: 700;
    }

    .login-page .subtitle {
      margin: 0;
      color: var(--login-muted);
      font-size: 14px;
      line-height: 1.65;
    }

    .account-link {
      align-items: center;
      background: var(--orange);
      border: 1px solid var(--orange);
      color: var(--ink);
      display: inline-flex;
      font-size: 11px;
      font-weight: 700;
      gap: 12px;
      margin-top: 18px;
      padding: 11px 14px;
      text-transform: uppercase;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .account-link:hover {
      background: var(--cream);
      border-color: var(--cream);
      color: var(--ink);
    }

    .fields {
      display: grid;
      gap: 14px;
      margin-top: 6px;
    }

    .row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .field {
      position: relative;
    }

    .field input {
      width: 100%;
      border: 1px solid var(--field-border);
      border-radius: 10px;
      background: var(--field);
      color: var(--login-text);
      padding: 16px 18px;
      font: inherit;
      font-size: 14px;
      outline: none;
      transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    }

    .field input::placeholder {
      color: var(--login-muted);
    }

    .field input:focus {
      border-color: var(--field-border-strong);
      box-shadow: 0 0 0 4px rgba(255, 87, 40, 0.10);
      background: rgba(243, 237, 228, 0.10);
    }

    .field.password input {
      padding-right: 54px;
    }

    .eye {
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 0.66;
      width: 18px;
      height: 18px;
      border-radius: 999px;
      border: 1.5px solid currentColor;
      color: var(--lilac);
    }

    .eye::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: currentColor;
      transform: translate(-50%, -50%);
    }

    .actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: -2px;
      color: var(--login-muted);
      font-size: 12px;
    }

    .account-prompt {
      align-items: center;
      color: var(--login-muted);
      display: flex;
      font-size: 12px;
      gap: 14px;
      justify-content: space-between;
    }

    .account-prompt .account-link {
      margin-top: 0;
    }

    .remember {
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }

    .remember input {
      width: 16px;
      height: 16px;
      accent-color: var(--orange);
    }

    .actions a {
      color: var(--lilac);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .button {
      border: 0;
      border-radius: 12px;
      background: linear-gradient(180deg, #ff6a42, var(--orange));
      color: var(--ink);
      min-height: 56px;
      font: inherit;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 12px 26px rgba(255, 87, 40, 0.24);
      transition: background 0.2s ease, color 0.2s ease;
    }

    .button:hover {
      background: var(--cream);
      color: var(--ink);
    }

    .login-page .button:focus-visible,
    .login-page .back-link:focus-visible,
    .login-page .account-link:focus-visible,
    .login-page .actions a:focus-visible {
      outline: 3px solid rgba(243, 237, 228, 0.65);
      outline-offset: 3px;
    }

    .footer-note {
      margin: 0;
      color: var(--login-muted);
      font-size: 11px;
      line-height: 1.5;
    }

    @media (max-width: 940px) {
      body.login-page {
        padding: 16px;
      }

      .login-shell {
        min-height: unset;
        padding: 10px;
      }

      .login-card {
        grid-template-columns: 1fr;
      }

      .visual {
        min-height: 420px;
      }
    }

    @media (max-width: 640px) {
      .visual {
        padding: 20px;
      }

      .logo-badge {
        flex-direction: column-reverse;
        align-items: flex-start;
      }

      .logo-frame {
        width: min(220px, 72vw);
      }

      .form-panel {
        padding: 28px 22px 30px;
      }

      .row {
        grid-template-columns: 1fr;
      }

      .actions {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-height: 760px) and (min-width: 641px) {
      body.login-page {
        align-items: start;
      }

      .login-shell {
        margin: 16px auto;
      }
    }
