:root {
  --header-start: #0d3159;
  --header-end: #092545;
  --header-text: #f6f9fc;
  --header-muted: #c5d5e3;
  --header-border: rgba(127, 198, 255, 0.28);
  --blue: #0d6fc2;
  --blue-dark: #095a9f;
  --focus: #1f8fff;
  --amber: #d98200;
  --page: #f6f8fa;
  --surface: #fff;
  --surface-soft: #eef3f7;
  --ink: #172533;
  --muted: #4e6172;
  --line: #d8e1e8;
  --max: 1200px;
  --reading: 70ch;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue);
}

main p a,
main li a {
  font-weight: 600;
  text-decoration: none;
}

main p a:hover,
main p a:focus-visible,
main li a:hover,
main li a:focus-visible {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 0.5rem;
  transform: translateY(-200%);
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 56px;
  color: var(--header-text);
  border-bottom: 1px solid var(--header-border);
  background: linear-gradient(135deg, var(--header-start), var(--header-end));
  box-shadow: 0 8px 24px rgba(6, 24, 40, 0.2);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-rainbow > span:nth-child(1) { color: #ff5a5f; }
.brand-rainbow > span:nth-child(2) { color: #ff9f1c; }
.brand-rainbow > span:nth-child(3) { color: #ffd23f; }
.brand-rainbow > span:nth-child(4) { color: #39c66d; }
.brand-rainbow > span:nth-child(5) { color: #27c2d1; }
.brand-rainbow > span:nth-child(6),
.brand > span:not(.brand-rainbow) { color: #7fc6ff; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a,
.menu-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--header-muted);
  font: inherit;
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"],
.menu-button:hover {
  background: rgba(127, 198, 255, 0.13);
  color: #fff;
}


.menu-button {
  display: none;
  cursor: pointer;
}

.language-list {
  display: flex;
  gap: 0.1rem;
  margin-left: 0.4rem;
  padding-left: 0.45rem;
  border-left: 1px solid var(--header-border);
}

.language-list a {
  padding-inline: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 61ch;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  border-color: #a9bdcc;
  color: var(--blue-dark);
}

.button-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #fff;
}

.hero-mark {
  min-height: 460px;
  display: grid;
  place-items: center;
}

.hero-mark img {
  display: block;
  width: min(40vw, 480px);
  height: auto;
}

.product-intro {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.product-intro .section-heading {
  margin-bottom: 0;
}

.product-intro .actions {
  margin-top: 1.5rem;
}

.publish-email-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--surface);
}

.publish-email-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.publish-email-section h2 {
  margin-bottom: 0;
}

.publish-email-content {
  max-width: 65ch;
}

.publish-email-content > :first-child {
  margin-top: 0;
}

.publish-methods {
  margin-bottom: 1.5rem;
  padding-left: 1.35rem;
}

.publish-methods li + li {
  margin-top: 1rem;
}

.publish-email-content .actions {
  margin-top: 1.5rem;
}

.agenda-section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.widget-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.agenda-frame {
  padding: clamp(0.6rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(14, 56, 86, 0.09);
}

.agenda-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.agenda-app-main {
  width: min(calc(100% - 40px), 1440px);
  flex: 1;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.agenda-app-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.agenda-app-heading h1 {
  max-width: none;
  margin-bottom: 0.8rem;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.agenda-app-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.agenda-app-widget,
.agenda-app-widget emp-cartells-agenda {
  display: block;
  width: 100%;
}

.widget-status {
  margin: 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--amber);
  background: #fff8e8;
  color: #684700;
}

.widget-note {
  max-width: 70ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.widget-request {
  margin: 0;
}

.widget-request h2 {
  margin-bottom: 1rem;
}

.widget-request-intro p:not(.eyebrow) {
  max-width: 65ch;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.widget-request-intro p:not(.eyebrow):last-child {
  margin-bottom: 0;
}

.widget-form {
  max-width: 820px;
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field-wide,
.form-submit {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field label {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid #9eafbb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid rgba(22, 126, 196, 0.3);
  outline-offset: 2px;
  border-color: var(--blue);
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;
}

.form-submit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-submit p[data-state="success"] {
  color: #17633a;
}

.form-submit p[data-state="error"] {
  color: #9d2828;
}

.button:disabled {
  border-color: #7c9aaf;
  background: #7c9aaf;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.78;
}

.advertising-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.advertising-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.advertising-options li {
  --option-highlight: rgba(31, 143, 255, 0.2);
  display: grid;
  align-content: start;
  gap: 0.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.advertising-options li:nth-child(1) {
  --option-highlight: rgba(255, 90, 95, 0.24);
}

.advertising-options li:nth-child(2) {
  --option-highlight: rgba(255, 159, 28, 0.28);
}

.advertising-options li:nth-child(3) {
  --option-highlight: rgba(57, 198, 109, 0.24);
}

.advertising-options li:nth-child(4) {
  --option-highlight: rgba(39, 194, 209, 0.24);
}

.advertising-options strong {
  width: fit-content;
  max-width: 100%;
  padding-inline: 0.08em;
  background: linear-gradient(
    to bottom,
    transparent 62%,
    var(--option-highlight) 62%
  );
  font-size: 1.08rem;
}

.advertising-options span {
  color: var(--muted);
}

.advertising-note {
  max-width: 70ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.advertising-section .actions {
  margin-top: 2rem;
}

.advertising-note + .actions {
  margin-top: 1rem;
}

.subscription-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}

.subscription-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.subscription-inner > div {
  max-width: 680px;
}

.subscription-section .eyebrow {
  color: var(--blue-dark);
}

.subscription-section h2 {
  margin-bottom: 0.75rem;
}

.subscription-section p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.subscription-section .button {
  flex: 0 0 auto;
}

.subscription-form {
  width: min(100%, 460px);
}

.subscription-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.subscription-controls {
  display: flex;
  gap: 0.65rem;
}

.subscription-controls input {
  min-width: 0;
  flex: 1 1 260px;
  padding: 0.78rem 0.9rem;
  border: 1px solid #9eafbb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.subscription-controls input:focus-visible {
  outline: 3px solid rgba(22, 126, 196, 0.3);
  outline-offset: 2px;
  border-color: var(--focus);
}

.subscription-status {
  min-height: 1.4em;
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}

.subscription-status[data-state="success"] {
  color: #17633a !important;
}

.subscription-status[data-state="error"] {
  color: #9d2828 !important;
}

.site-footer {
  padding: 2.5rem 0;
  background: var(--header-end);
  color: var(--header-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer a {
  color: #e4f1fa;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.legal-main {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.legal-header,
.legal-content {
  max-width: var(--reading);
}

.legal-header {
  margin-bottom: 3rem;
}

.legal-header h1 {
  max-width: none;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.draft-note {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--amber);
  background: #fff7e5;
  color: #604500;
}

.legal-nav {
  margin: 2rem 0 3rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.legal-nav ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-content section {
  margin: 0 0 3rem;
  scroll-margin-top: 80px;
}

.legal-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.legal-content h3 {
  margin-top: 2rem;
  font-size: 1.16rem;
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.not-found {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
  padding: 3rem 20px;
  text-align: center;
}

.not-found h1 {
  max-width: none;
}

@media (max-width: 760px) {
  .agenda-frame {
    padding-inline: 0;
  }

  .agenda-app-main {
    width: 100%;
    padding-top: 2rem;
  }

  .agenda-app-heading {
    padding-inline: 20px;
  }

  .menu-button {
    display: inline-flex;
  }

  .js .nav {
    position: absolute;
    top: 56px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 0.7rem;
    border: 1px solid var(--header-border);
    border-radius: 0 0 10px 10px;
    background: var(--header-end);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  }

  .js .nav[data-open] {
    display: grid;
  }


  .language-list {
    margin: 0.4rem 0 0;
    padding: 0.5rem 0 0;
    border-top: 1px solid var(--header-border);
    border-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .publish-email-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .subscription-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .subscription-form {
    width: 100%;
  }

  .subscription-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .subscription-controls input {
    width: 100%;
    flex: 0 0 auto;
  }

  .subscription-controls .button {
    width: 100%;
  }

  .hero-mark {
    order: -1;
    min-height: 300px;
  }

  .hero-mark img {
    width: min(86vw, 360px);
  }

  .widget-form {
    grid-template-columns: 1fr;
  }

  .advertising-options {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: start;
  }

  .footer-inner {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
