/* demirdelen.com shared design system. Every page loads this first.
   Three colors: black text, white background, orange for the one action.
   Greys are tints of black. Images (app icons, covers) bring their own color. */

@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('/assets/fonts/inter.woff2') format('woff2');
}

:root{
  --black:#0a0a0a;
  --white:#ffffff;
  --action:#ff4400;          /* the only color, reserved for the one action */
  --action-press:#e83e00;
  --muted:#5c5c5c;
  --faint:#8c8c8c;
  --line:#e8e8e8;
  --soft:#f5f5f5;
  --on-black-muted:#a8a8a8;
  --on-black-line:rgba(255,255,255,.14);
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --pad:clamp(20px,5vw,40px);
  --maxw:1120px;
  --ease:cubic-bezier(.22,1,.36,1);
  color-scheme:light;
}

*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:76px}
body{
  background:var(--white);color:var(--black);font-family:var(--font);
  font-size:clamp(1rem,.96rem + .2vw,1.0625rem);line-height:1.55;letter-spacing:-.011em;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;
}
img,svg{display:block;max-width:100%}
a{color:inherit}
ul,ol{list-style:none;padding:0}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--black);outline-offset:3px;border-radius:6px}
::selection{background:var(--action);color:var(--black)}

.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
.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}
.skip-link{position:fixed;top:10px;left:10px;z-index:100;background:var(--black);color:var(--white);padding:10px 14px;border-radius:10px;transform:translateY(-160%);transition:transform .2s}
.skip-link:focus{transform:none}

/* ---------- The one action ---------- */
.cta{
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  background:var(--action);color:var(--black);text-decoration:none;
  font-weight:650;font-size:1.0625rem;letter-spacing:-.01em;line-height:1.2;white-space:nowrap;
  padding:1rem 1.55rem;min-height:54px;border-radius:999px;border:0;cursor:pointer;
  box-shadow:0 12px 28px -14px rgba(255,68,0,.75);
  transition:transform .25s var(--ease),background-color .2s,box-shadow .25s var(--ease);
}
.cta svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.cta:hover{transform:translateY(-1px);box-shadow:0 16px 32px -14px rgba(255,68,0,.85)}
.cta:hover svg{transform:translateX(3px)}
.cta:active{background:var(--action-press);transform:none}
.cta-sm{font-size:.9375rem;padding:.55rem 1.05rem;min-height:40px;box-shadow:none}
.cta-sm:hover{box-shadow:none}

/* Secondary action: black outline, never orange */
.ghost{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  background:transparent;color:var(--black);text-decoration:none;white-space:nowrap;
  font-weight:600;font-size:1rem;padding:.85rem 1.3rem;min-height:50px;border-radius:999px;
  border:1.5px solid var(--black);cursor:pointer;transition:background-color .2s,color .2s;
}
.ghost:hover{background:var(--black);color:var(--white)}
.ghost svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.icon-btn{
  width:40px;height:40px;border-radius:999px;display:grid;place-items:center;cursor:pointer;
  background:var(--white);border:1px solid var(--line);color:var(--black);transition:border-color .2s;
}
.icon-btn:hover{border-color:var(--black)}
.icon-btn svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid transparent;transition:border-color .2s;
}
.site-header.scrolled{border-bottom-color:var(--line)}
.nav{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;height:64px}
.brand{font-weight:750;font-size:1.0625rem;letter-spacing:-.025em;text-decoration:none;white-space:nowrap}
.nav-right{display:flex;align-items:center;gap:1.15rem}
.nav-link{font-size:.9375rem;font-weight:500;color:var(--muted);text-decoration:none}
.nav-link:hover,.nav-link[aria-current="page"]{color:var(--black)}

/* ---------- Shared type ---------- */
.section{padding-block:clamp(64px,10vw,128px)}
.kicker{font-size:.8125rem;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem}
h1,h2,h3{font-weight:800;text-wrap:balance}
h2{font-size:clamp(2.1rem,1.3rem + 4.2vw,3.75rem);line-height:1.02;letter-spacing:-.045em;max-width:15ch}
.crumb{display:flex;gap:.5rem;font-size:.875rem;color:var(--faint);margin-bottom:1.4rem}
.crumb a{color:var(--muted);text-decoration:none}
.crumb a:hover{color:var(--black)}

/* ---------- Footer: the part people share ---------- */
.site-footer{background:var(--black);color:var(--white);border-top:1px solid var(--on-black-line);padding-top:clamp(56px,8vw,96px);overflow:hidden}
.footer-grid{display:grid;gap:clamp(40px,6vw,64px)}
.site-footer .kicker{color:var(--on-black-muted)}
.give h3{font-size:clamp(1.85rem,1.25rem + 2.8vw,2.75rem);letter-spacing:-.04em;line-height:1.02}
.give p{margin-top:.9rem;color:var(--on-black-muted);max-width:44ch;text-wrap:pretty}
.text-link{
  display:inline-flex;align-items:center;gap:.45em;margin-top:1.3rem;
  color:var(--white);font-weight:600;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1.5px;
}
.text-link svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.share h3{font-size:clamp(1.35rem,1.1rem + 1vw,1.75rem);letter-spacing:-.03em;line-height:1.15}
.share-btn{
  margin-top:1.2rem;display:inline-flex;align-items:center;gap:.55em;cursor:pointer;
  background:transparent;color:var(--white);border:1.5px solid rgba(255,255,255,.42);border-radius:999px;
  padding:.75rem 1.25rem;min-height:48px;font-weight:600;transition:border-color .2s,background-color .2s;
}
.share-btn:hover{border-color:var(--white);background:rgba(255,255,255,.06)}
.share-btn svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.footer-bottom{
  margin-top:clamp(52px,8vw,88px);padding-top:1.4rem;border-top:1px solid var(--on-black-line);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 1.6rem;
  font-size:.875rem;color:var(--on-black-muted);
}
.footer-links{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem}
.footer-links a{color:var(--on-black-muted);text-decoration:none}
.footer-links a:hover{color:var(--white)}
.signoff{margin-top:clamp(36px,6vw,64px);color:var(--white);user-select:none}
.signoff svg{width:100%;height:auto;fill:currentColor;overflow:hidden}
.signoff text{font-family:var(--font);font-weight:800;font-size:172px;letter-spacing:-6px}

/* ---------- Reveal (below the fold only) ---------- */
@media (scripting: enabled){
  .reveal{opacity:0;transform:translateY(16px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
  .reveal.in{opacity:1;transform:none}
}

@media (max-width:419px){ .nav-link{display:none} }
@media (min-width:760px){ .footer-grid{grid-template-columns:1.25fr 1fr;align-items:end} }

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.001ms!important;animation-duration:.001ms!important}
  .reveal{opacity:1;transform:none}
}
