/* Homepage — ink canvas, plum accent, SMS lane as the only warm strip */
:root {
  --ink: #1c1612;
  --muted: rgba(246, 245, 243, 0.68);
  --line: rgba(246, 245, 243, 0.1);
  --paper: #1c1612;
  --mist: #261e1a;
  --accent: #7a2e4a;
  --accent-2: #5c2238;
  --accent-soft: rgba(122, 46, 74, 0.22);
  --sms-lane: #e8d9c4;
  --radius: 0;
  --gutter: 28px;
  --font: "IBM Plex Sans", "IBM Plex Sans Arabic", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body.home-page {
  margin: 0;
  font-family: var(--font);
  color: #f6f5f3;
  background: #1c1612;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wrap {
  width: min(1160px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.section { padding: 56px 0; }

em {
  font-style: normal;
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow.light { color: rgba(255, 255, 255, 0.72); }

.muted { color: var(--muted); }

/* Hero */
.hero-section {
  overflow: visible;
  background: #1c1612;
  padding: 28px 0 40px;
}

.hero-grid,
.hero-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.2fr);
  gap: 40px 56px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 0;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-tagline {
  margin: 10px 0 8px;
  max-width: 22em;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f6f5f3;
}

.hero-copy h1 {
  margin: 12px 0 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #f6f5f3;
}

.hero-slogan {
  margin: 0 0 1.1rem;
  max-width: 22em;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  color: rgba(246, 245, 243, 0.62);
}

.hero-byline {
  margin: 16px 0 0;
  color: rgba(246, 245, 243, 0.5);
  font-size: 0.85rem;
}

.hero-byline a {
  color: #e8c4d0;
  font-weight: 650;
  text-decoration: none;
}

.hero-byline a:hover { text-decoration: underline; }

.hero-actions,
.hero-waitlist,
.encrypt-card,
.flow-list li,
.connect-list li {
  display: flex;
  align-items: center;
}

.hero-actions { gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(122, 46, 74, 0.22);
}

.btn-outline {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid rgba(28, 22, 18, 0.22);
}

.btn-dark {
  background: #111827;
  color: #fff;
}

.btn-ghost-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.hero-waitlist { gap: 12px; margin-top: 28px; }
.hero-waitlist p { margin: 0; }
.hero-waitlist small { display: block; color: var(--muted); font-size: 0.8rem; }

.waitlist-dots { display: flex; }
.waitlist-dots span {
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #c4b8a8;
}
.waitlist-dots span:first-child { margin-left: 0; background: #e6ddd0; }
.waitlist-dots span:nth-child(2) { background: #a89078; }
.waitlist-dots span:nth-child(3) { background: #8a3d56; }
.waitlist-dots span:nth-child(4) { background: #7a2e4a; }

.app-deck,
.hero-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 82% 88% at 50% 50%, #000 46%, transparent 78%);
  mask-image: radial-gradient(ellipse 82% 88% at 50% 50%, #000 46%, transparent 78%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  background:
    radial-gradient(ellipse at 38% 50%, rgba(122, 46, 74, 0.38), transparent 58%),
    radial-gradient(ellipse at 62% 52%, rgba(232, 217, 196, 0.18), transparent 52%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.phone-frame {
  width: 168px;
  margin: 0;
}

.phone-frame--solo {
  width: min(280px, 100%);
}

.phone-frame figcaption {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 245, 243, 0.5);
}

.phone-bezel {
  border-radius: 28px;
  padding: 8px;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.phone-bezel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
  border-radius: 20px;
  background: #1a1a1a;
}

.orbit-dot {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--accent);
  font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
  animation: float-badge 4s ease-in-out infinite;
}

.orbit-dot--a { top: 36px; right: 36px; }
.orbit-dot--b { top: 150px; right: 0; animation-delay: 0.6s; }
.orbit-dot--c { bottom: 150px; left: 8px; animation-delay: 1.1s; }

.encrypt-card {
  position: absolute;
  right: 0;
  bottom: 48px;
  gap: 12px;
  width: min(260px, 100%);
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
  animation: float-badge 4.6s ease-in-out infinite 0.4s;
}

.encrypt-card i { font-size: 1.7rem; color: var(--accent); }
.encrypt-card strong,
.encrypt-card span { display: block; }
.encrypt-card span { color: var(--muted); font-size: 0.78rem; }

@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-link {
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}
.hero-link:hover { text-decoration: underline; }

.sms-core {
  background: transparent;
  padding: 48px 0 24px;
}

.app-points {
  padding: 8px 0 32px;
}
.app-points ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.app-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 16px;
  background: #261e1a;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.92rem;
}
.app-points i {
  color: var(--accent);
  font-size: 1.35rem;
  flex-shrink: 0;
}
.app-points strong { display: block; color: #f6f5f3; }

.features-section,
.connect-section {
  background: #1c1612;
}

.faq-section,
.creator-section {
  background: #1c1612;
}

/* Features mosaic */
.features-section { text-align: start; }
.features-section h2,
.faq-section h2,
.connect-section h2,
.split-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
}

.features-lead {
  margin: 0 auto 40px;
  max-width: 560px;
  color: var(--muted);
}

.feature-triples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: start;
  margin-top: 28px;
}
.feature-triples article {
  background: #261e1a;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
}
.feature-triples i {
  font-size: 1.7rem;
  color: var(--accent);
}
.feature-triples h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.feature-triples p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.home-more { margin: 28px 0 0; }

.scene-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  text-align: start;
}
.scene-row article { margin: 0; }
.scene-svg {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin-bottom: 12px;
}
.scene-row h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.scene-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dev-bar {
  padding: 8px 0 32px;
  border-top: 1px solid var(--line);
}
.dev-bar-who {
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.dev-bar-cite {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 42em;
}
.dev-bar-cite a { color: #e8c4d0; }

.privacy-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-areas:
    "e2e cloud offline"
    "e2e control default";
  gap: 16px;
  text-align: left;
}

.mosaic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.mosaic-card h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.mosaic-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.mosaic-card--e2e { grid-area: e2e; }
.mosaic-card--cloud { grid-area: cloud; }
.mosaic-card--offline { grid-area: offline; }
.mosaic-card--control { grid-area: control; }
.mosaic-card--default { grid-area: default; }

.mosaic-visual {
  position: relative;
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfaf6, #f3ebe0);
  overflow: hidden;
  margin-bottom: 8px;
}

.mosaic-card--e2e .mosaic-visual { min-height: 280px; }

.mosaic-phone {
  width: 132px;
  border-radius: 22px;
  padding: 6px;
  background: #111;
  transform: rotate(-8deg) translateY(24px);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.2);
}

.mosaic-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.mosaic-shield {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #a34d6c, #7a2e4a);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 12px 28px rgba(122, 46, 74, 0.35);
}

.mosaic-visual--flat {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
}

.mosaic-visual--flat i { font-size: 2.4rem; color: var(--accent); }
.mosaic-visual--flat img {
  width: 88px;
  height: 70px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  border: 3px solid #fff;
}

.mosaic-visual--icon,
.mosaic-visual--print {
  min-height: 120px;
  font-size: 3rem;
  color: var(--accent);
}

.mosaic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(122, 46, 74, 0.08);
}

.glass-panel p {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

.glass-panel ul { list-style: none; margin: 0; padding: 0; }
.glass-panel li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.glass-panel li span {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  position: relative;
}

.glass-panel li span::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
  padding: 18px 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.trust-strip i { color: var(--accent); font-size: 1.2rem; }

.icon-circle {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.45rem;
}

/* How it works + themes */
.split-section {
  background: #1c1612;
  color: #f8f4ed;
}
.split-section .eyebrow { color: #c47a93; }
.split-section h2 { color: #fffefb; }
.split-section h2 em { color: #c47a93; }
.split-section .muted { color: rgba(248, 244, 237, 0.72); }
.split-section .hero-link { color: #e8c4d0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.flow-list li,
.connect-list li { display: flex; align-items: center; gap: 14px; margin: 0; }
.flow-list i,
.connect-list i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, color 0.28s ease;
}

.flow-list li:hover i,
.connect-list li:hover i {
  transform: scale(1.1);
}

.split-section .flow-list li:hover i {
  background: rgba(255, 254, 251, 0.16);
}

.split-section .flow-list i {
  background: rgba(255, 254, 251, 0.08);
  color: #e8c4d0;
  border: 1px solid rgba(255, 254, 251, 0.14);
}

.themes-panel {
  background: linear-gradient(180deg, #5c2238, #7a2e4a);
  color: #fff;
  border-radius: 28px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(255, 254, 251, 0.12);
}

.themes-panel h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.themes-stage {
  height: 340px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.themes-ring {
  position: relative;
  width: 150px;
  height: 300px;
  transform-style: preserve-3d;
  animation: ring-rotate 16s linear infinite;
}

.ring-phone {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.ring-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.ring-phone--1 { transform: rotateY(0deg) translateZ(190px); }
.ring-phone--2 { transform: rotateY(90deg) translateZ(190px); }
.ring-phone--3 { transform: rotateY(180deg) translateZ(190px); }
.ring-phone--4 { transform: rotateY(270deg) translateZ(190px); }

@keyframes ring-rotate {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.themes-more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.plus-chip {
  display: inline-flex;
  flex-direction: column;
  font-size: 1.4rem;
  font-weight: 800;
}

.plus-chip small { font-size: 0.7rem; font-weight: 500; opacity: 0.8; }

/* Connect + FAQ */
.globe-visual { text-align: center; }
.globe-visual img { width: min(380px, 100%); height: auto; }

.faq-section h2 { text-align: center; }
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #261e1a;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}
.faq-item summary::after { content: "+"; color: var(--accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq-answer a { color: var(--accent); }

.creator-section h2 { text-align: center; }
.creator-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
}
.creator-card p { color: var(--muted); margin: 0 0 16px; }
.creator-card .creator-name { color: var(--ink); font-size: 1.15rem; }
.creator-card dl {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 8px 16px;
  margin: 0 0 16px;
}
.creator-card dt { color: var(--muted); font-size: 0.85rem; }
.creator-card dd { margin: 0; font-weight: 600; }
.creator-links { margin: 0; }
.creator-links a { color: var(--accent); font-weight: 650; }

.cta-band {
  background: #7a2e4a;
  color: #fffefb;
  padding: 56px 0;
  text-align: center;
}

.cta-inner i { font-size: 2rem; color: #fffefb; }
.cta-inner h2 { margin: 8px 0 8px; color: #fffefb; }
.cta-inner p { margin: 0 0 20px; color: rgba(255, 254, 251, 0.82); }
.cta-band .btn-dark {
  background: #fffefb;
  color: #7a2e4a;
}

/* First-visit send intro */
.wy-intro {
  display: none;
}
html.wy-intro-pending {
  overflow: hidden;
}
html.wy-intro-pending .wy-intro {
  display: flex !important;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  background: #1c1612;
  color: #f6f5f3;
  animation: wy-intro-fade 0.45s ease 2.35s forwards;
}
.wy-intro-stage {
  width: min(420px, calc(100% - 40px));
  text-align: center;
}
.wy-intro-kicker {
  margin: 0 0 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.wy-intro-svg {
  display: block;
  width: 100%;
  height: auto;
}
.wy-intro-line {
  margin: 18px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 245, 243, 0.55);
}
.wy-intro-on { color: #e8c4d0; }
.wy-intro-sms { color: #e8d9c4; }
.wy-intro-delivered {
  margin: 12px 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  opacity: 0;
  animation: wy-intro-show 0.4s ease 1.65s forwards;
}
.wy-intro-skip {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  border: 0;
  background: transparent;
  color: rgba(246, 245, 243, 0.55);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  z-index: 1;
}
.wy-intro-skip:hover { color: #f6f5f3; }
@keyframes wy-intro-show {
  to { opacity: 1; }
}
@keyframes wy-intro-fade {
  to { opacity: 0; visibility: hidden; }
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-card,
  .split-grid { grid-template-columns: 1fr; }
  .feature-triples,
  .app-points ul,
  .flow-list,
  .scene-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .hero-section { padding: 20px 0 28px; }
  .hero-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
  }
  .hero-stage {
    width: 100%;
    order: 0;
  }
  .hero-visual {
    width: 100%;
    margin-top: 4px;
  }
  .hero-visual img {
    max-height: 220px;
    width: 100%;
    object-fit: contain;
  }
  .hero-copy {
    padding: 8px 0 0;
    order: -1;
  }
  .hero-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
    margin: 10px 0 6px;
    letter-spacing: -0.045em;
  }
  .hero-tagline {
    margin: 0 0 12px;
  }
  .hero-slogan {
    color: rgba(246, 245, 243, 0.62);
    margin: 0 0 1.15rem;
  }
  .hero-actions { width: 100%; }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-band { padding: 40px 0; }
}

@keyframes card-cycle {
  0%, 4% { opacity: 0; transform: translateX(24px) scale(0.94); }
  8%, 22% { opacity: 1; transform: translateX(0) scale(1); }
  26%, 100% { opacity: 0; transform: translateX(-24px) scale(0.94); }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .privacy-mosaic {
    grid-template-columns: 1fr;
    grid-template-areas:
      "e2e"
      "cloud"
      "offline"
      "control"
      "default";
  }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .creator-card dl { grid-template-columns: 1fr; gap: 2px; }
  .creator-card dt { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.wy-intro-pending .wy-intro { animation: none; }
}
