:root {
    --color-bg:         #f0ebe3;
    --color-bg-dark:    #2e3d4a;
    --color-text:       #1a1a18;
    --color-text-light: #4a4a45;
    --color-accent:     #c8713a;
    --color-accent-hover: #b05e28;
    --color-rule:       #c8713a;
  
    --font-main: 'Source Serif 4', Georgia, serif;
  
    --fs-nav:   16px;
    --fs-body:  18px;
    --fs-h1:    clamp(40px, 6vw, 72px);
    --fs-h2:    clamp(28px, 4vw, 48px);
    --fs-h3:    18px;
  
    --lh-body:  1.5;
    --max-w:    1200px;
    --section-gap: clamp(64px, 8vw, 120px);
    --img-radius: 4px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; }
  
  body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
  }
  
  img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--img-radius);
  }
  
  a { color: inherit; text-decoration: none; }

  .section-heading {
    font-family: var(--font-main);
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 28px;
  }
  
  .section-heading.underlined {
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 1px solid #D4956A;
  }
  
  .how__content .section-heading { margin-bottom: 32px; }
  
  .section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--section-gap) 40px;
  }
  
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  
  .nav__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 0;
    margin-left: 50px;
  }
  
  
  .nav__links {
    display: flex;
    gap: 32px;
    font-size: var(--fs-nav);
    font-family: var(--font-main);
  }
  
  .nav__links a {
    position: relative;
    color: var(--color-text);
    opacity: 0.85;
    transition: opacity 0.2s;
  }
  .nav__links a:hover { opacity: 1; }
  .nav__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 1px;
    background: var(--color-accent);
    transition: width 0.25s ease;
  }
  .nav__links a:hover::after { width: 100%; }
  
  .nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
  }
  .footer {
    background: var(--color-bg-dark);
    color: #F0EBE1;
    text-align: center;
    padding: 28px 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 18px;
  }
  
  .footer a {
    color: #F0EBE1;
    transition: color 0.2s;
  }
  .footer a:hover { color: #fff; }
  
  .footer__copy {
    font-size: 12px;
    margin-top: 2px;
  }
  
  h2, h3{
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 24px;
    margin: 20px 50px 20px 50px;
  }

  p, h5, h4, li{
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 18px;
    margin-left: 50px;
    margin-right: 50px;
  }

  .date{
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  h1{
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 48px;
    margin: 20px 50px 20px 50px;
  }

  @media (max-width: 900px) {
    .hero,
    .about,
    .how,
    .features__row {
      grid-template-columns: 1fr;
    }
  
    .hero__body { max-width: 100%; }
  
    .hero__image,
    .about__image,
    .how__image,
    .features__image {
      max-height: 280px;
      order: -1;
    }
    .hero__image img,
    .about__image img,
    .how__image img,
    .features__image img { height: 280px; }
    .hero__image { order: 0; }
  
    .features__row--text-right .features__image { order: -1; }
  }

  @media (max-width: 600px) {
    .nav__logo-img {
      margin-left: 0 !important;
    }
  
    .nav__hamburger {
      display: flex !important;
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 24px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 1001;
      margin-right: 10px;
    }
  
    .nav__hamburger span {
      width: 30px;
      height: 3px;
      background-color: #1a1a18 !important;
      border-radius: 10px;
      transition: all 0.3s linear;
      position: relative;
      display: block !important;
    }
    .nav { padding: 12px 20px; }
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
  
    .section,
    .features,
    .hero { padding-left: 20px; padding-right: 20px; }
  
    .hero__title { font-size: 42px; }
    .section-heading { font-size: 28px; }
  
    .hero__image,
    .about__image,
    .how__image,
    .features__image { max-height: 220px; }
    .hero__image img,
    .about__image img,
    .how__image img,
    .features__image img { height: 220px; }
  
    .features__row { gap: 32px; margin-bottom: 48px; }
  
    .cta { padding: 72px 20px; }
    .cta__headline { font-size: 30px; }
  
    .footer { padding: 24px 20px 20px; }
    
  .nav__links--open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    z-index: 1000;
  }

  .nav__hamburger--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__hamburger--active span:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  h1{
    font-size: 36px;
    word-break: keep-all !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  h2, h3{
    font-size: 18px;
  }
  p, h5, h4, li{
    font-size: 16px;
  }
  html, body {
    overflow-x: hidden; 
    width: 100%;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
  }

  .section, .hero, .features {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 0 !important;
  }
  .nav {
    width: 100% !important;
    padding: 12px 20px !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  .nav__logo-img {
    margin-left: 0 !important;
  }

  h2, h3, p, h5, h4, li {
    margin-left: 0 !important;
    margin-right: 0 !important;
    word-wrap: break-word; 
  }
  .hero, .about, .how, .features__row {
    display: block !important;
  }
}