:root {
  color-scheme: dark;
  --canvas: #07090b;
  --surface: #121619;
  --surface-strong: #191e22;
  --ink: #f7f8f8;
  --muted: #a7adb2;
  --faint: #747c82;
  --line: rgba(255, 255, 255, 0.13);
  --keep: #61d6a1;
  --remove: #ff6e66;
  --max: 1180px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--keep); color: #07100c; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--canvas); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 88px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.035em; }
nav { display: flex; align-items: center; gap: 26px; }
nav a, .text-link { color: var(--muted); text-decoration: none; font-size: 0.91rem; text-underline-offset: 5px; transition: color 160ms ease; }
nav a:hover, nav a:focus-visible, .text-link:hover, .text-link:focus-visible { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--keep); outline-offset: 5px; }

h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
h1 { max-width: 760px; font-size: clamp(3.35rem, 7.2vw, 5.9rem); font-weight: 650; }
h1 span { color: var(--muted); }
h2 { font-size: clamp(2.45rem, 5vw, 4.9rem); font-weight: 640; }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }

.hero-home { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.65fr); gap: clamp(64px, 9vw, 138px); align-items: center; min-height: calc(100vh - 88px); padding: 88px 0 112px; }
.hero-copy { animation: hero-copy-in 680ms cubic-bezier(.16, 1, .3, 1) both; }
.hero-lede { max-width: 650px; margin: 31px 0 30px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; font-size: 0.94rem; font-weight: 650; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #080a0c; border-color: var(--ink); }
.button-primary:hover { background: #dde2e4; }
.store-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 16px 7px 13px; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.store-cta:hover { border-color: var(--keep); transform: translateY(-2px); }
.store-cta svg { width: 23px; height: 23px; fill: currentColor; }
.store-cta small, .store-cta strong { display: block; line-height: 1.08; }
.store-cta small { font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; }
.store-cta strong { margin-top: 4px; color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.trust-line { display: flex; flex-wrap: wrap; gap: 9px 22px; margin: 31px 0 0; padding: 0; color: var(--faint); font-size: 0.82rem; list-style: none; }
.trust-line li { position: relative; padding-left: 13px; }
.trust-line li::before { content: ""; position: absolute; top: 0.65em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--keep); transform: translateY(-50%); }

.app-shot { width: min(100%, 430px); margin: 0; }
.app-shot-frame { overflow: hidden; padding: 8px; border: 1px solid var(--line); border-radius: 34px; background: #020303; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42); }
.app-shot-frame img { width: 100%; height: auto; border-radius: 27px; background: #020303; }
.app-shot figcaption { display: flex; justify-content: space-between; margin-top: 14px; color: var(--faint); font-size: 0.78rem; }
.app-shot figcaption::after { content: "Actual app screen"; color: var(--muted); }
html[lang="tr"] .app-shot figcaption::after { content: "Gerçek uygulama ekranı"; }
.app-shot-hero { justify-self: end; animation: hero-shot-in 900ms 90ms cubic-bezier(.16, 1, .3, 1) both; }

.intro-strip { padding: 88px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-strip p { max-width: 1030px; margin: 0; font-size: clamp(1.9rem, 4.1vw, 4rem); line-height: 1.16; letter-spacing: -0.03em; text-wrap: balance; }

.product-story { padding: 42px 0 0; }
.story-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr); gap: clamp(52px, 10vw, 150px); align-items: center; min-height: 860px; padding: 110px 0; border-bottom: 1px solid var(--line); }
.story-copy { max-width: 640px; }
.story-copy > p { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.story-block .app-shot { justify-self: end; }
.story-privacy .story-copy { order: 2; justify-self: end; }
.story-privacy .app-shot { order: 1; justify-self: start; }
.arrow-link { display: inline-flex; gap: 10px; margin-top: 25px; color: var(--ink); font-weight: 600; }
.arrow-link span { color: var(--keep); }

.story-resume { min-height: 620px; grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.55fr); }
.resume-note { align-self: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.resume-mark { position: relative; display: block; width: 100%; height: 4px; margin-bottom: 25px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.14); }
.resume-mark::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 44%; border-radius: inherit; background: var(--ink); }
.resume-note p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.resume-note strong { color: var(--ink); font-size: 1.13rem; }

.closing-section { padding: 135px 0 145px; }
.closing-section h2 { max-width: 950px; font-size: clamp(3rem, 7vw, 5.9rem); }
.closing-section > p { margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.store-cta-large { margin-top: 28px; min-height: 59px; padding-right: 22px; }
.store-cta-large svg { width: 27px; height: 27px; }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0 36px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.84rem; }
.site-footer nav { gap: 19px; }

/* Legal and support pages */
.eyebrow { margin: 0 0 20px; color: var(--keep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.page { max-width: 760px; padding: 90px 0 125px; }
.page h1 { max-width: 720px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page .lede { max-width: 650px; margin: 23px 0 54px; color: var(--muted); font-size: 1.15rem; }
.page h2 { margin: 55px 0 13px; font-size: 1.65rem; }
.page h3 { margin: 30px 0 7px; font-size: 1.08rem; }
.page p, .page li { color: var(--muted); font-size: 1rem; }
.page ul { padding-left: 1.3rem; }
.page li + li { margin-top: 9px; }
.notice { margin: 35px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card h2 { margin: 0; }
.contact-card p { margin: 3px 0 0; }
.contact-card .button { color: var(--keep); white-space: nowrap; }

@keyframes hero-copy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-shot-in { from { opacity: 0; clip-path: inset(0 0 100% 0 round 34px); transform: translateY(28px); } to { opacity: 1; clip-path: inset(0 round 34px); transform: translateY(0); } }

@media (max-width: 900px) {
  .hero-home { grid-template-columns: 1fr; min-height: auto; padding: 78px 0 104px; }
  .app-shot-hero { justify-self: start; }
  .story-block, .story-resume { grid-template-columns: 1fr; min-height: auto; padding: 95px 0; }
  .story-block .app-shot, .story-privacy .story-copy, .story-privacy .app-shot { justify-self: start; }
  .story-privacy .story-copy { order: 1; }
  .story-privacy .app-shot { order: 2; }
  .resume-note { width: min(100%, 480px); }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 34px), var(--max)); }
  .site-header { min-height: 76px; }
  .brand-mark { width: 34px; height: 34px; }
  nav { gap: 14px; }
  .site-header nav a { font-size: 0.78rem; }
  .site-header nav a:first-child { display: none; }
  .hero-home { gap: 58px; padding: 58px 0 85px; }
  h1 { font-size: clamp(3rem, 14.5vw, 4.55rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.6rem); }
  .hero-lede { margin-top: 25px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions > * { width: 100%; }
  .store-cta { justify-content: center; }
  .trust-line { display: grid; gap: 8px; }
  .app-shot { width: 100%; }
  .app-shot-frame { padding: 6px; border-radius: 28px; }
  .app-shot-frame img { border-radius: 22px; }
  .intro-strip { padding-top: 70px; padding-bottom: 70px; }
  .story-block, .story-resume { gap: 50px; padding: 78px 0; }
  .story-copy > p { font-size: 1rem; }
  .closing-section { padding: 100px 0 105px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer nav { flex-wrap: wrap; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .contact-card .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .app-shot-hero { animation: none; }
  .button { transition: none; }
}
