/* CSS RESET & BASELINE ------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #181c20;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  transition: background 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #164174;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #222;
  text-decoration: underline;
}

/* TYPOGRAPHY ------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #111;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; font-weight: 600; }
h4 { font-size: 1.03rem; margin-bottom: 10px; font-weight: 600; }
h5, h6 { font-size: 1rem; margin-bottom: 9px; font-weight: 500; letter-spacing: 0; }

.subheadline {
  font-size: 1.22rem;
  color: #313338;
  margin-bottom: 28px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  max-width: 660px;
}

p, ul, ol, li, blockquote {
  font-size: 1rem;
  line-height: 1.65;
}
ul, ol {
  margin-left: 1.5em;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #111;
  padding-left: 20px;
  margin: 14px 0 18px 0;
  color: #20232a;
  font-size: 1.07rem;
  background: #f5f5f5;
  border-radius: 8px;
}
blockquote footer {
  display: block;
  margin-top: 8px;
  font-size: 0.97em;
  color: #555;
  font-style: normal;
}

/* LAYOUT CONTAINERS ----------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #f8f8f8;
  flex: 1 1 210px;
  min-width: 210px;
  padding: 28px 22px 22px 22px;
  border-radius: 15px;
  box-shadow: 0 2px 30px 0 rgba(13,19,34,0.04);
  transition: box-shadow 0.25s, background 0.23s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #e5e5e5;
}
.feature-grid > div:hover {
  background: #fff;
  box-shadow: 0 6px 24px 2px rgba(38,39,42,0.09);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* CARDS ----------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 26px 0 rgba(0,0,0,0.07);
  border: 1px solid #ebebeb;
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.24s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  border-color: #222;
  box-shadow: 0 8px 34px 3px rgba(26,31,45,0.18);
  z-index: 2;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fafbfc;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(50,55,63,0.10);
  min-width: 240px;
  max-width: 350px;
  margin-bottom: 20px;
  border-left: 4px solid #164174;
}
.testimonial-card p {
  color: #181c20;
  font-size: 1.05rem;
  margin-bottom: 2px;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 0.94rem;
  color: #676767;
  font-style: italic;
}

/* ABOUT / TEXT SECTIONS ------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  font-size: 1rem;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 14px;
  padding: 44px 26px;
  box-shadow: 0 2px 20px 0 rgba(0,0,0,0.05);
  min-height: 130px;
}

.newsletter-signup {
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 3px 16px 0 rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 450px;
  margin: 0 auto;
}

/* BLOG, STORIES, INTERVIEW LIST ----------------- */
.blog-list, .story-list, .interview-list, .tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.blog-teaser, .story-summary, .interview-item, .tip-item {
  background: #fafafa;
  border-radius: 10px;
  padding: 22px 22px 16px 22px;
  box-shadow: 0 2px 13px 0 rgba(32,32,32,0.08);
  font-size: 1rem;
  flex: 1 1 260px;
  min-width: 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, background 0.20s;
  border-left: 4px solid #e5e5e5;
}
.blog-teaser:hover, .story-summary:hover, .interview-item:hover, .tip-item:hover {
  background: #f5f5f5;
  box-shadow: 0 6px 20px 1px rgba(16,21,39,0.13);
  border-left: 4px solid #164174;
}

.story-filters, .topic-filters {
  margin-top: 12px;
}
.story-filters ul, .topic-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
}
.story-filters a, .topic-filters a {
  background: #f3f3f3;
  border-radius: 8px;
  padding: 6px 18px;
  color: #232323;
  font-weight: 500;
  transition: background 0.22s, color 0.2s;
  border: 1px solid #e5e5e5;
  font-size: 0.98rem;
  display: block;
}
.story-filters a:hover, .topic-filters a:hover {
  background: #164174;
  color: #fff;
  border: 1px solid #111d2e;
}

.highlight-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 25px;
}
.highlight-box {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 2px 12px 0 rgba(16,19,22,0.03);
  flex: 1 1 270px;
  font-size: 1rem;
}

