/* KRK Privilege — kurumsal site. Ağırlık kuralı uygulamayla aynı: en kalın 500. */

:root {
  --canvas: #FBFAF6;
  --surface: #FFFFFF;
  --ink: #15171C;
  --ink-instruction: #3D414B;
  --ink-muted: #6B6F7A;
  --hairline: rgba(21, 23, 28, 0.09);
  --brand: #2563EB;
  --brand-deep: #1E3A8A;
  --hue-blue: #2563EB;
  --hue-orange: #EA580C;
  --hue-violet: #7C3AED;
  --hue-cyan: #0E7490;
  --hue-pink: #BE185D;
  --serif: 'Source Serif 4', ui-serif, Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 40px);
  --radius-card: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
strong, b, h1, h2, h3, h4 { font-weight: 500; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff;
  font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* MARK: - Nav */

.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 10px 22px; border-radius: 100px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 4px 24px rgba(21, 23, 28, 0.05);
}
.nav-logo {
  display: inline-block; padding: 9px 0; margin: -9px 0;
  font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: -0.2px; text-decoration: none;
}
.nav-logo span { color: var(--brand); }
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a, .nav-sheet a {
  font-size: 13px; font-weight: 500; color: var(--ink-muted); text-decoration: none; transition: color .2s;
}
.nav-links a { display: inline-block; padding: 14px 4px; margin: -14px -4px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }

.nav-menu { display: none; }
.nav-menu summary {
  list-style: none; cursor: pointer;
  display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -12px -10px 0; border-radius: 50%;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu-icon, .nav-menu-icon::before, .nav-menu-icon::after {
  display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s;
}
.nav-menu-icon { position: relative; background: transparent; }
.nav-menu-icon::before, .nav-menu-icon::after { content: ''; position: absolute; left: 0; }
.nav-menu-icon::before { top: -3.5px; }
.nav-menu-icon::after { top: 3.5px; }
.nav-menu[open] .nav-menu-icon::before { transform: translateY(3.5px) rotate(45deg); }
.nav-menu[open] .nav-menu-icon::after { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  list-style: none; padding: 8px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--hairline);
  box-shadow: 0 16px 40px rgba(21, 23, 28, 0.12);
}
.nav-sheet a { display: block; padding: 14px 16px; border-radius: 12px; font-size: 16px; color: var(--ink-instruction); }
.nav-sheet a[aria-current="page"] { color: var(--brand); background: #F3F6FE; }

@media (max-width: 760px) {
  .nav { left: var(--gutter); right: var(--gutter); transform: none; justify-content: space-between; padding: 10px 20px; }
  .nav-links { display: none; }
  .nav-menu { display: block; }
}

/* MARK: - Hero (home) */

.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 140px var(--gutter) 128px;
}
.ambience {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .6; animation: drift 26s ease-in-out infinite; }
.blob.warm { width: 460px; height: 460px; background: #FDE4C4; top: 6%; left: -8%; }
.blob.mint { width: 380px; height: 380px; background: #CDF2DF; bottom: 4%; right: -6%; animation-delay: -9s; }
.blob.sky { width: 540px; height: 540px; background: #D5E3FF; top: -14%; right: 16%; animation-delay: -17s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(28px, -20px); }
  66% { transform: translate(-22px, 16px); }
}

.hero-main { position: relative; z-index: 1; max-width: 780px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 32px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--hairline);
  font-size: 12px; font-weight: 500; letter-spacing: .3px; color: var(--ink-muted);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 10vw, 120px); letter-spacing: -0.035em; line-height: 1;
}
.hero-sub {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.01em; color: var(--ink-instruction); margin-top: 18px;
}
.hero-sub em { font-style: normal; color: var(--brand); }
.hero-tag { font-size: 17px; line-height: 1.65; color: var(--ink-muted); max-width: 440px; margin: 20px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

.letters {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 44px;
  display: flex; justify-content: center; gap: clamp(14px, 3vw, 30px);
  font-family: var(--serif); font-size: clamp(18px, 2.2vw, 24px);
  color: var(--ink-muted); opacity: .5;
}

.reveal { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .18s; }
.reveal.d3 { animation-delay: .28s; }
.reveal.d4 { animation-delay: .38s; }
.reveal.d5 { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* MARK: - Page hero (inner pages) */

.page-hero { position: relative; overflow: hidden; padding: 168px 0 72px; }
.page-hero .ambience .blob { opacity: .45; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.03em; line-height: 1.04;
  max-width: 860px; margin-bottom: 24px;
}
.page-lead { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.65; color: var(--ink-instruction); max-width: 640px; }
.page-hero .hero-actions, .notfound .hero-actions { justify-content: flex-start; margin-top: 32px; }
.page-lead a { color: var(--brand); text-decoration: none; }
.page-hero .store-pill { margin-top: 28px; }

/* MARK: - Buttons + links */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: 100px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--hairline); color: var(--ink); }
.btn-light { background: #fff; color: var(--brand-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; margin: -10px 0;
  font-size: 15px; font-weight: 500; color: var(--brand); text-decoration: none;
}
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.on-dark .link-arrow, .app-card .link-arrow { color: #fff; }

/* MARK: - Sections */

.section { padding: clamp(80px, 11vw, 132px) 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.section.tight { padding-top: 0; }
.section + .section.tight { border-top: 0; }
.label { font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.heading {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 24px; max-width: 820px;
}
.heading.small { font-size: clamp(28px, 3.4vw, 38px); }
.body { font-size: 17px; line-height: 1.75; color: var(--ink-instruction); max-width: 640px; margin-bottom: 16px; }
.body a { color: var(--brand); text-decoration: none; }
.body + .link-arrow { margin-top: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* MARK: - Facts strip */

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 32px 24px 32px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--hairline); }
.fact-value { font-family: var(--serif); font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; }
.fact-label { font-size: 14px; line-height: 1.5; color: var(--ink-muted); margin-top: 8px; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}

/* MARK: - Rows (numbered list) */

.rows { list-style: none; margin-top: 48px; border-top: 1px solid var(--hairline); }
.row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 24px;
  padding: 32px 0; border-bottom: 1px solid var(--hairline);
}
.row-num { font-family: var(--serif); font-size: 15px; color: var(--ink-muted); padding-top: 6px; }
.row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.015em; line-height: 1.2; }
.row-text { grid-column: 2; font-size: 16px; line-height: 1.7; color: var(--ink-muted); max-width: 520px; }
.row-text a { color: var(--brand); text-decoration: none; }
.row .link-arrow { grid-column: 2; justify-self: start; margin-top: 4px; font-size: 14px; }
@media (min-width: 820px) {
  .row { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.15fr); align-items: baseline; }
  .row-text, .row .link-arrow { grid-column: 3; }
}
@media (max-width: 560px) { .row { grid-template-columns: 36px minmax(0, 1fr); gap: 8px 12px; padding: 28px 0; } }

