/* EmBuddy AI — embuddyai.com
   Plan: the brand's own five-stop gradient appears once, as the "embrace" ring behind the phone in the hero
   (an echo of the symbol: two hands forming an open circle). Everything else is quiet: off-white paper,
   navy headings, ink text, hairline-free sections. Display: Bricolage Grotesque; body: Figtree. */
:root {
  --paper: #F8F9FE; --ink: #111528; --navy: #1F2653; --muted: #5A6080; --line: #E1E4F0; --surface: #FFFFFF;
  --indigo: #777DD5; --violet: #A27FE1; --lavender: #D8B8F2; --cyan: #6CC2D1; --pale: #B0E6E5;
  --embrace: conic-gradient(from 210deg, #D8B8F2, #A27FE1, #777DD5, #6CC2D1, #B0E6E5, #D8B8F2);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Avenir", "Segoe UI", system-ui, sans-serif;
  --radius: 14px; --gutter: clamp(16px, 5vw, 56px); --col: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #0F1222; --ink: #ECEEF8; --navy: #DDE1FF; --muted: #A3A9C4; --line: #262C47; --surface: #171B30; color-scheme: dark; } }
:root[data-theme="dark"] { --paper: #0F1222; --ink: #ECEEF8; --navy: #DDE1FF; --muted: #A3A9C4; --line: #262C47; --surface: #171B30; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[data-lang="en"] [lang="tr"], html[data-lang="tr"] [lang="en"] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--col); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.1rem; }
.logo img { width: 38px; height: 38px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .85rem; padding: 6px 12px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 9vw, 110px) clamp(40px, 7vw, 90px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.eyebrow { color: var(--muted); font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem; border: 1px solid transparent; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #2a3470; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--surface); }
.btn-ghost:hover { border-color: var(--indigo); }
.hero-note { font-size: .9rem; color: var(--muted); }

.embrace { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.embrace::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--embrace); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 54px), #000 calc(100% - 53px)); mask: radial-gradient(farthest-side, transparent calc(100% - 54px), #000 calc(100% - 53px)); opacity: .95; }
.embrace::after { content: ""; position: absolute; inset: 54px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--lavender) 35%, transparent), transparent 70%); }
.phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%); width: 46%; aspect-ratio: 9 / 19.5; border-radius: 34px; background: #0b0d1a; padding: 8px; box-shadow: 0 30px 60px -30px rgba(17, 21, 40, .55); z-index: 1; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; display: block; }
.embrace .mark { position: absolute; width: 18%; right: 6%; bottom: 10%; z-index: 2; filter: drop-shadow(0 8px 16px rgba(17,21,40,.25)); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .embrace { max-width: 380px; } }

/* sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 60ch; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px 40px; }
.feature { display: grid; gap: 8px; align-content: start; }
.feature .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--embrace); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 1rem; }

.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; margin-top: 10px; }
.screens figure { margin: 0; display: grid; gap: 10px; }
.screens img { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.screens figcaption { font-size: .9rem; color: var(--muted); }

.safety { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.safety ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 10px; color: var(--ink); }
.safety li::marker { color: var(--indigo); }
@media (max-width: 760px) { .safety { grid-template-columns: 1fr; } }

.get { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.get h3 { margin-bottom: 8px; }
.get p { color: var(--muted); font-size: 1rem; }
.get .status { display: inline-block; margin-top: 10px; font-size: .85rem; color: var(--navy); background: color-mix(in srgb, var(--pale) 55%, transparent); border-radius: 999px; padding: 4px 10px; }
.contact { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); word-break: break-word; }

.project { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
.project dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: .98rem; }
.project dt { color: var(--muted); }
.project dd { margin: 0; }
@media (max-width: 760px) { .project { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--navy); }

/* text pages (privacy, support) */
.doc { padding-block: clamp(40px, 7vw, 80px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: .95rem; margin-bottom: 36px; }
.doc h2 { font-size: 1.45rem; margin: 38px 0 12px; }
.doc h3 { margin: 22px 0 8px; }
.doc p, .doc li { max-width: 70ch; }
.doc ul { padding-left: 1.2rem; display: grid; gap: 8px; margin: 10px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 14px 0; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.doc details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: var(--surface); margin: 10px 0; }
.doc summary { cursor: pointer; font-weight: 600; color: var(--navy); font-family: var(--font-display); }
.doc details p { margin-top: 10px; color: var(--ink); }