.quotes-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  align-items: flex-start;
}
.q-and-a ul {
  padding-left: 0;
  margin-left: 0;
}
.q-and-a li {
  list-style: none;
  margin-bottom: 10px;
}

/* HEADER & NAVIGATION --------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  box-shadow: 0 3px 20px 0 rgba(0,0,0,0.035);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
  justify-content: space-between;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #181c20;
  font-size: 1rem;
  padding: 5px 6px;
  border-radius: 5px;
  position: relative;
  transition: color 0.18s, background 0.17s;
}
header nav a:hover, header nav a.active {
  background: #222;
  color: #fff;
}
header a img {
  height: 38px;
  width: auto;
  margin-right: 0;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: #181c20;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  box-shadow: 0 2px 14px 0 rgba(22,65,116,0.08);
  transition: background 0.22s, box-shadow 0.19s, color 0.18s;
  margin-left: 18px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  gap: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #164174;
  color: #fff1d5;
  box-shadow: 0 8px 32px 3px rgba(22,65,116,0.13);
}
.btn-secondary {
  background: #fff;
  color: #161616;
  border: 1px solid #181c20;
  padding: 12px 28px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.21s, color 0.18s, border 0.14s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #181c20;
  color: #fff;
  border-color: #181c20;
}

/* MOBILE MENU ------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2.0rem;
  color: #181c20;
  cursor: pointer;
  padding: 8px 14px 8px 8px;
  border-radius: 8px;
  margin-left: auto;
  z-index: 120;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #181c20;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.65,0,0.35,1);
  box-shadow: 0 12px 64px 0 rgba(22,65,116,0.16);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.38s cubic-bezier(0.67,0,0.33,1), opacity 0.21s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #181c20;
  align-self: flex-end;
  cursor: pointer;
  margin: 18px 18px 0 0;
  z-index: 130;
  padding: 8px 14px 8px 8px;
  border-radius: 8px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #181c20;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 44px 32px 32px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #222;
  font-size: 1.14rem;
  border-radius: 5px;
  padding: 10px 4px;
  transition: background 0.17s, color 0.16s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #181c20;
  color: #fff;
}

/* FOOTER ---------------------------------------- */
footer {
  background: #17181c;
  color: #fff;
  padding: 37px 0 34px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a {
  color: #fff;
  font-weight: 500;
  margin-right: 14px;
  font-size: 0.97em;
  transition: color 0.15s;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
}
footer nav a:hover, footer nav a:focus {
  color: #e3ae42;
}
footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.97em;
  color: #eee;
}
footer .footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
footer img {
  height: 36px;
  width: auto;
  margin-bottom: 0;
}

