:root {
  --peel-highlight: #f4a42b;
  --peel-mid: #d97706;
  --peel-deep: #b45309;
  --dark: #0f1115;
  --panel: #1c1f24;
  --muted: #2a2d33;
  --ink: #f6efe4;
  --soft: rgba(246, 239, 228, 0.72);
  --line: rgba(244, 164, 43, 0.18);
  --cool: #7aa7ff;
  --ember: #ff6a3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--dark);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 164, 43, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(122, 167, 255, 0.1), transparent 24rem),
    linear-gradient(180deg, #0f1115 0%, #12100e 46%, #0f1115 100%);
  overflow-x: hidden;
  position: relative;
}

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

code {
  color: var(--peel-highlight);
  font: 0.95em ui-monospace, SFMono-Regular, Menlo, monospace;
}

#cider-river {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  background:
    linear-gradient(180deg, rgba(15, 17, 21, 0.88), rgba(15, 17, 21, 0.36) 66%, rgba(15, 17, 21, 0.08)),
    rgba(15, 17, 21, 0.16);
  backdrop-filter: blur(18px) saturate(118%);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
  backface-visibility: hidden;
  contain: paint;
  transform: translateZ(0);
  will-change: transform;
}

.brand-mark,
.site-header nav,
.header-actions,
.header-cta,
.social-token {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 0.65rem;
  font-weight: 700;
}

.brand-mark img {
  width: 1.65rem;
  height: 1.65rem;
}

