﻿:root {
  --paper: #f7f7f4;
  --paper-soft: rgba(255, 255, 255, 0.9);
  --ink: #262321;
  --muted: #797775;
  --line: rgba(38, 35, 33, 0.14);
  --metal: #777675;
  --signal: #ed1b2f;
  --focus: rgba(237, 27, 47, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 52% 46%, rgba(158, 141, 119, 0.16), transparent 24rem),
    linear-gradient(145deg, #ffffff 0%, #f7f7f4 46%, #e9e9e4 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 24px;
  isolation: isolate;
}

.site-shell::before {
  position: absolute;
  inset: 12px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(38, 35, 33, 0.07);
  pointer-events: none;
}

.timebar {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 6;
  color: rgba(38, 35, 33, 0.58);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
  min-height: 100svh;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    visibility 520ms ease;
}

.screen.is-active {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.home-screen {
  place-items: center;
}

.mark-stage {
  position: relative;
  display: grid;
  width: min(58vw, 300px);
  min-width: 178px;
  aspect-ratio: 1;
  place-items: center;
  perspective: 900px;
  perspective-origin: 50% 44%;
}

.mark-stage::before {
  position: absolute;
  inset: 10%;
  content: "";
  border: 1px solid rgba(38, 35, 33, 0.07);
  border-radius: 50%;
}

.logo-turntable {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: mark-turn 32s linear infinite;
}

.logo-turntable::after {
  position: absolute;
  inset: 28% 24%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 35, 33, 0.18), transparent 62%);
  filter: blur(22px);
  transform: translateY(64%) rotateX(82deg) translateZ(-42px);
}

.mirror-layer {
  position: absolute;
  inset: 0;
  overflow: visible;
  transform: translateZ(var(--z));
  transform-origin: 50% 50%;
  backface-visibility: visible;
}

.mirror-layer rect {
  fill: var(--shade);
}

.mirror-layer .signal {
  fill: var(--signal-shade);
}

.mirror-front {
  filter: drop-shadow(0 24px 44px rgba(38, 35, 33, 0.1));
}

@keyframes mark-turn {
  from {
    transform: rotateX(0deg) rotateY(0deg);
  }
  to {
    transform: rotateX(0deg) rotateY(360deg);
  }
}

.plain-action {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: rgba(38, 35, 33, 0.62);
  cursor: pointer;
  font-size: 14px;
  font-weight: 620;
  letter-spacing: 0;
}

.plain-action:hover,
.plain-action:focus-visible {
  color: var(--ink);
}

.more-action {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 5;
}

.home-action {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 7;
}

.menu-screen {
  align-content: end;
  gap: 72px;
  padding: 86px 24px 26px;
}

.quiet-line {
  width: min(430px, calc(100vw - 48px));
  margin: 0;
  color: rgba(38, 35, 33, 0.72);
  font-size: 20px;
  line-height: 1.25;
}

.entry-nav {
  display: grid;
  width: fit-content;
  gap: 10px;
}

.entry-link {
  display: inline-grid;
  width: fit-content;
  min-height: 34px;
  grid-template-columns: 9px auto;
  align-items: center;
  gap: 11px;
  padding: 4px 0;
  border: 0;
  color: rgba(38, 35, 33, 0.68);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.entry-link span {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(38, 35, 33, 0.42);
  background: transparent;
  transform: rotate(45deg);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.entry-link:hover,
.entry-link:focus-visible {
  color: var(--ink);
}

.entry-link:hover span,
.entry-link:focus-visible span {
  border-color: var(--signal);
  background: var(--signal);
  transform: rotate(45deg) scale(1.18);
}

.partner-login-screen,
.partner-workspace-screen {
  align-content: end;
  padding: 92px 24px 28px;
}

.partner-page {
  width: min(520px, calc(100vw - 48px));
}

.screen-kicker {
  margin: 0 0 12px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.partner-page h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 720;
  line-height: 1;
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.login-form input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.primary-action {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: var(--ink);
  cursor: pointer;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--signal);
  font-size: 13px;
}

.workspace-page {
  width: min(720px, calc(100vw - 48px));
}

.module-grid {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.module-tile {
  display: grid;
  min-height: 108px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(38, 35, 33, 0.54);
  cursor: not-allowed;
}

.module-tile span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
}

.module-tile strong {
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
}

.panel.is-open {
  display: block;
}

.panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(247, 247, 244, 0.7);
  backdrop-filter: blur(16px);
}

.panel-sheet {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: min(520px, calc(100vw - 28px));
  min-height: min(620px, calc(100svh - 28px));
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-soft);
  box-shadow: 0 24px 70px rgba(38, 35, 33, 0.15);
}

