/* CurryApp landing. Brand: ink #14182F, curry #F40768, paper #FAF7FB.
   Manrope for everything, Caveat only for the handwritten note. */
:root {
  --ink: #14182F;
  --curry: #F40768;
  --curry-deep: #C9055A;
  --paper: #FAF7FB;
  --dusk: #2A1B4A;
  --mango: #FFB627;
  --muted: #65627D;
  --line: #E9E1EC;
  --max: 1160px;
  --radius: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; max-width: 18ch; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--curry); outline-offset: 3px; border-radius: 6px; }

main > section { padding: clamp(72px, 10vw, 128px) max(20px, calc((100vw - var(--max)) / 2)); }

/* Wordmark: «Curry» follows the text colour, «App» is always curry red. */
.wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; }
.wordmark span { color: var(--ink); }
.wordmark b { color: var(--curry); font-weight: 800; margin-left: -8px; }
.wordmark-light span { color: #fff; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--curry); color: #fff; border: 0;
  font: 700 1.02rem/1 Manrope, sans-serif;
  padding: 17px 26px; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(244, 7, 104, .7);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--curry-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 11px 18px; font-size: .92rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); box-shadow: none; }
.btn-dark:hover { background: #000; }
.btn-big { font-size: 1.15rem; padding: 21px 34px; }
.fine { color: var(--muted); font-size: .88rem; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(250, 247, 251, .82); backdrop-filter: blur(14px);
}
.top nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .95rem; }
.top nav a:not(.btn) { text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--curry); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; padding-top: clamp(40px, 6vw, 72px) !important;
}
.hero h1 { font-size: clamp(3.1rem, 8.4vw, 6.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: .95; }
.lede { margin-top: 26px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #3B3A55; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }

.radar {
  position: relative; aspect-ratio: 4 / 5; border-radius: 34px; overflow: hidden;
  background: var(--dusk); box-shadow: 0 40px 80px -40px rgba(42, 27, 74, .65);
}
.radar-city { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.radar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 47, .05), rgba(20, 24, 47, .45)); }
.rings { position: absolute; left: 50%; top: 46%; z-index: 1; }
.rings i {
  position: absolute; width: 120px; height: 120px; left: -60px; top: -60px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .75); opacity: 0;
  animation: ring 3.6s cubic-bezier(.2, .7, .3, 1) infinite;
}
.rings i:nth-child(2) { animation-delay: 1.2s; }
.rings i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
.radar-pin {
  position: absolute; z-index: 2; left: 50%; top: 46%; width: clamp(74px, 9vw, 108px);
  transform: translate(-50%, -78%); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35));
  animation: drop .9s cubic-bezier(.3, 1.5, .5, 1) both;
}
@keyframes drop { from { transform: translate(-50%, -260%); opacity: 0; } to { transform: translate(-50%, -78%); opacity: 1; } }

