:root {
  /* Brand palette */
  --fg: #0d2834;           /* dark azure */
  --bg: #ffffff;           /* page base */
  --muted: #47606b;        /* derived from dark azure */
  --surface: #f2f3f6;      /* light blue */
  --card: #ffffff;
  --border: #e2e8f0;
  --highlight: #fff3ec;    /* light orange */
  /* Turquoise scale */
  --accent-200: #d8ecea;
  --accent-400: #82b9b4;   /* turquoise */
  --accent-500: #74afa9;
  --accent-600: #5da39d;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Instrument Sans", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.container {
  width: min(1280px, 100% - 2rem);
  margin-inline: auto;
}

@media (max-width: 900px) {
  .container {
    width: 100% - 1rem;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .container {
    width: 100% - 0.5rem;
    margin-inline: auto;
  }
}

.section {
  padding: 96px 0;
}

/* Elegant reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Tighter spacing between hero and stats */
.section.hero { padding-bottom: 48px; }
.section.what-we-do { padding-top: 48px; padding-bottom: 48px; }
.section.what-we-offer { padding-top: 48px; }
.section.faq { padding-top: 64px; padding-bottom: 32px; }
.section.brands { padding-bottom: 48px; }
.section.why { padding-top: 48px; }

/* Tighter transition from FAQ to Contact */
.section.contact { padding-top: 48px; }

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 { font-size: clamp(2.25rem, 6vw + 1rem, 5rem); }
h2 { font-size: clamp(100px, 6vw + 20px, 140px); }
h3 { font-size: 1.125rem; }

/* Headings use Neulis Sans */
h1, h2, h3, .section-title, .eyebrow, .btn { font-family: "Neulis Sans", "NeulisSans", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2 { font-weight: 500; } /* Medium */
h3 { font-weight: 600; }     /* SemiBold */

p { margin: 0 0 16px; color: var(--muted); font-size: 1.125rem; }

a { color: var(--accent-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { box-shadow: 0 6px 18px rgba(2,6,23,.12); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(2,6,23,.08); }

.btn-small { padding: .5rem .75rem; font-size: .9rem; }
.btn-primary { background: var(--fg); color: #ffffff; }
.btn-primary:hover { background: #0a2230; }
.btn-outline { border-color: var(--border); color: var(--fg); }
.btn-outline:hover { border-color: var(--accent-600); color: var(--accent-600); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  padding-top: 12px;
  background: transparent;
  z-index: 50;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--fg);
  color: #f5f7f9;
  border-radius: 22.4px;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(2,6,23,.15) inset, 0 6px 24px rgba(2,6,23,.12);
  border: 1px solid rgba(255,255,255,.12);
  animation: headerReveal .5s ease-out .05s both;
}

.logo { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.logo-img { 
  display: none; 
  height: 70px; 
  width: auto; 
  transition: transform .25s ease;
}

.logo-img:hover {
  transform: translateY(-2px);
}
.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--fg);
  color: white;
  font-weight: 700;
  border-radius: 8px;
  font-size: .9rem;
}
.logo-text { text-transform: lowercase; font-weight: 700; letter-spacing: .2px; }

.logo.has-image .logo-img { display: block; }
.logo.has-image .logo-mark, .logo.has-image .logo-text { display: none; }

.site-nav { position: relative; }
.nav-toggle { display: none; }

@media (max-width: 1024px) {
  .nav-toggle { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: .75rem 1rem; 
    border-radius: 12px; 
    border: 1px solid rgba(255,255,255,.2); 
    background: rgba(255,255,255,.1); 
    color: #ffffff;
    font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    user-select: none;
    position: relative;
    z-index: 5;
  }
  
  .nav-toggle:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.3);
  }
  
  .nav-toggle:active {
    transform: translateY(1px);
  }
}
.nav-list { display: flex; gap: 1rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-list a, .site-header .nav-list a { color: #f0f4f8; text-decoration: none; padding: .5rem .7rem; border-radius: 8px; font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif; font-weight: 500; letter-spacing: .2px; animation: headerItem .55s ease-out .16s both; }
.nav-list a:hover { background: rgba(255,255,255,.06); }
.nav-list a.is-accent { color: #99e9d2; }

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--fg);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(2,6,23,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
  margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: #f0f4f8;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,.08);
}
.nav-sep { width: 8px; }
.nav-icon { width: 32px; height: 32px; filter: drop-shadow(0 1px 0 rgba(0,0,0,.1)); opacity: .95; }
.nav-icon-item { display: grid; place-items: center; }

@media (max-width: 1024px) {
  .site-header {
    transition: all 0.3s ease;
  }
  
  .site-header.menu-open {
    background: transparent;
  }
  
  .site-header.menu-open .header-bar {
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(2,6,23,.15) inset, 0 6px 24px rgba(2,6,23,.12);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 2rem;
    min-height: auto;
    display: flex;
    overflow: visible;
    position: relative;
  }
  
  .site-header.menu-open .header-bar::before {
    content: '';
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .site-header.menu-open .header-bar > *:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .site-header.menu-open .logo {
    align-self: flex-start;
    max-width: 100%;
    margin-bottom: 0;
    flex: 1;
  }
  
  .site-header.menu-open .nav-toggle {
    position: static;
    top: auto;
    right: auto;
    z-index: 10;
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.3);
    min-width: 60px;
    padding: 0.6rem 0.8rem;
    margin-left: auto;
  }
  
  .mobile-header-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }
  
  .mobile-header-row .logo {
    margin-bottom: 0 !important;
    flex: 1 !important;
  }
  
  .mobile-header-row .nav-toggle {
    margin-left: auto !important;
    background: rgba(255,255,255,.15) !important;
    border-color: rgba(255,255,255,.3) !important;
    min-width: 60px !important;
    padding: 0.6rem 0.8rem !important;
  }
  

  
  .site-header.menu-open .site-nav {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .site-header.menu-open .nav-list {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    position: static;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    min-width: auto;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1rem;
    align-items: flex-start;
    width: 100%;
  }
  

  

  

  .nav-list { 
    position: static; 
    background: transparent;
    border: none; 
    border-radius: 0;
    padding: 1rem 0 0 0; 
    display: none; 
    min-width: auto; 
    box-shadow: none;
    backdrop-filter: none;
    z-index: auto;
    animation: none;
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    width: 100%;
  }
  .nav-list.show { 
    display: flex !important; 
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-list li {
    list-style: none;
  }
  .nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-list a:hover {
    background: rgba(255,255,255,.08);
  }
  
  /* Mobile dropdown styles */
  .nav-dropdown {
    position: static;
  }
  
  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
  }
  
  .dropdown-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,.8);
  }
  .nav-sep {
    height: 1px;
    background: rgba(255,255,255,.1);
    margin: 0.5rem 0;
  }
  .nav-icon-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
  }
  .btn-cta {
    margin-top: 0.25rem;
    justify-self: stretch;
    text-align: left;
  }
}

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale down the logo on smaller screens to avoid crowding */
@media (max-width: 900px) {
  .logo-img { height: 59px; }
}

@media (max-width: 800px) {
  .logo-img { height: 57.5px; }
  .logo { 
    max-width: 100%;
    flex-shrink: 1;
  }
}

/* Additional mobile improvements */
@media (max-width: 600px) {
  .nav-toggle {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    min-width: 70px;
  }
  
  .site-header.menu-open .nav-toggle {
    min-width: 60px;
    padding: 0.5rem 0.7rem;
  }
  
  .nav-list {
    min-width: auto;
    padding: 0.8rem 0;
  }
  
  .nav-list a {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
  }
  
  .logo-img { height: 51.75px; }
  
  /* Bigger H1s on small mobile devices */
  .hero-copy h1 {
    font-size: clamp(4rem, 8vw + 2.5rem, 6rem);
  }
  
  /* Ensure long headings wrap properly on mobile */
  .service-hero-copy h1 {
    font-size: clamp(3.5rem, 7vw + 2.5rem, 5rem);
    word-wrap: break-word;
    hyphens: auto;
  }
}

/* Header CTA */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .55rem .9rem; border-radius: 12px;
  color: #ecf3f6; text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  animation: headerItem .6s ease-out .22s both;
}
.btn-cta:hover { border-color: rgba(255,255,255,.45); }
.btn-cta:active { transform: translateY(1px); }