.site-header nav {
  position: relative;
  gap: 1.25rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.site-header nav a {
  position: relative;
  isolation: isolate;
  border-radius: 999px;
  padding: 0.42rem 0.22rem;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.site-header nav a,
.nav-soon,
.nav-testing {
  white-space: nowrap;
}

.site-header nav a:hover {
  color: var(--ink);
}

.nav-soon,
.nav-testing {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.nav-soon {
  color: rgba(246, 239, 228, 0.5);
  cursor: default;
}

.site-header nav a.nav-soon {
  cursor: pointer;
}

.nav-testing {
  color: rgba(246, 239, 228, 0.72);
  padding-right: 1.1rem;
  transition: color 180ms ease;
}

.nav-testing:hover {
  color: var(--ink);
}

.site-header nav a.is-active {
  color: var(--ink);
  text-shadow: 0 0 18px rgba(244, 164, 43, 0.28);
}

.nav-current {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  width: var(--nav-current-width, 0);
  height: 2.35rem;
  border: 1px solid rgba(244, 164, 43, 0.14);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 185, 67, 0.34), transparent 0.52rem),
    linear-gradient(90deg, rgba(244, 164, 43, 0), rgba(244, 164, 43, 0.16) 28%, rgba(122, 167, 255, 0.08) 72%, rgba(244, 164, 43, 0));
  box-shadow:
    0 0 26px rgba(217, 119, 6, 0.16),
    0 0 0 1px rgba(246, 239, 228, 0.035) inset;
  opacity: var(--nav-current-opacity, 0);
  pointer-events: none;
  transform: translate3d(var(--nav-current-x, 0), -50%, 0) skewX(-9deg);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1),
    width 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.nav-soon small {
  border: 1px solid rgba(244, 164, 43, 0.22);
  border-radius: 999px;
  padding: 0.14rem 0.34rem;
  color: rgba(244, 164, 43, 0.78);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-testing small {
  position: absolute;
  top: -0.58rem;
  right: -0.34rem;
  border-radius: 999px;
  padding: 0.09rem 0.28rem 0.11rem;
  color: #211607;
  background: var(--peel-highlight);
  box-shadow:
    0 6px 18px rgba(217, 119, 6, 0.22),
    0 0 0 1px rgba(255, 231, 184, 0.26) inset;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 0.08rem;
  text-underline-offset: 0.12rem;
  text-transform: uppercase;
  transform: rotate(5deg);
}

.header-actions {
  justify-self: end;
  gap: 0.55rem;
}

.social-token {
  position: relative;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(246, 239, 228, 0.1);
  border-radius: 0.7rem;
  color: rgba(246, 239, 228, 0.74);
  background:
    linear-gradient(145deg, rgba(246, 239, 228, 0.09), rgba(246, 239, 228, 0.025)),
    rgba(28, 31, 36, 0.66);
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(244, 164, 43, 0.05) inset;
  transform: rotate(-7deg) translateZ(0);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.social-token:nth-child(2) {
  transform: rotate(6deg) translateY(0.08rem);
}

.social-token:nth-child(3) {
  transform: rotate(-4deg) translateY(-0.04rem);
}

.social-token:nth-child(4) {
  transform: rotate(5deg) translateY(0.08rem);
}

.social-token svg {
  width: 1.08rem;
  height: 1.08rem;
  fill: currentColor;
}

.social-token-soon {
  color: rgba(246, 239, 228, 0.42);
  opacity: 0.82;
}

.social-token-soon small,
.social-card-soon small {
  position: absolute;
  top: -0.52rem;
  right: -0.5rem;
  border-radius: 999px;
  padding: 0.1rem 0.3rem 0.12rem;
  color: #211607;
  background: var(--peel-highlight);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.24);
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 0.08rem;
  text-underline-offset: 0.12rem;
  text-transform: uppercase;
}

.social-token:not(.social-token-soon):hover {
  border-color: rgba(244, 164, 43, 0.34);
  color: var(--ink);
  box-shadow:
    0 18px 48px rgba(217, 119, 6, 0.15),
    0 0 0 1px rgba(244, 164, 43, 0.14) inset;
  transform: rotate(0deg) translateY(-0.12rem);
}

.header-cta {
  border: 1px solid rgba(244, 164, 43, 0.38);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(28, 31, 36, 0.72);
  box-shadow: 0 0 32px rgba(217, 119, 6, 0.12);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 5vw, 5rem);
  scroll-margin-top: 5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(24rem, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding-top: clamp(7rem, 13vw, 12rem);
}

.hero-copy,
.narrative,
.split-copy,
.section-heading,
.cta-copy {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--peel-highlight);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(4rem, 9vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: 0;
  max-width: 11ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
}

.lede,
.narrative p,
.split-copy p,
.ai-panel p,
.cta-copy p {
  color: var(--soft);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.62;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  min-height: 3.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 750;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.primary-cta {
  flex-direction: column;
  align-items: flex-start;
  min-width: 13rem;
  color: #16100a;
  background: linear-gradient(135deg, var(--peel-highlight), var(--peel-mid) 62%, var(--peel-deep));
  box-shadow:
    0 0 0 1px rgba(255, 231, 184, 0.34) inset,
    0 24px 74px rgba(217, 119, 6, 0.34);
}

.primary-cta:hover,
.secondary-cta:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.primary-cta:hover {
  box-shadow:
    0 0 0 1px rgba(255, 231, 184, 0.42) inset,
    0 30px 90px rgba(217, 119, 6, 0.42);
}

.primary-cta span {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.72;
}

.secondary-cta {
  border: 1px solid rgba(246, 239, 228, 0.16);
  color: var(--soft);
  background: rgba(28, 31, 36, 0.48);
}

.secondary-cta:hover,
.header-cta:hover {
  border-color: rgba(244, 164, 43, 0.44);
  box-shadow: 0 18px 54px rgba(217, 119, 6, 0.16);
}

.hero-stage {
  position: relative;
  min-height: 37rem;
  perspective: 1600px;
}

.intro-hero h1 {
  max-width: 10.8ch;
}

.app-window {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(246, 239, 228, 0.12);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(18, 20, 25, 0.98), rgba(9, 10, 13, 0.98)),
    var(--dark);
  box-shadow:
    0 0 0 1px rgba(244, 164, 43, 0.16) inset,
    -40px 50px 120px rgba(180, 83, 9, 0.22),
    46px 24px 130px rgba(122, 167, 255, 0.16);
  transform: translateZ(0);
}

.app-window-main {
  transform: translateX(-2.2rem) rotateX(8deg) rotateY(-13deg) rotateZ(2deg);
  transform-origin: center;
  width: min(50rem, 112%);
}

.screenshot-slot img {
  display: block;
  width: 100%;
  height: auto;
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.8rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(246, 239, 228, 0.08);
}

.window-chrome span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 99px;
  background: rgba(246, 239, 228, 0.28);
}

.window-chrome span:first-child {
  background: var(--ember);
}

.window-chrome span:nth-child(2) {
  background: var(--peel-highlight);
}

.window-chrome strong {
  margin-left: auto;
  color: rgba(246, 239, 228, 0.54);
  font-size: 0.82rem;
}

.app-shell {
  display: grid;
  grid-template-columns: 10rem 1fr;
  min-height: 29rem;
}

.app-shell aside {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.15rem;
  border-right: 1px solid rgba(246, 239, 228, 0.08);
  background: rgba(28, 31, 36, 0.56);
  color: rgba(246, 239, 228, 0.56);
}

.app-shell aside b {
  color: var(--ink);
}

.app-content {
  padding: 1.15rem;
}

.mock-search {
  height: 1.8rem;
  border-radius: 0.35rem;
  padding: 0.3rem 0.45rem;
  background: rgba(246, 239, 228, 0.08);
  color: rgba(246, 239, 228, 0.42);
  font-size: 0.75rem;
}

.mock-sidebar span {
  display: flex;
  justify-content: space-between;
  border: 1px solid rgba(246, 239, 228, 0.08);
  border-radius: 0.35rem;
  padding: 0.36rem 0.45rem;
  background: rgba(246, 239, 228, 0.045);
}

.mock-sidebar em {
  font-style: normal;
  opacity: 0.45;
}

.mock-spacer {
  flex: 1;
}

.mock-tabs {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(246, 239, 228, 0.08);
  padding-bottom: 0.75rem;
  color: rgba(246, 239, 228, 0.55);
  font-size: 0.8rem;
}

.mock-tabs b {
  color: var(--ink);
}

.mock-tabs em {
  margin-left: auto;
  color: rgba(246, 239, 228, 0.38);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.daily-brief,
.dashboard-grid article {
  border: 1px solid rgba(246, 239, 228, 0.1);
  border-radius: 0.7rem;
  background: linear-gradient(180deg, rgba(246, 239, 228, 0.075), rgba(246, 239, 228, 0.035));
}

.daily-brief {
  padding: 1rem;
}

.daily-brief small,
.dashboard-grid small {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(246, 239, 228, 0.38);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.daily-brief h3 {
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.08;
}

.daily-brief p,
.dashboard-grid p {
  margin: 0;
  color: rgba(246, 239, 228, 0.46);
  font-size: 0.76rem;
}

.daily-brief p b {
  color: rgba(246, 239, 228, 0.78);
}

.brief-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.brief-row span {
  border-radius: 0.5rem;
  padding: 0.7rem;
  background: rgba(246, 239, 228, 0.07);
  color: rgba(246, 239, 228, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.dashboard-grid article {
  min-height: 5.8rem;
  padding: 0.85rem;
}

.action-panel b,
.action-panel span {
  display: block;
}

.action-panel span {
  margin-top: 0.25rem;
  color: #ff4949;
  font-size: 0.72rem;
  font-weight: 900;
}

.days {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.days span,
.days b {
  display: grid;
  min-height: 2.3rem;
  place-items: center;
  border-radius: 0.4rem;
  background: rgba(246, 239, 228, 0.09);
}

.days b {
  color: #2a251d;
  background: #ead9b6;
}

.activity-panel {
  grid-column: 1 / -1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-height: 3rem;
}

.timeline i {
  display: block;
  height: 0.12rem;
  background: linear-gradient(90deg, rgba(69, 214, 111, 0.9), rgba(244, 164, 43, 0.55));
}

.web-product h1 {
  max-width: 12ch;
  font-size: clamp(3.35rem, 7.4vw, 7rem);
  line-height: 0.9;
}

.web-stage {
  min-height: 35rem;
}

.web-window {
  background:
    radial-gradient(circle at 74% 12%, rgba(122, 167, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(18, 20, 25, 0.98), rgba(9, 10, 13, 0.98)),
    var(--dark);
}

.web-brief {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 164, 43, 0.18), transparent 14rem),
    linear-gradient(180deg, rgba(246, 239, 228, 0.075), rgba(246, 239, 228, 0.035));
}

.web-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.web-preview-grid article {
  min-height: 7.1rem;
  border: 1px solid rgba(246, 239, 228, 0.1);
  border-radius: 0.7rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, rgba(246, 239, 228, 0.07), rgba(246, 239, 228, 0.03));
}

.web-preview-grid small {
  display: block;
  margin-bottom: 0.48rem;
  color: rgba(246, 239, 228, 0.38);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.web-preview-grid b,
.web-preview-grid span {
  display: block;
}

.web-preview-grid span {
  margin-top: 0.45rem;
  color: rgba(246, 239, 228, 0.46);
  font-size: 0.76rem;
  line-height: 1.4;
}

.web-flow {
  min-height: auto;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0), rgba(15, 17, 21, 0.76) 20%, rgba(15, 17, 21, 0.58) 82%, rgba(15, 17, 21, 0));
}

.web-flow .section-heading p {
  max-width: 52rem;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.62;
}

.web-access {
  display: grid;
  min-height: 84vh;
  place-items: center;
}

.web-access-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(100%, 76rem);
  border: 1px solid rgba(246, 239, 228, 0.11);
  border-radius: 0.85rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 164, 43, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 28%, rgba(122, 167, 255, 0.11), transparent 18rem),
    rgba(15, 17, 21, 0.72);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.3);
}

