:root {
  --bg: #f4f1ea;
  --ink: #111111;
  --muted: #62605b;
  --line: rgba(17, 17, 17, 0.08);
  --dark: #080808;
  --green: #10be81;
  --max: 1180px;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(
      circle at 80% 0%,
      rgba(16, 190, 129, 0.08),
      transparent 34%
    ),
    linear-gradient(180deg, #f4f1ea, #f9f7f1 48%, #f4f1ea);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 100;
  background-image: linear-gradient(
    115deg,
    rgba(0, 0, 0, 0.5),
    transparent 25%,
    rgba(0, 0, 0, 0.35) 50%,
    transparent 75%
  );
  mix-blend-mode: multiply;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(16, 190, 129, 0.12),
    transparent 62%
  );
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
}

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

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.58;
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.058em;
  line-height: 0.96;
  font-weight: 650;
}

h1 {
  font-size: clamp(4rem, 10.6vw, 9.4rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2.55rem, 5.1vw, 5.4rem);
}
h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section-pad {
  padding: clamp(78px, 11vw, 148px) 0;
}

/* Overflow safety: let grid/flex text columns shrink and wrap instead of
   pushing into neighbouring columns at intermediate widths. */
.hero-copy,
.statement-copy,
.statement-grid > div,
.alfred-intro,
.lyra-refined,
.wotiko-copy,
.person-copy,
.footer-brand {
  min-width: 0;
}
img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(244, 241, 234, 0.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.045);
}

.nav {
  height: 76px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 112px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  color: rgba(17, 17, 17, 0.66);
}

.nav-links a {
  position: relative;
  transition: color 220ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  appearance: none;
  padding: 8px 14px;
  font: inherit;
}
button {
  all: unset;
}

.hero {
  height: 100vh;
  min-height: auto;
  padding: 76px 0 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: auto 470px;
  justify-content: center;
  gap: 64px;
  align-items: center;
  width: min(calc(100% - 60px), 1600px);
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
  }
}

.eyebrow,
.group-label,
.lyra-refined span,
.command-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: rgba(17, 17, 17, 0.58) !important;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 500;
}

.eyebrow {
  margin-bottom: 24px;
}
.countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(17, 17, 17, 0.58);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-weight: 500;
}

.countdown-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
/* Overrides for dark backgrounds */
.statement .eyebrow,
.wotiko-copy .eyebrow,
.command-label {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68) !important;
}

.hero h2 {
  font-size: clamp(2.55rem, 5.1vw, 5.4rem);
  line-height: 1.12;
  letter-spacing: -0.058em;
  font-weight: 650;
}

.hero-subtext {
  max-width: 600px;
  margin-top: clamp(10px, 2vh, 20px);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(17, 17, 17, 0.64);
  line-height: 1.5;
}

.hero-system {
  height: auto;
  min-height: 410px;
  border-radius: 36px;
  background: radial-gradient(
      circle at 80% 16%,
      rgba(16, 190, 129, 0.14),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.48)
    );
  border: 1px solid rgba(17, 17, 17, 0.075);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: clamp(20px, 2vw, 28px);
  display: grid;
  align-content: space-between;
  gap: 20px;
  transform-style: preserve-3d;
}

.system-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(17, 17, 17, 0.54);
  font-size: 0.9rem;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(16, 190, 129, 0.12);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero-card-center {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: 10px 18px;
}

.core {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}
.wotiko-core {
  padding: 18px;
}
.core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card-copy span,
.footer-bottom span {
  display: block;
  color: rgba(17, 17, 17, 0.48);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-card-copy strong {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin-bottom: 8px;
}
.hero-card-copy p {
  max-width: 260px;
  margin: 0 auto;
  font-size: 0.92rem;
}

.signal-list {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 8px;
}
.signal-list div:nth-child(2) {
  padding-left: 12px;
  padding-right: 12px;
}
.signal-list div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(17, 17, 17, 0.055);
}
.signal-list p {
  margin: 0;
  color: rgba(17, 17, 17, 0.7);
  font-size: 0.64rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  white-space: nowrap;
}

