/* ============================================================
   Adana Developer v1.3.2 — Frontend Design System + Simple Code Lab Authority
   Loaded AFTER style.css. This layer owns tokens, accessibility,
   viewport behavior, reusable surfaces and final responsive rules.
   Breakpoints: 1200 / 1024 / 768 / 480.
   ============================================================ */

:root {
  /* Semantic surfaces */
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-muted: #f3f4f6;
  --surface-dark: #0a0f1e;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #0a0f1e;
  --text-muted: #6b7280;
  --text-subtle: #9ca3af;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 48px;
  --space-11: 56px;
  --space-12: 64px;
  --space-13: 80px;
  --space-14: 96px;

  /* Type scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: clamp(32px, 4vw, 46px);
  --text-display: clamp(38px, 5vw, 64px);

  /* Final layout authority */
  --container: 1200px;
  --container-reading: 780px;
  --page-gutter: 24px;
  --touch-target: 44px;
  --focus-ring: 0 0 0 3px rgba(0,102,255,.24);
  --border-soft: 1px solid rgba(10,15,30,.08);
}

/* ---------- Baseline / accessibility ---------- */
html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overflow-x: clip;
  overflow-wrap: break-word;
}

body.nav-open { overflow: hidden; }

main, section, article, aside, header, footer, nav,
.container, .card, .panel, .download-card,
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(0,102,255,.28);
  outline-offset: 3px;
}

button, .btn, .filter-tab, .page-link {
  min-height: var(--touch-target);
}

.btn {
  justify-content: center;
  max-width: 100%;
}

.btn-icon-only {
  width: var(--touch-target);
  height: var(--touch-target);
  padding: 0;
  display: inline-grid;
  place-items: center;
}

img, video, iframe, svg { max-width: 100%; }

code, pre { overflow-wrap: normal; }

.skip-link {
  position: fixed;
  left: var(--space-4);
  top: var(--space-4);
  z-index: 5000;
  transform: translateY(-160%);
  background: var(--dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); color: var(--white); }

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.reading-container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container-reading));
  margin-inline: auto;
}

/* ---------- Reusable layout primitives ---------- */
.stack { display: flex; flex-direction: column; gap: var(--space-6); }
.stack-sm { gap: var(--space-3); }
.stack-lg { gap: var(--space-9); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.cluster-between { justify-content: space-between; }
.cluster-center { justify-content: center; }
.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: var(--space-10);
  align-items: start;
}
.sticky-aside { position: sticky; top: calc(var(--nav-height) + var(--space-6)); }

.surface {
  background: var(--surface);
  border: var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.surface-pad { padding: clamp(20px, 3vw, 32px); }
.surface-soft { background: var(--surface-soft); }

.section { padding-block: clamp(64px, 8vw, 96px); }
.section-sm { padding-block: clamp(44px, 6vw, 64px); }
.section-header { margin-bottom: clamp(32px, 5vw, 56px); }
.section-subtitle { max-width: 680px; }

.grid-2, .grid-3, .grid-4 { gap: clamp(18px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* Utilities intentionally small and semantic. */
.u-center { text-align: center; }
.u-muted { color: var(--gray-2); }
.u-subtle { color: var(--gray-3); }
.u-text-xs { font-size: var(--text-xs); }
.u-text-sm { font-size: var(--text-sm); }
.u-text-lg { font-size: var(--text-lg); }
.u-text-xl { font-size: var(--text-xl); }
.u-font-600 { font-weight: 600; }
.u-font-700 { font-weight: 700; }
.u-mt-2 { margin-top: var(--space-2); }
.u-mt-3 { margin-top: var(--space-3); }
.u-mt-4 { margin-top: var(--space-4); }
.u-mt-6 { margin-top: var(--space-6); }
.u-mt-8 { margin-top: var(--space-8); }
.u-mt-10 { margin-top: var(--space-10); }
.u-mb-0 { margin-bottom: 0; }
.u-mb-2 { margin-bottom: var(--space-2); }
.u-mb-3 { margin-bottom: var(--space-3); }
.u-mb-4 { margin-bottom: var(--space-4); }
.u-mb-6 { margin-bottom: var(--space-6); }
.u-full { width: 100%; }
.u-hidden { display: none !important; }

/* ---------- Navigation authority ---------- */
.navbar { height: var(--nav-height); }
.nav-inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  max-width: none;
  padding-inline: 0;
  gap: var(--space-4);
}
.nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.nav-cta { gap: 10px; }
.nav-spacer { height: var(--nav-height); }
.nav-toggle { width: var(--touch-target); height: var(--touch-target); align-items: center; justify-content: center; }
.nav-mobile {
  inset: var(--nav-height) 0 auto 0;
  max-height: calc(100dvh - var(--nav-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-5) var(--page-gutter) max(var(--space-6), env(safe-area-inset-bottom));
}
.nav-mobile[aria-hidden="true"] { pointer-events: none; }
.nav-mobile .nav-link { min-height: var(--touch-target); display: flex; align-items: center; }
.nav-mobile-backdrop {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0;
  background: rgba(10,15,30,.38);
  backdrop-filter: blur(2px);
  z-index: 998;
}
body.nav-open .nav-mobile-backdrop { display: block; }

/* ---------- Hero / page header ---------- */
.hero { min-height: min(900px, calc(100svh - var(--nav-height))); padding-top: 0; }
.hero-inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  max-width: none;
  padding: clamp(56px, 8vw, 92px) 0;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  gap: clamp(40px, 6vw, 72px);
}
.hero-title { font-size: var(--text-display); text-wrap: balance; }
.hero-subtitle { max-width: 620px; }
.hero-actions { gap: var(--space-3); }
.hero-stats { flex-wrap: wrap; row-gap: var(--space-5); }
.hero-action-secondary {
  border-color: rgba(255,255,255,.32);
  color: var(--white);
}
.hero-action-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.10); color: var(--white); }
.hero-mockup-card {
  margin-top: var(--space-5);
  padding: 14px;
  background: rgba(0,102,255,.15);
  border-radius: 10px;
  border: 1px solid rgba(0,102,255,.25);
}
.hero-mockup-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hero-mockup-avatar { width: 32px; height: 32px; background: var(--primary); border-radius: 8px; flex: 0 0 auto; }
.hero-mockup-line-title { width: 120px; height: 10px; margin: 0 0 5px; }
.hero-mockup-line-sub { width: 80px; height: 8px; margin: 0; }
.hero-mockup-line-sm { height: 8px; }
.hero-mockup-actions { margin-top: 16px; display: flex; gap: 10px; }
.hero-mockup-action { flex: 1; height: 36px; border-radius: 8px; }
.hero-mockup-action-primary { background: var(--primary); opacity: .8; }
.hero-mockup-action-secondary { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); }

