/* Afiyet public site: landing page, support and legal pages. Flat colours, no external requests. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/PlusJakartaSans_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/PlusJakartaSans_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/PlusJakartaSans_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/PlusJakartaSans_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("/assets/fonts/PlusJakartaSans_800ExtraBold.ttf") format("truetype"); }

:root {
  --ink: #161616;
  --ink-soft: #555555;
  --muted: #8a8a8a;
  --line: #e8e8e8;
  --bg: #ffffff;
  --cream: #fff8f2;
  --orange: #e0662f;
  --orange-soft: #fcebe2;
  --butter: #fbf0d9;
  --sage: #e5efe2;
  --sky: #e6eef6;
  --radius: 28px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 16px/1.65 "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.12; font-weight: 800; text-wrap: balance; }
.lead, .sub { text-wrap: pretty; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.accent { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: background 0.2s, border-color 0.2s; }
.nav.at-top { background: #fff; border-bottom-color: transparent; backdrop-filter: none; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform 0.15s, background 0.15s; }
.btn:hover { background: #c9561f; transform: translateY(-1px); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #000; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 176px; height: 56px; padding: 0 20px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; transition: transform 0.15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: 11px; font-weight: 500; opacity: 0.8; }
.store b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.store--soon { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); cursor: default; }
.store--soon:hover { transform: none; }
.store--light { background: #fff; color: var(--ink); }
.store--soon.store--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }

/* Hero */
.hero { position: relative; isolation: isolate; background: #fff; padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(#fff 0%, #fff 22%, rgba(255, 255, 255, 0) 52%),
  radial-gradient(34% 48% at 4% 82%, rgba(92, 165, 255, 0.55), transparent 72%),
  radial-gradient(34% 48% at 96% 84%, rgba(255, 108, 44, 0.55), transparent 72%),
  radial-gradient(46% 38% at 50% 62%, rgba(255, 226, 196, 0.75), transparent 72%),
  #fff; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #f3d9c9; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); max-width: 860px; margin: 24px auto 0; }
.hero .lead { max-width: 640px; margin: 20px auto 0; font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); }
.hero .stores { justify-content: center; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.trust span::before { content: "✓"; color: var(--orange); margin-right: 7px; font-weight: 800; }
.hero-phones { display: flex; justify-content: center; align-items: flex-start; margin-top: 56px; height: clamp(300px, 44vw, 520px); overflow: hidden; }
.hero-phones .phone { width: clamp(150px, 22vw, 268px); margin-top: 44px; }
.hero-phones .phone--main { width: clamp(176px, 27vw, 320px); margin: 0 clamp(-24px, -2vw, -8px); position: relative; z-index: 2; }

/* Phone frame */
.phone { position: relative; border: 7px solid var(--ink); border-radius: 42px; overflow: hidden; background: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); }
.phone img { width: 100%; height: auto; }
.phone::after { content: ""; position: absolute; top: 9px; left: 50%; width: 30%; height: 14px; transform: translateX(-50%); border-radius: 999px; background: var(--ink); }