.panel-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: rgba(38, 35, 33, 0.58);
  cursor: pointer;
  font-size: 13px;
}

.panel-content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 78px 30px 30px;
}

.panel-kicker {
  margin: 0 0 12px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.panel h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1;
}

.panel p {
  max-width: 34rem;
  color: rgba(38, 35, 33, 0.72);
}

.podcast-content {
  justify-content: space-between;
}

.podcast-mark {
  position: relative;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #ff6900;
  color: #dffcff;
}

.podcast-mark::before,
.podcast-mark::after {
  position: absolute;
  content: "";
  background: #7d4df6;
  transform: rotate(23deg);
}

.podcast-mark::before {
  width: 148px;
  height: 48px;
}

.podcast-mark::after {
  width: 50px;
  height: 148px;
}

.podcast-mark strong {
  position: relative;
  z-index: 2;
  color: #d8fbff;
  font-size: 23px;
}

.burst {
  position: absolute;
  z-index: 1;
  clip-path: polygon(50% 0, 64% 38%, 100% 50%, 64% 62%, 50% 100%, 36% 62%, 0 50%, 36% 38%);
}

.burst-one {
  right: 10px;
  bottom: 14px;
  width: 54px;
  height: 54px;
  background: #ffea5d;
}

.burst-two {
  top: 12px;
  left: 16px;
  width: 68px;
  height: 68px;
  background: #ff8bed;
  opacity: 0.86;
}

.contact-content {
  gap: 22px;
}

.contact-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-row a {
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.contact-row a:hover {
  color: var(--signal);
}

.plain-action:focus-visible,
.entry-link:focus-visible,
.panel-close:focus-visible,
.primary-action:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .site-shell {
    padding: 18px;
  }

  .site-shell::before {
    inset: 10px;
  }

  .timebar {
    top: 18px;
    width: calc(100vw - 36px);
    font-size: 11px;
  }

  .screen {
    padding: 18px;
  }

  .mark-stage {
    width: min(66vw, 230px);
  }

  .more-action {
    right: 18px;
    bottom: 18px;
  }

  .home-action {
    top: 18px;
    left: 18px;
  }

  .menu-screen {
    gap: 58px;
    padding: 82px 18px 20px;
  }

  .quiet-line {
    width: min(360px, calc(100vw - 36px));
    font-size: 18px;
  }

  .partner-login-screen,
  .partner-workspace-screen {
    padding: 82px 18px 20px;
  }

  .partner-page,
  .workspace-page {
    width: min(520px, calc(100vw - 36px));
  }

  .partner-page h1 {
    font-size: 36px;
  }

  .panel-sheet {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    min-height: min(650px, calc(100svh - 20px));
  }

  .panel-content {
    padding: 72px 24px 26px;
  }

  .panel h2 {
    font-size: 34px;
  }
}

@media (min-width: 980px) {
  .site-shell {
    padding: 52px 64px;
  }

  .site-shell::before {
    inset: 18px;
  }

  .timebar {
    top: 32px;
  }

  .screen {
    padding: 52px 64px;
  }

  .mark-stage {
    width: min(34vw, 340px);
  }

  .more-action {
    right: 64px;
    bottom: 50px;
  }

  .home-action {
    top: 50px;
    left: 64px;
  }

  .menu-screen {
    padding: 120px 64px 52px;
  }

  .quiet-line {
    font-size: 24px;
  }

  .partner-login-screen,
  .partner-workspace-screen {
    padding: 120px 64px 52px;
  }

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

  .panel-sheet {
    right: 24px;
    bottom: 24px;
  }
}


