/* Phrida — colors come from the app icon: Frida's orange coat, her brown
   outline, the dark green of her headphones, and her two eye colors
   (green for the music you own, cyan for what you stream). */
:root {
  --paper: #fffdf9;
  --paper-2: #f3f6f2;
  --ink: #2b2116;
  --ink-soft: #5f5246;
  --night: #12302a;
  --night-2: #1a4038;
  --orange: #f28c1e;
  --orange-deep: #c96a08;
  --green: #a9d63a;
  --cyan: #5ccfcb;
  --line: rgba(43, 33, 22, .14);
  --on-night: #f6f1ea;
  --on-night-soft: #bfd2cb;
  --radius-phone: 34px;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "PingFang SC", "Noto Sans Devanagari", "Noto Sans JP", "Noto Sans SC", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f2622;
    --paper-2: #143530;
    --ink: #f6f1ea;
    --ink-soft: #c3d3cd;
    --night: #0a1b18;
    --night-2: #12302a;
    --orange-deep: #ffa646;
    --line: rgba(246, 241, 234, .16);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 750; max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100% - 1120px) / 2));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .95rem;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; min-width: 170px;
  box-shadow: 0 18px 40px rgba(18, 48, 42, .18);
}
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none; }
.lang li a:hover { background: var(--paper-2); }
.lang li a[aria-current] { font-weight: 700; color: var(--orange-deep); }

/* Store button */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 700; font-size: 1.05rem;
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-1px); }
.store-glyph { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.store-light { background: var(--paper); color: var(--night); }
@media (prefers-color-scheme: dark) { .store-light { background: var(--orange); color: #1d1206; } }

/* Hero */
.hero {
  width: min(1120px, 100% - 32px); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 88px);
}
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; }
.lede { margin-top: 24px; font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; }
.hero .store { margin-top: 32px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.facts li { font-size: .92rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 560px; }
.halo {
  position: absolute; width: min(500px, 100%); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 15% 36%, var(--green) 0 6.5%, transparent 6.9%),
    radial-gradient(circle at 85% 36%, var(--cyan) 0 6.5%, transparent 6.9%),
    var(--orange);
  opacity: .92;
}
.phone {
  margin: 0; position: relative; border-radius: var(--radius-phone); overflow: hidden;
  background: #111; padding: 9px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 30px 60px -20px rgba(18, 48, 42, .45);
}
.phone img { border-radius: calc(var(--radius-phone) - 9px); }
.hero-phone { width: min(290px, 70%); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgba(18, 48, 42, .18);
  white-space: nowrap;
}
.chip i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.chip-cyan { top: 8%; left: 0; } .chip-cyan i { background: var(--cyan); }
.chip-green { top: 46%; right: -2%; } .chip-green i { background: var(--green); }
.chip-orange { bottom: 10%; left: 4%; } .chip-orange i { background: var(--orange); }

/* The one orchestrated moment: the three sources settle around the phone. */
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: settle .9s cubic-bezier(.2, .8, .2, 1) both; }
  .chip-cyan { --from: -40px, -20px; animation-delay: .15s; }
  .chip-green { --from: 40px, 0; animation-delay: .3s; }
  .chip-orange { --from: -30px, 30px; animation-delay: .45s; }
  @keyframes settle { from { opacity: 0; transform: translate(var(--from)); } to { opacity: 1; transform: none; } }
}

/* Sources band */
.sources { background: var(--night); color: var(--on-night); padding: clamp(64px, 9vw, 120px) 0; }
.section-lede { margin-top: 18px; font-size: 1.15rem; color: var(--on-night-soft); max-width: 60ch; }
.src-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.src { padding-top: 22px; border-top: 3px solid; }
.src .dot { display: block; width: 18px; height: 18px; border-radius: 50%; margin-bottom: 16px; }
.src p { margin-top: 10px; color: var(--on-night-soft); }
.src-cyan { border-color: var(--cyan); } .src-cyan .dot { background: var(--cyan); }
.src-green { border-color: var(--green); } .src-green .dot { background: var(--green); }
.src-orange { border-color: var(--orange); } .src-orange .dot { background: var(--orange); }

