/* VSKOR - AI-Powered Behavioral Credit Scoring
   Palette taken from the "Behavioral Credit Scoring" deck. */

/* Open Sauce Sans: the latin files already include Turkish letters (ğ ı ş İ ...) */
@font-face { font-family: "Open Sauce Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/open-sauce-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/open-sauce-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/open-sauce-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/open-sauce-sans-latin-700-normal.woff2") format("woff2"); }
/* DM Sans: Turkish letters are split between the latin and latin-ext files */
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/dm-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --navy: #0A1A44;       /* deck: main text / dark slides */
  --navy-deep: #071332;  /* deck: step 02 card */
  --teal: #00C4CC;       /* deck: number badges, links, privacy slide */
  --cyan: #57E4FF;       /* deck: highlight text, careers slide */
  --blue: #235A86;       /* deck: "S" shape */
  --mid: #056F88;        /* deck: middle of the cover gradient */
  --teal-text: #00818A;  /* --teal darkened for small text on light backgrounds (WCAG AA) */
  --orange: #F48522;     /* logo accent */
  --bg: #FAFAFA;         /* deck: light slides */
  --gray: #E9EAEC;       /* deck: privacy text */
  --white: #FFFFFF;
  --ink: #0A1A44;
  --ink-2: #33415F;
  --muted: #5B6884;
  --line: #E3E6EC;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(7, 19, 50, 0.35);
  /* The deck's cover gradient (#00C4CC -> #056F88 -> #0A1A44), turned so the
     dark end sits behind the text for contrast and the teal end behind the image. */
  --grad: linear-gradient(115deg, #0A1A44 0%, #0A1A44 18%, #056F88 62%, #00C4CC 100%);
  --font: "Open Sauce Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-alt: "DM Sans", "Open Sauce Sans", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 18px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(10, 26, 68, 0.94); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); padding: 12px 0; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(255,255,255,.86); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--white); }
.nav .btn, .nav .btn:hover { color: var(--navy); } /* white button keeps navy text on hover */
.nav .btn:hover { background: var(--cyan); }

/* language switch */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); }
.lang a { padding: 4px 10px; border-radius: 999px; font-family: var(--font-alt); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.75); }
.lang a:hover { color: var(--white); }
.lang a[aria-current="true"] { background: var(--white); color: var(--navy); }
.lang a[aria-current="true"]:hover { color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-alt); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-light { background: var(--white); color: var(--navy); box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--white); border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,196,204,.8); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad);
  color: var(--white);
  padding: 150px 0 110px;
  min-height: 92vh; display: flex; align-items: center;
}
.hero::after { /* soft light like the deck's glossy gradient */
  content: ""; position: absolute; inset: -35% -15% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(87,228,255,.30), transparent 60%); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-alt); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { color: var(--white); font-size: clamp(44px, 6.4vw, 86px); font-weight: 700; margin: 18px 0 22px; }
.hero h1 span { color: var(--cyan); }
.hero .lead { font-size: 19px; font-weight: 300; color: rgba(255,255,255,.88); max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art { position: relative; }
section[id] { scroll-margin-top: 64px; } /* keep section tops clear of the fixed header */
.hero-art picture img { border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); }
.score-chip {
  position: absolute; left: -22px; bottom: -26px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--navy); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); font-family: var(--font-alt);
}
.score-chip b { font-size: 24px; letter-spacing: -0.02em; }
.score-chip small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.score-chip .dot { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(var(--orange) 0 78%, var(--gray) 78% 100%); display: grid; place-items: center; }
.score-chip .dot::after { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--white); }

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; }
.section.light { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); }
.kicker { font-family: var(--font-alt); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); }

/* difference */
.diff { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.diff-art { position: relative; }
.diff-art img.photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 40px 160px 40px 40px; box-shadow: var(--shadow); }
.diff-art .shape { position: absolute; width: 132px; right: -36px; bottom: -40px; }
.diff h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 14px 0 18px; }
.diff .intro { font-size: 19px; color: var(--muted); margin-bottom: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 17px; color: var(--ink); }
.checks .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,196,204,.14); color: var(--teal-text); }
.checks .ic svg { width: 18px; height: 18px; }

/* innovation */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step {
  position: relative; border-radius: var(--radius); padding: 34px 30px 32px;
  background: var(--navy); color: rgba(255,255,255,.86); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.step.deep { background: var(--navy-deep); color: var(--cyan); }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: var(--navy);
  display: grid; place-items: center; font-family: var(--font-alt); font-weight: 700; font-size: 17px;
}
.step h3 { color: var(--white); font-size: 26px; margin: 22px 0 14px; font-weight: 700; }
.step p { font-size: 16px; }
.step ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.step ul li { padding-left: 18px; position: relative; }
.step ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.step .arrow { position: absolute; right: -22px; top: 52px; width: 18px; height: 18px; color: var(--teal); z-index: 2; }
.step .note { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.72); }
.step .note strong { color: var(--white); }
.gauge { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 18px; }
.gauge svg { width: 132px; height: 82px; flex: none; }
.gauge .val { font-family: var(--font-alt); font-weight: 700; font-size: 30px; color: var(--white); letter-spacing: -0.02em; }
.gauge small { display: block; font-size: 13px; color: var(--cyan); line-height: 1.4; }

