/* Lokum — shared styles */

:root {
  --bg: #FBF5F6;
  --ink: #151B24;
  --muted: #5C6470;
  --card: #FFFFFF;
  --pink: #F6B1C3;
  --rose: #A8455F;
  --navy: #0A1420;
  --border: rgba(21, 27, 36, 0.10);
  --shadow: 0 20px 50px -25px rgba(10, 20, 32, 0.35);
  --focus: #0A66FF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1119;
    --ink: #F3EEF0;
    --muted: #A6ADB8;
    --card: #121A24;
    --rose: #F29FB5;
    --border: rgba(243, 238, 240, 0.12);
    --shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.6);
    --focus: #7FB0FF;
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  text-wrap: balance;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  text-wrap: balance;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em 0;
  max-width: 68ch;
}

a {
  color: var(--rose);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
  border: 1px solid var(--border);
}

.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 22%;
  display: block;
}

.brand span {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
}

.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--rose);
}

.site-nav a[aria-current="page"] {
  color: var(--rose);
}

/* Main / sections */

main {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding: 64px 0 96px;
}

main.narrow {
  gap: 56px;
  padding: 56px 0 80px;
}

section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--rose);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-copy p.sub {
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--rose);
  color: #fff;
}

.btn-primary[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(240px, 55vw);
  border-radius: 44px;
  background: var(--navy);
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-frame .screen {
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  display: block;
}

.phone-frame img {
  width: 100%;
  display: block;
}

/* Cards grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  margin: 0;
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  position: relative;
}

.step .num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  color: var(--rose);
  display: block;
  margin-bottom: 8px;
}

/* Privacy teaser */

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.privacy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-weight: 700;
}

/* Screenshot scroller */

.shots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shot .frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy);
  padding: 8px;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.shot figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Honesty section */

.honesty {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

/* Content pages (privacy/support) */

.content h2 {
  margin-top: 0.4em;
}

.content section {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.content section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.lang-divider {
  margin: 16px 0 0;
  border: none;
  border-top: 2px solid var(--border);
}

/* FAQ */

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
}

.faq details[open] summary {
  margin-bottom: 10px;
}

.report-steps {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}

.report-steps ul {
  padding-left: 20px;
  color: var(--muted);
}

/* 404 */

.notfound {
  text-align: center;
  padding: 96px 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
