/* Front Desk (TM) landing - Front&Centre brand system.
   Black canvas, real iridescent brand shapes, grain, Power Grotesk headers,
   Archivo body, and hand-built SaaS product mockups. */

@font-face {
  font-family: 'Power Grotesk';
  src: url('fonts/PowerGrotesk-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/Archivo-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/Archivo-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('fonts/Archivo-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

:root {
  --fc-black: #000000;
  --fc-offwhite: #f7f6f2;
  --fc-yellow: #ff9e29;
  --fc-orange: #ff5527;
  --fc-red: #ff2b15;
  --fc-pink: #ff4a82;
  --fc-fuchsia: #ff22a9;
  --fc-lilac: #f862ff;
  --fc-purple: #a700ff;
  --fc-blue: #6300ff;
  --fc-font-display: 'Power Grotesk', 'Arial Narrow', system-ui, sans-serif;
  --fc-font-body: 'Archivo', system-ui, -apple-system, sans-serif;
  --gutter: clamp(1.4rem, 5vw, 6rem);
  --maxw: 1200px;
  --panel: #0e0e13;
  --panel-2: #15151c;
  --line: rgba(247, 246, 242, 0.12);
  --muted: rgba(247, 246, 242, 0.62);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--fc-black);
  color: var(--fc-offwhite);
  font-family: var(--fc-font-body);
  font-weight: 200;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
sup {
  font-size: 0.52em;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.02em;
}
img {
  max-width: 100%;
  display: block;
}

/* --- Atmosphere: soft spectrum lighting (glow only) + real shapes + grain --- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.glow-1 {
  width: 60vw;
  height: 60vw;
  top: -25%;
  left: -12%;
  background: radial-gradient(circle, var(--fc-fuchsia), var(--fc-orange) 55%, transparent 78%);
}
.glow-2 {
  width: 52vw;
  height: 52vw;
  bottom: -28%;
  right: -14%;
  background: radial-gradient(circle, var(--fc-purple), var(--fc-blue) 55%, transparent 80%);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
}

/* Real brand shape (iridescent cube) used as decorative layering */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 30px 80px rgba(255, 34, 169, 0.25));
}