.page-header { padding-block: clamp(72px, 8vw, 104px) clamp(44px, 6vw, 64px); }
.page-title { text-wrap: balance; }
.page-subtitle { max-width: 720px; line-height: 1.7; }
.hero-orb-muted { opacity: .08; }

/* ---------- Content components ---------- */
.card {
  border: var(--border-soft);
  box-shadow: 0 8px 28px rgba(10,15,30,.07);
}
.card-body { padding: clamp(20px, 2.5vw, 26px); }
.card-footer { gap: var(--space-3); flex-wrap: wrap; }
.card-title a { color: inherit; text-decoration: none; }
.card-media { overflow: hidden; position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card-media-placeholder { display: grid; place-items: center; background: var(--primary-light); color: var(--primary); }
.card-meta-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-2); }
.card-meta-subtle { font-size: var(--text-xs); color: var(--gray-3); }
.card-client { font-size: 13px; color: var(--gray-3); margin-bottom: 4px; display: flex; align-items: center; gap: 5px; }
.card-actions-end { margin-top: var(--space-3); }
.featured-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }

.empty-state { text-align: center; padding: clamp(56px, 8vw, 88px) var(--space-5); }
.empty-state-icon { font-size: 56px; line-height: 1; margin-bottom: var(--space-5); }
.empty-state h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.empty-state p { color: var(--gray-2); }

.info-banner { background: var(--primary-light); border-bottom: 2px solid var(--primary); padding-block: 14px; }
.info-banner-inner { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.info-banner-label { background: var(--primary); color: var(--white); padding: 4px 12px; border-radius: var(--radius-full); font-size: 13px; font-weight: 700; font-family: var(--font-head); }
.info-banner-text { font-size: 15px; color: var(--primary); font-weight: 500; }

.filter-tabs {
  max-width: 100%;
  padding-bottom: 2px;
}
.filter-tab { display: inline-flex; align-items: center; justify-content: center; }

.portfolio-card-overlay { border-radius: 0; }
.portfolio-card .card-title { font-size: 17px; }

.download-list { display: flex; flex-direction: column; gap: var(--space-5); }
.download-card { align-items: flex-start; }
.download-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.download-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.download-description { color: var(--gray-2); line-height: 1.75; white-space: normal; overflow-wrap: anywhere; }
.download-actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-2); min-width: 150px; }

.blog-featured { margin-bottom: var(--space-7); }
.blog-featured-media { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.blog-featured-placeholder { width: 100%; aspect-ratio: 16/7; }
.blog-title-lg { font-size: var(--text-xl); }
.blog-title-sm { font-size: 16px; }
.blog-copy-lg { font-size: 16px; }
.blog-copy-sm { font-size: 14px; }
.blog-aside-card { margin-bottom: var(--space-6); }
.blog-aside-title { font-size: 16px; font-weight: 700; margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 2px solid var(--primary-light); color: var(--dark); }
.blog-recent-list { display: flex; flex-direction: column; gap: var(--space-4); }
.blog-recent-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.blog-recent-thumb { width: 60px; height: 48px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.blog-recent-placeholder { width: 60px; height: 48px; background: var(--primary-light); border-radius: 8px; flex: 0 0 auto; display: grid; place-items: center; color: var(--primary); }
.blog-recent-link { font-size: 14px; font-weight: 600; color: var(--dark); display: block; line-height: 1.4; margin-bottom: 4px; }
.blog-recent-time { font-size: 12px; color: var(--gray-3); }
.blog-download-cta { background: linear-gradient(135deg,var(--primary),var(--accent-2)); border-radius: var(--radius-lg); padding: var(--space-6); text-align: center; }
.blog-download-cta-icon { font-size: 36px; margin-bottom: var(--space-3); }
.blog-download-cta h3 { color: var(--white); font-size: 17px; margin-bottom: 10px; }
.blog-download-cta p { color: rgba(255,255,255,.75); font-size: 14px; margin-bottom: var(--space-4); }

/* Home component authority */
.codelab-pillars { gap: var(--space-6); }
.codelab-pillar { text-align: center; padding: var(--space-8) var(--space-5); }
.codelab-pillar-icon { width: 64px; height: 64px; background: rgba(0,102,255,.20); border-radius: 16px; display: grid; place-items: center; margin: 0 auto var(--space-5); border: 1px solid rgba(0,102,255,.30); color: var(--white); }
.codelab-pillar h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.codelab-pillar p { font-size: 15px; color: rgba(255,255,255,.60); line-height: 1.7; }
.section-label-on-dark { color: var(--accent); }
.section-actions { text-align: center; margin-top: var(--space-10); }
.services-grid { gap: var(--space-6); }
.section-muted { background: var(--gray-5); }
.work-step { text-align: center; position: relative; z-index: 1; }
.work-step-icon { width: 80px; height: 80px; background: var(--white); border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--space-5); box-shadow: var(--shadow-md); border: 3px solid var(--primary-light); position: relative; }
.work-step-num { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; background: var(--primary); color: var(--white); border-radius: 50%; font-size: 11px; font-weight: 800; display: grid; place-items: center; font-family: var(--font-head); }
.work-step h3 { font-size: 16px; font-weight: 700; margin-bottom: var(--space-2); }
.work-step p { font-size: 14px; color: var(--gray-2); line-height: 1.6; }
.testimonial-rating { margin-bottom: var(--space-4); }
.cta-label { color: rgba(255,255,255,.72); }
.cta-title { color: var(--white); margin-bottom: var(--space-4); }
.cta-copy { color: rgba(255,255,255,.80); margin-bottom: var(--space-9); }
.cta-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.btn-glass { background: rgba(255,255,255,.15); color: var(--white); border: 2px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.24); color: var(--white); border-color: rgba(255,255,255,.55); }