.mini-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.mini-mark svg,
.mini-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.statement {
  background: #0b0b0b;
  color: white;
}
.statement-grid,
.alfred-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 60px;
  align-items: end;
}
.statement-grid > .reveal:first-child {
  min-width: 0;
}
.statement-grid {
  padding-top: calc(0.32 * clamp(2.55rem, 5.1vw, 5.4rem));
  padding-bottom: calc(0.32 * clamp(2.55rem, 5.1vw, 5.4rem));
  align-items: center;
}
.statement h2 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
  line-height: 1.12;
}
.statement p,
.statement .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.statement-copy {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 30px;
  margin-top: 50px;
  min-width: 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 56px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.principle-card {
  min-height: 280px;
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}
.principle-card:hover,
.person-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.11);
}

.art {
  width: 84px;
  height: 84px;
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.art img {
  width: 84px;
  height: 84px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.art-wait span:nth-child(1) {
  inset: 0 auto auto 0;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(16, 190, 129, 0.85);
  border-radius: 50%;
}
.art-wait span:nth-child(2) {
  left: 21px;
  top: 9px;
  width: 2px;
  height: 13px;
  background: rgba(16, 190, 129, 0.85);
  transform-origin: bottom center;
  transform: rotate(25deg);
}
.art-wait span:nth-child(3) {
  left: 21px;
  top: 21px;
  width: 11px;
  height: 2px;
  background: rgba(16, 190, 129, 0.85);
}

.art-concierge span:nth-child(1) {
  left: 0;
  top: 18px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(16, 190, 129, 0.85);
  border-radius: 50%;
}
.art-concierge span:nth-child(2) {
  left: 20px;
  top: 8px;
  width: 22px;
  height: 30px;
  border: 2px solid rgba(16, 190, 129, 0.85);
  border-left: 0;
  border-right: 0;
  border-radius: 0 0 20px 20px;
}
.art-concierge span:nth-child(3) {
  right: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(16, 190, 129, 0.18);
  box-shadow: 0 0 0 2px rgba(16, 190, 129, 0.85) inset;
}

.art-flow span:nth-child(1),
.art-flow span:nth-child(2),
.art-flow span:nth-child(3) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(16, 190, 129, 0.95);
}
.art-flow span:nth-child(1) {
  left: 2px;
  top: 18px;
}
.art-flow span:nth-child(2) {
  left: 24px;
  top: 4px;
}
.art-flow span:nth-child(3) {
  left: 46px;
  top: 24px;
}
.art-flow span:nth-child(4) {
  left: 7px;
  top: 10px;
  width: 42px;
  height: 18px;
  border-top: 2px solid rgba(16, 190, 129, 0.85);
  border-right: 2px solid rgba(16, 190, 129, 0.85);
  transform: skewX(-20deg);
}

.index {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  line-height: 1;
  font-weight: 500;
}
.principle-card h3 {
  margin-bottom: 14px;
}

.alfred {
  background: radial-gradient(
      circle at 84% 12%,
      rgba(16, 190, 129, 0.07),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.42),
      rgba(255, 255, 255, 0.18)
    );
}

.alfred-refined {
  display: grid;
  gap: 42px;
}

.alfred-intro {
  max-width: 940px;
}

.alfred-intro h2 {
  letter-spacing: -0.072em;
}

.alfred-bowtie {
  display: inline-block;
  height: 0.64em;
  width: auto;
  margin-left: 0.16em;
  vertical-align: baseline;
  position: relative;
  top: 0.04em;
}

