@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap");
:root {
  --ink: #25223d;
  --muted: #6d687e;
  --purple: #6750e8;
  --paper: #faf9f6;
  --line: #e8e4ef;
  --mint: #d8f7dc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px "DM Sans",
    sans-serif;
}
h1,
h2,
h3,
.brand {
  font-family: Manrope, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
header {
  max-width: 1240px;
  margin: auto;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.brand {
  font-size: 25px;
  letter-spacing: -1.3px;
  font-weight: 800;
  display: flex;
  align-items: center;
}
.brand span {
  font-weight: 400;
}
.brand img {
  margin-right: 9px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.button,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--purple);
  color: white;
  border: 0;
  border-radius: 14px;
  padding: 17px 25px;
  font-weight: 700;
  box-shadow: 0 5px 0 #4f3ab1;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover,
.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #4f3ab1;
}
.button:active,
.primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #4f3ab1;
}
.small {
  padding: 12px 17px;
  box-shadow: none;
}
.secondary {
  display: inline-block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--ink);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
main {
  min-height: 65vh;
}
.hero {
  max-width: 1240px;
  padding: 70px 40px 85px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  background: #ece8ff;
  color: #5840bd;
  border-radius: 99px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 24px 0;
}
h1 em {
  font-style: normal;
  color: var(--purple);
  position: relative;
}
h1 em:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 10px;
  border-top: 4px solid #cabaff;
  border-radius: 50%;
  transform: rotate(-2deg);
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 455px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}
.quiet {
  font-size: 13px !important;
  color: var(--muted);
  margin-top: 21px !important;
}
.illustration {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
}
.blob {
  position: absolute;
  inset: 10px -8px 5px;
  background: #ece7fb;
  border-radius: 49% 51% 42% 58% / 60% 42% 58% 40%;
  animation: morph 12s ease-in-out infinite alternate;
}
.demo-card {
  position: relative;
  background: white;
  border: 1px solid #e3ddef;
  border-radius: 22px;
  width: 340px;
  padding: 25px;
  box-shadow: 0 24px 60px #44336617;
  transform: rotate(-3deg);
  animation: float 7s ease-in-out infinite;
}
.mini-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--muted);
}
.demo-card h3 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 8px 0;
}
.demo-card p {
  font-size: 12px;
  margin: 0 0 19px;
}
.avatars {
  display: flex;
  margin: 16px 0;
}
.avatar {
  border: 3px solid white;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  margin-right: -7px;
  background: #ffe4d5;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.avatar:nth-child(2) {
  background: #d8f7dc;
}
.avatar:nth-child(3) {
  background: #e2dcff;
}
.avatar:nth-child(4) {
  background: #ffedb5;
}
.demo-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.demo-row.best {
  background: #eefbf0;
  border-color: #b5e6bd;
}
.pill {
  display: inline-block;
  background: var(--mint);
  color: #236e35;
  padding: 5px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}
.demo-response {
  display: flex;
  gap: 5px;
}
.demo-response i {
  font-style: normal;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  color: #28703c;
}
.sticker {
  position: absolute;
  z-index: 2;
  border: 1px solid #ece4e5;
  padding: 13px 18px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 25px #44336612;
  font-size: 13px;
  font-weight: 700;
  animation: float 6s ease-in-out infinite;
}
.sticker.top {
  top: 8px;
  right: -5px;
  transform: rotate(7deg);
  background: #ffe8d7;
}
.sticker.bottom {
  bottom: 4px;
  left: -24px;
  transform: rotate(5deg);
  background: #d9f3dc;
  animation-delay: -3s;
}
.spark {
  position: absolute;
  font-size: 40px;
  color: #f2ba42;
  top: 35px;
  left: 7px;
  animation: twinkle 4s ease-in-out infinite;
}
.orbit {
  position: absolute;
  right: 0;
  bottom: 25px;
  color: var(--purple);
  font-size: 55px;
  animation: spin 24s linear infinite;
}
.use-cases {
  border-block: 1px solid var(--line);
  padding: 24px;
  display: flex;
  justify-content: center;
  gap: 35px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}
