:root {
  --bg: #FFFBDE;
  --surface: #ffffff;
  --c1: #91C8E4;
  --c2: #749BC2;
  --c3: #4682A9;
  --text: #16354a;
  --muted: #4a6679;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px rgba(70, 130, 169, .18);
  --space-xs: .5rem;
  --space-sm: .9rem;
  --space-md: 1.4rem;
  --space-lg: 2.4rem;
  --space-xl: 4rem;
  --container: min(1140px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, #ffffff 0%, var(--bg) 48%);
  line-height: 1.62;
}

a {
  color: var(--c3);
  text-decoration: none;
  transition: color .25s ease;
}

a:hover {
  color: #2b5f80;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(70, 130, 169, .2);
  background: rgba(255, 251, 222, .94);
  backdrop-filter: blur(8px);
}

.header-grid {
  display: grid;
  justify-items: center;
  gap: .8rem;
  padding: 1rem 0;
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.numbered-menu a {
  font-size: .95rem;
  padding: .4rem .65rem;
  border-radius: 999px;
}

.numbered-menu a:hover {
  background: rgba(145, 200, 228, .35);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--c1);
  color: #123246;
  border-radius: 999px;
  padding: .5rem .85rem;
}

main {
  overflow: clip;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-lg);
  padding: var(--space-xl) 0 var(--space-lg);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  margin-bottom: .85rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .84rem;
  color: var(--muted);
}

.hero-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .9rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: .72rem 1.22rem;
  cursor: pointer;
  font: inherit;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #3e7ca3, #4682A9);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(145, 200, 228, .75);
  color: #123246;
}

.hero img,
.showcase img,
.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-line {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}

.trust-line i {
  margin-right: .4rem;
  color: var(--c3);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: .8rem 0 2.2rem;
}

.kpi-strip article {
  background: rgba(255, 255, 255, .75);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(70, 130, 169, .2);
}

.kpi-strip h2 {
  font-size: 1.06rem;
  margin: 0 0 .3rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  align-items: start;
}

.info-block {
  border-left: 4px solid var(--c2);
  background: rgba(145, 200, 228, .2);
  padding: .8rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1rem;
}

.card,
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(70, 130, 169, .12);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.4rem 0 2.2rem;
}

.tilt-card {
  transition: transform .3s ease, box-shadow .3s ease;
}

.tilt-card:hover {
  transform: translateY(-6px) rotate(-.25deg);
  box-shadow: 0 18px 36px rgba(70, 130, 169, .24);
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) 0;
}

.link-arrow i {
  transition: transform .2s ease;
}

.link-arrow:hover i {
  transform: translateX(4px);
}

.interactive-panel {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(70, 130, 169, .18);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin: 1.2rem auto;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .9rem;
}

.tab-btn {
  border: 1px solid rgba(70, 130, 169, .35);
  background: #fff;
  border-radius: 999px;
  padding: .55rem .95rem;
  cursor: pointer;
  transition: all .24s ease;
}

.tab-btn.active {
  background: var(--c3);
  color: #fff;
  border-color: var(--c3);
}

.tab-content {
  display: none;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem;
  border: 1px solid rgba(70, 130, 169, .15);
}

.tab-content.active {
  display: block;
  animation: fadeSlide .35s ease both;
}

.location {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: var(--space-lg);
  align-items: stretch;
  padding: 1.8rem 0;
}

iframe {
  width: 100%;
  min-height: 330px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq {
  padding: 1rem 0 3.2rem;
}

.faq details {
  background: #fff;
  border: 1px solid rgba(70, 130, 169, .2);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  margin-bottom: .75rem;
  transition: transform .2s ease;
}

.faq details[open] {
  transform: translateX(4px);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.page {
  padding: var(--space-xl) 0;
}

.asym-grid,
.contact-wrap,
.founder-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--space-lg);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.timeline {
  padding-top: 1.4rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.timeline-grid article {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(70, 130, 169, .2);
  padding: 1rem;
}

.timeline-grid span {
  font-weight: 800;
  color: var(--c3);
}

form {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid rgba(70, 130, 169, .2);
  box-shadow: var(--shadow);
}

label {
  display: block;
  font-weight: 550;
  margin-bottom: .4rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(70, 130, 169, .4);
  border-radius: 10px;
  padding: .72rem;
  margin-top: .28rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(116, 155, 194, .34);
  border-color: var(--c3);
}

.check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 450;
}

.check input {
  width: auto;
  margin: 0;
}

.error {
  color: #b03a3a;
  min-height: 1.1em;
  margin: 0 0 .5rem;
  font-size: .9rem;
}

.small-note {
  font-size: .9rem;
  color: var(--muted);
}

.legal h2 {
  margin-top: 1rem;
}

.site-footer {
  text-align: center;
  padding: 1.2rem .8rem 1.8rem;
  border-top: 1px solid rgba(70, 130, 169, .24);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  width: min(780px, 92vw);
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}

.cookie-banner.visible {
  display: block;
  animation: fadeSlide .3s ease both;
}

dialog {
  border: 0;
  border-radius: var(--radius);
  width: min(520px, 92vw);
}

.cookie-form {
  box-shadow: none;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .72s ease, transform .72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@media (max-width: 980px) {

  .hero,
  .split,
  .showcase,
  .location,
  .asym-grid,
  .contact-wrap,
  .founder-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .cards-3,
  .timeline-grid,
  .kpi-strip {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .menu {
    display: none;
  }

  .menu.open {
    display: flex;
  }
}

@media (max-width: 640px) {

  .feature-grid,
  .cards-3,
  .timeline-grid,
  .kpi-strip {
    grid-template-columns: 1fr;
  }
}