/* ---------- Forms ---------- */
.form-control { min-height: var(--touch-target); }
textarea.form-control { min-height: 120px; }
.field-counter { display: block; text-align: right; color: var(--gray-3); margin-top: 4px; font-size: 12px; }
.field-counter.is-low { color: var(--error); }

/* ---------- Footer ---------- */
.footer-grid { grid-template-columns: minmax(0,2fr) repeat(3,minmax(140px,1fr)); }
.footer-bottom { row-gap: var(--space-3); }

/* ---------- Tooltips ---------- */
.tooltip-popup {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  font-family: var(--font-head);
}

/* ---------- Final breakpoint authority ---------- */
@media (max-width: 1199px) {
  :root { --page-gutter: 22px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 820px;
  }
  .hero-content { max-width: 720px; margin-inline: auto; }
  .hero-subtitle { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-mockup { max-width: 440px; }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .layout-sidebar, .content-sidebar-layout, .order-layout, .portfolio-detail-layout { grid-template-columns: 1fr !important; gap: var(--space-8); }
  .sticky-aside, .content-sidebar-layout > aside, .order-layout > aside, .portfolio-detail-layout > aside { position: static !important; }
  .work-steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-steps-grid::before { display: none; }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 18px;
    --nav-height: 64px;
  }
  .section { padding-block: 64px; }
  .section-sm { padding-block: 44px; }
  .section-header { margin-bottom: 32px; }
  .grid-2, .grid-3, .grid-4, .work-steps-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 48px 60px; }
  .hero-label { font-size: 11px; letter-spacing: .055em; }
  .hero-title { font-size: clamp(34px, 10.5vw, 50px); }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px 28px; }
  .hero-stats > div { flex: 1 1 120px; }
  .page-header { padding-block: 64px 44px; }
  .page-subtitle { font-size: 15px; }
  .filter-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; padding-bottom: 8px; scroll-snap-type: x proximity; }
  .filter-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .download-card { flex-direction: column; padding: 20px; }
  .download-icon { width: 48px; height: 48px; }
  .download-actions { width: 100%; min-width: 0; }
  .download-actions .btn { width: 100%; }
  .card-footer .btn { flex: 1 1 140px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .founder-actions { flex-direction: column; align-items: stretch; }
  .founder-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 479px) {
  :root { --page-gutter: 16px; }
  .nav-logo-sub { display: none; }
  .nav-logo-text { font-size: 16px; }
  .nav-logo-icon { width: 36px; height: 36px; }
  .btn { width: auto; padding-inline: 20px; }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
  .hero-stats { flex-direction: column; align-items: stretch; }
  .hero-stats > div { flex-basis: auto; }
  .card-body { padding: 20px; }
  .card-footer { padding: 14px 20px 20px; }
  .pagination { gap: 6px; }
  .page-link { width: 40px; height: 40px; }
}

