/* --------------------------------------------------
   CSS RESET & BASE STYLES (minimalist foundation)
---------------------------------------------------*/
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, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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 {
  font-size: 16px;
  background: #fff;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #264653;
  background: #fff;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
*, *:before, *:after { box-sizing: inherit; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.16s; }
img { max-width: 100%; height: auto; display: block; }

/* Typography Scale & Minimalist Font Choices */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #264653;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: #2a9d8f;
  margin-bottom: 12px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #264653;
  margin-bottom: 10px;
}
h4, .h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: #264653;
}
p, li, blockquote {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #264653;
  margin-bottom: 12px;
  font-weight: 400;
}
.subheadline {
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
strong, b { font-weight: 600; }


/* -----------------------------
   LAYOUT & SECTION STYLES
----------------------------- */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header-container, .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}

/* Minimalist Hero Section */
.hero {
  background: #f2e9e4;
  border-bottom: 1px solid #e0e0e0;
  padding: 60px 0 48px 0;
  margin-bottom: 44px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}


/* ---------------------------
   HEADER & NAVIGATION BAR
--------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 16px -12px rgba(38, 70, 83, 0.05);
  z-index: 20;
}
header img {
  height: 38px;
  min-width: 110px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  padding: 6px 12px;
  font-size: 1rem;
  color: #264653;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a:hover, .main-nav a:focus {
  background: #2a9d8f13;
  color: #2a9d8f;
}
.main-nav .cta.primary {
  background: #2a9d8f;
  color: #fff;
  font-weight: 600;
  border-radius: 20px;
  padding: 8px 22px;
  box-shadow: 0 1px 6px 0 rgba(38,70,83,0.05);
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 8px;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: #264653;
  color: #fff;
  box-shadow: 0 4px 14px -8px #2a9d8f22;
}

/* Hamburger mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #264653;
  cursor: pointer;
  padding: 7px 7px;
  border-radius: 7px;
  margin-left: 12px;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2a9d8f13;
  outline: none;
}

/* Mobile menu (overlay) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.8,0,.24,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 24px 24px 24px;
  box-shadow: -2px 0 24px -10px rgba(38,70,83,0.10);
  width: 85vw;
  max-width: 340px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #264653;
  cursor: pointer;
  margin-bottom: 28px;
  padding: 7px;
  border-radius: 7px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2a9d8f13;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #264653;
  padding: 10px 6px;
  border-radius: 8px;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2a9d8f13;
  color: #2a9d8f;
}

/* Hide desktop nav & show menu on mobile */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------------------------
   FLEXBOX LAYOUTS FOR CONTENT GRIDS
--------------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}
.feature {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.07);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.feature img {
  height: 42px;
  width: 42px;
  margin-bottom: 7px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 28px -6px #2a9d8f24;
  transform: translateY(-4px) scale(1.018);
}

/****** Testimonials ******/
.testimonials {
  background: #f2e9e4;
  padding: 44px 0;
  margin-bottom: 56px;
}
.testimonials .content-wrapper {
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.08);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 0;
  max-width: 440px;
  font-size: 1.07rem;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #264653;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
}
.testimonial-card footer {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2a9d8f;
  font-weight: 500;
  font-size: 0.97rem;
}

/****** Section Spacing - reinforce breathing room ******/
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(38,70,83,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 20px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 22px -4px #2a9d8f22;
  transform: translateY(-2px) scale(1.01);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/****** About Pillars/Approach List ******/
.about-pillars ul,
.approach-section ul,
.policy-section ul,
.gdpr-section ul,
.cookies-section ul,
.terms-section ul {
  margin-top: 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
}
.about-pillars li,
.approach-section li,
.policy-section li,
.gdpr-section li,
.cookies-section li,
.terms-section li {
  position: relative;
  padding-left: 19px;
  color: #264653;
  font-size: 1rem;
}
.about-pillars li:before,
.approach-section li:before,
.policy-section li:before,
.gdpr-section li:before,
.cookies-section li:before,
.terms-section li:before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a9d8f;
  position: absolute;
  left: 2px; top: 9px;
}

/****** Pricing labels ******/
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  color: #264653;
  margin: 14px 0 0 0;
  font-weight: 500;
}

/****** CTA buttons ******/
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 22px;
  padding: 12px 28px;
  background: #2a9d8f;
  color: #fff;
  box-shadow: 0 1px 6px 0 rgba(38,70,83,0.07);
  margin-top: 12px;
  transition: background 0.18s, color 0.16s, box-shadow 0.2s, transform 0.13s;
  display: inline-block;
}
.cta.primary {
  background: #2a9d8f;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #264653;
  color: #fff;
  box-shadow: 0 4px 16px -8px #2a9d8f22;
  transform: translateY(-1px) scale(1.037);
}
.cta.secondary {
  background: #fff;
  color: #2a9d8f;
  border: 1.5px solid #2a9d8f;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #f2e9e4;
}