/* Sections */
section { padding: 96px 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.title { font-size: clamp(28px, 4.2vw, 46px); margin-top: 12px; }
.sub { max-width: 620px; margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step { border-radius: var(--radius); padding: 32px 28px 36px; }
.step .no { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--orange); }
.step h3 { font-size: 22px; margin-top: 28px; }
.step p { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; }
.tone-peach { background: var(--orange-soft); }
.tone-butter { background: var(--butter); }
.tone-sage { background: var(--sage); }
.tone-sky { background: var(--sky); }

/* Feature rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row + .row { margin-top: 96px; }
.row--flip .copy { order: 2; }
.copy .title { font-size: clamp(26px, 3.6vw, 40px); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-soft); font-size: 16px; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks b { color: var(--ink); font-weight: 700; }
.visual { border-radius: 36px; padding: 48px 32px 0; display: flex; justify-content: center; align-items: flex-start; gap: 20px; height: 560px; overflow: hidden; }
.visual .phone { width: min(46%, 250px); }
.visual .phone:nth-child(2) { margin-top: 56px; }
.visual--single .phone { width: min(56%, 290px); }

/* Small features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: #fff; }
.card .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 26px; }
.card h3 { font-size: 19px; margin-top: 20px; letter-spacing: -0.02em; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }


/* Feature orbit: phone in the middle, outlined cards around it */
.title--duo { font-weight: 800; }
.title--duo span { color: #b4b4b4; font-weight: 500; }
.orbit { position: relative; display: grid; grid-template-columns: 1fr minmax(250px, 300px) 1fr; gap: 56px; align-items: stretch; margin-top: 56px; text-align: left; }
.orbit::before { content: ""; position: absolute; top: 50%; left: 50%; height: 108%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1.5px solid #dedede; border-radius: 50%; pointer-events: none; }
.orbit-col { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.orbit-col--right { align-items: flex-end; }
.orbit-card { position: relative; width: min(100%, 300px); min-height: 150px; padding: 22px 22px 22px; display: flex; flex-direction: column; justify-content: flex-end; background: #fff; border: 1.5px solid var(--c); border-radius: 22px; }
.orbit-card h3 { font-size: 18px; letter-spacing: -0.02em; }
.orbit-card p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.orbit-ico { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; }
.orbit-ico svg { width: 22px; height: 22px; }
.phone--orbit { position: relative; z-index: 1; align-self: center; width: 100%; border-width: 8px; border-radius: 46px; }
@media (max-width: 900px) {
  .orbit { grid-template-columns: 1fr; gap: 24px; }
  .orbit::before { display: none; }
  .phone--orbit { order: -1; width: min(70%, 280px); justify-self: center; }
  .orbit-col, .orbit-col--right { align-items: stretch; }
  .orbit-card { width: 100%; min-height: 128px; }
}

/* Creators */
.dark { background: var(--ink); color: #fff; border-radius: 40px; padding: 72px 56px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.dark .sub { color: rgba(255, 255, 255, 0.72); }
.dark .eyebrow { color: #f0844f; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 14.5px; }
.dark .btn { margin-top: 32px; }
.dark .mini { display: grid; gap: 14px; }
.mini .row-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.07); }
.mini .row-card span { font-size: 26px; }
.mini .row-card b { display: block; font-size: 16px; }
.mini .row-card small { color: rgba(255, 255, 255, 0.66); font-size: 14px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; max-width: 880px; margin-inline: auto; text-align: left; }
.plan { border-radius: var(--radius); padding: 36px 32px; }
.plan h3 { font-size: 26px; }
.plan > p { margin-top: 6px; color: var(--ink-soft); }
.plan .ticks { margin-top: 24px; }
.plan--pro { background: var(--ink); color: #fff; }
.plan--pro > p, .plan--pro .ticks li { color: rgba(255, 255, 255, 0.78); }
.plan--pro .ticks b { color: #fff; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.value h3 { font-size: 18px; margin-top: 16px; letter-spacing: -0.02em; }
.value p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.value .ico { font-size: 30px; }

/* FAQ */
.faq { max-width: 760px; margin: 48px auto 0; display: grid; gap: 12px; text-align: left; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details[open] { background: var(--cream); border-color: #f3d9c9; }
.faq .answer { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; }
.faq .answer a { color: var(--orange); font-weight: 600; }

/* Support */
.support { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.support .card h3 { margin-top: 0; }
.support a { color: var(--orange); font-weight: 700; }

/* Download band */
.cta { background: var(--orange); border-radius: 40px; padding: 72px 32px; text-align: center; color: #fff; }
.cta .title { color: #fff; margin: 0 auto; max-width: 640px; }
.cta .sub { color: rgba(255, 255, 255, 0.9); margin-inline: auto; }
.cta .stores { justify-content: center; margin-top: 32px; }
.cta .store { background: var(--ink); }
.cta .store--soon { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.85); color: #fff; }

/* Footer */
footer { padding: 56px 0 48px; border-top: 1px solid var(--line); margin-top: 96px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--ink-soft); font-size: 14.5px; margin-top: 14px; max-width: 360px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 600; font-size: 15px; }
.foot ul a { text-decoration: none; color: var(--ink-soft); }
.foot ul a:hover { color: var(--orange); }
.legalnote { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 6px; }

/* Documents (privacy, terms) */
.doc { max-width: 760px; padding: 56px 0 8px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); }
.doc h2 { font-size: 21px; margin-top: 36px; letter-spacing: -0.02em; }
.doc p { margin-top: 10px; color: var(--ink-soft); }
.doc .muted { color: var(--muted); font-size: 14px; margin-top: 8px; }
.doc a { color: var(--orange); font-weight: 600; }

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .steps, .grid, .values { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .row, .dark, .plans, .support { grid-template-columns: 1fr; }
  .row { gap: 36px; }
  .row--flip .copy { order: 0; }
  .visual { height: 480px; padding-top: 36px; }
  .dark { padding: 48px 28px; border-radius: 32px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
  .store { flex: 1 1 100%; }
  .hero { padding-top: 48px; }
  .phone { border-width: 5px; border-radius: 30px; }
  .hero-phones .phone--main { margin: 0 -10px; }
  .cta { border-radius: 28px; padding: 56px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