/* Only animate where users have not requested reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-mockup, .hero-orb, .wa-float { animation: none !important; }
}

@media (hover: none) {
  .card:hover, .download-card:hover, .service-card:hover, .testimonial-card:hover { transform: none; }
  .portfolio-card-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.74) 0%, transparent 55%); }
}

@media print {
  .navbar, .nav-mobile, .nav-mobile-backdrop, .wa-float, .footer, .cta-section { display: none !important; }
  .nav-spacer { display: none; }
  body { background: #fff; color: #000; }
  .card, .surface { box-shadow: none; border: 1px solid #ccc; }
}
.footer-brand-logo { display: inline-flex; margin-bottom: var(--space-4); }
.footer-logo-text { color: var(--white); }
.footer-contact-link { display: flex; align-items: center; gap: var(--space-2); }
.footer-contact-static { align-items: flex-start; cursor: default; }
.footer-copyright-brand { color: rgba(255,255,255,.55); }
.footer-legal-links { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.footer-legal-link { color: rgba(255,255,255,.40) !important; font-size: 13px; }
.footer-legal-sep { color: rgba(255,255,255,.15); }
.alert.is-dismissing { opacity: 0; transform: translateY(-8px); transition: opacity .4s ease, transform .4s ease; }
.download-thumb-img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/3; }
.download-request-banner { margin-top: var(--space-11); background: var(--dark); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 48px); text-align: center; position: relative; overflow: hidden; }
.download-request-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 32px 32px; }
.download-request-content { position: relative; z-index: 1; }
.download-request-content h3 { color: var(--white); font-size: 24px; margin-bottom: var(--space-3); }
.download-request-content p { color: rgba(255,255,255,.60); font-size: 16px; margin: 0 auto var(--space-6); max-width: 720px; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.blog-category-count { font-size: 11px; opacity: .6; margin-left: 4px; }
.card-title-link { color: var(--dark); text-decoration: none; }
.card-title-link:hover { color: var(--primary); }
.portfolio-client-line { display: flex; align-items: center; gap: 6px; }
.portfolio-hero-image { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-bottom: var(--space-6); }
.portfolio-gallery-image { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; }
.portfolio-description-title { font-size: 22px; margin-bottom: var(--space-4); }
.portfolio-description-copy { color: var(--gray-1); line-height: 1.85; font-size: 16px; }
.portfolio-info-card { margin-bottom: var(--space-5); }
.portfolio-info-title { font-size: 16px; font-weight: 700; margin-bottom: var(--space-5); padding-bottom: 14px; border-bottom: 1px solid var(--gray-5); }
.portfolio-info-list { display: flex; flex-direction: column; gap: 14px; }
.portfolio-info-item { display: flex; align-items: flex-start; gap: var(--space-3); }
.portfolio-info-icon { color: var(--primary); flex: 0 0 auto; margin-top: 1px; }
.portfolio-info-label { font-size: 12px; color: var(--gray-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.portfolio-info-value { font-weight: 600; }
.portfolio-techs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.portfolio-cta-card { background: var(--primary); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.portfolio-cta-card h3 { color: var(--white); font-size: 18px; margin-bottom: 10px; }
.portfolio-cta-card p { color: rgba(255,255,255,.75); font-size: 14px; margin-bottom: var(--space-5); }
.blog-detail-meta { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-3); }
.blog-detail-meta-item { color: rgba(255,255,255,.6); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.blog-detail-hero { width: 100%; border-radius: var(--radius-lg); margin-bottom: var(--space-8); box-shadow: var(--shadow-md); }
.blog-content { padding: clamp(24px, 4vw, 40px); font-size: 16px; line-height: 1.9; color: var(--gray-1); }
.blog-content h1,.blog-content h2,.blog-content h3{margin:28px 0 14px;color:var(--dark);}
.blog-content h2{font-size:22px;} .blog-content h3{font-size:19px;}
.blog-content p{margin-bottom:18px;}
.blog-content ul,.blog-content ol{margin:16px 0 18px 24px;}
.blog-content li{margin-bottom:8px;}
.blog-content a{color:var(--primary);text-decoration:underline;}
.blog-content img{border-radius:var(--radius);margin:16px 0;box-shadow:var(--shadow-sm);}
.blog-content pre{background:var(--dark);color:#e2e8f0;padding:16px 20px;border-radius:var(--radius);font-family:monospace;font-size:14px;overflow-x:auto;display:block;margin:16px 0;}
.blog-content code{background:rgba(10,15,30,.08);color:var(--dark);padding:.15em .4em;border-radius:5px;font-family:monospace;font-size:.92em;}
.blog-content pre code{background:transparent;color:inherit;padding:0;border-radius:0;}
.blog-content blockquote{border-left:4px solid var(--primary);padding:16px 20px;background:var(--primary-light);border-radius:0 var(--radius) var(--radius) 0;margin:20px 0;font-style:italic;}
.blog-tags { margin-top: var(--space-6); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-tags-label { font-size: 14px; font-weight: 600; color: var(--gray-2); }
.blog-share { margin-top: var(--space-6); padding: 20px; background: var(--gray-5); border-radius: var(--radius-lg); display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.blog-share-label { font-weight: 600; font-size: 14px; }
.btn-facebook { background: #1877F2; color: #fff; border-radius: var(--radius-full); }
.btn-facebook:hover { background: #1467d2; color: #fff; }
.blog-resource-cta { background: var(--primary); border-radius: var(--radius-lg); padding: var(--space-6); text-align: center; }
.blog-resource-cta h3 { color: var(--white); font-size: 16px; margin-bottom: var(--space-2); }
.blog-resource-cta p { color: rgba(255,255,255,.75); font-size: 13px; margin-bottom: var(--space-4); }

/* v1.3.1 — Collaboration form and success flow */
.order-form-card { background: var(--white); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.05); }
.order-form-title { font-size: clamp(20px, 3vw, 22px); margin-bottom: var(--space-2); }
.order-form-intro { color: var(--gray-2); margin-bottom: var(--space-8); font-size: 15px; }
.required-mark { color: var(--error); }
.honeypot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-section-title { font-size: 16px; font-weight: 700; margin-bottom: var(--space-5); color: var(--primary); display: flex; align-items: center; gap: var(--space-2); }
.form-grid-compact { gap: var(--space-5); }
.section-divider { border: 0; border-top: 1px solid var(--gray-5); margin: 28px 0; }
.form-label-note { color: var(--gray-3); font-weight: 400; }
.form-help { color: var(--gray-3); font-size: 13px; display: block; margin-top: 6px; }
.form-submit-block { margin-top: var(--space-8); }
.btn-block { width: 100%; justify-content: center; }
.form-consent { text-align: center; font-size: 13px; color: var(--gray-3); margin-top: var(--space-3); }
.order-sidebar { align-self: start; }
.order-reasons-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); margin-bottom: var(--space-5); }
.order-reasons-title { font-size: 16px; font-weight: 700; margin-bottom: var(--space-4); }
.order-reasons-list { display: flex; flex-direction: column; gap: var(--space-3); }
.order-reason-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-1); }
.order-reason-icon { color: var(--success); flex: 0 0 auto; margin-top: 1px; }
.order-contact-card { background: var(--dark); border-radius: var(--radius-lg); padding: var(--space-6); }
.order-contact-title { color: var(--white); font-size: 16px; margin-bottom: var(--space-4); }
.order-contact-button { margin-bottom: 10px; }
.btn-on-dark { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.82); }
.btn-on-dark:hover { border-color: rgba(255,255,255,.42); color: var(--white); }
.order-contact-hours { color: rgba(255,255,255,.45); font-size: 12px; text-align: center; margin-top: var(--space-3); }
.order-success-header { padding-bottom: 40px; }
.order-success-heading { text-align: center; }
.success-mark { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-5); color: var(--success); background: rgba(16,185,129,.15); border: 2px solid rgba(16,185,129,.30); border-radius: 50%; }
.order-success-container { max-width: 680px; }
.order-success-card { background: var(--white); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); margin-bottom: var(--space-6); border-top: 4px solid var(--success); }
.order-success-card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); padding-bottom: var(--space-5); border-bottom: 1px solid var(--gray-5); }
.order-success-card-head h2 { font-size: 20px; font-weight: 700; }
.order-code-badge { background: var(--primary-light); color: var(--primary); padding: 6px 16px; border-radius: var(--radius-full); font-weight: 700; font-size: 14px; font-family: var(--font-head); }
.order-success-grid dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-3); margin-bottom: 4px; }
.order-success-grid dd { font-weight: 600; overflow-wrap: anywhere; }
.order-success-description { grid-column: 1 / -1; }
.order-success-description dd { color: var(--gray-1); line-height: 1.7; font-weight: 400; }
.order-next-card { background: var(--gray-5); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 28px); margin-bottom: var(--space-6); }
.order-next-card h3 { font-size: 16px; font-weight: 700; margin-bottom: var(--space-4); }
.order-next-list { display: flex; flex-direction: column; gap: var(--space-3); }
.order-next-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; color: var(--gray-1); }
.order-step-number { width: 28px; height: 28px; background: var(--primary); color: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex: 0 0 auto; font-family: var(--font-head); }
.order-wa-card { background: linear-gradient(135deg,#128C7E,#25D366); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 28px); text-align: center; margin-bottom: var(--space-6); }
.order-wa-card p { color: rgba(255,255,255,.92); font-size: 16px; margin-bottom: var(--space-4); }
.order-wa-card .btn { margin-inline: auto; }
.order-success-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

@media (max-width: 767px) {
  .order-success-grid { grid-template-columns: 1fr; }
  .order-success-actions { flex-direction: column; }
  .order-success-actions .btn { width: 100%; }
}


/* v1.3.1 — Legacy public view CSS consolidated into the design-system authority. */

/* Migrated from app/views/member/profile.php in v1.3.1 */
.auth-page{padding:70px 0;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}.auth-container{display:flex;justify-content:center}.auth-card{width:100%;max-width:520px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:28px;padding:34px;box-shadow:0 24px 70px rgba(15,23,42,.08)}.auth-eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#0066ff;margin-bottom:10px}.auth-card h1{font-size:32px;margin:0 0 8px}.auth-subtitle{color:#64748b;margin-bottom:24px;line-height:1.7}.auth-form{display:grid;gap:16px}.btn-block{width:100%;justify-content:center;text-align:center}

/* Migrated from app/views/member/orders.php in v1.3.1 */
.member-page{padding:60px 0 80px;background:#f6f9fd}.member-topline{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.member-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:#0066ff;font-weight:900}.member-topline h1{font-size:34px;margin:8px 0}.member-topline p{color:#64748b}.top-actions{display:flex;gap:10px}.member-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:24px;box-shadow:0 16px 40px rgba(15,23,42,.06)}.member-table{width:100%;border-collapse:collapse}.member-table th,.member-table td{padding:13px 10px;border-bottom:1px solid #eef2f7;text-align:left;font-size:13px;vertical-align:middle}.member-table th{color:#64748b;font-size:11px;text-transform:uppercase}.member-table small{display:block;color:#94a3b8;margin-top:4px}.status-pill{display:inline-block;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.status-new{background:#dbeafe;color:#1d4ed8}.status-in_review{background:#fef3c7;color:#92400e}.status-in_progress{background:#ede9fe;color:#5b21b6}.status-done{background:#dcfce7;color:#166534}.status-cancelled{background:#fee2e2;color:#991b1b}.progress-track{height:7px;width:90px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-track span{display:block;height:100%;background:#0066ff}.empty-state{padding:28px;border:1px dashed #cbd5e1;border-radius:18px;color:#64748b;display:grid;gap:6px}.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.page-link{padding:8px 12px;border:1px solid #e2e8f0;border-radius:10px}.page-link.active{background:#0066ff;color:#fff}@media(max-width:800px){.member-topline{display:grid}.member-table-wrap{overflow:auto}.top-actions{flex-wrap:wrap}}

/* Migrated from app/views/member/dashboard.php in v1.3.1 */
.member-page{padding:58px 0 80px;background:#f6f9fd;min-height:70vh}.member-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;background:linear-gradient(135deg,#0a0f1e,#102a5c);color:#fff;border-radius:28px;padding:34px;margin-bottom:22px;box-shadow:0 24px 60px rgba(15,23,42,.18)}.member-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:#77a8ff;font-weight:900}.member-hero h1{font-size:34px;margin:8px 0}.member-hero p{color:rgba(255,255,255,.7);max-width:600px}.member-actions{display:flex;gap:10px;flex-wrap:wrap}.member-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat-box{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:20px;display:grid;gap:4px;box-shadow:0 10px 28px rgba(15,23,42,.05)}.stat-box strong{font-size:28px;color:#0f172a}.stat-box span{font-size:13px;color:#64748b;font-weight:700}.member-grid{display:grid;grid-template-columns:minmax(0,2fr) 300px;gap:22px}.member-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:24px;box-shadow:0 16px 40px rgba(15,23,42,.06)}.member-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.member-card-title{font-size:18px;font-weight:900}.member-card-head a{font-size:13px;font-weight:800;color:#0066ff}.member-table{width:100%;border-collapse:collapse}.member-table th,.member-table td{padding:13px 10px;border-bottom:1px solid #eef2f7;text-align:left;font-size:13px;vertical-align:middle}.member-table th{color:#64748b;font-size:11px;text-transform:uppercase}.member-table small{display:block;color:#94a3b8;margin-top:4px}.status-pill{display:inline-block;padding:5px 10px;border-radius:999px;background:#eef2ff;color:#334155;font-size:11px;font-weight:800;white-space:nowrap}.status-new{background:#dbeafe;color:#1d4ed8}.status-in_review{background:#fef3c7;color:#92400e}.status-in_progress{background:#ede9fe;color:#5b21b6}.status-done{background:#dcfce7;color:#166534}.status-cancelled{background:#fee2e2;color:#991b1b}.progress-track{height:7px;width:90px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-track span{display:block;height:100%;background:#0066ff;border-radius:inherit}.empty-state{padding:30px;border:1px dashed #cbd5e1;border-radius:18px;color:#64748b;display:grid;gap:9px;justify-items:start}.profile-card{text-align:center}.avatar-lg,.avatar-img{width:82px;height:82px;border-radius:24px;margin:0 auto 16px}.avatar-lg{background:#0066ff;color:#fff;display:grid;place-items:center;font-size:34px;font-weight:900}.avatar-img{object-fit:cover}.level-badge{display:inline-block;margin-top:10px;padding:6px 14px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:800;font-size:12px}.profile-links{display:grid;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid #eef2f7}.profile-links a{font-size:13px;font-weight:700;color:#475569}@media(max-width:1000px){.member-stats{grid-template-columns:repeat(2,1fr)}.member-grid{grid-template-columns:1fr}.profile-card{max-width:none}}@media(max-width:700px){.member-hero{display:grid;padding:25px}.member-hero h1{font-size:28px}.member-stats{grid-template-columns:1fr 1fr}.member-table-wrap{overflow:auto}.member-card{padding:18px}}
.member-logout{border:0;background:none;padding:0;color:#ef4444;font:inherit;cursor:pointer;text-align:left}.member-logout:hover{text-decoration:underline}

/* Migrated from app/views/member/order-detail.php in v1.3.1 */
.detail-page{padding:58px 0 80px;background:#f6f9fd;min-height:70vh}.detail-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:#0066ff;font-weight:900}.detail-head h1{font-size:34px;margin:8px 0}.detail-head p{color:#64748b}.head-actions{display:flex;gap:10px}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.summary-card,.panel-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;box-shadow:0 14px 34px rgba(15,23,42,.055)}.summary-card{padding:20px;display:grid;gap:7px}.summary-card>span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;font-weight:800}.summary-card>strong{font-size:16px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:22px}.stack{display:grid;gap:22px}.panel-card{padding:24px}.panel-card h2{font-size:18px;margin-bottom:18px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.info-grid dt{font-size:11px;text-transform:uppercase;color:#94a3b8;font-weight:800;margin-bottom:5px}.info-grid dd{font-size:14px;line-height:1.7;color:#334155}.info-grid .wide{grid-column:1/-1;padding-top:4px}.info-grid .note{background:#fffbeb;border-left:3px solid #f59e0b;padding:14px;border-radius:10px}.status-pill{display:inline-flex;width:max-content;padding:6px 11px;border-radius:999px;font-size:12px}.status-new{background:#dbeafe;color:#1d4ed8}.status-in_review{background:#fef3c7;color:#92400e}.status-in_progress{background:#ede9fe;color:#5b21b6}.status-done{background:#dcfce7;color:#166534}.status-cancelled{background:#fee2e2;color:#991b1b}.progress-track{height:7px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-track i{display:block;height:100%;background:#0066ff}.payment-list{display:grid}.payment-row{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #eef2f7}.payment-row:last-child{border:0}.payment-row small{display:block;color:#94a3b8;margin-top:4px}.pay-right{text-align:right;display:grid;justify-items:end;gap:5px}.pay-status{padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800}.pay-paid{background:#dcfce7;color:#166534}.pay-pending{background:#fef3c7;color:#92400e}.pay-failed,.pay-cancelled,.pay-expired{background:#fee2e2;color:#991b1b}.timeline{display:grid}.timeline-item{display:grid;grid-template-columns:16px 1fr;gap:10px;position:relative;padding-bottom:22px}.timeline-item:before{content:"";position:absolute;left:5px;top:13px;bottom:0;width:2px;background:#dbeafe}.timeline-item:last-child:before{display:none}.timeline-item>span{width:12px;height:12px;border-radius:50%;background:#0066ff;margin-top:3px;z-index:1}.timeline-item p{font-size:13px;line-height:1.55;color:#64748b;margin:5px 0}.timeline-item small{font-size:11px;color:#94a3b8}.empty{padding:20px;border:1px dashed #cbd5e1;border-radius:14px;color:#64748b}@media(max-width:950px){.summary-grid{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:1fr}}@media(max-width:650px){.detail-head{display:grid}.summary-grid,.info-grid{grid-template-columns:1fr}.head-actions{flex-wrap:wrap}.payment-row{display:grid}.pay-right{text-align:left;justify-items:start}}

/* Migrated from app/views/member/security.php in v1.3.1 */
.auth-page{padding:70px 0;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}.auth-container{display:flex;justify-content:center}.auth-card{width:100%;max-width:540px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:28px;padding:34px;box-shadow:0 24px 70px rgba(15,23,42,.08)}.auth-eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#0066ff;margin-bottom:10px}.auth-card h1{font-size:32px;margin:0 0 8px}.auth-subtitle{color:#64748b;margin-bottom:24px;line-height:1.7}.auth-form{display:grid;gap:16px}.auth-form small{color:#94a3b8}.btn-block{width:100%;justify-content:center;text-align:center}

/* Migrated from app/views/legal/privacy.php in v1.3.1 */
.legal-intro {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 15px;
  color: var(--dark-3);
  line-height: 1.75;
}
.legal-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-5);
}
.legal-section h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-num {
  color: var(--primary);
}
.legal-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 10px;
  color: var(--dark-3);
}
.legal-section p {
  font-size: 15px;
  color: var(--gray-1);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-section ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.legal-section ul li {
  list-style: none;
  font-size: 15px;
  color: var(--gray-1);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.legal-section ul li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--primary);
  font-weight: 700;
}
.legal-highlight {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--gray-1);
  line-height: 1.7;
  margin-top: 16px;
}
.legal-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  background: var(--gray-5);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.legal-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--primary);
}
.legal-contact-item > div { font-size: 15px; }
.contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-3);
  margin-bottom: 2px;
}
.legal-contact-item a {
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 768px) {
  .legal-content + aside { display: none; }
}