/* COOKIE BANNER --------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 190;
  background: #181c20;
  color: #fff;
  padding: 26px 12px 22px 12px;
  box-shadow: 0 -5px 32px 0 rgba(32,34,45,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1.06rem;
  transition: transform 0.32s cubic-bezier(0.67,0,0.33,1), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(150px);
}
.cookie-banner .cookie-text {
  flex: 1 1 300px;
  max-width: 670px;
  margin-right: 22px;
  color: #fff;
}
.cookie-banner .btn-cookie-accept,
.cookie-banner .btn-cookie-reject,
.cookie-banner .btn-cookie-settings {
  margin: 0 6px;
  padding: 10px 22px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 34px;
  cursor: pointer;
  border: none;
  transition: background 0.21s, color 0.19s, border 0.13s;
}
.cookie-banner .btn-cookie-accept {
  background: #164174;
  color: #fff;
  font-weight: 600;
  border: 1px solid #164174;
}
.cookie-banner .btn-cookie-accept:hover, .cookie-banner .btn-cookie-accept:focus {
  background: #e3ae42;
  color: #222;
  border: 1px solid #e3ae42;
}
.cookie-banner .btn-cookie-reject {
  background: #fff;
  color: #181c20;
  border: 1px solid #181c20;
  font-weight: 500;
}
.cookie-banner .btn-cookie-reject:hover, .cookie-banner .btn-cookie-reject:focus {
  background: #181c20;
  color: #fff;
}
.cookie-banner .btn-cookie-settings {
  background: #f5f5f5;
  color: #181c20;
  border: 1px solid #868686;
  font-weight: 500;
}
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: #e3ae42;
  color: #232323;
  border: 1px solid #e3ae42;
}

/* COOKIE PREFERENCES MODAL ---------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,28,32,0.72);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #181c20;
  border-radius: 14px;
  box-shadow: 0 9px 44px 0 rgba(0,0,32,0.18);
  max-width: 430px;
  width: 96vw;
  padding: 38px 26px 34px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 201;
  position: relative;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.25s cubic-bezier(0.77,0,0.22,1);
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  border: none;
  background: none;
  color: #181c20;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #f7f7f9;
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #164174;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1.05rem;
  font-weight: 500;
  color: #181c20;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #164174;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-info {
  margin-top: 8px;
  margin-bottom: 16px;
  color: #494949;
  font-size: 0.99rem;
}
.cookie-modal .cookie-category.essential label {
  color: #888;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 13px;
  margin-top: 20px;
}
.cookie-modal .btn-cookie-accept,
.cookie-modal .btn-cookie-reject {
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 24px;
  cursor: pointer;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-modal .btn-cookie-accept {
  background: #164174;
  color: #fff;
  border: 1px solid #164174;
}
.cookie-modal .btn-cookie-accept:hover {
  background: #e3ae42;
  color: #222;
  border: 1px solid #e3ae42;
}
.cookie-modal .btn-cookie-reject {
  background: #fff;
  color: #181c20;
  border: 1px solid #181c20;
}
.cookie-modal .btn-cookie-reject:hover {
  background: #181c20;
  color: #fff;
}

/* SPACINGS & FLEX UTILS ------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERAL INTERACTIVE UI ------------------------ */
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
button, input[type="button"], input[type="submit"] {
  cursor: pointer;
}

ul {
  margin-bottom: 16px;
}
::-webkit-input-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/* MICROINTERACTIONS ----------------------------- */
.btn-primary, .btn-secondary, .btn-cookie-accept, .btn-cookie-reject, .btn-cookie-settings {
  transition: background 0.18s, color 0.17s, border 0.13s, box-shadow 0.18s;
}

.card, .blog-teaser, .story-summary, .interview-item, .tip-item {
  transition: box-shadow 0.23s, background 0.20s;
}

a, .btn-primary, .btn-secondary, .cookie-banner button {
  transition: color 0.18s, background 0.18s;
}

/* ACCENT COLOR (not overused, only for highlights) */
.accent {
  color: #e3ae42;
}

/* RESPONSIVE DESIGN ----------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .container {
    max-width: 96vw;
  }
  .feature-grid {
    gap: 18px;
  }
  .testimonials {
    gap: 18px;
  }
  .content-grid {
    gap: 14px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  section {
    padding: 30px 0;
    margin-bottom: 40px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .card-container, .blog-list, .story-list, .feature-grid, .testimonials, .interview-list, .tips-grid, .content-grid, .highlight-boxes {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .newsletter-signup {
    padding: 15px 10px;
  }
  .cta-section {
    padding: 25px 9px;
    min-height: 70px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid > div,
  .blog-teaser, .story-summary, .interview-item, .tip-item, .highlight-box {
    min-width: 0;
  }
}

@media (max-width: 500px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 17px 4px 18px 4px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    max-width: none;
  }
  .cookie-modal {
    padding: 19px 6vw 22px 6vw;
    font-size: 0.97rem;
  }
}

/* ACCESSIBILITY --------------------------------- */
:focus {
  outline: 2px solid #e3ae42;
  outline-offset: 1px;
}

/* UTILS ----------------------------------------- */
.hide { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