.web-access-panel h2 {
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

.web-access-panel p {
  max-width: 48rem;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.62;
}

.web-access-actions {
  display: grid;
  gap: 0.8rem;
  min-width: min(100%, 15rem);
}

.web-access-actions .primary-cta,
.web-access-actions .secondary-cta {
  width: 100%;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.product-section .narrative {
  align-self: center;
}

.macos-section {
  min-height: auto;
  padding-top: clamp(6rem, 9vw, 8rem);
}

.macos-vault {
  min-height: 86vh;
}

.ios-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 38%, rgba(122, 167, 255, 0.13), transparent 22rem),
    linear-gradient(180deg, rgba(15, 17, 21, 0), rgba(15, 17, 21, 0.72) 22%, rgba(15, 17, 21, 0.54) 82%, rgba(15, 17, 21, 0));
}

.ios-preview {
  display: grid;
  justify-items: center;
  perspective: 1300px;
}

.ios-device {
  position: relative;
  width: min(22rem, 76vw);
  aspect-ratio: 9 / 18.6;
  border: 1px solid rgba(246, 239, 228, 0.13);
  border-radius: 2.4rem;
  padding: 0.78rem;
  background:
    linear-gradient(145deg, rgba(246, 239, 228, 0.12), rgba(246, 239, 228, 0.02)),
    rgba(15, 17, 21, 0.92);
  box-shadow:
    0 0 0 1px rgba(244, 164, 43, 0.12) inset,
    -32px 42px 100px rgba(180, 83, 9, 0.22),
    36px 24px 110px rgba(122, 167, 255, 0.16);
  transform: rotateX(8deg) rotateY(-13deg) rotateZ(3deg);
}