/* --- Layout --- */
.wrap {
  position: relative;
  z-index: 2;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section {
  padding-top: clamp(4rem, 10vw, 8.5rem);
  padding-bottom: clamp(4rem, 10vw, 8.5rem);
  position: relative;
}

/* --- Typography --- */
.display {
  font-family: var(--fc-font-display);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: 0;
}
h1.display {
  font-size: clamp(2.75rem, 7.2vw, 6.2rem);
}
h2.display {
  font-size: clamp(2rem, 5vw, 4rem);
}
h3.display {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}
.lede {
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  font-weight: 200;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 34rem;
  color: rgba(247, 246, 242, 0.86);
}
.body {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.62;
  max-width: 38rem;
  color: rgba(247, 246, 242, 0.8);
}
.med {
  font-weight: 500;
  color: var(--fc-offwhite);
}
.tag {
  font-family: var(--fc-font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.tag::before {
  content: '';
  width: 1.4em;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* --- Header / nav --- */
.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem var(--gutter);
}
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.brand-lockup .wordmark {
  font-family: var(--fc-font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0.005em;
  line-height: 0.9;
  color: var(--fc-offwhite);
}
.brand-lockup .byline {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.brand-lockup .byline .fc-logo {
  width: 94px;
  height: auto;
  opacity: 0.9;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 2.1rem);
}
.nav-link {
  color: rgba(247, 246, 242, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--fc-offwhite);
}
@media (max-width: 760px) {
  .nav-link.hide-sm {
    display: none;
  }
  .brand-lockup .wordmark {
    font-size: 1.5rem;
  }
}

/* --- Buttons --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.72em 1.5em;
  border: 1px solid var(--fc-offwhite);
  border-radius: 999px;
  font-family: var(--fc-font-body);
  font-weight: 500;
  font-size: 0.95rem;
  background: transparent;
  color: var(--fc-offwhite);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.pill:hover {
  background: rgba(247, 246, 242, 0.12);
  transform: translateY(-1px);
}
.pill-solid {
  background: var(--fc-offwhite);
  color: #0b0b0e;
  border-color: var(--fc-offwhite);
}
.pill-solid:hover {
  background: #fff;
}
.ghost {
  color: rgba(247, 246, 242, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  border-bottom: 1px solid rgba(247, 246, 242, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.ghost:hover {
  border-color: var(--fc-offwhite);
}

/* --- Hero --- */
.hero {
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  max-width: 13ch;
  margin-top: 1.4rem;
}
.hero .lede {
  margin-top: 1.7rem;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}
.hero-strap {
  margin-top: 2.2rem;
  font-family: var(--fc-font-display);
  text-transform: uppercase;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: 0.02em;
  color: rgba(247, 246, 242, 0.58);
}
.hero-visual {
  position: relative;
}
/* Let grid children shrink instead of forcing page-wide overflow from
   nowrap content inside the mockup. */
.hero-copy,
.hero-visual,
.app,
.row,
.split > *,
.security-grid > * {
  min-width: 0;
}
.app {
  max-width: 100%;
}
.hero-visual .shape {
  width: clamp(220px, 30vw, 420px);
  top: -14%;
  right: -12%;
  opacity: 0.9;
  z-index: 0;
  animation: float 11s ease-in-out infinite;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(6deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .shape,
  .shape {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-top: 1rem;
  }
  .hero-visual .shape {
    display: none;
  }
  .app {
    transform: none;
    max-width: 520px;
  }
}

/* --- Product mockup: the Front Desk app window --- */
.app {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(247, 246, 242, 0.14);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--panel) 0%, #0a0a0e 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transform-origin: center;
}
.app.flat {
  transform: none;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.dots {
  display: flex;
  gap: 0.4rem;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  opacity: 0.85;
}
.dots i:nth-child(1) { background: var(--fc-orange); }
.dots i:nth-child(2) { background: var(--fc-yellow); }
.dots i:nth-child(3) { background: var(--fc-lilac); }
.app-bar .app-name {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.app-bar .app-date {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Briefing strip */
.brief {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.brief .brief-label {
  font-family: var(--fc-font-display);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: rgba(247, 246, 242, 0.75);
}
.brief .stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(247, 246, 242, 0.82);
}
.brief .stat b {
  font-weight: 500;
}
.brief .stat i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}
.dot-need { background: var(--fc-pink); }
.dot-done { background: #3ddc97; }
.dot-flag { background: var(--fc-red); }

/* Message rows */
.rows {
  display: flex;
  flex-direction: column;
}
.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(247, 246, 242, 0.06);
}
.row:last-child { border-bottom: 0; }
.row.dim { opacity: 0.5; }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: #0b0b0e;
}
.av-1 { background: linear-gradient(135deg, var(--fc-pink), var(--fc-orange)); }
.av-2 { background: linear-gradient(135deg, var(--fc-lilac), var(--fc-purple)); color: var(--fc-offwhite); }
.av-3 { background: linear-gradient(135deg, var(--fc-yellow), var(--fc-orange)); }
.av-4 { background: rgba(247, 246, 242, 0.18); color: var(--fc-offwhite); }
.row .who {
  min-width: 0;
}
.row .who .sender {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .who .subject {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.28em 0.75em;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}
.chip-reply { background: rgba(255, 74, 130, 0.14); color: #ff86ab; border-color: rgba(255, 74, 130, 0.35); }
.chip-reply i { background: var(--fc-pink); }
.chip-action { background: rgba(255, 85, 39, 0.14); color: #ff8a63; border-color: rgba(255, 85, 39, 0.35); }
.chip-action i { background: var(--fc-orange); }
.chip-fyi { background: rgba(248, 98, 255, 0.12); color: #efa2ff; border-color: rgba(248, 98, 255, 0.32); }
.chip-fyi i { background: var(--fc-lilac); }
.chip-ignore { background: rgba(247, 246, 242, 0.08); color: var(--muted); border-color: rgba(247, 246, 242, 0.18); }
.chip-ignore i { background: rgba(247, 246, 242, 0.5); }

/* Safety flag banner inside a row */
.row.flagged {
  grid-template-columns: 1fr;
  gap: 0.6rem;
  background: rgba(255, 43, 21, 0.05);
}
.row .flag-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
}
.flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.72rem;
  font-weight: 500;
  color: #ff8674;
  padding: 0.35em 0.7em;
  border-radius: 8px;
  background: rgba(255, 43, 21, 0.12);
  border: 1px solid rgba(255, 43, 21, 0.4);
}
.flag svg { width: 13px; height: 13px; }

/* Expanded draft */
.row.expanded {
  grid-template-columns: 1fr;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}
.row .draft-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
}
.draft {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}
.draft .draft-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.draft p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(247, 246, 242, 0.9);
}
.draft-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.btn {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5em 1em;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fc-offwhite);
  cursor: default;
}
.btn-approve {
  background: #3ddc97;
  color: #08110c;
  border-color: #3ddc97;
}
.btn-edit {
  background: rgba(247, 246, 242, 0.08);
}

/* Floating side card for depth */
.float-card {
  position: absolute;
  z-index: 3;
  right: -8%;
  bottom: -13%;
  width: min(210px, 58%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: linear-gradient(160deg, var(--panel-2), #0b0b10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.float-card .fc-k {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.float-card .fc-big {
  font-family: var(--fc-font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1;
  margin: 0.35rem 0 0.15rem;
}
.float-card .fc-sub {
  font-size: 0.74rem;
  color: var(--muted);
}
@media (max-width: 520px) {
  .float-card {
    display: none;
  }
}

/* --- Split section --- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: start;
}
.split h2 {
  max-width: 15ch;
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* --- Feature cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.card {
  border: 1px solid rgba(247, 246, 242, 0.14);
  border-radius: 20px;
  padding: 1.9rem 1.7rem;
  background: rgba(247, 246, 242, 0.03);
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover {
  border-color: rgba(247, 246, 242, 0.4);
  transform: translateY(-4px);
}
.card .num {
  font-family: var(--fc-font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--fc-pink);
}
.card h3 {
  margin: 0.85rem 0 0.65rem;
}
.card p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(247, 246, 242, 0.78);
}
@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* --- Control chips row --- */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}
.chip-lg {
  border: 1px solid rgba(247, 246, 242, 0.3);
  border-radius: 999px;
  padding: 0.55em 1.3em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: 3rem;
}
.step {
  border-top: 1px solid rgba(247, 246, 242, 0.22);
  padding-top: 1.4rem;
}
.step .num {
  font-family: var(--fc-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: rgba(247, 246, 242, 0.5);
  line-height: 1;
}
.step h3 {
  margin: 0.75rem 0 0.55rem;
}
.step p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(247, 246, 242, 0.78);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* --- Bands --- */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Security section with shape */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.security-visual {
  position: relative;
  min-height: 220px;
}
.security-visual .shape {
  position: relative;
  width: clamp(180px, 26vw, 300px);
  margin-left: auto;
  opacity: 0.92;
  animation: float 13s ease-in-out infinite;
}
@media (max-width: 820px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
  .security-visual {
    display: none;
  }
}

/* --- Final CTA --- */
.final {
  position: relative;
  overflow: hidden;
}
.final h2 {
  max-width: 17ch;
}
.final .sub {
  font-family: var(--fc-font-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  color: rgba(247, 246, 242, 0.55);
  margin-top: 0.55rem;
}
.final .cta-row {
  margin-top: 2.3rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.final .strap {
  margin-top: 1.7rem;
  color: rgba(247, 246, 242, 0.6);
  letter-spacing: 0.01em;
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem var(--gutter);
  position: relative;
  z-index: 2;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.foot-inner .fc-logo {
  width: 128px;
}
.foot-inner p {
  font-size: 0.84rem;
  color: rgba(247, 246, 242, 0.55);
  max-width: 32ch;
}

/* --- Showcase: voice briefing + phone mockup --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 3rem;
}
@media (max-width: 860px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Voice "morning read" card */
.voice {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.7rem;
  background: linear-gradient(160deg, var(--panel-2), #0a0a0e);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  max-width: 34rem;
}
.voice-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.play {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #0b0b0e;
  background: linear-gradient(135deg, var(--fc-pink), var(--fc-orange));
  box-shadow: 0 10px 30px rgba(255, 74, 130, 0.35);
}
.play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}
.voice-meta {
  min-width: 0;
}
.voice-k {
  font-family: var(--fc-font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.voice-t {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}
.wave {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}
.wave i {
  width: 3px;
  height: 40%;
  border-radius: 2px;
  background: linear-gradient(var(--fc-lilac), var(--fc-pink));
  opacity: 0.85;
}
.wave i:nth-child(3n) { height: 70%; }
.wave i:nth-child(3n + 1) { height: 32%; }
.wave i:nth-child(4n) { height: 92%; }
.wave i:nth-child(5n) { height: 52%; }
.wave i:nth-child(7n) { height: 24%; }
@media (prefers-reduced-motion: no-preference) {
  .wave i {
    animation: wavepulse 1.4s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.06s);
  }
}
@keyframes wavepulse {
  0%, 100% { transform: scaleY(0.7); }
  50% { transform: scaleY(1.15); }
}
.voice-script {
  margin-top: 1.3rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  font-style: italic;
  color: rgba(247, 246, 242, 0.92);
}
.voice-script::before { content: '\201C'; }
.voice-script::after { content: '\201D'; }
.voice-caption {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Phone mockup */
.phone {
  position: relative;
  width: min(300px, 82%);
  margin: 0 auto;
  border-radius: 44px;
  padding: 11px;
  background: linear-gradient(165deg, #1c1c22, #08080b);
  border: 1px solid rgba(247, 246, 242, 0.16);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 26px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 4;
}
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #0b0b0f;
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.2rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(247, 246, 242, 0.85);
}
.phone-status .bars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.phone-status .bars b {
  font-weight: 500;
  font-size: 0.66rem;
}
.phone-title {
  text-align: center;
  padding: 0.2rem 0 0.7rem;
  font-family: var(--fc-font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--line);
}
/* Compact app inside the phone reuses the desktop app parts, flattened */
.phone .brief {
  padding: 0.75rem 0.9rem;
}
.phone .brief .brief-label {
  font-size: 0.74rem;
}
.phone .brief .stat {
  font-size: 0.7rem;
}
.phone .rows .row {
  padding: 0.7rem 0.9rem;
}
.phone .avatar {
  width: 28px;
  height: 28px;
  font-size: 0.6rem;
}
.phone .row .who .sender {
  font-size: 0.78rem;
}
.phone .row .who .subject {
  font-size: 0.7rem;
}
.phone .chip {
  font-size: 0.58rem;
  padding: 0.24em 0.6em;
}
.phone .draft {
  padding: 0.7rem 0.75rem;
}
.phone .draft p {
  font-size: 0.76rem;
}
.phone .btn {
  font-size: 0.68rem;
  padding: 0.45em 0.8em;
}

/* Device pairing note under the showcase */
.devices-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer brand lockup */
.foot-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.foot-brand .wordmark {
  font-family: var(--fc-font-display);
  text-transform: uppercase;
  font-size: 1.4rem;
  line-height: 0.9;
  color: var(--fc-offwhite);
}
.foot-brand .byline {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.foot-brand .byline .fc-logo {
  width: 90px;
}

/* --- Reveal on scroll (progressive; visible without JS) --- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