/* Final visual pass */
.home-cta {
  position: fixed;
  left: 50%;
  bottom: 44px;
  z-index: 6;
  display: grid;
  justify-items: center;
  gap: 12px;
  transform: translateX(-50%);
  text-align: center;
}

.home-cta p {
  margin: 0;
  color: rgba(38, 35, 33, 0.74);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.more-action {
  position: static;
  min-height: 30px;
  padding: 0;
}

.quiet-line {
  width: min(560px, calc(100vw - 48px));
}

.site-shell[data-view="partner-workspace"] {
  background:
    linear-gradient(90deg, rgba(37, 111, 91, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 111, 91, 0.06) 1px, transparent 1px);
  background-size: 88px 88px;
}

.site-shell[data-view="partner-workspace"]::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(48, 142, 102, 0.18), transparent 18rem),
    radial-gradient(circle at 80% 78%, rgba(112, 184, 122, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(235, 248, 238, 0.34));
}

.partner-workspace-screen {
  place-items: center;
  align-content: center;
  padding: 92px 48px 60px;
}

.workspace-page {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100vw - 96px));
  text-align: center;
}

.workspace-page .screen-kicker {
  color: #1e7f5c;
}

.workspace-page h1 {
  margin: 0 auto;
  color: #183b31;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 760;
  line-height: 0.95;
}

.workspace-lede {
  width: min(720px, 100%);
  margin: 22px auto 0;
  color: rgba(24, 59, 49, 0.72);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.42;
}

.partner-workspace-screen .module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 58px auto 0;
}

.partner-workspace-screen .module-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  align-content: space-between;
  border-color: rgba(37, 111, 91, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(234, 247, 235, 0.64)),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 70px rgba(24, 59, 49, 0.11);
  text-align: left;
}

.partner-workspace-screen .module-tile::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  content: "";
  border: 1px solid rgba(37, 111, 91, 0.22);
  border-radius: 50%;
}

.partner-workspace-screen .module-tile::after {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 108px;
  height: 108px;
  content: "";
  border: 1px solid rgba(37, 111, 91, 0.16);
  border-radius: 50%;
}

.partner-workspace-screen .module-tile span {
  position: relative;
  z-index: 1;
  color: #173a31;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
}

.partner-workspace-screen .module-tile strong {
  position: relative;
  z-index: 1;
  color: rgba(30, 127, 92, 0.78);
  font-size: 13px;
}

.workspace-ornaments {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ornament-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 111, 91, 0.34), transparent);
}

.line-one {
  top: 22%;
  left: 8%;
  width: 34vw;
}

.line-two {
  right: 7%;
  bottom: 20%;
  width: 28vw;
}

.ornament-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c9a69;
  box-shadow: 0 0 0 10px rgba(44, 154, 105, 0.1);
}

.dot-one {
  top: 21.5%;
  left: 42%;
}

.dot-two {
  right: 32%;
  bottom: 19.5%;
}

.ornament-ring {
  position: absolute;
  top: 12%;
  right: 10%;
  width: min(22vw, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(37, 111, 91, 0.18);
  border-radius: 50%;
}

.ornament-ring::after {
  position: absolute;
  inset: 22%;
  content: "";
  border: 1px solid rgba(37, 111, 91, 0.12);
  border-radius: 50%;
}

@media (max-width: 720px) {
  .home-cta {
    bottom: 30px;
  }

  .home-cta p {
    font-size: 12px;
  }

  .quiet-line {
    width: min(390px, calc(100vw - 36px));
  }

  .partner-workspace-screen {
    padding: 86px 18px 24px;
    place-items: end stretch;
  }

  .workspace-page {
    width: min(520px, calc(100vw - 36px));
    text-align: left;
  }

  .workspace-page h1 {
    font-size: 42px;
  }

  .workspace-lede {
    margin-left: 0;
    font-size: 16px;
  }

  .partner-workspace-screen .module-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .partner-workspace-screen .module-tile {
    min-height: 136px;
  }

  .partner-workspace-screen .module-tile span {
    font-size: 24px;
  }

  .line-one,
  .line-two,
  .ornament-ring {
    display: none;
  }
}