.facts { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; }
.fact b { display: block; font-family: var(--font-alt); font-size: 28px; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
.fact span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.about-art img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 160px 40px 40px 40px; box-shadow: var(--shadow); }
.about h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 14px 0 22px; }
.about p + p { margin-top: 16px; }
.about .big { font-size: 20px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 26px; padding: 0; list-style: none; }
.chips li { padding: 8px 15px; border-radius: 999px; background: rgba(87,228,255,.18); color: var(--navy); font-size: 14.5px; font-weight: 500; }
.contact-line { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-text); font-weight: 700; font-size: 18px; text-decoration: none; font-family: var(--font-alt); }
.contact-line:hover { text-decoration: underline; }
.contact-line svg { width: 20px; height: 20px; }

/* careers */
.careers { background: var(--grad); color: var(--white); overflow: hidden; }
.careers .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.careers h2 { color: var(--white); font-size: clamp(36px, 4.6vw, 60px); margin: 14px 0 24px; }
.careers .kicker { color: var(--cyan); }
.careers p { font-size: 20px; font-weight: 300; color: rgba(255,255,255,.92); max-width: 600px; }
.careers p + p { margin-top: 16px; }
.careers .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.careers .mail { color: rgba(255,255,255,.85); font-family: var(--font-alt); font-weight: 500; }
.careers-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 8px solid rgba(255,255,255,.18); }

/* footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 64px 0 36px; font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 32px; width: auto; }
.site-footer p.tag { margin-top: 16px; max-width: 360px; }
.site-footer h4 { margin: 0 0 14px; color: var(--white); font-family: var(--font-alt); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* privacy page */
.page-hero { background: var(--teal); padding: 150px 0 70px; color: var(--navy); }
.page-hero h1 { color: var(--navy); font-size: clamp(36px, 5vw, 62px); margin-top: 12px; }
.page-hero .kicker { color: var(--navy); opacity: .75; }
.page-hero p { margin-top: 14px; font-size: 16px; color: var(--navy-deep); }
.policy { background: var(--bg); padding: 0 0 110px; }
.policy .card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 56px clamp(24px, 6vw, 72px); margin: -40px auto 0; position: relative; max-width: 900px; }
.policy h2 { font-size: 24px; margin: 40px 0 14px; }
.policy h2:first-of-type { margin-top: 32px; }
.policy p + p { margin-top: 14px; }
.policy ul { margin: 14px 0; padding-left: 22px; display: grid; gap: 6px; }
.policy li::marker { color: var(--teal-text); }
.policy a { color: var(--teal-text); font-weight: 600; }
.policy .callout { margin: 20px 0; padding: 18px 22px; border-radius: 14px; background: rgba(0,196,204,.1); color: var(--navy); font-weight: 500; }
.policy .updated { margin-top: 36px; font-size: 14px; color: var(--muted); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .diff, .about, .careers .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 130px 0 90px; min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .step .arrow { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .diff-art, .about-art { max-width: 560px; }
  .careers-art { max-width: 360px; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy); border-radius: 18px; padding: 14px; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .nav .btn { justify-content: center; margin-top: 6px; }
  .nav .lang { align-self: flex-start; margin: 6px 0 2px 10px; }
  .nav .lang a { padding: 6px 14px; }
  .score-chip { left: 12px; bottom: -22px; }
  .diff-art .shape { width: 92px; right: -8px; bottom: -28px; }
  .facts { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr; }
}

/* "Send your CV" dialog: pick a webmail */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mail-dialog {
  width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto;
  border: 0; border-radius: var(--radius); padding: 28px 28px 24px; color: var(--ink-2);
  box-shadow: 0 40px 90px -30px rgba(7,19,50,.6); font-family: var(--font);
}
.mail-dialog::backdrop { background: rgba(7, 19, 50, .55); backdrop-filter: blur(3px); }
.mail-dialog[open] { animation: mail-in .22s ease-out; }
@keyframes mail-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mail-dialog[open] { animation: none; } }
.mail-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mail-dialog h2 { font-size: 24px; }
.mail-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.mail-close:hover { background: var(--gray); }
.mail-close svg { width: 18px; height: 18px; }
.mail-intro { margin-top: 8px; font-size: 15px; color: var(--muted); }
.mail-options { margin-top: 20px; display: grid; gap: 10px; }
.mail-option {
  display: grid; grid-template-columns: 40px 1fr 18px; align-items: center; gap: 14px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy);
  font-weight: 600; transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.mail-option:hover { border-color: var(--teal); background: rgba(0,196,204,.06); transform: translateY(-1px); }
.mail-option svg { width: 18px; height: 18px; color: var(--muted); }
.mail-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--font-alt); font-weight: 700; font-size: 17px; }
.mail-logo.gmail { background: #EA4335; }
.mail-logo.outlook { background: #0F6CBD; }
.mail-logo.m365 { background: #0A1A44; }
.mail-logo.yahoo { background: #6001D2; }
.mail-alt { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 13px; }
.mail-alt::before, .mail-alt::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.mail-secondary { display: flex; flex-wrap: wrap; gap: 10px; }
.mail-link, .mail-copy {
  flex: 1 1 180px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  font: 600 14px var(--font); color: var(--navy); text-decoration: none; cursor: pointer;
}
.mail-link:hover, .mail-copy:hover { border-color: var(--teal); }
.mail-copy svg { width: 16px; height: 16px; flex: none; }
.mail-copy.done { border-color: var(--teal); color: var(--teal-text); }
.mail-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(87,228,255,.16); color: var(--navy); font-size: 14px; line-height: 1.5; }
.mail-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--teal-text); }
