/* Universal Apple-inspired developer portfolio template */

:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --bg-soft: #fbfbfd;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --border: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.08);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 36px rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(251, 251, 253, 0.72);
  --nav-bg-scrolled: rgba(251, 251, 253, 0.86);
  --nav-bg-mobile: rgba(251, 251, 253, 0.96);
  --control-hover: rgba(0, 0, 0, 0.04);
  --chip-muted-bg: #f0f0f2;
  --hero-accent: linear-gradient(90deg, #1d1d1f 0%, #3a3a3c 50%, #0071e3 100%);
  --hero-glow: radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 60%);
  --icon-glow: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 68%);
  --featured-visual:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9), transparent 55%),
    linear-gradient(160deg, #eef1f5 0%, #e7ebf2 48%, #dde4ee 100%);
  --btn-primary-shadow: 0 1px 2px rgba(0, 113, 227, 0.18);
  --btn-primary-shadow-hover: 0 6px 18px rgba(0, 113, 227, 0.28);
  --btn-primary-shadow-active: 0 1px 2px rgba(0, 113, 227, 0.2);
  --shadow-card-hover: 0 8px 20px rgba(0, 0, 0, 0.08), 0 20px 40px rgba(0, 0, 0, 0.1);
  --theme-select-bg: rgba(255, 255, 255, 0.85);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-icon: 28px;
  --nav-h: 52px;
  --max: 1120px;
  --space: 22px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.28s;
  --theme-duration: 0.25s;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0c;
  --bg-elevated: #1b1b1d;
  --bg-soft: #111111;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #86868b;
  --border: rgba(255, 255, 255, 0.1);
  --blue: #0a84ff;
  --blue-hover: #409cff;
  --blue-soft: rgba(10, 132, 255, 0.16);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.4), 0 16px 36px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(11, 11, 12, 0.72);
  --nav-bg-scrolled: rgba(11, 11, 12, 0.88);
  --nav-bg-mobile: rgba(17, 17, 17, 0.96);
  --control-hover: rgba(255, 255, 255, 0.08);
  --chip-muted-bg: #2c2c2e;
  --hero-accent: linear-gradient(90deg, #f5f5f7 0%, #d2d2d7 45%, #0a84ff 100%);
  --hero-glow: radial-gradient(circle at top, rgba(59, 130, 246, 0.16), transparent 60%);
  --icon-glow: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 68%);
  --featured-visual:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(160deg, #17171a 0%, #141416 48%, #101012 100%);
  --btn-primary-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  --btn-primary-shadow-hover: 0 6px 18px rgba(10, 132, 255, 0.28);
  --btn-primary-shadow-active: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 20px rgba(0, 0, 0, 0.4), 0 20px 40px rgba(0, 0, 0, 0.45);
  --theme-select-bg: rgba(27, 27, 29, 0.92);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition:
    background-color var(--theme-duration) var(--ease),
    color var(--theme-duration) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }

  .app-card,
  .resource-card,
  .featured-card,
  .site-footer,
  .hero-badge,
  .support-card,
  .content-panel,
  .theme-select,
  .site-header {
    transition: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--blue-hover);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition:
    border-color var(--duration) var(--ease),
    background var(--theme-duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.site-header.is-scrolled {
  background: var(--nav-bg-scrolled);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--duration) var(--ease);
}

.logo:hover {
  color: var(--text);
  opacity: 0.72;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0.88;
  text-decoration: none;
  padding: 6px 0;
  transition: opacity var(--duration) var(--ease), color var(--duration) var(--ease);
}

.nav-links a:hover {
  opacity: 1;
  color: var(--blue);
}