/****** Footer ******/
footer {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  margin-top: 40px;
  padding: 32px 0 18px 0;
  box-shadow: 0 -8px 20px -16px rgba(38,70,83,0.04);
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 10px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  color: #26465399;
  padding: 4px 7px;
  border-radius: 5px;
  transition: background 0.14s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #2a9d8f13;
  color: #2a9d8f;
}
footer p {
  color: #26465380;
  font-size: 0.97rem;
}

/* ----------------------------------
  Cookie Banner & Preferences Modal
---------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #264653;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 18px 20px;
  box-shadow: 0 -4px 28px -4px #0002;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.7,0,.4,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  margin: 0;
}
.cookie-banner .cta {
  padding: 8px 20px;
  margin-top: 0;
  font-size: 1rem;
}
.cookie-banner .cta.primary {
  background: #2a9d8f;
}
.cookie-banner .cta.secondary {
  background: #fff;
  color: #2a9d8f;
  border: 1px solid #2a9d8f;
}
.cookie-banner .cta.secondary:hover, .cookie-banner .cta.secondary:focus {
  background: #f2e9e4;
}
.cookie-banner .cta:not(:last-child){ margin-right: 12px; }

/* Cookie modal (overlay) */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: rgba(38,70,83,0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px -4px rgba(38,70,83,0.22);
  padding: 36px 30px 28px 32px;
  max-width: 430px;
  width: 92vw;
  color: #264653;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #264653;
  cursor: pointer;
  border-radius: 7px;
  padding: 5px;
  transition: background 0.12s;
}
.cookie-modal .close-cookie-modal:hover {
  background: #2a9d8f13;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-bottom: 7px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  color: #264653;
  cursor: pointer;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #e0e0e0;
  border: none;
  position: relative;
  appearance: none;
  margin: 0 7px;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #2a9d8f;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1.5px;
  left: 2px;
  right: unset;
  transition: transform 0.16s;
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal .cta {
  margin-top: 12px;
}

/* ----------------------------------
   FORMS, CONTACT, THANK YOU ETC
---------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-section ul, .contact-cta ul {
  margin: 18px 0 16px 0;
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.contact-section ul li {
  color: #264653;
  font-size: 1rem;
}
.contact-section a {
  color: #2a9d8f;
  text-decoration: underline;
  transition: color 0.15s;
}
.contact-section a:hover, .contact-section a:focus {
  color: #264653;
}

/****** Thank-You Section ******/
.thank-you-section .content-wrapper {
  align-items: center;
  gap: 16px;
  text-align: center;
  justify-content: center;
}

/****** Policy Sections ******/
.policy-section h1, .gdpr-section h1, .cookies-section h1, .terms-section h1 {
  margin-top: 14px;
  margin-bottom: 8px;
}

/****** Miscellaneous ******/
::-webkit-input-placeholder {color:#b9bfc2;opacity:1;}
::-moz-placeholder {color:#b9bfc2;opacity:1;}
:-ms-input-placeholder {color:#b9bfc2;opacity:1;}
::placeholder {color:#b9bfc2;opacity:1;}

/****** Min spacing for all major blocks ******/
section > *, .section > *, .content-wrapper > * {
  margin-bottom: 20px;
}

/****** Remove bottom margin from last element ******/
section > *:last-child,
.section > *:last-child,
.content-wrapper > *:last-child {
  margin-bottom: 0;
}

/****** Divider/modal background for transitions ******/
.modal { background: rgba(38,70,83,0.17); }

/* -------------------------------------
   RESPONSIVE ADJUSTMENTS (Mobile-First)
---------------------------------------*/
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 12px;
  }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.33rem; }
  .footer-nav {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .header-container, .footer-container {
    flex-direction: row;
    gap: 10px;
    padding: 11px 0;
  }
  .hero {
    padding: 44px 0 32px 0;
    margin-bottom: 20px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 18px 12px;
    font-size: 0.96rem;
  }
  .testimonials {
    padding: 24px 0;
    margin-bottom: 31px;
  }
  .feature {
    padding: 22px 14px 14px 14px;
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: left;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
    font-size: 0.98rem;
    padding: 12px 10px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 22px 8px 16px 8px;
    min-width: 0;
  }
}

@media (max-width: 410px) {
  .mobile-menu {
    width: 100vw;
    max-width: none;
    padding: 18px 6px 18px 6px;
  }
}

/* Hide accept banner if JS adds .hide */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal.hide {
  display: none !important;
}

/* --------------------------------------------
   FOCUS STYLES & INTERACTIONS
---------------------------------------------*/
a, button, .cta, .mobile-menu-close, .mobile-menu-toggle {
  outline: none;
  transition: box-shadow 0.10s, background 0.10s, color 0.10s;
}
a:focus, button:focus, .cta:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 2px #2a9d8f77;
  background: #2a9d8f13;
}

/****** Animate .mobile-menu and cookies modal ******/
.mobile-menu,
.cookie-modal {
  will-change: transform, opacity;
}

/* --------------------------
   Print base variables
---------------------------- */
:root {
  --brand-primary: #264653;
  --brand-secondary: #2a9d8f;
  --brand-accent: #f2e9e4;
  --shadow-soft: 0 2px 14px 0 rgba(38,70,83,0.07);
  --radius-lg: 18px;
}