.ios-notch {
  position: absolute;
  top: 1.05rem;
  left: 50%;
  z-index: 2;
  width: 6.2rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.92);
  transform: translateX(-50%);
}

.ios-screen {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 0.8rem;
  overflow: hidden;
  border-radius: 1.8rem;
  padding: 4rem 1.1rem 1.1rem;
  background:
    radial-gradient(circle at 30% 5%, rgba(244, 164, 43, 0.22), transparent 10rem),
    linear-gradient(180deg, rgba(28, 31, 36, 0.96), rgba(10, 11, 14, 0.98));
}

.ios-screen small {
  color: rgba(246, 239, 228, 0.46);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ios-screen h3 {
  max-width: 9ch;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  line-height: 0.95;
}

.ios-card {
  border: 1px solid rgba(246, 239, 228, 0.1);
  border-radius: 0.85rem;
  padding: 0.9rem;
  color: rgba(246, 239, 228, 0.78);
  background: rgba(246, 239, 228, 0.07);
  font-weight: 800;
}

.ios-tabbar {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: auto;
  border: 1px solid rgba(246, 239, 228, 0.08);
  border-radius: 1.1rem;
  padding: 0.8rem;
  background: rgba(15, 17, 21, 0.62);
}

.ios-tabbar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 99px;
  background: rgba(246, 239, 228, 0.28);
}

