﻿:root {
  --primary: #061b0e;
  --on-primary: #ffffff;
  --primary-container: #1b3022;
  --on-primary-container: #819986;
  --primary-fixed: #d0e9d4;
  --primary-fixed-dim: #b4cdb8;
  --on-primary-fixed: #0b2013;
  --on-primary-fixed-variant: #364c3c;
  --secondary: #9b451c;
  --on-secondary: #ffffff;
  --secondary-container: #fe9162;
  --on-secondary-container: #752901;
  --secondary-fixed: #ffdbce;
  --secondary-fixed-dim: #ffb598;
  --on-secondary-fixed: #370e00;
  --on-secondary-fixed-variant: #7c2e05;
  --tertiary: #171815;
  --on-tertiary: #ffffff;
  --tertiary-container: #2b2c29;
  --on-tertiary-container: #94938f;
  --surface: #fcf9f8;
  --surface-dim: #dcd9d9;
  --surface-bright: #fcf9f8;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f6f3f2;
  --surface-container: #f0eded;
  --surface-container-high: #eae7e7;
  --surface-container-highest: #e4e2e1;
  --surface-variant: #e4e2e1;
  --on-surface: #1b1c1c;
  --on-surface-variant: #434843;
  --outline: #737973;
  --outline-variant: #c3c8c1;
  --background: #fcf9f8;
  --on-background: #1b1c1c;
  --error: #ba1a1a;
  --on-error: #ffffff;
  --stack-sm: 8px;
  --stack-md: 16px;
  --stack-lg: 32px;
  --section-gap: 40px;
  --container-max: 1200px;
  --margin-desktop: 40px;
  --margin-mobile: 16px;
  --gutter: 24px;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius-default: 0.125rem;
  --radius-lg: 0.25rem;
  --radius-xl: 0.5rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, transform 0.3s ease;
}

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

ul {
  list-style: none;
}

main.main-layout {
  padding: 15px 15px 30px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--margin-mobile);
  padding-right: var(--margin-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--margin-desktop);
    padding-right: var(--margin-desktop);
  }
}

.display-lg {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .display-lg {
    font-size: 48px;
    letter-spacing: -0.02em;
  }
}

.headline-md {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33;
}

@media (min-width: 768px) {
  .headline-md {
    font-size: 32px;
  }
}

.title-lg {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-size: 18px;
  line-height: 1.55;
}

.body-md {
  font-size: 16px;
  line-height: 1.5;
}

.label-md {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.caption {
  font-size: 12px;
  line-height: 1.33;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in,
.reveal {
  opacity: 0;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal {
  animation-name: fadeInUp;
}

svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
}

.icon,
.icon-small,
.icon-md {
  fill: currentColor;
}

.icon {
  width: 18px;
  height: 18px;
}

.icon-small {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.share-btn svg,
.copy-link-btn svg,
.btn-submit svg,
.article-meta svg,
.success-message svg,
.breadcrumbs svg {
  width: 20px;
  height: 20px;
}

.navbar {
  background-color: var(--surface);
  border-bottom: 1px solid rgba(6, 27, 14, 0.1);
  position: relative;
  z-index: 100;
  min-height: 65px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  z-index: 101;
}

@media (min-width: 768px) {
  .logo {
    font-size: 32px;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 65px;
  left: 0;
  width: 100%;
  background-color: var(--surface);
  padding: 24px var(--margin-mobile);
  border-bottom: 1px solid var(--outline-variant);
  gap: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-links.show {
  display: flex;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    border-bottom: none;
    gap: 32px;
    box-shadow: none;
    width: auto;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.footer {
  background-color: var(--primary);
  color: var(--on-primary);
  padding: 45px 0 30px;
  margin-top: var(--section-gap);
  text-align: center;
}

.footer-brand {
  margin-bottom: 40px;
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 16px;
}

.footer-brand p {
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.footer-nav {
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-link {
  opacity: 0.7;
  font-size: 14px;
  font-weight: 500;
}

.footer-link:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 32px;
}

.copyright {
  opacity: 0.5;
  font-size: 14px;
}