
:root {
  color-scheme: dark;
  --bg: #18132a;
  --bg-soft: #221a3a;
  --panel: rgba(44, 36, 66, 0.78);
  --panel-strong: rgba(60, 48, 90, 0.92);
  --card-bg: rgba(60, 48, 90, 0.92);
  --text: #f6f3fa;
  --muted: #bcb3d7;
  --accent: #c4b5f0;
  --accent-2: #8b7ba8;
  --line: rgba(196, 181, 240, 0.18);
  --shadow: 0 24px 80px rgba(60, 48, 90, 0.25);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 20px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background:
    linear-gradient(180deg, #c4b5f0 0%, #8b7ba8 100%);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.noise,
.orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.noise {
  inset: 0;
  opacity: 0.08;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 95%);
}

.orb {
  width: 34vw;
  height: 34vw;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.12;
}

.orb-1 {
  top: -8vw;
  left: -10vw;
  background: radial-gradient(circle, var(--accent), transparent 70%);
}

.orb-2 {
  right: -12vw;
  top: 14vw;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar,
main,
.footer {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
  padding: 0 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(32, 24, 52, 0.45);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(211, 163, 79, 0.95), rgba(87, 200, 167, 0.9));
  color: #09111c;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.brand-text strong,
.section h1,
.section h2,
.section h3,
.hero-card h2 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
}

.brand-text {
  display: grid;
}

.brand-text small,
.eyebrow,
.section-tag,
.card-label,
.project-kicker,
.timeline-date,
.status-pill {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 12, 21, 0.64);
  backdrop-filter: blur(16px);
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.section {
  padding: 40px 0;
}

.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 56px;
  padding-bottom: 56px;
  padding-left: 40px;
  padding-right: 40px;
}

.hero-copy,
.hero-card,
.panel,
.contact-card {
  border: 1px solid var(--line);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-card,
.contact-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: 40px 60px;
  min-height: unset;
  text-align: center;
  max-width: 50em;
}

.eyebrow {
  color: var(--accent-2);
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 500;
}

.hero h1 {
  margin: 0 0 18px 0;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.05;
  color: var(--accent);
  font-family: "Fraunces", Georgia, serif;
  max-width: unset;
}

.lead {
  margin: 0 auto;
  margin-top: 18px;
  color: var(--muted);
  max-width: 38em;
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}