/* MARK: - Cards grid (features, principles, course sets) */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards + .cards { margin-top: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 26px 30px; border-radius: var(--radius-card);
  background: var(--surface); border: 1px solid var(--hairline);
}
.card::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--hue, var(--brand)); margin-bottom: 10px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; letter-spacing: -0.01em; line-height: 1.25; }
.card p { font-size: 15.5px; line-height: 1.7; color: var(--ink-muted); }
.card .card-meta { font-size: 12px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); }
.card .link-arrow { margin-top: auto; padding-top: 20px; font-size: 14px; }
.card.featured { background: #F3F6FE; border-color: rgba(37, 99, 235, 0.18); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards.two { grid-template-columns: minmax(0, 1fr); } }

/* MARK: - Steps */

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; counter-reset: step; }
.step { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--ink); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 15px; color: var(--brand); margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.65; color: var(--ink-muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* MARK: - App card */

.app-card {
  position: relative; overflow: hidden; color: #fff;
  border-radius: 32px; padding: clamp(32px, 6vw, 72px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(96, 140, 255, 0.55) 0%, transparent 55%),
    linear-gradient(160deg, var(--brand-deep) 0%, #1D4ED8 100%);
}
.app-card .label { color: #BFD3FF; }
.app-card .body { color: rgba(255, 255, 255, 0.8); }
.app-card .link-arrow { margin-top: 28px; }
.store-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px; font-weight: 500;
}
.store-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #86EFAC; }
.store-pill.light { background: rgba(255, 255, 255, 0.7); border-color: var(--hairline); color: var(--ink-instruction); }
.store-pill.light::before { background: #16A34A; }

.courses { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.course {
  display: flex; flex-direction: column; gap: 2px; min-height: 172px;
  padding: 24px 22px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.13);
}
.course-word { font-family: var(--serif); font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: auto; padding-bottom: 28px; }
.course-name { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.course-name::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hue); }
.course-from { font-size: 14px; color: rgba(255, 255, 255, 0.64); }
@media (max-width: 1100px) { .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } .course { min-height: 150px; } }
@media (max-width: 520px) { .courses { grid-template-columns: minmax(0, 1fr); } .course { min-height: 0; } }

/* MARK: - Screenshot gallery */

.gallery {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
  mask-image: linear-gradient(to right, #000 88%, transparent);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img {
  flex: 0 0 auto; width: clamp(200px, 22vw, 240px); height: auto; aspect-ratio: 1320 / 2868;
  border-radius: 22px; scroll-snap-align: start;
  box-shadow: 0 14px 36px rgba(21, 23, 28, 0.14); background: #E9ECF2;
}
.gallery-note { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }

/* MARK: - CTA band */

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: clamp(32px, 5vw, 56px); border-radius: 32px;
  background: var(--surface); border: 1px solid var(--hairline);
}
.cta-band .heading { margin-bottom: 8px; font-size: clamp(28px, 3.4vw, 40px); }
.cta-band .body { margin-bottom: 0; }
.cta-band .hero-actions { margin-top: 0; justify-content: flex-start; }

/* MARK: - Founder + glance */

.founder { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--hairline); }
.monogram {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 34px; color: #fff;
  background: linear-gradient(160deg, var(--brand-deep), var(--brand));
}
.founder h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -0.015em; line-height: 1.2; }
.founder .role { font-size: 14px; color: var(--brand); margin: 4px 0 16px; }
.founder p { font-size: 16px; line-height: 1.75; color: var(--ink-instruction); }
.founder p + p { margin-top: 12px; }
@media (max-width: 600px) { .founder { grid-template-columns: minmax(0, 1fr); gap: 20px; } .monogram { width: 72px; height: 72px; font-size: 26px; } }

