/*
 * Stylish landing page — same palette and type as the app (mobile/src/theme/tokens.ts):
 * warm-white page, near-black ink, plum/lavender as small accents only,
 * Playfair Display Bold Italic for headings, Plus Jakarta Sans for body.
 * Fonts are self-hosted so no visitor request goes to a third party (KVKK).
 */

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/playfair-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/playfair-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/jakarta-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/jakarta-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --page: #FAFAF8;
  --surface: #F4F2EE;
  --surface-strong: #E8E4E0;
  --ink: #1A1A1A;
  --muted: #6F6D66;
  --border: #E8E4E0;
  --plum: #2E1A47;
  --lavender: #5B2A86;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-style: italic; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.wordmark { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(36px, 3.4vw, 42px); line-height: 1; color: var(--plum); text-decoration: none; }
.lang { display: flex; gap: 4px; padding: 4px; border: 0.5px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; }
.lang a, .lang span { padding: 6px 14px; border-radius: 999px; text-decoration: none; }
.lang span { background: var(--ink); color: var(--page); }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lavender); flex: none; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 14px; min-width: 196px;
  border: 0.5px solid var(--ink); border-radius: 14px; background: var(--page);
}
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0.04em; }
.store b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.store.dark { background: var(--ink); color: var(--page); border-color: var(--ink); }
.store.dark small { color: #B9B7B0; }
a.store { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.store.dark { animation: store-pulse 2.4s ease-out infinite; }
a.store.dark:hover { animation: none; }
@keyframes store-pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 42, 134, .55); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(91, 42, 134, 0); }
}
a.store:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
a.store:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }

.phone {
  position: relative; width: 100%;
  padding: 3.2%; border-radius: 13% / 6%;
  background: #141414;
  box-shadow: 0 40px 80px -40px rgba(46, 26, 71, 0.35), 0 0 0 0.5px #000;
}
.phone img { width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; border-radius: 10.5% / 4.9%; background: var(--page); }

/* ---------- stickers ----------
 * Photo cut-outs stuck to the page edges like the app's sign-in screen:
 * the pearl glove reaches in from the top-left, the cat sits on the right
 * edge halfway down, in the empty space under the third feature's text.
 * Decorative only, so they never take clicks.
 */
.sticker { position: absolute; pointer-events: none; user-select: none; }
.glove-top { left: 0; top: -8px; width: clamp(170px, 19vw, 280px); z-index: 0; }
.top { position: relative; z-index: 1; }
.has-cat { position: relative; }
/* right edge of the viewport, not of the centered column */
.cat { right: calc(50% - 50vw); bottom: calc(-1 * clamp(80px, 11vw, 150px)); width: clamp(130px, 17vw, 260px); z-index: 2; }
/* taller than wide, so narrower; it floats off the edge, so the cut-off arm fades out */
.crown-hand { width: clamp(90px, 11vw, 165px); transform: translate(-4vw, -70px); -webkit-mask-image: linear-gradient(to top, transparent, #000 22%); mask-image: linear-gradient(to top, transparent, #000 22%); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: 130px clamp(56px, 8vw, 112px); }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 1.02; margin: 22px 0 24px; }
.hero h1 em { color: var(--plum); font-style: italic; white-space: nowrap; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 30em; margin-bottom: 36px; }
.stage { position: relative; aspect-ratio: 1 / 1.08; border-radius: 28px; background: var(--surface-strong); overflow: hidden; }
.stage .phone { position: absolute; width: 46%; }
.stage .front { left: 12%; top: 9%; z-index: 2; animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
.stage .back { right: 8%; top: 18%; transform: rotate(5deg); animation: rise-tilt 1.1s 0.12s cubic-bezier(.2,.7,.2,1) both; }
.stage .tag {
  position: absolute; z-index: 3; left: 6%; bottom: 7%;
  background: var(--page); border-radius: 999px; padding: 10px 18px;
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  animation: rise 1s 0.35s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise-tilt { from { opacity: 0; transform: translateY(36px) rotate(5deg); } to { opacity: 1; transform: rotate(5deg); } }

/* ---------- catalogue size ---------- */
.numbers { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; padding-block: 36px; border-block: 0.5px solid var(--border); text-align: center; }
.numbers div { display: contents; }
.numbers b { font-family: var(--serif); font-style: italic; font-size: clamp(44px, 5.4vw, 64px); line-height: 1.1; color: var(--plum); }
.numbers span { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); }

/* ---------- features ---------- */
.features { padding-block: clamp(72px, 10vw, 140px); display: grid; gap: clamp(80px, 11vw, 150px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 96px); align-items: center; }
.feature:nth-child(even) .shot { order: 2; }
.feature .shot { background: var(--surface); border-radius: 28px; padding: clamp(32px, 6vw, 64px) 0; display: flex; justify-content: center; }
.feature .shot .phone { width: min(58%, 290px); }
.feature .num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--lavender); }
.feature h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; margin: 10px 0 18px; }
.feature p { color: var(--muted); max-width: 28em; }

/* ---------- why no photos ---------- */
.why { background: var(--plum); color: var(--page); border-radius: 32px; padding: clamp(48px, 8vw, 104px) clamp(24px, 7vw, 96px); text-align: center; }
.why .eyebrow { font-weight: 300; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: 0; text-transform: none; color: #DCD5E6; }
.why h2 { font-size: clamp(32px, 4.8vw, 60px); line-height: 1.1; margin: 18px auto 22px; max-width: 16em; }
.why p { color: #DCD5E6; max-width: 34em; margin: 0 auto; font-size: clamp(16px, 1.5vw, 19px); }

/* ---------- closing ---------- */
/* Red gloves sit in the bottom-right corner, as on the app's sign-in screen. */
.closing { position: relative; overflow: hidden; text-align: center; padding-block: clamp(64px, 8vw, 112px) clamp(96px, 12vw, 160px); }
.closing .wrap { position: relative; z-index: 1; }
.glove-right { position: absolute; right: 0; bottom: 0; width: clamp(110px, 15vw, 210px); pointer-events: none; }
.closing h2 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; margin: 20px 0 36px; }
.closing .stores { justify-content: center; }

/* ---------- footer ---------- */
footer { border-top: 0.5px solid var(--border); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px 40px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero, .feature { grid-template-columns: 1fr; }
  /* text first, then its screenshot */
  .feature .shot, .feature:nth-child(even) .shot { order: 2; }
  .stage { max-width: 520px; width: 100%; margin: 0 auto; }
  .closing { padding-bottom: 210px; }
  .has-cat { padding-bottom: 120px; }
  /* sit fully in the padding under the screenshot instead of over the text */
  .crown-hand { transform: none; }
}
/* phones: no room for the pearl glove beside the headline, so it goes and the hero starts right under the header */
@media (max-width: 600px) {
  .glove-top { display: none; }
  .hero { padding-top: 24px; }
}
@media (max-width: 520px) {
  .store { min-width: 0; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