.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #221a3a;
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.hero-highlights article,
.profile-grid div,
.timeline-item,
.project-card,
.project-status,
.career-panel {
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-highlights article {
  padding: 18px;
}

.highlight-value {
  display: block;
  font-size: 1.9rem;
  font-family: "Fraunces", Georgia, serif;
}

.highlight-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.hero-card {
  padding: 28px;
  align-self: stretch;
  display: grid;
  gap: 12px;
  background: var(--card-bg);
}

.hero-card h2 {
  margin: 0;
  font-size: 2.3rem;
}

.card-subtitle {
  margin: 0 0 12px;
  color: var(--accent-2);
}

.profile-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.profile-grid div,
.timeline-item,
.career-panel {
  padding: 16px;
}

.profile-grid span,
.timeline-date {
  display: block;
  margin-bottom: 6px;
}

.profile-grid strong,
.timeline-item h4,
.project-card h3,
.project-status h3,
.career-panel h3 {
  display: block;
  margin: 0;
  font-size: 1.05rem;
}

.intro-grid,
.cv-grid,
.portfolio-grid,
.ongoing-grid,
.career-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.cv-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.panel {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.section h3 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.bio-panel p,
.contact-card p,
.project-card p,
.project-status p,
.career-panel p,
.timeline-item p,
.values-panel li {
  color: var(--muted);
  line-height: 1.75;
}

.value-list {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.bio-more-link-wrap {
  margin: 24px 0 0;
}

.bio-more-link {
  width: fit-content;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item h4 {
  margin-top: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-section .project-card {
  display: grid;
  gap: 14px;
  background: linear-gradient(165deg, rgba(43, 32, 70, 0.9), rgba(29, 22, 49, 0.94));
  border-color: rgba(190, 171, 231, 0.24);
}

.portfolio-section .project-card h3 {
  margin-bottom: 0;
}

.portfolio-section .project-kicker {
  color: #d5c8f6;
}

.portfolio-section .project-card p {
  color: #ccc2e5;
}

.portfolio-section .project-meta {
  color: #c0b6dd;
}

.portfolio-section .project-meta strong {
  color: #f2edff;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #f2ecff;
  background: rgba(165, 142, 214, 0.24);
  border: 1px solid rgba(208, 191, 241, 0.28);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.tool-tag:hover,
.tool-tag:focus-visible {
  transform: translateY(-1px);
  background: rgba(185, 162, 230, 0.34);
  border-color: rgba(226, 212, 250, 0.42);
}

.project-card,
.project-status,
.career-panel {
  padding: 24px;
}

.project-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
  display: grid;
  gap: 8px;
}

.accent-card {
  background: linear-gradient(160deg, rgba(54, 38, 92, 0.95), rgba(35, 24, 64, 0.96));
}

.ongoing-grid,
.career-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-section .project-status {
  display: grid;
  gap: 14px;
  background: linear-gradient(160deg, rgba(56, 42, 88, 0.92), rgba(38, 29, 63, 0.94));
  border-color: rgba(193, 172, 236, 0.24);
}

.projects-section .project-status h3 {
  margin-bottom: 0;
}

.project-meta {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.project-meta strong {
  color: var(--text);
}

.project-links {
  margin-top: 4px;
}

.status-live {
  border-color: rgba(134, 208, 184, 0.38);
  background: rgba(134, 208, 184, 0.12);
}

.status-plan {
  border-color: rgba(212, 186, 129, 0.35);
  background: rgba(212, 186, 129, 0.12);
}

.status-next {
  border-color: rgba(181, 152, 229, 0.35);
  background: rgba(181, 152, 229, 0.12);
}

.contact-section {
  padding-bottom: 48px;
}

.contact-card {
  padding: 34px;
  background: var(--card-bg);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-links a {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.footer {
  margin-top: 28px;
  padding: 22px 18px 28px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(32, 24, 52, 0.45);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1080px) {
  .hero,
  .intro-grid,
  .cv-grid,
  .portfolio-grid,
  .ongoing-grid,
  .career-grid {
    grid-template-columns: 1fr;
  }

  .skills-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading,
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
    border-radius: 24px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 30px 0;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .contact-card {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .bio-more-link {
    width: 100%;
  }
}

.construction-body {
  min-height: 100vh;
  margin: 0;
  padding: 26px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% 8%, rgba(196, 181, 240, 0.34), transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(139, 123, 168, 0.34), transparent 45%),
    linear-gradient(160deg, #18132a 0%, #2c2442 65%, #40305a 100%);
  display: grid;
  place-items: center;
}

.construction-shell {
  width: min(860px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 52px;
}

.construction-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 0.78rem;
}

.construction-shell h1 {
  margin: 14px 0 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  line-height: 1.12;
}

.construction-shell p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.construction-intro {
  max-width: 62ch;
}

.construction-divider {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.construction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cv-profile-grid {
  grid-template-columns: 1fr;
}

.cvd-shell .cv-profile-grid {
  gap: 22px;
}

.cvd-shell .cv-profile-grid .construction-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.09) 100%);
  border-color: rgba(118, 90, 177, 0.28);
  box-shadow: 0 10px 24px rgba(67, 47, 112, 0.12);
}

.cvd-shell .cv-profile-grid .construction-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(94, 67, 154, 0.85), rgba(167, 142, 216, 0.85));
}

.cvd-shell .cv-profile-grid .construction-card:nth-child(2)::before {
  background: linear-gradient(90deg, rgba(83, 56, 142, 0.9), rgba(130, 104, 189, 0.85));
}

.cvd-shell .cv-profile-grid .construction-card h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}

.cvd-shell .cv-profile-grid .cv-bullet-list {
  gap: 10px;
}

.cvd-shell .cv-profile-grid .cv-bullet-list li::marker {
  color: #5f4697;
}

.construction-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.construction-card h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--text);
}

.cv-service-contact {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.cv-section {
  margin-top: 18px;
}

.cv-bullet-list,
.cv-sublist {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.cv-timeline {
  display: grid;
  gap: 14px;
}

.cv-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cv-item h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--text);
}

.cv-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CV Design header ─────────────────── */
.cvd-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cvd-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.cvd-shell {
  background: linear-gradient(150deg, rgba(183, 168, 223, 0.62) 0%, rgba(201, 188, 232, 0.58) 52%, rgba(220, 211, 244, 0.54) 100%);
  border-color: rgba(233, 226, 250, 0.45);
  color: #2e2448;
}

.cvd-shell h1,
.cvd-shell h2,
.cvd-shell h3 {
  color: #2a1f44;
}

.cvd-shell p,
.cvd-shell li,
.cvd-shell .cv-meta,
.cvd-shell .construction-note {
  color: #3a2f58;
}

.cvd-qualities {
  margin-top: 14px;
}

.cvd-qualities strong {
  color: #2a1f44;
}

.cvd-skill-title {
  margin: 8px 0 10px;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(244, 237, 255, 0.72);
  border: 1px solid rgba(108, 82, 166, 0.28);
}

.cvd-shell .cv-section {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(131, 105, 186, 0.22);
}

.cvd-timeline {
  position: relative;
  gap: 0;
}

.cvd-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(87, 66, 136, 0.55) 0%, rgba(133, 111, 182, 0.35) 100%);
}