.glance { border-top: 1px solid var(--hairline); }
.glance > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.glance dt { font-size: 14px; color: var(--ink-muted); }
.glance dd { font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.glance a { color: var(--brand); text-decoration: none; }
@media (max-width: 560px) { .glance > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* MARK: - FAQ */

.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.8vw, 30px); letter-spacing: -0.015em; margin-bottom: 12px; }
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 17px; font-weight: 500; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 18px; font-weight: 400; color: var(--ink-muted); border: 1px solid var(--hairline);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 44px 22px 0; font-size: 16px; line-height: 1.75; color: var(--ink-instruction); }
.faq .answer p + p, .faq .answer ol, .faq .answer ul { margin-top: 10px; }
.faq .answer ol, .faq .answer ul { padding-left: 20px; }
.faq .answer a { color: var(--brand); text-decoration: none; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.aside-card { position: sticky; top: 100px; padding: 28px; border-radius: var(--radius-card); background: #F3F6FE; border: 1px solid rgba(37, 99, 235, 0.15); }
.aside-card h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 10px; }
.aside-card p { font-size: 15px; line-height: 1.7; color: var(--ink-instruction); margin-bottom: 14px; }
.aside-card a:not(.btn) { color: var(--brand); text-decoration: none; }
.aside-card .aside-note { margin: 16px 0 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .aside-card { position: static; } }

/* MARK: - Contact */

.details { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 4px 28px; }
.details > div { padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.details > div:last-child { border-bottom: 0; }
.details dt, .registry dt { font-size: 12px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.details dd { font-size: 16px; line-height: 1.6; }
.details a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--brand); text-decoration: none; }
.registry {
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hairline);
}
.registry dd { font-size: 15px; color: var(--ink-instruction); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (min-width: 900px) { .registry { justify-content: space-between; } }
@media (max-width: 899px) {
  .registry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .registry .span-row { grid-column: 1 / -1; }
}
.topics { list-style: none; border-top: 1px solid var(--hairline); }
.topics li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.topics h3 { font-size: 16px; font-weight: 500; }
.topics p { grid-column: 1; font-size: 15px; color: var(--ink-muted); line-height: 1.6; }
.topics .link-arrow { grid-row: 1 / span 2; grid-column: 2; font-size: 14px; }
@media (max-width: 420px) {
  .details { padding: 4px 20px; }
  .app-card { padding: 32px 20px; border-radius: 24px; }
  .course { padding: 20px; }
  .topics li { grid-template-columns: minmax(0, 1fr); }
  .topics .link-arrow { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 2px; }
}

/* MARK: - Footer */

.footer { border-top: 1px solid var(--hairline); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: var(--ink-muted); margin-top: 14px; max-width: 320px; }
.footer-title { font-size: 12px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { font-size: 14px; color: var(--ink-muted); }
.footer li + li { margin-top: 8px; }
.footer li a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.footer a { color: var(--ink-muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--ink); }
.footer .nav-logo { color: var(--ink); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; line-height: 1.7; color: var(--ink-muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* MARK: - Legal pages */

.legal { max-width: 720px; padding-bottom: 40px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--ink-instruction); }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 20px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand); text-decoration: none; }
.updated { font-size: 14px; color: var(--ink-muted); }

/* MARK: - 404 */

.notfound { min-height: 70vh; display: flex; align-items: center; padding: 120px 0 80px; }
.notfound .wrap { width: 100%; }
.notfound .page-title { font-size: clamp(48px, 8vw, 96px); }

/* MARK: - Responsive + motion */

@media (max-width: 400px) { .hide-narrow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
