:root {
  --ink: #1f1b18;
  --muted: #716a65;
  --paper: #f6f1eb;
  --paper-deep: #ece1d7;
  --rose: #b98c79;
  --rose-dark: #8f6656;
  --line: rgba(31, 27, 24, 0.13);
  --white: #fffdfb;
  --shadow: 0 28px 90px rgba(62, 40, 30, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 5%, rgba(255,255,255,.95), transparent 30%),
    linear-gradient(140deg, #f8f4ef 0%, var(--paper) 48%, #efe4dc 100%);
  font-family: "DM Sans", system-ui, sans-serif;
}

button, input { font: inherit; }
a { color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
  opacity: .55;
}
.orb-one { width: 420px; height: 420px; right: -180px; top: 90px; background: rgba(185,140,121,.22); }
.orb-two { width: 300px; height: 300px; left: -130px; bottom: 30px; background: rgba(255,255,255,.8); }

.shell { width: min(1180px, calc(100% - 42px)); margin-inline: auto; }
.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.brand {
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  text-decoration: none;
  letter-spacing: -.045em;
}

.header-cta {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .78rem 1.18rem;
  font-size: .88rem;
  font-weight: 600;
  transition: .25s ease;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(14px);
}
.header-cta:hover { transform: translateY(-2px); border-color: rgba(31,27,24,.3); }

.hero {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding-block: 80px 92px;
  position: relative;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--rose-dark);
  font-size: .75rem;
  font-weight: 600;
  margin: 0 0 28px;
}
.eyebrow span { width: 34px; height: 1px; background: currentColor; }

h1 {
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(4rem, 7.1vw, 7.4rem);
  line-height: .91;
  letter-spacing: -.06em;
  font-weight: 400;
  max-width: 760px;
  margin: 0;
}

.intro {
  max-width: 610px;
  color: var(--muted);
  line-height: 1.72;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  margin: 32px 0 28px;
}

.waitlist-form { max-width: 620px; }
.input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 7px;
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(31,27,24,.12);
  box-shadow: 0 18px 50px rgba(67,47,37,.08);
  backdrop-filter: blur(20px);
}
.input-wrap input {
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 16px;
  min-width: 0;
  color: var(--ink);
}
.input-wrap input::placeholder { color: #958d87; }
.input-wrap button {
  border: 0;
  cursor: pointer;
  color: white;
  background: var(--ink);
  border-radius: 12px;
  padding: 1rem 1.3rem;
  font-weight: 600;
  transition: .25s ease;
  white-space: nowrap;
}
.input-wrap button:hover { background: var(--rose-dark); transform: translateY(-1px); }
.input-wrap button:disabled { opacity: .65; cursor: wait; }

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: .78rem;
  margin: 12px 4px 0;
  cursor: pointer;
}
.consent input { accent-color: var(--ink); margin-top: 2px; }
.form-message { min-height: 22px; margin: 8px 4px 0; font-size: .82rem; color: var(--rose-dark); }

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}
.feature-strip span {
  padding: .6rem .82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  color: #5f5751;
  background: rgba(255,255,255,.32);
}

.product-stage {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.product-stage::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff 0%, #ead8cc 46%, rgba(187,142,121,.24) 73%, transparent 74%);
  z-index: -2;
  box-shadow: inset 0 0 90px rgba(255,255,255,.65);
}

