:root {
  --ink: #342148;
  --muted: #705f7d;
  --cream: #fffaf1;
  --paper: #fffef9;
  --purple: #cbb3f6;
  --pink: #ff73a6;
  --green: #cfe978;
  --yellow: #ffd864;
  --orange: #ff9d68;
  --blue: #b7dcf1;
  --teal: #63d5bc;
  --shadow: 0 22px 55px rgba(52, 33, 72, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(203, 179, 246, 0.34), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(255, 115, 166, 0.24), transparent 24rem),
    var(--cream);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.45;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(255, 254, 249, 0.88);
  border: 1px solid rgba(52, 33, 72, 0.1);
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(52, 33, 72, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 950;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a:hover {
  background: #f3ecff;
  color: var(--ink);
}

.nav .nav-cta {
  color: #ffffff;
  background: var(--ink);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--yellow);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 72px;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(52, 33, 72, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 33, 72, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 64px;
  align-items: center;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #70429a;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7.1vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(52, 33, 72, 0.12);
}

.button-primary {
  color: #ffffff;
  background: var(--ink);
}

.button-secondary {
  color: var(--ink);
  background: var(--yellow);
}

.app-showcase {
  position: relative;
  min-height: 520px;
}

.phone-card,
.floating-card,
.date-picker,
.wallet-card,
.phone-crop,
.paper-card,
.sticker-card {
  box-shadow: var(--shadow);
}

.phone-card {
  position: absolute;
  top: 34px;
  left: 50%;
  width: min(300px, 70vw);
  padding: 14px;
  background: #18181c;
  border-radius: 40px;
  transform: translateX(-48%) rotate(3deg);
}

.phone-top {
  width: 94px;
  height: 22px;
  margin: 0 auto 14px;
  background: #050508;
  border-radius: 999px;
}

.app-screen {
  min-height: 390px;
  padding: 24px;
  background: var(--yellow);
  border-radius: 30px;
}

.app-pill {
  display: inline-block;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.app-screen h2 {
  margin: 24px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.38rem;
  line-height: 0.94;
}

.app-screen p {
  color: #5d4a2d;
  font-weight: 850;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  margin: 28px auto 26px;
  color: #ffffff;
  background:
    radial-gradient(circle at center, #342148 0 54%, transparent 55%),
    conic-gradient(#ff73a6 0 82%, rgba(255, 255, 255, 0.42) 82% 100%);
  border-radius: 50%;
  font-size: 1.95rem;
  font-weight: 950;
}

.app-screen button,
.date-picker button {
  width: 100%;
  min-height: 48px;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.floating-card {
  position: absolute;
  width: 186px;
  padding: 18px;
  border-radius: 28px;
}

.floating-card span,
.floating-card small {
  display: block;
  color: rgba(52, 33, 72, 0.62);
  font-weight: 800;
}

.floating-card strong {
  display: block;
  margin: 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  line-height: 1;
}

.card-pink {
  top: 28px;
  right: 10px;
  background: var(--pink);
  transform: rotate(-6deg);
}

.card-lime {
  left: 22px;
  bottom: 72px;
  background: var(--green);
  transform: rotate(5deg);
}

.card-blue {
  right: 22px;
  bottom: 60px;
  background: var(--blue);
  transform: rotate(-2deg);
}

.section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 84px 0;
}

.intro-grid,
.section-heading,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 52px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact h2,
.wall-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.8vw, 4.8rem);
  line-height: 0.96;
}

.intro p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
}

.app-wall {
  width: min(calc(100% - 36px), 1260px);
  margin: 0 auto;
  padding: 28px 0 84px;
}

.wall-heading {
  margin-bottom: 28px;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 24px;
}

.app-tile {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 40px;
}

.app-tile h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  line-height: 0.96;
}

.app-tile p {
  max-width: 430px;
  margin-bottom: 0;
  color: rgba(52, 33, 72, 0.76);
  font-size: 1.08rem;
  font-weight: 750;
}

.tile-large {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 640px;
}

.tile-wide {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr);
  gap: 24px;
  align-items: center;
}

.tile-green,
.tile-yellow {
  grid-column: span 3;
}

.tile-blue {
  grid-column: span 5;
}

.tile-purple {
  background: var(--purple);
}

.tile-pink {
  background: var(--pink);
}

.tile-green {
  background: var(--green);
}

.tile-yellow {
  background: var(--yellow);
}

.tile-orange {
  background: var(--orange);
}

.tile-blue {
  background: var(--blue);
}

.canvas-stack {
  position: relative;
  height: 320px;
  margin: 24px 0 28px;
}

.mini-phone {
  position: absolute;
  left: 10px;
  top: 40px;
  width: 108px;
  height: 205px;
  background: #15151b;
  border-radius: 24px;
  transform: rotate(-13deg);
}