/* Hero */
.hero { padding-top: 64px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: end; }
.hero-copy { position: static; z-index: auto; }
.hero-copy h1 { 
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif; 
  font-weight: 500; 
  color: var(--fg); 
  margin-bottom: 32px; 
  font-size: clamp(3.8rem, 7vw + 1.8rem, 6.8rem); 
  line-height: 0.935;
  animation: fadeUp 0.7s ease-out 0.05s both;
}

.hero-copy h1 .gradient-text {
  color: var(--fg);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes rootsGrow {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    filter: blur(4px);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05) translateY(-2px);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes rootExtend {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}


.hero-copy p { max-width: 60ch; font-size: 1.25rem; color: var(--muted); margin-bottom: 24px; }

/* Hide line breaks in hero paragraph on mobile */
@media (max-width: 800px) {
  .hero-copy p br {
    display: none;
  }
  
  /* Add space after "to" when line break is hidden */
  .hero-copy p br::after {
    content: " ";
  }
  
  /* Ensure proper spacing in hero paragraph on mobile */
  .hero-copy p {
    white-space: normal;
  }
}
.actions { margin-top: 8px; margin-bottom: 0; }

.hero-copy p { animation: fadeUp .7s ease-out both; animation-delay: .18s; }
.hero .actions { animation: fadeUp .7s ease-out both; animation-delay: .28s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }


@keyframes heroFade { from { opacity: 0; filter: blur(6px) saturate(.9); } to { opacity: 1; filter: blur(0) saturate(1); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none !important; } }
@keyframes headerReveal { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes headerItem { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .header-bar, .nav-list a, .btn-cta { animation: none !important; } }
.hero-art { position: static; width: 100%; background: transparent; border-radius: 0; box-shadow: none; overflow: visible; display: block; align-self: end; border: none; }
.hero-art img { 
  width: 100%; 
  height: auto; 
  display: block; 
  object-fit: contain; 
  object-position: right bottom; 
  border: none !important;
  outline: none !important;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(2,6,23,.1);
  animation: fadeUp 0.7s ease-out 0.35s both;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-art img:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 30px 60px rgba(2,6,23,.15), 0 0 0 1px rgba(116, 175, 169, 0.1);
  filter: brightness(1.05) contrast(1.02);
}
@media (min-width: 901px) {
  .hero-art img { transform-origin: right bottom; transform: scale(1.15); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { 
    margin-bottom: 24px; 
    font-size: clamp(3.5rem, 7vw + 2rem, 5.5rem); 
  }
  .hero-copy p { 
    margin-bottom: 0; 
  }
  .actions { 
    margin-top: 16px; 
    margin-bottom: 0; 
  }
  /* Mobile-only tighter spacing */
  .section.hero { padding-bottom: 24px; }
  .section.what-we-do { padding-top: 24px; }
}

/* Video section removed */

/* What we do */
.eyebrow { font-weight: 700; color: var(--fg); margin-bottom: 8px; display: inline-flex; align-items: center; gap: .5rem; }
.eyemark { display: inline-grid; place-items: center; width: 22px; height: 22px; background: var(--fg); color: white; border-radius: 6px; font-size: .7rem; font-weight: 800; text-transform: lowercase; }
.what-we-do .wwd-panel { 
  background: var(--fg); 
  border-radius: 20px; 
  padding: 40px; 
  border: 1px solid rgba(255,255,255,.12); 
  box-shadow: 0 10px 30px rgba(2,6,23,.15) inset, 0 6px 24px rgba(2,6,23,.12); 
}
.what-we-do .wwd-panel .section-title { color: #dfd6d1; margin-bottom: 20px; }
.what-we-do .wwd-panel p { color: #ffffff; font-size: 1.125rem; line-height: 1.6; margin-bottom: 12px; }
.stats-row { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  margin-bottom: 32px;
  align-items: stretch;
}
.wwd-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.wwd-copy { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
  max-width: 56ch; 
}
.wwd-aside { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.aside-heading { margin: 6px 0 16px; font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.what-we-do .aside-heading { font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif; color: #dfd6d1; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; }
.tick { width: 18px; height: 18px; display: inline-grid; place-items: center; color: var(--accent-600); background: transparent; box-shadow: none; border-radius: 0; font-size: 18px; line-height: 1; }
.tick::before { content: "◍"; }
.stat-card { 
  background: white; 
  border-radius: 16px; 
  padding: 24px; 
  box-shadow: 0 4px 12px rgba(2,6,23,.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 120px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid transparent;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  border-color: rgba(2,6,23,.08);
}
/* Things we craft grid */
.craft-grid { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 10px 12px; 
}
.craft-item { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  background: transparent; 
  border: 1px solid #dfd6d1; 
  color: #dfd6d1; 
  border-radius: 10px; 
  padding: 6px 12px; 
  font-family: "Neulis Sans", "NeulisSans", sans-serif; 
  font-weight: 500; 
  font-size: 0.9rem;
  white-space: nowrap; 
}
.craft-item:hover { background: rgba(255,255,255,.06); }

/* More button styling */
.more-btn {
  cursor: pointer;
  background: transparent;
  border: 1px solid #dfd6d1;
  color: #dfd6d1;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 6px 12px;
  min-width: 40px;
  transition: all 0.2s ease;
  display: none; /* Hidden by default */
}

.more-btn:hover {
  background: rgba(255,255,255,.06);
  transform: scale(1.05);
}

.more-btn.expanded {
  background: rgba(255,255,255,.1);
}

/* Mobile hidden items */
.craft-items-mobile-hidden {
  display: inline-flex; /* Show by default on desktop */
}

@media (max-width: 900px) {
  .more-btn {
    display: inline-flex; /* Show button on mobile */
    background: rgba(255,255,255,.08); /* Slightly lighter than expanded state */
  }
  
  .craft-items-mobile-hidden {
    display: none; /* Hide on mobile by default */
  }
  
  .craft-items-mobile-hidden.show {
    display: inline-flex;
  }
  
  /* Ensure proper spacing when collapsed */
  .craft-items-mobile-hidden:not(.show) {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0) !important;
    max-height: 0 !important;
    max-width: 0 !important;
  }
}

.coming-soon,
.craft-item .coming-soon,
.service-includes-content .coming-soon {
  background: var(--accent-400);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif !important;
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 8px;
  letter-spacing: 0.5px;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  text-transform: uppercase;
}

.coming-soon-btn {
  margin-top: 24px;
  width: auto;
  min-width: 140px;
  font-size: 0.875rem;
  padding: 12px 24px;
}
@media (max-width: 600px) { 
  .craft-item { white-space: normal; }
  
  .stats-row { 
    grid-template-columns: 1fr; 
    gap: 12px; 
  }
  
  .stat-card { 
    padding: 20px; 
    min-height: 100px;
  }
  
  .stat-number { 
    font-size: 2rem; 
  }
}

/* Ensure stats stack vertically on mobile */
@media (max-width: 900px) {
  .stats-row { 
    grid-template-columns: 1fr; 
    gap: 16px; 
    margin-bottom: 16px; 
  }
}
.stat-number { 
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500; 
  color: var(--fg); 
  font-size: 2.5rem; 
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label { 
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--muted); 
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .wwd-grid { 
    grid-template-columns: 1fr; 
    gap: 24px;
  }
  .wwd-copy { 
    max-width: none; 
    gap: 16px;
  }
  .what-we-do .wwd-panel { 
    padding: 32px; 
  }
  .what-we-do .wwd-panel .section-title { 
    margin-bottom: 16px; 
  }
  .what-we-do .wwd-panel p { 
    margin-bottom: 10px; 
  }
  .aside-heading { 
    margin: 20px 0 16px; 
  }
  .stats-row { 
    grid-template-columns: 1fr; 
    gap: 16px; 
    margin-bottom: 16px; 
  }
}

/* Offer */
.what-we-offer { background: linear-gradient(180deg, #fff, var(--surface)); }
.section-title { margin-bottom: 20px; }
.h2-with-mark { display: inline-flex; align-items: center; gap: 10px; font-size: 37px; }
.h2-mark { width: 37px; height: 37px; display: inline-block; }

@media (max-width: 600px) {
  .h2-with-mark { font-size: 27px; }
  .h2-mark { width: 27px; height: 27px; }
}

/* Match hero button aesthetic where used elsewhere */
.what-we-do .btn-primary { 
  background: var(--accent-400); 
  color: #0d2834; 
  border-radius: 12px; 
  padding: .55rem .9rem; 
  margin-top: auto; 
  border: 0; 
  align-self: flex-start;
}
.what-we-do .btn-primary:hover { background: var(--accent-500); color: #0d2834; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; display: grid; gap: 10px; box-shadow: 0 8px 24px rgba(2,6,23,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; grid-template-rows: auto auto 1fr auto; grid-template-columns: 1fr; height: 100%; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(2,6,23,.08); border-color: rgba(2,6,23,.08); }
.card-icon { width: 50px; height: 50px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; font-weight: 700; color: var(--muted); grid-row: 4; grid-column: 1; align-self: end; justify-self: start; }
.card-icon img { max-width: 75%; max-height: 75%; }
.offer-grid h3 { text-transform: uppercase; font-size: 1.375rem; font-weight: 700; }
.more { color: var(--accent-600); font-weight: 600; text-decoration: none; justify-self: end; align-self: end; grid-row: 4; grid-column: 1; }
.more:hover { text-decoration: underline; }

@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }

/* Brands */
.brands { padding-top: 48px; }
.brands-wrap { 
  background: var(--fg); 
  padding: 32px; 
  border-radius: 20px; 
  overflow: hidden;
  position: relative;
  cursor: grab;
  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.brands-track {
  display: flex; 
  gap: 40px; 
  position: relative;
  width: max-content;
}
.brands-wrap::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.brands-wrap:active {
  cursor: grabbing;
}

/* Prevent text selection and image dragging */
.brands-wrap,
.brands-wrap * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.brands-wrap img {
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

.brand { 
  background: transparent; 
  border-radius: 16px; 
  padding: 20px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: transform .25s ease;
  min-height: 80px;
  flex-shrink: 0;
}
.brand:hover { 
  transform: translateY(-2px); 
}
.brand img { 
  max-height: 80px; 
  max-width: 160px; 
  width: auto; 
  height: auto;
  opacity: 0.9;
  transition: opacity .25s ease;
}
.brand:hover img {
  opacity: 1;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) { 
  .brands-wrap { 
    gap: 24px;
    padding: 24px;
  }
  .brand {
    padding: 16px;
    min-height: 80px;
  }
  .brand img {
    max-height: 64px;
    max-width: 130px;
  }
}

@media (max-width: 600px) { 
  .brands-wrap { 
    gap: 20px;
    padding: 20px;
  }
  .brand {
    padding: 14px;
    min-height: 70px;
  }
  .brand img {
    max-height: 56px;
    max-width: 110px;
  }
}

/* Why */
.why { background: linear-gradient(180deg, #fff, var(--surface)); }
.why-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: stretch; }
.why-copy { 
  max-width: 68ch; 
}
.why-aside { 
  background: transparent; 
  color: inherit; 
  border-radius: 0; 
  padding: 0; 
  display: grid; 
  gap: 20px; 
  grid-template-rows: auto 1fr auto; 
  align-self: stretch; 
}
.aside-title { 
  font-family: "Neulis Sans", "NeulisSans", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; 
  font-weight: 700; 
  margin: 0; 
  text-transform: uppercase; 
  color: var(--accent-400); 
  line-height: 1.1; 
  font-size: 1.375rem; 
  letter-spacing: .4px; 
}
@media (min-width: 901px) { 
  .aside-title { font-size: 1.375rem; } 
}
/* Button styling to match sleek gradient CTA */
.why-aside .btn-primary { 
  background: linear-gradient(135deg, #0d2834, #0f3c46); 
  color: #ecf3f6; 
  border-radius: 14px; 
  padding: .9rem 1.4rem; 
  border: 0; 
  justify-self: start; 
  align-self: end; 
  grid-row: 3; 
}
.why-aside .btn-primary:hover { filter: brightness(1.06); }

@media (max-width: 900px) { 
  .why-grid { grid-template-columns: 1fr; } 
  .why-copy { max-width: none; } 
}

/* FAQ */
.faq-list { display: grid; gap: 20px; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.faq-item summary { 
  cursor: pointer; 
  font-weight: 600; 
  font-size: 1.25rem;
  list-style: none;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item[open] { box-shadow: 0 8px 24px rgba(2,6,23,.06); }
.faq-item p { margin-top: 8px; }

/* FAQ Animation */
.faq-item summary { 
  position: relative; 
  transition: color 0.2s ease;
  padding-left: 2rem;
}
.faq-item summary:hover { 
  color: var(--accent-600); 
}
.faq-item summary::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-400);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::before {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item p {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  margin-top: 0;
  padding-left: 2rem;
}
.faq-item[open] p {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-left { 
  grid-column: 1; 
  display: flex; 
  flex-direction: column; 
  justify-content: flex-start; 
}
.contact-left h2 { 
  margin-bottom: 24px; 
}
.contact-left p { 
  margin: 0; 
}

/* Responsive line break for contact text */
.contact-line-break {
  display: inline;
}

@media (min-width: 901px) {
  .contact-line-break {
    display: block;
  }
}
.contact-form { 
  grid-column: 2; 
  display: grid; 
  gap: 12px; 
  background: rgba(255, 255, 255, 0.05); 
  padding: 20px 32px; 
  border-radius: 20px; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); 
  backdrop-filter: blur(10px); 
  width: 90%; 
  justify-self: end;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}
.contact-form label { 
  display: grid; 
  gap: 4px; 
}

.contact-form label span { 
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
}
.contact-form input, .contact-form textarea { 
  width: 100%; 
  padding: .625rem .75rem; 
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 12px; 
  font: inherit; 
  background: rgba(255, 255, 255, 0.1); 
  color: #ffffff; 
  transition: all 0.2s ease; 
  resize: none;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.contact-form input {
  height: auto;
  min-height: 48px;
}

.contact-form textarea {
  height: 80px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent-400); border-color: var(--accent-400); background: rgba(255, 255, 255, 0.15); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.6); }
.form-feedback { color: var(--accent-400); font-weight: 600; min-height: 1.2rem; }
.contact .contact-left p { color: #ffffff; }
.contact .container { background: var(--fg); color: #ecf3f6; border-radius: 28px; padding: 32px; overflow: hidden; position: relative; }
.contact .h2-with-mark { color: #dfd6d1; font-size: 75px; line-height: 1.05; }
.contact .h2-with-mark { gap: 14px; }
.contact .h2-mark { display: inline-block; width: 72px; height: 72px; }
.contact .btn-primary { background: var(--accent-400); color: #0d2834; }
.contact .btn-primary:hover { background: var(--accent-500); color: #0d2834; }

@keyframes floatY { from { transform: translateY(0); } to { transform: translateY(12px); } }

@media (max-width: 900px) { 
  .contact-grid { grid-template-columns: 1fr; gap: 24px; } 
  .contact-left { grid-column: 1; grid-row: 1; }
  .contact-form { grid-column: 1; grid-row: 2; padding: 24px; justify-self: start; width: 100%; }
  .contact-form input, .contact-form textarea { width: 100%; } 
  .contact .container { padding: 28px; }
  .contact-left { justify-content: flex-start; }
  .contact-left h2 { margin-bottom: 0; font-size: clamp(60px, 8vw + 20px, 100px); }
  .contact-left p { margin: 0; }
  .contact .h2-mark { display: none; }
  .contact .h2-with-mark { font-size: clamp(50px, 8vw + 20px, 75px); }
}

@media (max-width: 600px) {
  .contact .container { padding: 20px; }
  .contact-left h2 { font-size: clamp(40px, 6vw + 20px, 60px); }
  .contact .h2-with-mark { font-size: clamp(35px, 6vw + 20px, 50px); }
  .contact-left { gap: 12px; }
  .contact-left p { font-size: 1rem; }
  .contact-form { padding: 20px; }
  .contact-form input, .contact-form textarea { padding: .75rem .875rem; }
}

/* Prevent full-width submit button; keep natural size */
.contact-form .btn { 
  justify-self: start; 
  font-size: 1rem; 
  padding: .75rem 1rem; 
  align-self: end;
  margin-top: 4px;
}

/* Contact form error messages */
.contact-form .error-message {
  color: #ffa07a;
  font-size: 0.875rem;
  margin-top: 4px;
  display: none;
  font-weight: 500;
}

.contact-form label span:first-child {
  color: #ffffff;
}

/* Newsletter form feedback */
.newsletter-feedback {
  color: #ffa07a;
  font-size: 0.75rem;
  margin-top: 8px;
  min-height: 1.2rem;
  font-weight: 500;
  display: block;
  width: 100%;
  clear: both;
  position: relative;
  left: 0;
  text-align: left;
  float: left;
  margin-left: 0;
}

/* Force newsletter error to appear below input */
.newsletter-form .newsletter-feedback {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
  margin-top: 8px !important;
  position: static !important;
}

/* Service Page Styles */
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: center;
}

.service-hero-copy h1 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw + 1.5rem, 5rem);
  line-height: 1.1;
  animation: fadeUp 0.7s ease-out 0.05s both;
}

.service-hero-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease-out 0.15s both;
}

.service-hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 24px;
  animation: fadeUp 0.7s ease-out 0.28s both;
}

  .service-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.7s ease-out 0.35s both;
}

/* Ensure desktop image alignment */
@media (min-width: 901px) {
  .service-hero-image {
    justify-content: flex-end;
    align-self: end;
    justify-self: end;
  }
}
  
  @media (max-width: 900px) {
    .service-hero-image {
      margin-top: 8px;
    }
  }

.service-hero-image img {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(2,6,23,.1);
}

.service-intro {
  background: linear-gradient(180deg, #fff, var(--surface));
}

.service-intro-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--fg);
  max-width: 80ch;
  margin: 0;
}

.service-includes {
  background: var(--surface);
}

.service-includes-panel {
  background: var(--fg);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(2,6,23,.15) inset, 0 6px 24px rgba(2,6,23,.12);
}

.service-includes-panel .section-title {
  color: #dfd6d1;
  margin-bottom: 32px;
}

.service-includes-panel p {
  color: #ffffff !important;
  font-size: 1.125rem !important;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: inherit;
  font-weight: normal;
}

.service-includes-content .aside-heading {
  color: #dfd6d1;
  margin-bottom: 32px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.service-includes-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.service-includes-content {
  max-width: none;
  margin: 0;
}



.service-includes-content .craft-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.service-includes-content .craft-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #dfd6d1;
  color: #dfd6d1;
  border-radius: 10px;
  padding: 6px 12px;
  font-family: "Neulis Sans", "NeulisSans", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.service-includes-content .craft-item:hover {
  background: rgba(255,255,255,.06);
}

.service-process {
  background: linear-gradient(180deg, var(--surface), #fff);
  padding: 36px 0 48px 0;
}

.service-process-content {
  max-width: none;
  margin: 0;
}

.process-steps {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  margin-top: 32px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(2,6,23,.06);
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  border-color: rgba(2,6,23,.08);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--fg);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.step-content p {
  color: var(--muted);
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
}

.service-fintech {
  background: var(--surface);
}

.service-fintech-content {
  max-width: 70ch;
  margin: 0;
}

.service-fintech-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--fg);
  margin-top: 12px;
}

@media (max-width: 900px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-hero-copy h1 {
    font-size: clamp(3rem, 6vw + 2rem, 4.5rem);
    margin-bottom: 20px;
  }
  
  .service-hero-intro {
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  
  .service-hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  
  .service-hero-actions .btn {
    justify-content: center;
  }
  
  .service-intro-content p {
    font-size: 1.125rem;
  }
  
  .service-includes-panel {
    padding: 32px;
  }
  
  .service-includes-panel .section-title {
    margin-bottom: 24px;
  }
  
  .service-includes-panel p {
    margin-bottom: 16px;
  }
  
  .service-includes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .service-includes-content .craft-item {
    white-space: normal;
    font-size: 0.85rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  .process-step {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  
  .step-number {
    justify-self: start;
  }
  
  .service-fintech-content p {
    font-size: 1.125rem;
  }
}

@media (max-width: 600px) {
  .service-hero-copy h1 {
    font-size: clamp(3.5rem, 7vw + 2.5rem, 5rem);
  }
  
  .service-hero-intro {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .service-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .service-hero-actions .btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
    justify-content: center;
  }
  
  .process-steps {
    gap: 16px;
  }
  
  .process-step {
    padding: 20px;
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Privacy Policy Page Styles */
.privacy-hero {
  background: linear-gradient(180deg, #fff, var(--surface));
  padding-top: 64px;
  padding-bottom: 32px; /* Reduced from default 96px */
}

.privacy-hero-content h1 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 16px;
  font-size: clamp(3rem, 6vw + 1.5rem, 4.5rem);
  line-height: 1.1;
}

.last-updated {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

.privacy-content {
  background: var(--surface);
  padding-top: 32px; /* Reduced from default 96px */
  padding-bottom: 64px; /* Reduced from default 96px */
}

.privacy-text {
  max-width: none;
  margin: 0;
  text-align: left;
}

.privacy-text h2 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin: 24px 0 12px 0; /* Reduced margins */
  font-size: 1.75rem;
  line-height: 1.3;
}

.privacy-text h2:first-of-type {
  margin-top: 0;
}

.privacy-text p {
  margin-bottom: 16px;
  color: var(--fg);
  font-size: 1.125rem;
  line-height: 1.6;
}

.privacy-text ul {
  margin: 16px 0 24px 0;
  padding-left: 24px;
}

.privacy-text li {
  margin-bottom: 8px;
  color: var(--fg);
  font-size: 1.125rem;
  line-height: 1.6;
}

.privacy-text a {
  color: var(--accent-600);
  text-decoration: none;
}

.privacy-text a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .privacy-hero-content h1 {
    font-size: clamp(2.5rem, 5vw + 1.5rem, 3.5rem);
    margin-bottom: 12px;
  }
  
  .privacy-text {
    margin: 0 1rem;
  }
  
  .privacy-text h2 {
    font-size: 1.5rem;
    margin: 28px 0 12px 0;
  }
  
  .privacy-text p,
  .privacy-text li {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .privacy-hero-content h1 {
    font-size: clamp(2rem, 4vw + 1.5rem, 2.5rem);
  }
  
  .privacy-text {
    margin: 0 0.5rem;
  }
  
  .privacy-text h2 {
    font-size: 1.375rem;
    margin: 24px 0 10px 0;
  }
  
  .privacy-text ul {
    padding-left: 20px;
  }
}

/* News Hub Page Styles */
.news-hub-hero {
  background: linear-gradient(180deg, #fff, var(--surface));
  padding-top: 64px;
  padding-bottom: 48px;
}

.news-hub-hero-grid {
  display: grid;
  grid-template-columns: 0.55fr 0.45fr;
  gap: 56px;
  align-items: start;
}

.news-hub-hero-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
}

.news-hub-hero-copy h1 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 6vw + 1.5rem, 5.5rem);
  line-height: 1.1;
}

.news-hub-hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

.news-hub-hero-description {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 500px;
}

/* News Hub Newsletter Form Styles */
.news-hub-newsletter {
  margin-top: 32px;
}

.news-hub-newsletter .newsletter-form {
  max-width: 400px;
}

.news-hub-newsletter .newsletter-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.news-hub-newsletter .newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-hub-newsletter .newsletter-input:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px rgba(130, 185, 180, 0.1);
}

.news-hub-newsletter .newsletter-btn {
  padding: 12px 24px;
  white-space: nowrap;
}

.news-hub-newsletter .newsletter-feedback {
  font-size: 0.875rem;
  margin: 0;
  min-height: 20px;
}

.news-hub-hero-actions {
  margin-top: 24px;
}

/* Featured Post Card */
.featured-post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Founder Profile Section */
.founder-profile {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.founder-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.founder-info {
  flex: 1;
}

.founder-info p {
  margin: 0;
}

@media (max-width: 600px) {
  .founder-profile {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  
  .founder-image {
    width: 100px;
    height: 100px;
  }
}

.featured-post-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.featured-post-card {
  background: white;
  border-radius: 24px;
  border: 1px solid #e5eff1;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(2,6,23,.1);
}

.featured-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-content h2 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-content p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}

.featured-meta .post-date::after {
  content: "•";
  margin-left: 12px;
}

.read-more {
  color: var(--accent-600);
  text-decoration: none;
  font-weight: 500;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
}

.read-more:hover {
  text-decoration: underline;
}

/* News Hub Grid Section */
.news-hub-grid-section {
  background: var(--surface);
  padding: 48px 0 64px 0;
}

.news-hub-grid-section .section-title {
  text-align: left;
  margin-bottom: 40px;
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
}

.news-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* News Hub Cards */
.news-hub-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e5eff1;
  box-shadow: 0 4px 12px rgba(2,6,23,.04);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2,6,23,.08);
}

.news-hub-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-hub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-hub-content {
  padding: 16px;
}

.news-hub-content h3 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 8px;
  font-size: 1.125rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-hub-content p {
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-hub-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

.news-hub-meta .post-date::after {
  content: "•";
  margin-left: 12px;
}

/* Override general link hover for news hub cards */
.news-hub-card-link {
  text-decoration: none;
  color: inherit;
}

.news-hub-card-link:hover {
  text-decoration: none;
}

/* Only underline the article title on hover */
.news-hub-card-link:hover .news-hub-content h3 {
  text-decoration: underline;
}

/* News Hub Grid Header Styles */
.news-hub-grid-header {
  margin-bottom: 32px;
}

.news-hub-grid-header .section-title {
  margin-bottom: 24px;
}

/* News Hub Search and Filter Styles */
.news-hub-filters {
  margin-bottom: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.search-container {
  position: relative;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px rgba(130, 185, 180, 0.1);
}

.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: var(--accent-600);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-chip {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.category-chip:hover {
  border-color: var(--accent-400);
  color: var(--accent-600);
}

.category-chip.active {
  background: var(--accent-400);
  border-color: var(--accent-400);
  color: #000;
}

/* Hide filtered news hub cards */
.news-hub-card.hidden {
  display: none;
}

/* News Hub Responsive Design */
@media (max-width: 900px) {
  .news-hub-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .news-hub-hero-copy h1 {
    font-size: clamp(3rem, 5vw + 1.5rem, 4.5rem);
  }
  
  .news-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .news-hub-grid-header {
    margin-bottom: 24px;
  }
  
  .news-hub-grid-section .section-title {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    margin-bottom: 20px;
  }
  
  .news-hub-filters {
    gap: 16px;
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
  }
  
  .news-hub-filters .search-container {
    order: 2;
    width: 100%;
  }
  
  .news-hub-filters .category-chips {
    order: 1;
    flex-wrap: wrap;
  }
  
  .category-chips {
    gap: 8px;
  }
  
  .category-chip {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .news-hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .news-hub-hero {
    padding-top: 48px;
    padding-bottom: 32px;
  }
  
  .news-hub-hero-copy h1 {
    font-size: clamp(2.5rem, 4vw + 1.5rem, 3.5rem);
  }
  
  .news-hub-hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 24px;
  }
  
  .news-hub-newsletter .newsletter-form-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .news-hub-newsletter .newsletter-btn {
    width: 100%;
    justify-content: center;
  }
  
  .featured-content {
    padding: 20px;
  }
  
  .featured-content h2 {
    font-size: 1.25rem;
  }
  
  .news-hub-content {
    padding: 14px;
  }
  
  .news-hub-content h3 {
    font-size: 1rem;
  }
}

/* Footer */
.site-footer { 
  border-top: 1px solid var(--border); 
  padding: 32px 0 64px; 
  font-family: "Neulis Sans", "NeulisSans", sans-serif;
  font-weight: 500;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; align-items: start; position: relative; }
.footer-brand { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  margin-top: 0; 
  padding-top: 0; 
}

.footer-brand .footer-logo {
  margin-top: 0;
}
.footer-brand p { color: var(--muted); margin: 0; }
.footer-logo { 
  height: 70px; 
  width: auto; 
  margin: 0; 
  transition: transform .25s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
}
.footer-links, .footer-meta, .footer-legal { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 0; padding-top: 0; }
.footer-social { display: flex; flex-direction: row; gap: 14px; align-items: center; margin-top: 0; padding-top: 0; }

.social-icon {
  transition: transform .25s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
}

/* Footer Brand Column */
.footer-brand {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-left: 0;
}

.footer-tagline {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

/* Footer headings consistency */
.footer-brand h4,
.footer-links h4,
.footer-meta h4,
.footer-legal h4,
.footer-newsletter h4 {
  color: var(--fg);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  margin-top: 0;
}



.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.newsletter-form-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.newsletter-input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  background: white;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-400);
}

.newsletter-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  align-self: flex-start;
  white-space: nowrap;
}
.footer-bottom { 
  grid-column: 1 / -1; 
  margin-top: 24px; 
  padding-top: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}

.footer-bottom-content .rights {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.newsletter-form-inline {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.footer-bottom-left .rights { 
  margin: 0; 
  color: var(--muted); 
  font-size: 0.875rem; 
}

.footer-bottom-left {
  align-self: end;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  justify-self: end;
  align-self: end;
}

.footer-bottom .footer-email { 
  color: var(--muted); 
  text-decoration: none; 
  font-size: 0.875rem; 
}

.footer-bottom .footer-email:hover { 
  text-decoration: underline; 
}
.social-icon { 
  filter: none; 
  opacity: .9; 
  color: var(--fg);
  fill: var(--fg);
}
.social-icon.telegram { 
  filter: none; 
  color: inherit;
  fill: inherit;
}

@media (max-width: 900px) { 
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 24px;
    padding: 0 20px;
  }
  .footer-brand { 
    text-align: left; 
    margin-bottom: 8px;
  }
  .footer-links, .footer-meta, .footer-legal { 
    gap: 12px; 
    text-align: left;
  }
  .footer-social { 
    justify-content: flex-start; 
    grid-column: 1;
    margin-top: 8px;
  }
  .footer-brand {
    grid-column: 1;
    margin-top: 0;
    margin-left: 0;
    gap: 12px;
  }
  
  .footer-tagline {
    font-size: 0.9rem;
    max-width: none;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }
  
  .footer-bottom-content .rights {
    align-self: flex-start;
  }
  
  .newsletter-form-inline {
    align-self: flex-start;
    width: 100%;
  }
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .newsletter-form-row {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter-input {
    flex: 1;
    min-width: 200px;
  }
  .newsletter-btn {
    align-self: stretch;
  }
  .footer-bottom { 
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .footer-bottom-content {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
    align-items: end;
  }
  
  .footer-bottom-left {
    align-self: end;
  }
  .footer-bottom-right {
    justify-self: start;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: end;
  }
  .footer-bottom .rights, 
  .footer-bottom .footer-email { 
    font-size: 0.875rem;
  }
  .footer-links a, 
  .footer-meta a,
  .footer-legal a { 
    font-size: 0.875rem; 
    font-family: "Neulis Sans", "NeulisSans", sans-serif;
    font-weight: 500;
  }
}

/* Article Page Styles */
.article-hero {
  background: linear-gradient(180deg, #fff, var(--surface));
  padding-top: 64px;
  padding-bottom: 48px;
}

.article-hero-content {
  flex: 1;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: center;
}

.article-category {
  background: var(--accent-400);
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-date {
  color: var(--muted);
  font-size: 0.875rem;
}

.article-hero-content h1 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw + 1.5rem, 4rem);
  line-height: 1.2;
}

.article-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.article-author {
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
}

.article-hero-image {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.article-hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(2,6,23,.08);
}

.article-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .article-hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .article-hero-content {
    display: block;
    min-height: auto;
  }
  
  .article-hero-image {
    align-self: start;
  }
}

.article-content {
  background: var(--surface);
  padding: 48px 0 64px 0;
}

.article-body {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.article-main-content {
  max-width: 70ch;
}

.article-sidebar {
  position: sticky;
  top: 120px;
  max-width: 40ch;
}

.sidebar-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(2,6,23,.04);
}

.sidebar-section h4 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin: 0 0 16px 0;
  font-size: 1.125rem;
  line-height: 1.3;
}

.sidebar-section ul {
  margin: 0;
  padding-left: 20px;
}

.sidebar-section li {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.sidebar-section p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.sidebar-section p:last-child {
  margin-bottom: 0;
}

.article-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 24px;
  font-weight: 500;
}

.article-body h2 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin: 40px 0 16px 0;
  font-size: 1.75rem;
  line-height: 1.3;
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h3 {
  font-family: "Neulis Sans", "NeulisSans", "Poppins", sans-serif;
  font-weight: 500;
  color: var(--fg);
  margin: 32px 0 12px 0;
  font-size: 1.375rem;
  line-height: 1.3;
}

.article-body p {
  margin-bottom: 20px;
  color: var(--fg);
  font-size: 1.125rem;
  line-height: 1.6;
}

.article-body ul,
.article-body ol {
  margin: 20px 0 24px 0;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
  color: var(--fg);
  font-size: 1.125rem;
  line-height: 1.6;
}

.article-body strong {
  font-weight: 600;
  color: var(--fg);
}

.article-cta {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 48px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(2,6,23,.04);
}

.article-cta h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.article-cta p {
  margin-bottom: 24px;
  color: var(--muted);
}

.article-cta .btn {
  font-size: 1.125rem;
  padding: 12px 24px;
}

@media (max-width: 900px) {
  .article-hero-content {
    margin-bottom: 0;
  }
  
  .article-hero-content h1 {
    font-size: clamp(2rem, 4vw + 1.5rem, 3rem);
  }
  
  .article-subtitle {
    font-size: 1.125rem;
  }
  
  .article-body {
    margin: 0 1rem;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .article-sidebar {
    position: static;
    max-width: none;
  }
  
  .article-body h2 {
    font-size: 1.5rem;
    margin: 32px 0 12px 0;
  }
  
  .article-body h3 {
    font-size: 1.25rem;
    margin: 24px 0 10px 0;
  }
  
  .article-body p,
  .article-body li {
    font-size: 1rem;
  }
  
  .article-cta {
    padding: 24px;
    margin-top: 32px;
  }
}

@media (max-width: 600px) {
  .article-hero {
    padding-top: 48px;
    padding-bottom: 32px;
  }
  
  .article-hero-content h1 {
    font-size: clamp(1.75rem, 3vw + 1.5rem, 2.5rem);
  }
  
  .article-subtitle {
    font-size: 1rem;
  }
  
  .article-body {
    margin: 0 0.5rem;
  }
  
  .article-body h2 {
    font-size: 1.375rem;
    margin: 28px 0 10px 0;
  }
  
  .article-body h3 {
    font-size: 1.125rem;
    margin: 20px 0 8px 0;
  }
  
  .article-body ul,
  .article-body ol {
    padding-left: 20px;
  }
  
  .article-cta {
    padding: 20px;
    margin-top: 24px;
  }
  
  .article-cta .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--fg);
  color: #f5f7f9;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -10px 30px rgba(2,6,23,.15);
  border-top: 1px solid rgba(255,255,255,.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #f0f4f8;
}

.cookie-banner-text a {
  color: #99e9d2;
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: #82b9b4;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.cookie-banner .btn {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.cookie-banner .btn-primary {
  background: rgba(255,255,255,.1);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.2);
}

.cookie-banner .btn-primary:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2,6,23,.2);
}

.cookie-banner .btn-outline {
  background: transparent;
  color: #f0f4f8;
  border: 1px solid rgba(255,255,255,.2);
}

.cookie-banner .btn-outline:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.3);
  color: #ffffff;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .cookie-banner-actions {
    justify-content: flex-end;
  }
  
  .cookie-banner .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 1rem 0.75rem;
  }
  
  .cookie-banner-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
}



.tools-grid-header {
  text-align: center;
  margin-bottom: 48px;
}

.tools-grid-header .section-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-top: 16px;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.tool-header {
  margin-bottom: 24px;
}

.tool-header h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--fg);
}

.tool-header p {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0;
}

/* LinkedIn Formatter Tool Styles */
.formatter-tool {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.formatter-input-section,
.formatter-output-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.formatter-input-section label,
.formatter-output-section label {
  font-weight: 600;
  color: var(--fg);
  font-size: 1rem;
}

.formatter-input-section textarea,
.formatter-output-section textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: "Segoe UI", "Arial Unicode MS", "Arial", "Helvetica", "sans-serif";
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.formatter-input-section textarea:focus,
.formatter-output-section textarea:focus {
  outline: none;
  border-color: var(--accent-400);
}

.formatting-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.format-btn:hover {
  background: var(--accent-200);
  border-color: var(--accent-400);
}

.format-btn[data-format="clear"] {
  background: var(--highlight);
  border-color: #ff8a65;
  color: #d84315;
}

.format-btn[data-format="clear"]:hover {
  background: #ffccbc;
}

.copy-btn {
  padding: 12px 24px;
  background: var(--accent-400);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.copy-btn:hover {
  background: var(--accent-500);
  transform: translateY(-1px);
}

.tool-footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.tool-tip {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* Formatter Messages */
.formatter-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-weight: 500;
  text-align: center;
}

/* Ensure both input and output areas show Unicode characters properly */
#formatter-input,
#formatter-output {
  font-family: "Noto Sans", "DejaVu Sans", "Liberation Sans", "Arial Unicode MS", "Arial", sans-serif !important;
  font-size: 1rem !important;
}

.formatter-message-success {
  background: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.formatter-message-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Character Counter */
.char-counter {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: right;
  margin-top: 8px;
}

.char-counter .char-count {
  font-weight: 600;
}

/* Other Tool Styles */
.tool-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.tool-preview {
  text-align: center;
}

.tool-preview-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tool-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tool-description {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.download-btn,
.access-btn {
  align-self: flex-start;
}

/* Newsletter Section for Tools */
.newsletter-section {
  background: var(--surface);
  padding: 64px 0;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--fg);
}

.newsletter-content p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .formatter-tool {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .tool-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .tool-actions {
    align-items: center;
  }
  
  .download-btn,
  .access-btn {
    align-self: center;
  }
  
  .formatting-buttons {
    justify-content: center;
  }
  
  .tools-grid {
    gap: 32px;
  }
  
  .tool-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .tools-grid-header .section-subtitle {
    font-size: 1.125rem;
  }
  
  .tool-header h3 {
    font-size: 1.25rem;
  }
  
  .formatting-buttons {
    gap: 6px;
  }
  
  .format-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .newsletter-content h2 {
    font-size: 2rem;
  }
  
  .newsletter-content p {
    font-size: 1.125rem;
  }
}


