:root {
  --sky-top: #24405f;
  --sky-mid: #4d7091;
  --sky-low: #8aa3b4;
  --dusk: #0f1b28;
  --mint: #b9efe0;
  --teal: #5cc7b0;
  --teal-deep: #2f9c88;
  --ink: #f4f8fa;
  --muted: #c4d3dc;
  --glass: rgba(255, 255, 255, .09);
  --glass-line: rgba(255, 255, 255, .22);
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dusk);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.tagline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  margin: 0;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* Hero: sunrise sky, the flyer photo blended in on the right */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 95% 75%, rgba(255, 196, 140, .45), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-low) 80%, var(--dusk) 100%);
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  align-items: center;
  gap: 24px;
  min-height: min(860px, 100vh);
}
.hero-text { position: relative; z-index: 1; padding-bottom: 48px; }
.brand img { width: 200px; height: auto; display: block; margin-left: -4px; }
.hero-text .tagline { margin: 14px 0 36px; color: var(--ink); }
h1 {
  font-weight: 500;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 40px;
  text-shadow: 0 2px 24px rgba(10, 25, 40, .35);
}
h1 span { display: block; color: var(--mint); }

.pillars {
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
  display: flex;
}
.pillars li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 0 6px;
}
.pillars li + li { border-left: 1px solid rgba(255, 255, 255, .35); }
.pillars svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 20px 40px;
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(110, 205, 185, .85), rgba(47, 156, 136, .85));
  border: 1px solid rgba(220, 255, 245, .55);
  box-shadow: 0 0 0 6px rgba(120, 220, 200, .12), 0 18px 40px -12px rgba(30, 140, 120, .7);
  transition: transform .15s, box-shadow .15s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 8px rgba(120, 220, 200, .18), 0 22px 44px -12px rgba(30, 140, 120, .8); }
.cta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 18%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 18%, #000 80%, transparent 100%);
  mask-composite: intersect;
}

.motto {
  position: relative;
  margin: 0;
  padding: 26px 16px 34px;
  text-align: center;
  font-size: 14px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--ink);
}
.motto i { font-style: normal; color: var(--teal); margin: 0 .6em; }

.hero-cta-mobile { display: none; justify-content: center; position: relative; z-index: 2; margin-top: -64px; padding: 0 16px; }

/* Below the fold */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 72px; padding-bottom: 72px; }
.features article { border-radius: 24px; padding: 26px; }
.features h2 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--mint); }
.features p { color: var(--muted); margin: 0; font-size: 15px; }

.beta {
  text-align: center;
  border-radius: 32px;
  padding: 56px 24px 64px;
  margin-bottom: 72px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(92, 199, 176, .22), transparent 70%),
    var(--glass);
}
.beta .tagline { color: var(--teal); margin-bottom: 12px; }
.beta h2 { font-weight: 500; font-size: clamp(26px, 3.5vw, 40px); margin: 0 0 10px; }
.beta p { color: var(--muted); margin: 0 auto 32px; max-width: 32em; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--muted); font-size: 14px; }
.footer a { color: var(--muted); }

.notfound { text-align: center; padding: 120px 24px; }
.notfound h1 { margin-bottom: 12px; }
.notfound p { color: var(--muted); margin-bottom: 32px; }
.notfound .cta { padding: 16px 32px; }

/* Tablet and phone: stack like the flyer */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; gap: 0; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; padding-bottom: 8px; }
  .brand img { width: 170px; margin: 0 auto; }
  .hero-text .tagline { margin-bottom: 28px; }
  h1 { margin-bottom: 32px; }
  .pillars { width: 100%; max-width: 560px; margin-bottom: 8px; }
  .hero-visual { position: static; width: auto; margin: 0 -24px; }
  .hero-visual img { height: auto; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); }
  .hero-text .cta { display: none; }
  .hero-cta-mobile { display: flex; }
  .motto { padding-top: 22px; }
  .features { grid-template-columns: 1fr 1fr; padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 520px) {
  .wrap, .hero-inner { padding-left: 16px; padding-right: 16px; }
  .hero-visual { margin: 0 -16px; }
  .tagline { font-size: 11px; letter-spacing: .32em; }
  .pillars li { font-size: 8px; letter-spacing: .06em; padding: 0 2px; }
  .pillars svg { width: 26px; height: 26px; }
  .motto { font-size: 9.5px; letter-spacing: .12em; }
  .motto i { margin: 0 .25em; }
  h1 { font-size: 33px; }
  .cta { padding: 17px 28px; font-size: 13px; letter-spacing: .24em; }
  .features { grid-template-columns: 1fr; }
}


/* Analytics consent banner */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(15, 27, 40, .82);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.consent p { margin: 0; color: var(--muted); flex: 1; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent button {
  font: 500 14px var(--font);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--glass-line);
}
.consent .consent-yes { background: var(--teal-deep); border-color: var(--teal); color: #fff; }
@media (max-width: 520px) {
  .consent { flex-direction: column; align-items: stretch; text-align: center; }
  .consent-actions button { flex: 1; }
}
.consent a { color: var(--mint); }

/* Footer links */
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.linklike { font: inherit; color: var(--muted); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* Privacy policy and other text pages */
.doc-page { background: linear-gradient(180deg, var(--sky-top) 0, var(--dusk) 520px) no-repeat, var(--dusk); }
.doc-nav { padding-top: 28px; padding-bottom: 28px; }
.doc-nav .brand img { width: 130px; height: auto; display: block; }
.doc { max-width: 780px; padding-bottom: 72px; }
.doc > .tagline { color: var(--teal); margin-top: 24px; }
.doc h1 { margin: 10px 0 8px; font-size: clamp(36px, 5vw, 54px); }
.doc h1 span { display: inline; font-style: italic; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc .note { border-left: 3px solid var(--teal); background: rgba(92, 199, 176, .1); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 20px 0; color: var(--muted); font-size: 15px; }
.doc .note strong { color: var(--ink); display: block; margin-bottom: 4px; }
.toc { border-radius: 20px; padding: 22px 26px; margin: 32px 0 48px; }
.toc .tagline { font-size: 11px; color: var(--teal); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--mint); }
.doc section { scroll-margin-top: 24px; padding-top: 8px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; font-weight: 600; margin: 0 0 14px; display: flex; gap: 14px; align-items: baseline; }
.doc h2 span { color: var(--teal); font-size: 14px; font-weight: 500; letter-spacing: .1em; }
.doc p, .doc li { color: var(--muted); font-size: 16px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--mint); }
.doc code { font-size: 14px; color: var(--ink); background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 6px; }
.doc .table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--glass-line); border-radius: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th { text-align: left; color: var(--ink); font-weight: 600; background: rgba(255, 255, 255, .06); }
.doc th, .doc td { padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); vertical-align: top; color: var(--muted); }
.doc tr:last-child td { border-bottom: 0; }
.doc .contacts { list-style: none; padding: 0; }
.doc .contacts span { display: block; font-size: 13px; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
.doc .fineprint { font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; margin-top: 48px; }
@media (max-width: 600px) { .toc ol { columns: 1; } .doc table { min-width: 520px; } }