/* Migrated from app/views/auth/register.php in v1.3.1 */
.auth-page{padding:70px 0;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}
.auth-container{display:flex;justify-content:center}.auth-card{width:100%;max-width:560px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:28px;padding:34px;box-shadow:0 24px 70px rgba(15,23,42,.08)}
.auth-eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--primary,#0066ff);margin-bottom:10px}.auth-card h1{font-size:32px;margin:0 0 8px}.auth-subtitle{color:#64748b;margin-bottom:24px;line-height:1.7}.auth-form{display:grid;gap:16px}.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.btn-block{width:100%;justify-content:center}.auth-switch{text-align:center;margin-top:22px;color:#64748b}.auth-switch a{font-weight:800;color:var(--primary,#0066ff)}.form-error{color:#ef4444;font-size:12px;margin-top:6px;display:block}@media(max-width:640px){.form-grid-2{grid-template-columns:1fr}.auth-card{padding:24px}}

/* Migrated from app/views/auth/login.php in v1.3.1 */
.auth-page{padding:70px 0;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}
.auth-container{display:flex;justify-content:center}.auth-card{width:100%;max-width:480px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:28px;padding:34px;box-shadow:0 24px 70px rgba(15,23,42,.08)}
.auth-eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--primary,#0066ff);margin-bottom:10px}.auth-card h1{font-size:32px;margin:0 0 8px}.auth-subtitle{color:#64748b;margin-bottom:24px;line-height:1.7}.auth-form{display:grid;gap:16px}.auth-check{display:flex;align-items:center;gap:10px;font-size:14px;color:#475569}.btn-block{width:100%;justify-content:center}.auth-switch{text-align:center;margin-top:22px;color:#64748b}.auth-switch a{font-weight:800;color:var(--primary,#0066ff)}