.cvd-timeline .cv-item {
  position: relative;
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid rgba(84, 62, 133, 0.18);
}

.cvd-timeline .cv-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #6e58a7;
  border: 2px solid rgba(239, 233, 252, 0.95);
  box-shadow: 0 0 0 3px rgba(140, 120, 189, 0.22);
}

.cvd-timeline .cv-meta {
  font-size: 0.96rem;
  line-height: 1.65;
}

.cvd-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cvd-year-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #342257;
  background: rgba(246, 241, 255, 0.9);
  border: 1px solid rgba(104, 82, 153, 0.35);
  white-space: nowrap;
}

.cvd-header-info {
  display: grid;
  gap: 4px;
}

.cvd-header-info h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
}

.cvd-subtitle {
  margin: 0;
  color: #4b3a72;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.cvd-email {
  color: #43356a;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.cvd-email:hover {
  color: #2a1f44;
}

@media (max-width: 520px) {
  .cvd-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.construction-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cvd-shell .construction-actions {
  margin-top: 44px;
  padding-top: 10px;
  border-top: 1px solid rgba(110, 84, 166, 0.2);
  gap: 14px;
}

.cvd-shell .construction-actions .button {
  min-height: 50px;
  padding-left: 20px;
  padding-right: 20px;
}

.construction-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.96rem;
}

.cvd-shell .construction-note {
  margin-top: 22px;
  padding: 22px 24px;
  line-height: 1.85;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(126, 98, 184, 0.26);
}

@media (max-width: 720px) {
  .construction-body {
    padding: 16px;
  }

  .construction-shell {
    padding: 24px;
  }

  .construction-grid {
    grid-template-columns: 1fr;
  }
}

/* Templates projet */
.template-page {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 8%, rgba(196, 181, 240, 0.24), transparent 34%),
    radial-gradient(circle at 86% 20%, rgba(139, 123, 168, 0.24), transparent 40%),
    linear-gradient(160deg, #18132a 0%, #2a2143 62%, #3a2e5a 100%);
}

.template-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(208, 193, 240, 0.24);
  border-radius: var(--radius-xl);
  background: rgba(44, 35, 70, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 34px;
}

.template-header {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.template-type {
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(219, 205, 247, 0.35);
  background: rgba(194, 173, 236, 0.2);
  color: #e9e0fb;
}

.template-header h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1;
}

.template-subtitle {
  margin: 0;
  color: #cdc3e7;
  max-width: 70ch;
  line-height: 1.75;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.template-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(214, 201, 241, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
}

.template-card h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.22rem;
}

.template-card p,
.template-card li {
  color: #c7bddf;
  line-height: 1.72;
}

.template-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-tag {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  border: 1px solid rgba(198, 181, 232, 0.3);
  background: rgba(171, 147, 216, 0.2);
  color: #ece4ff;
}

.template-actions {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(205, 192, 236, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .template-page {
    padding: 14px;
  }

  .template-shell {
    padding: 22px;
  }

  .template-grid {
    grid-template-columns: 1fr;
  }
}