.paper-card {
  position: absolute;
  left: 86px;
  top: 18px;
  width: 190px;
  min-height: 230px;
  padding: 24px;
  background: #ffffff;
  border-radius: 10px;
  transform: rotate(-10deg);
}

.paper-card strong,
.paper-card span {
  display: block;
}

.paper-card strong {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.paper-card span {
  color: var(--muted);
  font-weight: 750;
}

.sticker-card {
  position: absolute;
  right: 10px;
  top: 72px;
  display: grid;
  place-items: center;
  width: 165px;
  height: 165px;
  color: #ffffff;
  background: #4f7bf7;
  border-radius: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-weight: 900;
  transform: rotate(3deg);
}

.date-picker {
  justify-self: end;
  width: min(220px, 100%);
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  transform: rotate(7deg);
}

.date-picker span,
.date-picker strong {
  display: block;
  text-align: center;
}

.date-picker span {
  color: var(--muted);
  font-weight: 850;
}

.date-picker strong {
  margin: 6px 0 18px;
  font-size: 2.8rem;
}

.wallet-card {
  margin-bottom: 28px;
  padding: 22px;
  color: #ffffff;
  background: #242329;
  border-radius: 24px;
}

.wallet-card span,
.wallet-card strong {
  display: block;
}

.wallet-card strong {
  margin-top: 20px;
  font-size: 2.4rem;
}

.message-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 24px;
}

.message-list span {
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 18px;
  font-weight: 850;
}

.utility-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
  justify-content: flex-start;
}

.utility-chips span {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(52, 33, 72, 0.12);
}

.phone-crop {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(250px, 100%);
  min-height: 158px;
  margin-top: 26px;
  padding: 20px;
  background: #26373d;
  border-radius: 34px 34px 0 0;
}

.phone-crop span {
  color: #ffffff;
  font-weight: 900;
}

.phone-crop div {
  margin-top: 28px;
  padding: 14px;
  background: #ffffff;
  border-radius: 18px;
  font-weight: 850;
}

.process {
  padding-top: 48px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-grid article,
.contact-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid rgba(52, 33, 72, 0.08);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  background: var(--yellow);
  border-radius: 16px;
  font-weight: 950;
}

.process-grid h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
}

.process-grid p,
.contact-card dd {
  color: var(--muted);
  font-weight: 700;
}

.contact-card dl {
  display: grid;
  gap: 24px;
  margin: 0;
}

.contact-card dt {
  margin-bottom: 7px;
  color: rgba(52, 33, 72, 0.56);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.02rem;
}

.contact-card a {
  color: #4f36bf;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 28px 0 44px;
  color: var(--muted);
  border-top: 1px solid rgba(52, 33, 72, 0.12);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #4f36bf;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero-content,
  .intro-grid,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .app-showcase {
    min-height: 500px;
  }

  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile-large,
  .tile-wide,
  .tile-green,
  .tile-yellow,
  .tile-blue {
    grid-column: span 1;
  }

  .tile-wide {
    grid-template-columns: 1fr;
  }

  .date-picker {
    justify-self: start;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 10px;
    border-radius: 22px;
  }

  .brand {
    max-width: calc(100% - 54px);
    font-size: 0.76rem;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(255, 254, 249, 0.98);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-content,
  .section,
  .app-wall,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 4.6rem);
  }

  .app-showcase {
    min-height: 560px;
  }

  .phone-card {
    top: 26px;
    width: min(260px, 78vw);
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
  }

  .app-screen {
    min-height: 334px;
    padding: 20px;
    border-radius: 26px;
  }

  .app-screen h2 {
    margin-top: 18px;
    font-size: 2rem;
  }

  .progress-ring {
    width: 112px;
    height: 112px;
    margin: 20px auto 20px;
    font-size: 1.55rem;
  }

  .app-screen button {
    min-height: 42px;
  }

  .floating-card {
    width: 150px;
    padding: 13px 14px;
    border-radius: 22px;
  }

  .floating-card strong {
    font-size: 1.05rem;
  }

  .floating-card span,
  .floating-card small {
    font-size: 0.72rem;
  }

  .card-pink {
    right: 2px;
    top: 4px;
  }

  .card-lime {
    left: 2px;
    bottom: 70px;
  }

  .card-blue {
    right: 4px;
    bottom: 32px;
  }

  .masonry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-tile {
    min-height: auto;
    padding: 26px;
    border-radius: 30px;
  }

  .tile-large {
    min-height: 520px;
  }

  .canvas-stack {
    height: 280px;
  }

  .mini-phone {
    left: 4px;
    width: 92px;
    height: 174px;
  }

  .paper-card {
    left: 58px;
    width: 168px;
    min-height: 212px;
    padding: 20px;
  }

  .sticker-card {
    right: 2px;
    top: 82px;
    width: 128px;
    height: 128px;
    font-size: 2rem;
  }

  .date-picker {
    width: min(210px, 100%);
    transform: rotate(4deg);
  }

  .phone-crop {
    width: 100%;
    margin-top: 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