.ios-tabbar span:first-child {
  background: var(--peel-highlight);
}

.disabled-cta {
  opacity: 0.68;
  cursor: default;
}

.flow-card,
.feature,
.screenshot-slot {
  border: 1px solid rgba(246, 239, 228, 0.11);
  background: linear-gradient(180deg, rgba(28, 31, 36, 0.78), rgba(15, 17, 21, 0.6));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.shot-note {
  margin-top: 1rem;
  color: rgba(246, 239, 228, 0.46);
  font-size: 0.9rem;
}

.river-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
}

.flow-lanes {
  display: grid;
  gap: 1rem;
}

.flow-card,
.feature {
  border-radius: 0.55rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

.flow-card span {
  color: var(--peel-highlight);
  font-weight: 800;
}

.flow-card p,
.feature p,
.screenshot-slot figcaption {
  color: var(--soft);
  line-height: 1.58;
}

.vault {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}

.filesystem {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(244, 164, 43, 0.18);
  border-radius: 0.7rem;
  background:
    linear-gradient(180deg, rgba(28, 31, 36, 0.82), rgba(11, 12, 15, 0.82)),
    repeating-linear-gradient(0deg, rgba(246, 239, 228, 0.04), rgba(246, 239, 228, 0.04) 1px, transparent 1px, transparent 2.15rem);
  box-shadow: 0 26px 90px rgba(180, 83, 9, 0.14);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.tree-line {
  min-height: 2.15rem;
  color: var(--ink);
}

.tree-line.indent {
  padding-left: 1.4rem;
  color: #ffd99b;
}

.tree-line.indent-2 {
  padding-left: 2.8rem;
  color: rgba(246, 239, 228, 0.7);
}

.tree-line.muted {
  color: rgba(122, 167, 255, 0.8);
}

.screenshots {
  min-height: auto;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0), rgba(15, 17, 21, 0.86) 18%, rgba(15, 17, 21, 0.82) 84%, rgba(15, 17, 21, 0));
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 72rem);
  margin: 0 auto;
}

.screenshot-slot {
  align-self: start;
  margin: 0;
  overflow: hidden;
  border-radius: 0.65rem;
  padding: 0.75rem;
  background:
    linear-gradient(180deg, rgba(28, 31, 36, 0.92), rgba(15, 17, 21, 0.82)),
    rgba(15, 17, 21, 0.9);
  box-shadow:
    0 0 0 1px rgba(244, 164, 43, 0.08) inset,
    0 34px 100px rgba(0, 0, 0, 0.34);
}

.screenshot-slot.wide {
  grid-column: 1 / -1;
}

.screenshot-slot img {
  aspect-ratio: 16 / 10;
  border-radius: 0.45rem;
  object-fit: cover;
  object-position: center;
}

.screenshot-dashboard img {
  aspect-ratio: 16 / 8.6;
  object-position: center top;
}

.screenshot-library img {
  object-position: left top;
}