.nav-links a[aria-current="page"] {
  opacity: 1;
  color: var(--blue);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--blue);
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle:hover {
  background: var(--control-hover);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.theme-switch {
  display: flex;
  align-items: center;
}

.theme-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 32px;
  padding: 6px 28px 6px 12px;
  border-radius: 980px;
  border: 1px solid var(--border);
  background-color: var(--theme-select-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  color: var(--text-secondary);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background-color var(--theme-duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

html[data-theme="dark"] .theme-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1a6' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
}

.theme-select:hover {
  color: var(--text);
  border-color: rgba(0, 113, 227, 0.28);
}

html[data-theme="dark"] .theme-select:hover {
  border-color: rgba(10, 132, 255, 0.35);
}

.theme-select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ——— Layout ——— */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0 96px;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08349;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 560px;
  letter-spacing: -0.016em;
  line-height: 1.4211;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .section-lead {
  margin: 0 auto;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  text-align: center;
  padding: 112px var(--space) 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 auto;
  height: 70%;
  background: var(--hero-glow);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero h1 {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: var(--hero-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 540px;
  margin: 0 auto;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.4211;
  color: var(--text-secondary);
  letter-spacing: -0.016em;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px 18px;
  flex-wrap: wrap;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.022em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:focus-visible {
  outline-offset: 4px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--btn-primary-shadow);
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--btn-primary-shadow-hover);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--btn-primary-shadow-active);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  padding-left: 10px;
  padding-right: 10px;
  min-height: 44px;
}

.btn-secondary:hover {
  color: var(--blue-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.btn-secondary:active {
  opacity: 0.82;
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

/* ——— Featured ——— */
.featured {
  padding: 0 var(--space) 48px;
}

.featured-card {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow var(--duration) var(--ease);
}

.featured-card:hover {
  box-shadow: var(--shadow-hover);
}

.featured-content {
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 14px;
}

.featured-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.featured-content p {
  font-size: 17px;
  line-height: 1.47;
  color: var(--text-secondary);
  max-width: 420px;
  margin-bottom: 24px;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 980px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chip-muted {
  background: var(--chip-muted-bg);
  color: var(--text-secondary);
}

.featured-visual {
  position: relative;
  min-height: 300px;
  background: var(--featured-visual);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background var(--theme-duration) var(--ease);
}

.featured-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--icon-glow);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.featured-app-icon {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 140px;
  border-radius: var(--radius-icon);
  object-fit: contain;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.12);
}

/* ——— App cards ——— */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.app-card,
.resource-card,
.featured-card,
.site-footer,
.hero-badge,
.support-card,
.content-panel {
  transition:
    background-color var(--theme-duration) var(--ease),
    border-color var(--theme-duration) var(--ease),
    box-shadow var(--theme-duration) var(--ease),
    color var(--theme-duration) var(--ease),
    transform var(--duration) var(--ease-out);
}

.app-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition:
    background-color var(--theme-duration) var(--ease),
    border-color var(--theme-duration) var(--ease),
    box-shadow 0.25s var(--ease-out),
    color var(--theme-duration) var(--ease),
    transform 0.25s var(--ease-out);
}

.app-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border);
}

.app-card:focus-within {
  border-color: var(--blue);
}

.app-icon {
  width: 104px;
  height: 104px;
  border-radius: var(--radius-icon);
  display: block;
  object-fit: contain;
  object-position: center;
  margin-bottom: 20px;
  background: transparent;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.1);
}

.app-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.app-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.47;
  flex: 1;
  margin-bottom: 22px;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.app-card-footer .btn {
  font-size: 15px;
  min-height: 44px;
  padding: 10px 18px;
}

.status {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  background: var(--chip-muted-bg);
  padding: 6px 10px;
  border-radius: 980px;
}

.app-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.app-link:hover {
  color: var(--blue-hover);
}

/* ——— Resource cards ——— */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 420px;
  margin: 0 auto;
}

.resource-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  box-shadow: var(--shadow);
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
  color: inherit;
}

.resource-card:focus-visible {
  outline-offset: 4px;
}

.resource-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.resource-card p {
  font-size: 14px;
  line-height: 1.47;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.resource-card .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  text-align: center;
  padding: 80px var(--space) 40px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 540px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.4211;
  color: var(--text-secondary);
}

.content-panel {
  max-width: 720px;
  margin: 0 auto 88px;
  padding: 36px 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-panel p + p {
  margin-top: 16px;
}

.content-panel p {
  color: var(--text-secondary);
  font-size: 16px;
}

.content-panel a {
  font-weight: 500;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 52px var(--space) 40px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-tag {
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-meta a {
  color: var(--text-tertiary);
  transition: color var(--duration) var(--ease);
}

.footer-meta a:hover {
  color: var(--blue);
}

/* ——— Reveal animations ——— */
html.js .reveal.is-visible {
  animation: reveal-in 0.4s var(--ease-out) both;
}

html.js .reveal-delay-1.is-visible {
  animation-delay: 0.06s;
}

html.js .reveal-delay-2.is-visible {
  animation-delay: 0.12s;
}

html.js .reveal-delay-3.is-visible {
  animation-delay: 0.18s;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal.is-visible {
    animation: none;
  }

  .btn,
  .app-card,
  .resource-card,
  .featured-card {
    transition: none;
  }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    min-height: 240px;
    order: -1;
  }

  .featured-app-icon {
    width: 120px;
    height: 120px;
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 56px 0 72px;
  }
}

@media (max-width: 720px) {
  .nav-right {
    gap: 12px;
  }

  .theme-select {
    font-size: 12px;
    padding: 6px 26px 6px 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    background: var(--nav-bg-mobile);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), background var(--theme-duration) var(--ease);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 17px;
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
    opacity: 1;
  }

  .nav-links li:last-child a {
    border-bottom: 0;
  }

  .hero {
    padding: 80px 20px 56px;
  }

  .featured {
    padding-bottom: 32px;
  }

  .featured-content {
    padding: 32px 24px 36px;
  }

  .app-card {
    min-height: 0;
    padding: 24px;
  }

  .page-hero {
    padding: 64px var(--space) 32px;
  }

  .content-panel {
    margin-left: var(--space);
    margin-right: var(--space);
    padding: 28px 22px;
  }

  .site-footer {
    padding: 40px var(--space) 32px;
  }
}
