/* Harf Sepeti — colours mirror the app's Mola palette (Design/Theme.swift). */
:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --cream: #fffcf6;
  --ink: #213e35;
  --muted: #6c766b;
  --line: #e5e5d9;
  --sage: #e6eddf;
  --green: #54775c;
  --orange: #c87650;
  --peach: #f6e7d9;
  --gold: #c5a363;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(33, 62, 53, 0.05) 1px, transparent 1.2px);
  background-size: 22px 22px;
  line-height: 1.5;
}

a { color: var(--green); text-underline-offset: 0.18em; }
img { max-width: 100%; display: block; }

.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

/* Header */
header { padding: 20px 0 8px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 12px rgba(33, 62, 53, 0.12); }
.brand span { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.links { display: flex; gap: 20px; font-size: 14px; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }

/* Type */
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--rounded);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(46px, 7.4vw, 84px); }
h1 em, h2 em { font-style: normal; color: var(--orange); }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.lead { max-width: 540px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

/* Buttons */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 54px; padding: 0 22px; border-radius: 18px;
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.button.primary { color: var(--cream); background: var(--ink); }
.button.secondary { color: var(--ink); background: var(--sage); }
.button:hover { opacity: 0.88; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 56px 0 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.chip b { color: var(--ink); font-weight: 600; }
.tiles { position: relative; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.tiles::before {
  content: ""; position: absolute; width: 88%; height: 58%; top: 26%;
  background: var(--sage); border-radius: 50%; transform: rotate(-12deg);
  box-shadow: 0 0 0 14px var(--paper), 0 0 0 15px var(--line);
}
.tile {
  position: relative; display: grid; place-items: center; margin: 0 -4px;
  width: clamp(68px, 9vw, 92px); aspect-ratio: 1; border-radius: 20%;
  background: var(--cream); border: 1px solid var(--line); box-shadow: 0 5px 0 #dad5c7, 0 12px 22px rgba(33, 62, 53, 0.08);
  font-family: var(--rounded); font-weight: 600; font-size: clamp(30px, 4vw, 40px); color: var(--ink);
  transform: translateY(var(--y)) rotate(var(--r));
}
.spark { position: absolute; color: var(--gold); font-size: 26px; }
.spark.small { color: var(--orange); font-size: 16px; }

/* Sections */
main { overflow-x: clip; }
section { padding: 56px 0; }
.section-head { max-width: 640px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.card .num { font-family: var(--serif); font-size: 30px; color: var(--orange); line-height: 1; margin-bottom: 14px; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card.sage { background: var(--sage); border-color: transparent; }
.card.peach { background: var(--peach); border-color: transparent; }

.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr);
  gap: 16px; margin-top: 30px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.gallery img {
  scroll-snap-align: start; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(33, 62, 53, 0.08);
}

/* FAQ */
.faq { max-width: 760px; margin-top: 24px; }
details { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }

/* Content pages */
.content { max-width: 780px; padding: 48px 0 72px; }
.content h1 { font-size: clamp(42px, 6.4vw, 70px); }
.content h2 { margin-top: 40px; font-size: 30px; }
.content p, .content li { color: var(--muted); line-height: 1.75; }
.content ul { padding-left: 22px; }
.updated { font-family: var(--rounded); font-size: 13px; color: var(--muted); margin-top: 14px; }
.note {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 26px 0; padding: 20px 22px; border-radius: 22px; background: var(--sage); color: var(--ink);
}
.note a { font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer .shell { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 40px; }
  .features { grid-template-columns: 1fr; }
  .links { gap: 14px; }
  .brand span { font-size: 19px; }
}
