:root {
  color: #201f1a;
  background: #f8f4ec;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  --ink: #201f1a;
  --muted: #69665d;
  --paper: #f8f4ec;
  --cream: #fffaf0;
  --line: rgba(32, 31, 26, 0.16);
  --tomato: #b94735;
  --sage: #6c7f66;
  --blue: #536f86;
  --charcoal: #27312c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(248, 244, 236, 0.94), rgba(246, 239, 229, 0.92)),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(32, 31, 26, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 31, 26, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}

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

button {
  font: inherit;
}

.landing-header,
.hero,
.source-section,
.closet-section,
.plan-section,
.payoff-section,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-header {
  min-height: 82px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 236, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.landing-header nav,
footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
}

.landing-header nav {
  gap: 25px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.header-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(32, 31, 26, 0.22);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.68);
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(56px, 7vw, 112px);
  padding: 42px 0 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--tomato);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Italiana", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(52px, 5.4vw, 78px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 0.9;
}

.intro {
  max-width: 540px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
}

.hero-proof {
  max-width: 570px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-proof span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: #555149;
  background: rgba(255, 250, 240, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.primary-link {
  gap: 20px;
  min-width: 190px;
  padding: 0 20px;
  color: #fff;
  background: var(--ink);
}

.secondary-link {
  gap: 20px;
  min-width: 190px;
  border: 1px solid var(--line);
  padding: 0 20px;
  background: rgba(255, 250, 240, 0.66);
}

.sample-link {
  width: max-content;
  display: inline-flex;
  margin-top: 14px;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.ui-arrow {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.ui-arrow::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  top: 8px;
  left: 2px;
  background: currentColor;
  transform: rotate(-45deg);
}

.ui-arrow::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 2px;
  right: 1px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.privacy-note {
  margin: 18px 0 0;
  color: #777168;
  font-size: 12px;
  line-height: 1.5;
}

.hero-visual {
  min-height: auto;
  position: relative;
  display: grid;
  place-items: center;
}

.workflow-board {
  width: 100%;
  background: transparent;
  animation: phone-rise 700ms ease both;
}

.workflow-heading {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 14px;
}

.workflow-heading span,
.workflow-steps span,
.closet-mini span,
.look-mini span {
  color: var(--tomato);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
}

.workflow-steps article {
  min-height: 180px;
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  padding: 24px;
  background: #fff9ee;
}

.workflow-steps article:nth-child(2) {
  background: #edf1e8;
}

.workflow-steps article:nth-child(3) {
  color: #fff;
  background: var(--charcoal);
}

.workflow-steps article:nth-child(3) span,
.workflow-steps article:nth-child(3) p {
  color: rgba(255, 250, 240, 0.72);
}

.workflow-steps h2 {
  margin: 22px 0 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

.workflow-steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.workflow-preview {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
  margin-top: 14px;
  padding: 0;
  background: transparent;
}

.closet-mini,
.look-mini {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 20px;
  background: rgba(255, 250, 240, 0.78);
}

.closet-mini strong,
.look-mini strong {
  display: block;
  margin: 9px 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.closet-mini small,
.look-mini small {
  display: block;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.mini-image-row {
  display: flex;
  gap: 8px;
}

.closet-mini img,
.look-mini img {
  width: 30%;
  min-width: 0;
  aspect-ratio: 0.84;
  object-fit: cover;
  background: #fff;
}

.mini-action,
.mini-outfit-line {
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.mini-action {
  width: max-content;
  border-radius: 999px;
  padding: 8px 11px;
  color: #fff;
  background: var(--tomato);
}

.mini-outfit-line {
  color: var(--muted);
}

.phone-shell {
  width: min(100%, 386px);
  min-height: 590px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(32, 31, 26, 0.2);
  border-radius: 42px;
  padding: 20px;
  color: #f9f4ec;
  background:
    linear-gradient(160deg, rgba(39, 49, 44, 0.94), rgba(50, 64, 59, 0.98)),
    var(--charcoal);
  box-shadow: 0 36px 90px rgba(32, 31, 26, 0.24);
  animation: phone-rise 700ms ease both;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.phone-panel {
  border: 1px solid rgba(255, 250, 240, 0.13);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.08);
}

.inbox-panel {
  padding: 18px;
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.panel-heading span,
.trip-panel > span,
.floating-card span,
.lookbook-preview span,
.plan-board span,
.feature-grid span {
  color: rgba(255, 250, 240, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-heading strong {
  font: 30px/0.92 "Italiana", serif;
  font-weight: 400;
}

.inbox-card {
  min-height: 84px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 20px;
  padding: 10px;
  background: rgba(255, 250, 240, 0.08);
}

.inbox-card.active {
  color: var(--ink);
  background: #fff8ea;
}

.inbox-card img {
  width: 70px;
  height: 68px;
  display: block;
  border-radius: 15px;
  object-fit: cover;
  background: #fff;
}

.inbox-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--tomato);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inbox-card strong {
  display: block;
  color: inherit;
  font-size: 14px;
  line-height: 1.25;
}

.inbox-card div span {
  color: currentColor;
  opacity: 0.62;
  font-size: 10px;
}

.inbox-card button {
  min-width: 48px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--tomato);
  font-size: 10px;
  font-weight: 700;
}

.trip-panel {
  margin-top: 16px;
  padding: 20px;
  background: #fff8ea;
  color: var(--ink);
}

.trip-panel > span {
  color: var(--tomato);
}

.trip-panel strong {
  display: block;
  margin: 9px 0 16px;
  font: 34px/0.92 "Italiana", serif;
  font-weight: 400;
}

.trip-panel div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.trip-panel img {
  width: 100%;
  aspect-ratio: 0.78;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
}

.trip-panel p {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: #fff;
  background: var(--sage);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trip-panel i {
  font-style: normal;
}

.floating-card {
  position: absolute;
  width: min(230px, 44%);
  border: 1px solid rgba(32, 31, 26, 0.16);
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 24px 55px rgba(32, 31, 26, 0.16);
}

.source-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.source-orbit span {
  position: absolute;
  border: 1px solid rgba(32, 31, 26, 0.16);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 16px 34px rgba(32, 31, 26, 0.1);
  font-size: 11px;
  font-weight: 700;
  animation: drift 7s ease-in-out infinite;
}

.source-orbit span:nth-child(1) {
  top: 64px;
  left: 10%;
}

.source-orbit span:nth-child(2) {
  right: 3%;
  top: 130px;
  animation-delay: -2s;
}

.source-orbit span:nth-child(3) {
  left: 2%;
  bottom: 150px;
  animation-delay: -4s;
}

.hero-mini-card {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: min(250px, 45%);
  border: 1px solid rgba(32, 31, 26, 0.16);
  padding: 17px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 24px 55px rgba(32, 31, 26, 0.14);
  animation: card-pop 700ms 220ms ease both;
}

.hero-mini-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--tomato);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-mini-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.floating-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--tomato);
}

.floating-card strong {
  display: block;
  font: 28px/0.95 "Italiana", serif;
  font-weight: 400;
}

.send-card {
  top: 86px;
  left: 0;
}

.checklist-card {
  right: 0;
  bottom: 92px;
}

.source-section,
.closet-section,
.plan-section,
.payoff-section {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.source-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  align-items: center;
  gap: 56px;
}

.source-section h2 {
  max-width: 560px;
  margin-bottom: 0;
}

.source-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.source-flow span,
.source-flow strong {
  min-height: 84px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(255, 250, 240, 0.58);
  font-size: 13px;
}

.source-flow strong {
  grid-column: 1 / -1;
  justify-content: center;
  color: #fff;
  background: var(--charcoal);
  font-size: 15px;
}

.section-copy {
  max-width: 700px;
}

.section-copy p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-grid article {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  background: rgba(255, 250, 240, 0.78);
}

.feature-grid article:nth-child(2) {
  background: #edf1e8;
}

.feature-grid span {
  color: var(--tomato);
}

.feature-grid h3 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.05;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.plan-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: 42px;
}

.plan-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan-board article {
  min-height: 168px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  padding: 24px;
  background: rgba(255, 250, 240, 0.62);
}

.plan-board article:nth-child(1) {
  background: #eef2f4;
}

.plan-board article:nth-child(4) {
  color: #fff;
  background: var(--tomato);
}

.plan-board span {
  color: var(--blue);
}

.plan-board article:nth-child(4) span {
  color: rgba(255, 250, 240, 0.7);
}

.plan-board strong {
  font-size: 18px;
  line-height: 1.35;
}

.payoff-section {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 50px;
}

.lookbook-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lookbook-preview article {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(255, 250, 240, 0.72);
}

.lookbook-preview article:nth-child(2) {
  margin-top: 30px;
}

.lookbook-preview span {
  display: block;
  margin-bottom: 10px;
  color: var(--tomato);
}

.lookbook-preview img {
  width: 100%;
  aspect-ratio: 0.74;
  display: block;
  object-fit: cover;
  background: #fff;
}

.lookbook-preview strong {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.35;
}

.final-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.final-actions .primary-link,
.final-actions .secondary-link {
  min-width: 180px;
}

footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

footer nav {
  gap: 24px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes phone-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes card-pop {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@media (max-width: 980px) {
  .hero,
  .source-section,
  .plan-section,
  .payoff-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 54px;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone-shell {
    min-height: 590px;
  }

  .source-section,
  .closet-section,
  .plan-section,
  .payoff-section {
    padding: 72px 0;
  }
}

@media (max-width: 760px) {
  .landing-header,
  .hero,
  .source-section,
  .closet-section,
  .plan-section,
  .payoff-section,
  footer {
    width: calc(100vw - 48px);
    max-width: 560px;
  }

  .landing-header {
    min-height: 70px;
    overflow: hidden;
  }

  .landing-header nav a:not(.header-link) {
    display: none;
  }

  .header-link {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .brand strong {
    display: none;
  }

  .hero {
    gap: 42px;
    padding: 44px 0 58px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(44px, 11.8vw, 54px);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 0.94;
  }

  .intro {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 20px;
  }

  .workflow-heading,
  .workflow-preview {
    grid-template-columns: 1fr;
  }

  .workflow-heading {
    margin-bottom: 12px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .workflow-steps article {
    min-height: 136px;
    padding: 20px;
  }

  .workflow-steps h2 {
    margin-top: 18px;
    font-size: 19px;
  }

  .workflow-preview {
    padding: 10px;
  }

  .phone-shell {
    width: calc(100vw - 48px);
    max-width: 100%;
    min-height: 560px;
    border-radius: 34px;
    padding: 16px;
  }

  .panel-heading strong {
    font-size: 27px;
  }

  .inbox-panel {
    padding: 14px;
  }

  .inbox-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 82px;
    border-radius: 17px;
    padding: 8px;
  }

  .inbox-card img {
    width: 58px;
    height: 64px;
    border-radius: 13px;
  }

  .inbox-card strong {
    font-size: 12px;
  }

  .inbox-card button {
    min-width: 42px;
    min-height: 30px;
    font-size: 9px;
  }

  .trip-panel strong {
    font-size: 32px;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .source-orbit {
    display: none;
  }

  .hero-mini-card {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .floating-card strong {
    font-size: 25px;
  }

  .source-flow,
  .feature-grid,
  .plan-board,
  .lookbook-preview {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 10px;
    border: 0;
    background: transparent;
  }

  .feature-grid article {
    min-height: 205px;
    border: 1px solid var(--line);
  }

  .plan-board article {
    min-height: 168px;
  }

  .lookbook-preview {
    order: 2;
  }

  .lookbook-preview article:nth-child(2) {
    margin-top: 0;
  }

  .lookbook-preview img {
    aspect-ratio: 1;
  }

  footer {
    min-height: 76px;
  }
}