.use-cases span:first-child {
  color: var(--muted);
  font-size: 12px;
}
.section {
  max-width: 1160px;
  margin: auto;
  padding: 75px 40px;
}
.section-heading {
  text-align: center;
}
.section-heading h2 {
  font-size: 36px;
  letter-spacing: -1.5px;
  margin: 12px 0;
}
.section-heading p {
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
  margin-top: 37px;
}
.step {
  background: white;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 22px;
  transition: transform 0.25s;
}
.step:hover {
  transform: translateY(-6px);
}
.step-number {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: #ece8ff;
  border-radius: 14px;
  color: var(--purple);
  font-weight: 800;
  transform: rotate(-6deg);
}
.step:nth-child(2) .step-number {
  background: #ffe4d5;
  color: #aa5d2b;
  transform: rotate(5deg);
}
.step:nth-child(3) .step-number {
  background: var(--mint);
  color: #28703c;
}
.step h3 {
  font-size: 20px;
  margin: 22px 0 10px;
}
.step p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.cta {
  background: #eae4ff;
  border-radius: 28px;
  text-align: center;
  padding: 50px 25px;
  margin: 0 40px 70px;
}
.cta h2 {
  font-size: 32px;
  letter-spacing: -1px;
}
.cta p {
  color: var(--muted);
  margin-bottom: 28px;
}
footer {
  max-width: 1160px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 30px 20px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
footer .brand {
  font-size: 19px;
}
footer p {
  margin-right: auto;
}
.page {
  max-width: 850px;
  margin: 35px auto 70px;
  padding: 0 24px;
  animation: enter 0.4s ease-out;
}
.page h1 {
  font-size: 42px;
  letter-spacing: -1.8px;
}
.page > p {
  color: var(--muted);
  line-height: 1.7;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  margin: 20px 0;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}
input,
textarea {
  width: 100%;
  border: 1px solid #d9d2e4;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.field {
  margin-bottom: 20px;
}
.hint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 8px 0;
}
.slot {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 16px 0;
  padding: 18px;
  background: #f7f5fb;
  border-radius: 14px;
}
.slot label {
  font-size: 12px;
}
.remove {
  border: 0;
  border-radius: 9px;
  background: #ece6f4;
  color: var(--ink);
  height: 44px;
  padding: 0 12px;
}
.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.provider {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font-weight: 600;
  transition: background 0.2s;
}
.provider:hover {
  background: #f1ecff;
}
.time-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 20px;
  margin: 14px 0;
}
.time-card.best {
  border: 2px solid #b5a5ef;
  background: #fbf9ff;
}
.time-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.time-heading h3 {
  margin: 0;
  font-size: 17px;
}
.counts {
  font-size: 13px;
  color: var(--muted);
  margin: 13px 0;
}
.choices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.choices label {
  flex: 1;
  margin: 0;
}
.choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choices span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.2s;
}
.choices input:checked + span {
  background: #ece5ff;
  border-color: var(--purple);
  color: #4b30bb;
  transform: scale(1.03);
}
.choices input:focus-visible + span {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
.confirmed {
  background: #e7f8e9;
  border: 1px solid #bbe2c2;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}
.confirmed h2 {
  font-size: 25px;
}
.link-box {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}
.link-box input {
  font-size: 13px;
  min-width: 0;
}
.error {
  background: #fff0eb;
  color: #9d3822;
  border: 1px solid #ffd1c2;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}
[hidden] {
  display: none !important;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 14px;
  z-index: 10;
  max-width: 90%;
  box-shadow: 0 10px 30px #0002;
}
#notice:empty {
  display: none;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 5px;
  z-index: 99;
  background: white;
  padding: 12px;
}
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}
.confetti {
  position: fixed;
  top: -20px;
  width: 9px;
  height: 15px;
  pointer-events: none;
  z-index: 20;
  animation: fall 2s ease-in forwards;
}
details {
  margin-top: 20px;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
.participant {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.reveal {
  animation: enter 0.7s ease-out both;
}
.reveal:nth-child(2) {
  animation-delay: 0.15s;
}
.reveal:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes float {
  50% {
    translate: 0 -12px;
  }
}
@keyframes morph {
  to {
    border-radius: 40% 60% 55% 45% / 45% 60% 40% 55%;
  }
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@keyframes twinkle {
  50% {
    scale: 1.2;
    rotate: 15deg;
  }
}
@keyframes enter {
  from {
    opacity: 0;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes fall {
  to {
    translate: 0 105vh;
    rotate: 500deg;
    opacity: 0;
  }
}
@media (max-width: 800px) {
  header {
    padding: 20px 22px;
  }
  nav {
    gap: 15px;
  }
  nav > a:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 35px 24px 55px;
    gap: 30px;
  }
  .hero p {
    max-width: 550px;
  }
  .illustration {
    max-width: 430px;
    width: 100%;
    margin: auto;
    min-height: 390px;
  }
  .sticker.top {
    right: 0;
  }
  .sticker.bottom {
    left: 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 45px 24px;
  }
  .cta {
    margin: 0 20px 45px;
  }
  .use-cases {
    gap: 18px;
  }
  .slot {
    grid-template-columns: 1fr;
  }
  .time-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  footer {
    margin: 0 20px;
  }
  footer p {
    width: 100%;
    margin: 0;
  }
  .actions {
    gap: 14px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .demo-card {
    width: min(320px, 90%);
  }
  .page h1 {
    font-size: 35px;
  }
  .panel {
    padding: 22px;
  }
  .link-box {
    flex-wrap: wrap;
  }
  .link-box input {
    flex-basis: 100%;
  }
}
@media (max-width: 420px) {
  nav {
    gap: 9px;
  }
  nav a {
    font-size: 12px;
  }
  .small {
    padding: 10px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    display: none;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .provider-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Marketing feature and iPhone sections reuse the existing cards and colours. */
.feature-grid {
  row-gap: 24px;
}
.iphone-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.iphone-panel h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -1px;
}
.section .panel p {
  color: var(--muted);
  line-height: 1.7;
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}
.download-actions a {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .iphone-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* Homepage polish; application forms keep their existing styles. */
.marketing {
  background: radial-gradient(ellipse at 12% 6%, #f0eaff80, transparent 35%), radial-gradient(ellipse at 95% 25%, #ffe9d780, transparent 30%);
}
.marketing .hero { padding-top: 85px; padding-bottom: 100px; }
.marketing h1 { font-size: clamp(44px, 5.6vw, 76px); letter-spacing: -3.8px; }
.marketing .hero > div > p:first-of-type { color: var(--ink); font-size: 21px; }
.marketing .actions { flex-wrap: wrap; gap: 18px; }
.store-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 14px 22px; border-radius: 16px; background: var(--ink); color: white;
  border: 1px solid #ffffff22; box-shadow: 0 6px 18px #25223d18;
  font-weight: 700; text-align: left; transition: transform .2s, background .2s;
}
.store-button:hover { background: #403557; transform: translateY(-2px); }
.store-button img { flex-shrink: 0; filter: brightness(0) invert(1); }
.store-button small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .3px; opacity: .8; margin-bottom: 3px; }
.beta-note { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.marketing .use-cases { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 24px; }
.marketing .section-heading h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.8px; }
.marketing .step { box-shadow: 0 10px 30px #44336606; padding: 28px; }
.marketing .feature-grid { gap: 18px; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; font-size: 26px; border-radius: 15px; color: #5840bd; background: #eee8ff; }
.feature-grid .step:nth-child(3n+2) .feature-icon { background: #e7f5e9; color: #236e35; }
.feature-grid .step:nth-child(3n) .feature-icon { background: #fff0e3; color: #97552e; }
.marketing .feature-grid h3 { margin-top: 18px; }
.marketing #features > .panel { background: transparent; border: 0; padding: 8px 12px; max-width: 760px; margin: 28px auto 0; text-align: center; }
.marketing #features > .panel h3 { font-size: 16px; }
.marketing #features > .panel p { font-size: 13px; }
.marketing .iphone-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: linear-gradient(120deg, #ece5ff, #f6f0ea 70%, #e9f5e9); border: 1px solid #e5deec; border-radius: 32px; padding: 50px; gap: 60px; }
.marketing .download-actions { align-items: flex-start; text-align: left; margin-top: 26px; }
.marketing .download-actions .secondary { background: transparent; border: 0; padding: 6px 0; }
.phone-preview { position: relative; width: 260px; max-width: 100%; min-height: 410px; margin: auto; padding: 52px 20px 30px; border: 7px solid #302b3d; border-radius: 38px; background: #faf9f6; box-shadow: 16px 22px 40px #44336620; transform: rotate(-5deg); }
.phone-island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; border-radius: 20px; background: #302b3d; }
.phone-wordmark { font-family: Manrope, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -1px; }
.phone-wordmark span { font-weight: 400; }
.phone-preview h3 { font-family: Georgia, serif; font-size: 27px; letter-spacing: -1px; }
.phone-event { background: white; padding: 17px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 6px 12px #44336606; }
.phone-event h4 { font-size: 15px; margin: 16px 0 10px; }
.marketing .phone-event p { font-size: 12px; line-height: 1.8; }
.phone-guests { display: flex; margin: 16px 0; gap: 5px; }
.phone-guests span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #eae4ff; font-size: 9px; font-weight: 700; }
.phone-guests span:nth-child(2) { background: #ffe4d5; }
.phone-guests span:nth-child(3) { background: var(--mint); }
.phone-send { font-size: 11px; color: #236e35; background: #e7f8e9; padding: 10px; border-radius: 9px; }
.phone-home { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); width: 74px; height: 4px; border-radius: 9px; background: #302b3d; }
.marketing .cta { max-width: 1080px; margin: 20px auto 70px; background: radial-gradient(ellipse at top left, #ffe4d590, transparent 60%), #eae4ff; padding: 60px 25px; }
.marketing .cta > span { display: inline-block; color: var(--purple); font-size: 35px; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
@media (max-width: 800px) {
  .marketing .hero { padding: 40px 24px 60px; }
  .marketing h1 { letter-spacing: -2.5px; }
  .marketing .iphone-panel { grid-template-columns: minmax(0, 1fr); gap: 42px; padding: 32px 24px; }
  .marketing .cta { margin: 20px 20px 45px; }
  nav a[href="/#iphone"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .store-button { transition: none; }
  .store-button:hover { transform: none; }
}