/* v1.3.1 — Error and member state utilities */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--gray-5); text-align: center; padding: var(--space-6); }
.error-card { width: min(100%, 520px); }
.error-code { font-size: clamp(72px, 18vw, 96px); font-weight: 800; color: var(--primary); font-family: var(--font-head); line-height: 1; margin-bottom: var(--space-2); }
.error-card h1 { font-size: clamp(24px, 5vw, 28px); margin-bottom: var(--space-3); color: var(--dark); }
.error-card p { color: var(--gray-2); font-size: 16px; margin: 0 auto var(--space-8); max-width: 400px; }
.error-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.member-logout-form { margin: 0; }
.progress-meter { appearance: none; -webkit-appearance: none; width: 90px; height: 7px; border: 0; border-radius: 999px; overflow: hidden; background: #e2e8f0; vertical-align: middle; }
.progress-meter-wide { width: 100%; }
.progress-meter::-webkit-progress-bar { background: #e2e8f0; border-radius: 999px; }
.progress-meter::-webkit-progress-value { background: var(--primary); border-radius: 999px; }
.progress-meter::-moz-progress-bar { background: var(--primary); border-radius: 999px; }
@media (max-width: 479px) { .error-actions { flex-direction: column; } .error-actions .btn { width: 100%; } }

/* v1.3.1 — Legal content components */
.legal-intro-followup { margin-top: var(--space-3); }
.legal-section-last { border-bottom: 0; margin-bottom: 0; }
.legal-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); align-self: start; }
.legal-sidebar-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); margin-bottom: var(--space-5); }
.legal-sidebar-title { font-size: 15px; font-weight: 700; margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-2); }
.legal-toc-list { display: flex; flex-direction: column; gap: var(--space-2); padding-left: var(--space-4); }
.legal-toc-item { font-size: 13px; color: var(--gray-2); line-height: 1.5; }
.legal-related-card { background: var(--primary-light); border-radius: var(--radius-lg); padding: var(--space-5); border: 1px solid rgba(0,102,255,.15); }
.legal-related-title { font-size: 14px; font-weight: 700; margin-bottom: var(--space-2); color: var(--primary); }
.legal-related-link { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; font-weight: 600; color: var(--primary); padding: 10px 0 0; }
.legal-related-link-divided { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(0,102,255,.12); }
.legal-keypoints-card { background: var(--dark); border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-5); }
.legal-keypoints-title { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.legal-keypoints-list { display: flex; flex-direction: column; gap: 10px; }
.legal-keypoint-item { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 13px; color: rgba(255,255,255,.70); list-style: none; }
.legal-keypoint-icon { flex: 0 0 auto; }
@media (max-width: 1023px) { .legal-sidebar { position: static; } }

/* ============================================================
   Adana Developer v1.3.2 — Simple Code Lab Content Experience
   Portfolio = what I build, Download = what I share,
   Blog = what I tell/document. Keep this layer intentionally simple.
   ============================================================ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.content-search {
  margin-bottom: var(--space-6);
}
.content-search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.content-search-icon {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  padding-left: 6px;
}
.content-search-box input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: var(--touch-target);
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: 8px 4px;
}
.content-search-box input[type="search"]::placeholder { color: var(--text-subtle); }
.content-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}
.content-search-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.content-search-summary a { color: var(--primary); font-weight: 700; }
.content-filter-tabs { margin-bottom: var(--space-8); }

.codelab-pillar-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.codelab-pillar-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.065);
  color: inherit;
}
.codelab-pillar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.codelab-pillar-count {
  font-size: var(--text-xs);
  font-weight: 800;
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-full);
  padding: 6px 10px;
}
.codelab-pillar-label {
  color: rgba(255,255,255,.55);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--space-2);
}
.codelab-pillar-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-4);
  color: rgba(255,255,255,.86);
  font-size: var(--text-sm);
  font-weight: 700;
}

.lab-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}
.lab-latest-panel { min-width: 0; }
.lab-latest-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.lab-latest-head h3 { font-size: var(--text-xl); margin-top: var(--space-1); }
.lab-latest-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 700;
}
.lab-latest-list { display: flex; flex-direction: column; }
.lab-latest-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}
.lab-latest-item:last-child { border-bottom: 0; padding-bottom: 0; }
.lab-latest-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-light);
  color: var(--primary);
}
.lab-latest-meta { color: var(--text-subtle); font-size: var(--text-xs); margin-bottom: 4px; }
.lab-latest-item h4 { font-size: 15px; line-height: 1.45; margin-bottom: 5px; }
.lab-latest-item h4 a { color: var(--text); }
.lab-latest-item p { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin: 0; }

.lab-paths-section {
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}
.lab-paths-head { margin-bottom: var(--space-6); }
.lab-paths-title { font-size: var(--text-2xl); margin-top: var(--space-2); }
.lab-paths-grid { align-items: stretch; }
.lab-path-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lab-path-card:hover {
  border-color: rgba(0,102,255,.32);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.lab-path-card.is-current {
  border-color: rgba(0,102,255,.28);
  background: var(--primary-light);
}
.lab-path-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}
.lab-path-card.is-current .lab-path-icon { background: var(--primary); color: var(--white); }
.lab-path-copy { display: flex; flex-direction: column; min-width: 0; }
.lab-path-copy small { color: var(--text-subtle); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.lab-path-copy strong { color: var(--text); font-size: 15px; margin: 3px 0 6px; }
.lab-path-copy span { color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.lab-path-arrow { color: var(--primary); margin-top: 10px; }

.lab-explore-banner .cluster { margin-top: var(--space-4); }

@media (max-width: 1023px) {
  .lab-latest-grid { grid-template-columns: 1fr; }
  .lab-paths-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .content-search-box {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .content-search-box .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
  .lab-latest-head { align-items: flex-start; flex-direction: column; }
  .lab-latest-all { white-space: normal; }
  .codelab-pillar-head { align-items: flex-start; }
}

@media (max-width: 479px) {
  .content-search-box { gap: var(--space-2); }
  .lab-path-card { grid-template-columns: auto minmax(0, 1fr); }
  .lab-path-arrow { display: none; }
}