.bubble {
  position: absolute; z-index: 3; margin: 0;
  display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 16px 6px 6px;
  box-shadow: 0 14px 30px -12px rgba(20, 24, 47, .55);
  font-weight: 800; font-size: .92rem; line-height: 1.15;
  opacity: 0; transform: scale(.6) translateY(10px);
  animation: pop .55s cubic-bezier(.3, 1.6, .5, 1) forwards;
}
.bubble img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #FCE3EE; }
.bubble small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
.b1 { left: 7%; top: 12%; animation-delay: 1.0s; }
.b2 { right: 6%; top: 27%; animation-delay: 1.5s; }
.b3 { left: 9%; top: 60%; animation-delay: 2.0s; }
.b4 { right: 8%; top: 74%; animation-delay: 2.5s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.scribble {
  position: absolute; z-index: 3; left: 50%; bottom: 5%; transform: translateX(-50%) rotate(-4deg);
  font: 700 clamp(1.25rem, 4.6vw, 1.7rem)/1 Caveat, cursive; color: #fff; white-space: nowrap;
  opacity: 0; animation: pop .6s ease 3.1s forwards;
}

/* How it works */
.how h2 { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; }
.steps li { border-top: 3px solid var(--ink); padding-top: 22px; }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--curry); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps p { margin-top: 10px; color: #3B3A55; max-width: 32ch; }

/* Vanishing chat */
.vanish { background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.vanish h2 { color: #fff; }
.vanish-copy p { margin-top: 20px; color: #C9C7DC; font-size: 1.12rem; max-width: 40ch; }
.phone { background: var(--paper); color: var(--ink); border-radius: 36px; padding: 18px; box-shadow: 0 0 0 10px #262B4D; display: flex; flex-direction: column; min-height: 470px; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); }
.phone-top img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.phone-top small { display: block; color: var(--muted); font-size: .78rem; }
.chat { list-style: none; margin: 0; padding: 18px 2px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 20px; font-size: .97rem; line-height: 1.35; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease, filter .6s ease; }
.msg.show { opacity: 1; transform: none; }
.them { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 6px; }
.me { background: var(--curry); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.chat.dissolve .msg { opacity: 0; filter: blur(10px); transform: translateY(-14px) scale(.96); transition-duration: .7s; }
.gone { text-align: center; color: var(--muted); font-weight: 600; margin: auto 0; padding: 24px 0; }
.phone .btn { align-self: center; }

/* Places */
.places-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.places-head p { color: #3B3A55; font-size: 1.1rem; max-width: 44ch; }
.ticker { margin: 56px calc(-1 * max(20px, calc((100vw - var(--max)) / 2))); overflow: hidden; border-block: 2px solid var(--ink); background: #fff; }
.ticker-row { display: flex; gap: 14px; width: max-content; padding: 18px 0; animation: slide 38s linear infinite; }
.ticker:hover .ticker-row { animation-play-state: paused; }
.ticker span { white-space: nowrap; font-weight: 700; padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
@keyframes slide { to { transform: translateX(-50%); } }
.count { display: grid; grid-template-columns: max-content 1fr; gap: 48px; align-items: center; }
.count p { font-size: 1.15rem; font-weight: 600; }
.count strong { display: block; font-size: clamp(3.4rem, 9vw, 6.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--curry); }
.cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 800; color: var(--ink); }
.cities li:not(:last-child)::after { content: "·"; margin-left: 26px; color: var(--curry); }
.place-points { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.place-points li { color: #3B3A55; }
.place-points b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }

/* Levels */
.levels { background: #FFF1F6; }
.levels > p { margin-top: 18px; color: #3B3A55; font-size: 1.1rem; max-width: 52ch; }
.path { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.path::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 4px; background: repeating-linear-gradient(90deg, var(--curry) 0 14px, transparent 14px 24px); }
.path li { position: relative; text-align: center; font-weight: 800; font-size: .95rem; }
.path span { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 50%; background: #fff; font-size: 2rem; box-shadow: 0 0 0 4px #FFF1F6, 0 10px 22px -12px rgba(244, 7, 104, .6); transition: transform .2s ease; }
.path li:hover span { transform: translateY(-4px) rotate(-6deg); }

/* Privacy */
.unseen { list-style: none; margin: 44px 0 0; padding: 0; }
.unseen li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.blur { font-size: clamp(1.5rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; filter: blur(7px); transition: filter .4s ease; user-select: none; }
.unseen li:hover .blur { filter: blur(9px); }
.unseen small { color: #3B3A55; font-size: 1.02rem; }
.privacy .note { margin-top: 30px; color: var(--muted); max-width: 60ch; }

/* Business */
.business { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: var(--dusk); color: #fff; }
.business h2 { color: #fff; }
.business p { margin: 20px 0; color: #D9D3EA; font-size: 1.1rem; max-width: 42ch; }
.business ul { margin: 0 0 32px; padding-left: 20px; color: #D9D3EA; }
.business li { margin: 6px 0; }
.business img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; object-position: center 75%; }

/* Final */
.final { text-align: center; display: grid; justify-items: center; gap: 26px; }
.final h2 { max-width: 16ch; }
.final img { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Footer */
.foot { background: var(--ink); color: #B9B7CC; padding: 48px max(20px, calc((100vw - var(--max)) / 2)); display: grid; gap: 18px; font-size: .92rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot nav a { color: #fff; text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--curry); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 96px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; }
.legal .updated { color: var(--muted); margin: 12px 0 40px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 8px; max-width: none; }
.legal h2.group { font-size: 1.8rem; margin-top: 56px; }
.legal p { color: #34334D; }

/* Responsive */
@media (max-width: 900px) {
  .hero, .vanish, .business, .places-head { grid-template-columns: 1fr; }
  .radar { max-width: 460px; width: 100%; margin: 0 auto; }
  .vanish { gap: 40px; }
  .phone { max-width: 380px; width: 100%; margin: 0 auto; }
  .steps, .place-points { grid-template-columns: 1fr; gap: 28px; }
  .count { grid-template-columns: 1fr; gap: 18px; }
  .path { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .path::before { display: none; }
  .unseen li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  .top nav a:not(.btn) { display: none; }
  .bubble { font-size: .8rem; padding-right: 12px; }
  .bubble img { width: 34px; height: 34px; }
  .cities li:not(:last-child)::after { margin-left: 14px; }
  .cities { gap: 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble, .scribble, .msg { opacity: 1; transform: none; }
  .radar-pin { transform: translate(-50%, -78%); }
  .scribble { transform: translateX(-50%) rotate(-4deg); }
}