/* Features */
.features { padding: clamp(72px, 10vw, 128px) 0 clamp(40px, 6vw, 80px); }
.feat-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.feat-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--paper-2); fill: none; stroke: var(--orange-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat-list p { margin-top: 6px; color: var(--ink-soft); max-width: 50ch; }

/* Screens */
.screens { padding: clamp(48px, 7vw, 96px) 0; background: var(--paper-2); }
.shot-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.shot-list li { display: grid; gap: 18px; justify-items: center; text-align: center; }
.shot-list .phone { width: min(260px, 100%); }
.shot-list p { font-weight: 600; max-width: 26ch; }

/* Privacy */
.privacy { padding: clamp(72px, 10vw, 120px) 0 0; }
.privacy-card {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px;
  border: 2px solid var(--ink);
}
.privacy-card > img { border-radius: 24px; background: #fff; }
.checks { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; font-size: 1.1rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--green) 55%, #2b2116);
}
.text-link { font-weight: 700; color: var(--orange-deep); text-underline-offset: 4px; }

/* FAQ (home and support) */
.faq { padding: clamp(72px, 10vw, 120px) 0; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.12rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--orange-deep); border-bottom: 2.5px solid var(--orange-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 66ch; }

/* Closing */
.closing {
  background: var(--orange); color: #2b2116; text-align: center;
  padding: clamp(72px, 10vw, 120px) 16px; display: grid; justify-items: center; gap: 32px;
}
.closing h2 { max-width: 18ch; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
.closing .store-light { background: #2b2116; color: #fffdf9; }

/* Documents: privacy and support */
.doc { padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 112px); max-width: 760px; }
.doc h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.doc h2 { font-size: 1.45rem; font-weight: 750; margin-top: 44px; max-width: none; }
.doc section > p, .doc .doc-intro { margin-top: 12px; }
.doc .doc-intro { font-size: 1.2rem; margin-top: 22px; }
.doc a { color: var(--orange-deep); text-underline-offset: 3px; font-weight: 600; }
.updated { margin-top: 10px; color: var(--ink-soft); font-weight: 600; }
.note { margin-top: 10px; font-size: .95rem; color: var(--ink-soft); }
.contact-card { margin-top: 36px; padding: 28px; border-radius: 22px; background: var(--paper-2); }
.contact-card h2 { margin-top: 0; }
.contact-card p { margin: 10px 0 20px; }
.contact-card .store { color: var(--paper); }
.doc .faq-list { margin-top: 16px; }

/* Footer */
.foot { background: var(--night); color: var(--on-night); padding: 48px max(16px, calc((100% - 1120px) / 2)) 40px; }
.foot-main { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot nav a { color: var(--on-night); text-decoration: none; font-weight: 600; }
.foot nav a:hover { text-decoration: underline; }
.foot-langs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-langs a { color: var(--on-night-soft); }
.foot-note { margin-top: 14px; font-size: .88rem; color: var(--on-night-soft); max-width: 90ch; }

/* Phone and small tablet layout */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { min-height: 480px; }
  .src-list, .shot-list { grid-template-columns: 1fr; }
  .shot-list li { grid-template-columns: 160px 1fr; text-align: left; justify-items: start; align-items: center; }
  .feat-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { gap: 12px; }
  .top nav { gap: 14px; }
  .top nav a:first-child { display: none; }
  .lang summary span { display: none; }
  .brand span { display: none; }
  .hero-art { min-height: 440px; }
  .chip { font-size: .85rem; padding: 7px 12px; }
  .chip-green { right: 0; }
  .privacy-card { grid-template-columns: 1fr; }
  .privacy-card > img { width: 72px; height: 72px; }
  .shot-list li { grid-template-columns: 120px 1fr; }
}