.phone {
  width: 324px;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(145deg, #1d1a18, #4b4642 45%, #151311);
  box-shadow: 0 42px 90px rgba(50,32,24,.3), inset 0 0 0 1px rgba(255,255,255,.14);
  transform: rotate(2.1deg);
  position: relative;
  z-index: 3;
}
.phone-screen {
  min-height: 632px;
  overflow: hidden;
  border-radius: 38px;
  background: #faf7f3;
  padding: 18px 15px 10px;
  position: relative;
}
.phone-notch {
  position: absolute;
  width: 104px;
  height: 27px;
  border-radius: 999px;
  background: #151311;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
}
.app-topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 3px 16px; }
.app-brand { font-family: "Italiana", serif; font-size: 1.72rem; }
.avatar, .creator-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d9b7a8, #8f6656);
  color: white;
  font-weight: 600;
}
.avatar { width: 30px; height: 30px; font-size: .72rem; }
.story-row { display: flex; gap: 10px; padding: 0 2px 14px; overflow: hidden; }
.story {
  width: 54px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid #fff;
  outline: 1px solid #bd8f7c;
  background: linear-gradient(140deg, #d9c2b6, #7f5747);
}
.story-two { background: linear-gradient(140deg, #31302f, #b98c79); }
.story-three { background: linear-gradient(140deg, #eee1d7, #9f7664); }
.story-four { background: linear-gradient(140deg, #795044, #ead9ce); }

.post-card { background: white; border: 1px solid rgba(31,27,24,.08); border-radius: 20px; overflow: hidden; box-shadow: 0 16px 36px rgba(70,48,38,.08); }
.post-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 12px; }
.creator-avatar { width: 34px; height: 34px; font-size: .62rem; }
.post-head strong { display: block; font-size: .75rem; }
.post-head small { display: block; font-size: .56rem; color: var(--muted); margin-top: 2px; }
.post-head button { border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: .58rem; padding: .42rem .6rem; }
.post-image {
  height: 290px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(20deg, rgba(26,19,16,.7), transparent 58%),
    radial-gradient(circle at 68% 28%, rgba(255,226,207,.92), transparent 18%),
    linear-gradient(135deg, #3b2923 0%, #bd8e77 52%, #ead4c5 100%);
}
.post-image::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 330px;
  border-radius: 48% 48% 38% 42%;
  background: linear-gradient(150deg, rgba(255,238,226,.95), rgba(166,104,80,.1) 58%);
  right: 18px;
  top: 10px;
  transform: rotate(-8deg);
  filter: blur(.2px);
}
.post-image::after {
  content: "";
  position: absolute;
  width: 135px;
  height: 190px;
  border-radius: 52% 48% 44% 50%;
  background: linear-gradient(180deg, #2b1e1a, #7a4d3c 63%, #d6a28b);
  right: 44px;
  top: 20px;
  box-shadow: -24px 32px 60px rgba(24,13,9,.2);
}
.image-glow { position: absolute; inset: 0; background: radial-gradient(circle at 62% 48%, rgba(255,255,255,.28), transparent 24%); z-index: 2; }
.image-caption { position: absolute; left: 18px; bottom: 18px; z-index: 3; color: white; font-family: "Italiana", serif; font-size: 1.42rem; line-height: 1.05; }
.post-actions { display: flex; gap: 14px; padding: 11px 13px 5px; font-size: .68rem; }
.post-card p { margin: 4px 13px 17px; color: var(--muted); font-size: .62rem; line-height: 1.5; }
.post-card p strong { color: var(--ink); }
.app-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 3px;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 9px 10px 8px;
  background: rgba(250,247,243,.96);
  border-top: 1px solid rgba(31,27,24,.08);
  backdrop-filter: blur(12px);
}
.app-nav span { display: grid; place-items: center; color: #807872; font-size: 1rem; }
.app-nav small { font-size: .46rem; margin-top: 2px; }
.app-nav .active { color: var(--ink); }
.app-nav .add { width: 34px; height: 34px; justify-self: center; border-radius: 50%; color: white; background: var(--ink); font-size: 1.15rem; align-self: center; }

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 205px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255,253,251,.78);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 24px 55px rgba(56,38,30,.16);
  backdrop-filter: blur(18px);
  animation: float 5.5s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: .82rem; }
.floating-card small { display: block; color: var(--muted); font-size: .64rem; margin-top: 3px; }
.mini-icon { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; color: white; background: var(--rose); }
.card-learn { top: 88px; left: -18px; }
.card-community { right: -24px; bottom: 102px; animation-delay: -2.2s; }

.stage-ring { position: absolute; border: 1px solid rgba(143,102,86,.22); border-radius: 50%; z-index: -1; }
.ring-one { width: 590px; height: 590px; }
.ring-two { width: 655px; height: 655px; border-style: dashed; opacity: .55; }

.promise { padding-block: 24px 110px; }
.promise > p { font-family: "Italiana", serif; font-size: clamp(2rem, 4vw, 3.9rem); max-width: 900px; line-height: 1.05; margin: 0 0 52px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.promise-grid article { padding: 30px 30px 0 0; }
.promise-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.promise-grid span { color: var(--rose-dark); font-size: .72rem; letter-spacing: .15em; }
.promise-grid h2 { font-size: 1.08rem; margin: 14px 0 10px; }
.promise-grid p { color: var(--muted); line-height: 1.65; font-size: .9rem; margin: 0; }

.site-footer {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}
.footer-brand { color: var(--ink); font-size: 2rem; }
.footer-note { text-align: right; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { text-align: center; }
  h1, .intro, .waitlist-form { margin-inline: auto; }
  .eyebrow { justify-content: center; }
  .feature-strip { justify-content: center; }
  .product-stage { min-height: 670px; }
  .card-learn { left: 5%; }
  .card-community { right: 5%; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-grid article { padding: 26px 0; border-bottom: 1px solid var(--line); }
  .promise-grid article + article { padding-left: 0; border-left: 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 26px, 1180px); }
  .site-header { min-height: 74px; }
  .header-cta { padding: .7rem .9rem; font-size: .78rem; }
  .hero { min-height: auto; padding-block: 58px 70px; gap: 42px; }
  h1 { font-size: clamp(3.7rem, 18vw, 5.5rem); }
  .intro { font-size: .98rem; margin-top: 24px; }
  .input-wrap { grid-template-columns: 1fr; border-radius: 16px; }
  .input-wrap input { min-height: 52px; text-align: center; }
  .input-wrap button { width: 100%; }
  .consent { text-align: left; }
  .feature-strip { gap: 7px; }
  .product-stage { min-height: 590px; transform: scale(.88); margin-inline: -7%; }
  .phone { width: 304px; }
  .phone-screen { min-height: 594px; }
  .post-image { height: 260px; }
  .card-learn { top: 54px; left: -2px; }
  .card-community { right: -4px; bottom: 55px; }
  .floating-card { min-width: 178px; padding: 11px 12px; }
  .product-stage::before { width: 460px; height: 460px; }
  .ring-one { width: 505px; height: 505px; }
  .ring-two { width: 555px; height: 555px; }
  .promise { padding-bottom: 72px; }
  .promise > p { margin-bottom: 34px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; padding-block: 34px; }
  .footer-note { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .floating-card { animation: none; }
}