.screenshot-kanban img {
  object-position: center top;
}

.screenshot-slot figcaption {
  margin-top: 0.8rem;
  font-size: 0.94rem;
}

.features {
  min-height: auto;
}

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

.ai {
  display: grid;
  place-items: center;
}

.ai-panel {
  max-width: 62rem;
  border: 1px solid rgba(246, 239, 228, 0.11);
  border-radius: 0.85rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 16% 5%, rgba(244, 164, 43, 0.16), transparent 22rem),
    radial-gradient(circle at 80% 20%, rgba(122, 167, 255, 0.11), transparent 20rem),
    rgba(15, 17, 21, 0.72);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.3);
}

.ai-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.ai-modes span {
  border: 1px solid rgba(244, 164, 43, 0.2);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  color: rgba(246, 239, 228, 0.76);
  background: rgba(28, 31, 36, 0.62);
}

.final-cta {
  display: grid;
  min-height: 86vh;
  place-items: center;
  text-align: center;
}

.cta-copy {
  display: grid;
  justify-items: center;
}

.cta-copy img {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 32px rgba(244, 164, 43, 0.28));
}

.cta-copy .primary-cta {
  margin-top: 1.25rem;
  text-align: left;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.15rem;
  color: rgba(246, 239, 228, 0.54);
  font-size: 0.92rem;
  perspective: 900px;
}

.social-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  border: 1px solid rgba(246, 239, 228, 0.1);
  border-radius: 0.8rem;
  padding: 0.68rem 0.82rem;
  background:
    linear-gradient(145deg, rgba(246, 239, 228, 0.09), rgba(246, 239, 228, 0.025)),
    rgba(28, 31, 36, 0.58);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(244, 164, 43, 0.05) inset;
  transform: rotateX(10deg) rotateY(-10deg) rotateZ(-2deg);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.social-card:nth-child(2) {
  transform: rotateX(10deg) rotateY(10deg) rotateZ(2deg);
}

.social-card:nth-child(3) {
  transform: rotateX(9deg) rotateY(-7deg) rotateZ(1deg);
}

.social-card:nth-child(4) {
  transform: rotateX(9deg) rotateY(8deg) rotateZ(-1deg);
}

.social-card svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.social-row a.social-card {
  color: rgba(246, 239, 228, 0.78);
}

.social-row a.social-card:hover {
  border-color: rgba(244, 164, 43, 0.32);
  color: var(--ink);
  box-shadow:
    0 22px 52px rgba(217, 119, 6, 0.14),
    0 0 0 1px rgba(244, 164, 43, 0.14) inset;
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(-0.12rem);
}

.social-card-muted {
  color: rgba(246, 239, 228, 0.44);
  padding-right: 0.95rem;
  cursor: default;
}

.social-card-soon {
  opacity: 0.84;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0) scale(0.985);
  transition:
    opacity 800ms ease,
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .river-section,
  .vault,
  .product-section,
  .web-access-panel {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 28rem;
  }

  .app-window-main {
    width: 100%;
    transform: rotateX(4deg) rotateY(-4deg);
  }

  .ios-device {
    transform: rotateX(4deg) rotateY(-4deg);
  }

  .mock-tabs em {
    display: none;
  }

  .feature-grid,
  .shot-grid,
  .web-preview-grid {
    grid-template-columns: 1fr;
  }

  .web-access-actions {
    width: 100%;
  }

  .screenshot-slot.wide {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-cta {
    padding: 0.62rem 0.75rem;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.2rem, 13vw, 3.4rem);
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell aside {
    display: none;
  }

  .hero-stage {
    min-height: 24rem;
  }

  .app-window-main {
    transform: rotateX(2deg) rotateY(-2deg);
  }

  .mock-tabs {
    gap: 0.6rem;
    font-size: 0.72rem;
  }

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

  .activity-panel {
    display: none;
  }

  .screenshots {
    background: rgba(15, 17, 21, 0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #cider-river {
    display: none;
  }
}