.alfred-intro p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.alfred-system {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.alfred-command {
  border-radius: 34px;
  background: linear-gradient(180deg, #ffffff, #f2f5f1);
  color: #111;
  padding: clamp(30px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(26px, 3.4vw, 42px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow);
}

.alfred-command::before {
  display: none;
}

.command-label {
  margin-bottom: 26px;
}

.alfred-command strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.alfred-command p {
  position: relative;
  z-index: 1;
  color: rgba(17, 17, 17, 0.6);
  margin: 0;
  max-width: 300px;
}

.alfred-sequence {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.alfred-sequence article {
  min-height: 112px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.06);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 48px 0.42fr 1fr;
  gap: 18px;
  align-items: center;
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.alfred-sequence article:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.09);
}

.alfred-sequence span {
  color: rgba(17, 17, 17, 0.42);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.alfred-sequence p {
  margin: 0;
  font-size: 0.98rem;
}

.alfred-header-grid {
  display: block;
}

.lyra-refined {
  border-radius: 34px;
  padding: clamp(30px, 4vw, 42px);
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.lyra-headline {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
}

.lyra-refined span {
  margin: 0;
  padding: 0;
  width: auto;
  border: none;
  background: none;
  box-shadow: none;
  text-transform: none;
  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1;
}

.lyra-refined p {
  margin: 0;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.58;
  text-wrap: balance;
}

.wotiko-panel {
  border-radius: 48px;
  background: radial-gradient(
      circle at 76% 24%,
      rgba(16, 190, 129, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 18% 94%,
      rgba(255, 255, 255, 0.12),
      transparent 32%
    ),
    linear-gradient(135deg, #050505, #121212);
  color: white;
  padding: clamp(36px, 4.4vw, 56px) clamp(34px, 6vw, 78px);
  display: grid;
  grid-template-columns: 0.78fr 1.08fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.wotiko-panel::after {
  display: none;
}
.wotiko-copy,
.phone-stage {
  position: relative;
  z-index: 1;
}
.wotiko-copy .eyebrow,
.wotiko-copy p {
  color: rgba(255, 255, 255, 0.72);
}

/* Left content rhythm: badge -> wordmark -> heading -> description -> CTA */
.wotiko-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 2.4vw, 30px);
}
.wotiko-copy .eyebrow {
  margin-bottom: 0;
}
.wotiko-copy p {
  margin: 0;
}

.wotiko-wordmark {
  width: min(220px, 66vw);
  display: block;
  margin: 0;
  transform: translateX(-10.46%);
}
.wotiko-copy h2 {
  margin-bottom: 0;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.04;
}
/* Small extra separation before the CTA for hierarchy */
.wotiko-copy .ghost-button {
  margin-top: 6px;
}
.ghost-button {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(12px);
  font-size: 0.94rem;
  transition: transform 220ms ease, background 220ms ease;
}
.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.phone-stage {
  min-height: 560px;
  display: grid;
  place-items: center;
}
.phone-frame {
  position: absolute;
  width: 220px;
  aspect-ratio: 410 / 891;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.45);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 900ms ease;
}
.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone-main {
  z-index: 4;
  width: 250px;
  transform: translateY(14px) scale(0.96);
  opacity: 0;
}
.phone-left {
  z-index: 2;
  left: 20px;
  transform: translate(80px, 34px) rotate(-8deg) scale(0.82);
  opacity: 0;
}
.phone-right {
  z-index: 3;
  right: 8px;
  transform: translate(-80px, 52px) rotate(8deg) scale(0.82);
  opacity: 0;
}
.phone-stage.visible-ui .phone-main {
  transform: translateY(-12px) scale(1);
  opacity: 1;
}
.phone-stage.visible-ui .phone-left {
  transform: translate(0, 36px) rotate(-8deg) scale(0.82);
  opacity: 0.62;
}
.phone-stage.visible-ui .phone-right {
  transform: translate(0, 52px) rotate(8deg) scale(0.82);
  opacity: 0.72;
}
.screen-caption {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(18px);
  width: min(380px, 90%);
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 700ms ease 500ms, transform 700ms ease 500ms;
}
.phone-stage.visible-ui .screen-caption {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.screen-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.screen-caption p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 0.98rem;
}

.people {
  background: rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(17, 17, 17, 0.05);
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}
.people-intro {
  max-width: none;
  margin-bottom: 56px;
}
.people-intro h2 {
  margin-bottom: 26px;
  max-width: none;
  text-wrap: balance;
}
/* Intro paragraph stays readable but spans with the layout */
.people-intro p {
  max-width: 720px;
  text-wrap: balance;
}
.group-label {
  margin: 0 0 16px;
}
.people-group + .people-group {
  margin-top: 28px;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.person-card {
  min-height: 228px;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 22px;
  align-items: start;
  padding: clamp(18px, 2.5vw, 24px) clamp(18px, 2.5vw, 24px)
    clamp(26px, 4vw, 36px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.075);
  box-shadow: var(--shadow);
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}
.person-card.muted-card {
  background: rgba(248, 246, 241, 0.82);
}
.portrait {
  width: 108px;
  height: 108px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
}
.portrait-top {
  object-position: center top;
}
.person-copy {
  padding: 2px 4px 0 0;
}
.role,
.founder-tags span {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.76rem;
}
.role {
  margin-bottom: 18px;
}
.person-card h3 {
  margin-bottom: 12px;
  letter-spacing: -0.045em;
}
.person-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.48;
  text-wrap: pretty;
}

.founder {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.4)
  );
}
.founder-panel {
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
  padding: 38px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: var(--shadow);
}
.founder-copy h2 {
  margin-bottom: 24px;
}
.founder-portrait {
  width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.06);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.future-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.future-copy h2 {
  margin-bottom: 22px;
}

.footer {
  padding: 0 0 44px;
  background: radial-gradient(
      circle at 12% 24%,
      rgba(16, 190, 129, 0.1),
      transparent 24%
    ),
    radial-gradient(
      circle at 88% 14%,
      rgba(255, 255, 255, 0.72),
      transparent 24%
    ),
    #f0ece3;
}
.footer-shell {
  padding-top: 42px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}
.footer-brand img {
  width: 150px;
  display: block;
  margin-bottom: 18px;
}
.footer-brand p {
  max-width: 380px;
  margin: 0;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 18px 24px;
  align-items: center;
  color: rgba(17, 17, 17, 0.64);
  font-size: 0.94rem;
}
.footer-divider {
  height: 1px;
  background: rgba(17, 17, 17, 0.08);
  margin: 34px 0 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.footer-bottom p {
  margin: 0;
  max-width: 520px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.22;
  color: rgba(17, 17, 17, 0.74);
}
.footer-bottom span {
  margin: 0;
  text-align: right;
}
.footer-bottom .footer-copyright {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.86rem;
  color: rgba(17, 17, 17, 0.5);
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer-legal a {
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: normal;
  transition: color 220ms ease;
}
.footer-legal a:hover {
  color: var(--ink);
}
.footer-legal .footer-legal-sep {
  display: inline;
  margin: 0;
  text-align: center;
  color: rgba(17, 17, 17, 0.26);
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: normal;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 110ms;
}
.delay-2 {
  transition-delay: 220ms;
}

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(16, 190, 129, 0.12);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(16, 190, 129, 0.04);
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .statement-grid,
  .principles-grid,
  .alfred-grid,
  .wotiko-panel,
  .people-grid,
  .footer-top,
  .footer-bottom,
  .alfred-header-grid,
  .alfred-system,
  .lyra-body {
    grid-template-columns: 1fr;
  }

  .statement-copy,
  .lyra-refined p {
    border-left: 0;
    padding-left: 0;
  }
  .statement-copy {
    margin-top: 0;
  }

  /* Approach heading wraps naturally once stacked (no horizontal overflow) */
  .statement h2 {
    white-space: normal;
  }
  .statement-grid {
    padding-top: 0;
    padding-bottom: 0;
  }

  .founder-panel {
    grid-template-columns: 1fr;
    width: min(calc(100% - 40px), 680px);
  }
  .founder-portrait {
    width: 100%;
    max-width: 320px;
  }

  .hero {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
    padding-top: 110px;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
  }

  .hero-system {
    height: auto;
    min-height: auto;
    padding: 18px;
  }
  .core {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    padding: 12px;
  }
  .hero-card-copy strong {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }
  .signal-list div {
    padding: 14px 6px;
    border-radius: 14px;
    gap: 8px;
  }
  .phone-stage {
    min-height: 560px;
  }
  .phone-left {
    left: 12%;
  }
  .phone-right {
    right: 12%;
  }

  .footer-nav {
    grid-template-columns: repeat(3, auto);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .footer-bottom-right {
    align-items: flex-start;
  }

  /* Legal pages on tablet */
  .legal {
    padding-top: calc(76px + 46px);
  }
}

/* Hamburger menu on tablet and mobile */
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 720px) {
  .brand img {
    width: 102px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5.4rem);
  }
  .section-pad {
    padding: 78px 0;
  }
  .wotiko-panel {
    border-radius: 32px;
  }

  /* Alfred cards: full-width text and tighter radius on phones */
  .alfred-command p {
    max-width: none;
  }
  .alfred-command,
  .lyra-refined {
    border-radius: 26px;
  }
  .lyra-refined p {
    max-width: none;
  }
  .wotiko-copy h2 {
    white-space: normal;
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  /* Cards size to their content when stacked on phones */
  .principle-card {
    min-height: auto;
    padding: 24px;
  }
  .person-card {
    min-height: auto;
  }
  .founder-panel {
    padding: 26px;
  }

  .phone-frame {
    width: 190px;
  }
  .phone-main {
    width: 220px;
  }
  .phone-left {
    left: -12px;
  }
  .phone-right {
    right: -12px;
  }

  .person-card {
    grid-template-columns: 82px 1fr;
    gap: 16px;
  }
  .portrait {
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, auto);
  }
  .footer-bottom span {
    text-align: left;
  }

  /* Legal pages on phones */
  .legal {
    padding-top: calc(76px + 34px);
    padding-bottom: 66px;
  }
  .legal-body h2 {
    margin-top: 30px;
  }
  .legal-contact {
    border-radius: 18px;
  }
}

/* Small phones: prevent cramped overflow in tight columns */
@media (max-width: 480px) {
  .container,
  .nav {
    width: calc(100% - 32px);
  }

  .nav-links {
    left: 16px;
    right: 16px;
  }

  .system-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .countdown-pill {
    margin-top: 10px;
  }
  /* Hero signal labels wrap instead of overflowing their narrow tiles */
  .signal-list p {
    white-space: normal;
  }
  .signal-list div {
    padding: 12px 4px;
  }

  .hero h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }
  .hero-card-copy p {
    font-size: 0.86rem;
  }

  /* Stack person cards vertically so the text never gets squeezed */
  .person-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .portrait {
    width: 92px;
    height: 92px;
  }

  .principle-card,
  .alfred-command,
  .lyra-refined {
    padding: 22px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, auto);
  }
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: rgba(17, 17, 17, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  transition: opacity 220ms ease;
}
.footer-linkedin svg {
  display: block;
  color: #0a66c2;
}
.footer-linkedin:hover {
  opacity: 0.7;
}

/* Legal pages (Privacy / Terms) */
.legal {
  padding-top: calc(76px + clamp(54px, 8vw, 104px));
  padding-bottom: clamp(70px, 9vw, 120px);
}
.legal-shell {
  max-width: 840px;
}
.legal-shell h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 18px 0 14px;
}
.legal-meta {
  color: rgba(17, 17, 17, 0.5);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  margin: 0;
}
.legal-intro {
  margin-top: 22px !important;
  max-width: 760px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.72);
}
.legal-body {
  margin-top: clamp(34px, 4.5vw, 52px);
}
.legal-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: clamp(34px, 4vw, 46px) 0 14px;
}
.legal-body h3 {
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: rgba(17, 17, 17, 0.92);
  margin: 24px 0 10px;
}
.legal-body p {
  color: rgba(17, 17, 17, 0.7);
  margin: 0 0 14px;
  max-width: 760px;
}
.legal-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
  max-width: 760px;
  color: rgba(17, 17, 17, 0.7);
}
.legal-body li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.legal-body li::marker {
  color: var(--green);
}
.legal-body a {
  color: var(--green);
  transition: opacity 220ms ease;
}
.legal-body a:hover {
  opacity: 0.72;
}
.legal-contact {
  margin-top: clamp(34px, 4vw, 46px);
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
}
.legal-contact p {
  margin: 0 0 4px;
}

/* Avoid single-word orphans hanging on the last line */
.legal-intro,
.legal-body p,
.legal-body li {
  text-wrap: pretty;
}
.legal-shell h1,
.legal-body h2,
.legal-body h3 {
  text-wrap: balance;
}
