:root {
  --at-page: #F5F5F7;
  --at-surface: #FFFFFF;
  --at-surface-soft: #F0EEF2;
  --at-ink: #241D27;
  --at-muted: #6E6672;
  --at-brand: #8F2AB3;
  --at-brand-dark: #5F1D76;
  --at-brand-deep: #4D1D5B;
  --at-brand-soft: #F3EAF7;
  --at-line: #E4DFE7;
  --at-line-strong: #D2C8D7;
  --at-shadow: 0 22px 60px rgba(43, 25, 49, .09);
  --at-radius: 1.25rem;
  --at-ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--at-page);
  color: var(--at-ink);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .002em;
  overflow-x: hidden;
}

body[data-lang="el"] {
  letter-spacing: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container-wide {
  max-width: 1220px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  z-index: 3000;
  padding: .75rem 1rem;
  background: var(--at-ink);
  color: #fff;
  border-radius: .5rem;
  transition: top .2s;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255,255,255,.94);
  border-bottom-color: rgba(228,223,231,.9);
  box-shadow: 0 8px 28px rgba(43,25,49,.055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar {
  min-height: 82px;
  padding: .7rem 0;
}

.navbar-brand img {
  width: 136px;
  height: auto;
  display: block;
}

.navbar-toggler {
  border: 1px solid var(--at-line);
  border-radius: .75rem;
  padding: .45rem .6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(143,42,179,.14);
}

.nav-link {
  color: var(--at-muted);
  font-size: .86rem;
  font-weight: 500;
  padding: .75rem .72rem !important;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: .72rem;
  right: .72rem;
  bottom: .45rem;
  height: 2px;
  border-radius: 99px;
  background: var(--at-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--at-ink);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  padding: .2rem;
  border: 1px solid var(--at-line);
  background: rgba(255,255,255,.75);
  border-radius: 999px;
}

.language-button {
  border: 0;
  background: transparent;
  color: var(--at-muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .4rem .62rem;
  border-radius: 999px;
  transition: .2s ease;
}

.language-button.active {
  background: var(--at-brand-deep);
  color: #fff;
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .005em;
  padding: .78rem 1.35rem;
  transition: transform .22s var(--at-ease), box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}

.btn-lg {
  padding: .95rem 1.65rem;
  font-size: .98rem;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: linear-gradient(135deg, var(--at-brand), var(--at-brand-dark));
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 12px 28px rgba(143,42,179,.22);
}

.btn-brand:hover, .btn-brand:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(143,42,179,.28);
  background: linear-gradient(135deg, #9B32BF, #591A70);
}

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--at-brand-deep);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--at-line-strong);
}

.btn-outline-brand:hover, .btn-outline-brand:focus {
  color: var(--at-brand-deep);
  border-color: rgba(143,42,179,.45);
  background: #fff;
  transform: translateY(-2px);
}

.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #FAFAFB 0%, var(--at-page) 56%, #F0EAF3 100%);
}

.hero-row {
  padding-top: 102px;
  padding-bottom: 54px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  width: 620px;
  height: 620px;
  right: -250px;
  top: -200px;
  background: radial-gradient(circle, rgba(143,42,179,.13), rgba(143,42,179,0) 68%);
}

.hero-orb-two {
  width: 520px;
  height: 520px;
  left: -250px;
  bottom: -280px;
  background: radial-gradient(circle, rgba(95,29,118,.08), rgba(95,29,118,0) 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  max-width: 100%;
  padding: .5rem .9rem;
  margin-bottom: 1.7rem;
  color: var(--at-brand-deep);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--at-line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: .42rem;
  height: .42rem;
  background: var(--at-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 .28rem rgba(143,42,179,.10);
  flex: 0 0 auto;
}

.display-title, .section-title, blockquote {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.display-title {
  max-width: 820px;
  margin: 0 0 1.45rem;
  font-size: clamp(3rem, 5.6vw, 5.35rem);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.025em;
}

.title-accent {
  color: var(--at-brand);
  font-style: italic;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--at-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

.hero-proof {
  margin-top: 2.4rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--at-line);
}

.proof-item {
  height: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--at-muted);
  font-size: .88rem;
  font-weight: 500;
}

.proof-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--at-brand);
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-frame {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1/1.12;
  border-radius: 2rem;
  border: 1px solid rgba(143,42,179,.22);
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.45));
  box-shadow: var(--at-shadow);
  overflow: hidden;
}

.visual-frame::before, .visual-frame::after {
  content: "";
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(143,42,179,.16);
  border-radius: 2rem;
  transform: rotate(45deg);
}

.visual-frame::before {
  top: -21%;
  right: -20%;
}

.visual-frame::after {
  bottom: -30%;
  left: -26%;
}

.visual-mark {
  position: absolute;
  width: 154px;
  height: 154px;
  left: 50%;
  top: 46%;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  border-radius: 2rem;
  background: linear-gradient(145deg, var(--at-brand-soft), #fff);
  border: 1px solid rgba(143,42,179,.20);
  box-shadow: 0 24px 50px rgba(79,35,91,.14);
  z-index: 2;
}

.visual-mark img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.visual-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,42,179,.45), transparent);
  z-index: 1;
}

.visual-line-a {
  width: 82%;
  left: 9%;
  top: 46%;
  transform: rotate(28deg);
}

.visual-line-b {
  width: 82%;
  left: 9%;
  top: 46%;
  transform: rotate(-28deg);
}

.visual-label {
  position: absolute;
  z-index: 3;
  padding: .48rem .78rem;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--at-line);
  border-radius: 999px;
  color: var(--at-brand-deep);
  font-size: .76rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(43,25,49,.08);
}

.visual-label-a {
  top: 15%;
  left: 10%;
}

.visual-label-b {
  top: 24%;
  right: 8%;
}

.visual-label-c {
  bottom: 15%;
  left: 20%;
}

.section-padding {
  padding: clamp(5rem, 9vw, 7.5rem) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 3.4rem;
}

.section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-heading p {
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--at-muted);
  font-size: 1.02rem;
}

.section-heading:not(.text-center) p {
  margin-left: 0;
}

.section-kicker {
  display: block;
  margin-bottom: .85rem;
  color: var(--at-brand);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(2.45rem, 4.2vw, 4rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.018em;
}

.body-large {
  color: var(--at-muted);
  font-size: 1.05rem;
}

.body-large strong {
  color: var(--at-ink);
  font-weight: 600;
}

.about-panel {
  position: sticky;
  top: 112px;
  padding: 2.2rem;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  background: linear-gradient(145deg, var(--at-brand-soft), #fff);
  box-shadow: 0 18px 48px rgba(43,25,49,.07);
}

.about-panel blockquote {
  position: relative;
  margin: 0 0 1.9rem;
  padding-left: 1.35rem;
  color: var(--at-ink);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.16;
}

.about-panel blockquote::before {
  content: "“";
  position: absolute;
  left: -.1rem;
  top: -.15rem;
  color: var(--at-brand);
  font-size: 2.1rem;
  line-height: 1;
}

.credential-list {
  display: grid;
  gap: 1rem;
}

.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  color: var(--at-muted);
  font-size: .92rem;
}

.credential-list svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: .18rem;
  color: var(--at-brand);
  flex: 0 0 auto;
}

.corporate-card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  background: var(--at-surface);
  box-shadow: 0 10px 34px rgba(43,25,49,.045);
  transition: transform .28s var(--at-ease), box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}

.corporate-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143,42,179,.30);
  box-shadow: 0 22px 50px rgba(43,25,49,.08);
}

.corporate-card h3, .why-card h3, .step-card h3 {
  margin: 0 0 .65rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.corporate-card p, .why-card p, .step-card p {
  margin: 0;
  color: var(--at-muted);
  font-size: .92rem;
  line-height: 1.68;
}

.card-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: rgba(143,42,179,.24);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.icon-box {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  color: var(--at-brand);
  background: var(--at-brand-soft);
  border: 1px solid rgba(143,42,179,.16);
  border-radius: .95rem;
}

.icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-box-sm {
  width: 2.9rem;
  height: 2.9rem;
  min-width: 2.9rem;
  margin: 0;
}

.industry-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.industry-card h3 {
  font-size: 1.02rem;
}

.why-section {
  background: linear-gradient(180deg, #F1EEF3, var(--at-page));
}

.why-grid {
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  overflow: hidden;
  background: var(--at-surface);
}

.why-grid > div {
  border-right: 1px solid var(--at-line);
}

.why-grid > div:last-child {
  border-right: 0;
}

.why-card {
  padding: 2rem 1.5rem;
  background: #fff;
  transition: background-color .25s ease;
}

.why-card:hover {
  background: var(--at-brand-soft);
}

.process-row {
  position: relative;
}

.step-card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  background: linear-gradient(160deg, #fff, #FAF8FB);
}

.step-number {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: var(--at-brand-deep);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(77,29,91,.18);
}

.team-avatar {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--at-brand-deep), var(--at-brand));
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.team-role {
  margin-bottom: .9rem;
  color: var(--at-brand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-section {
  border-top: 1px solid var(--at-line);
}

.contact-list {
  display: grid;
  gap: .8rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem;
  border-radius: .95rem;
  text-decoration: none;
  transition: background-color .2s ease;
}

a.contact-item:hover {
  background: var(--at-brand-soft);
}

.contact-icon {
  width: 2.8rem;
  height: 2.8rem;
  min-width: 2.8rem;
  display: grid;
  place-items: center;
  color: var(--at-brand);
  background: var(--at-brand-soft);
  border-radius: .85rem;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-item small, .contact-item strong {
  display: block;
}

.contact-item small {
  color: var(--at-muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.contact-item strong {
  color: var(--at-ink);
  font-size: .92rem;
  font-weight: 600;
  word-break: break-word;
}

.contact-form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  background: var(--at-page);
  box-shadow: var(--at-shadow);
}

.form-label {
  color: var(--at-ink);
  font-size: .84rem;
  font-weight: 700;
}

.form-control, .form-select {
  min-height: 3.15rem;
  border-color: var(--at-line-strong);
  border-radius: .78rem;
  background-color: #fff;
  color: var(--at-ink);
  padding: .72rem .9rem;
}

textarea.form-control {
  min-height: 9rem;
  resize: vertical;
}

.form-control:focus, .form-select:focus {
  border-color: rgba(143,42,179,.64);
  box-shadow: 0 0 0 .22rem rgba(143,42,179,.11);
}

.form-check-input:checked {
  background-color: var(--at-brand);
  border-color: var(--at-brand);
}

.form-check-input:focus {
  border-color: var(--at-brand);
  box-shadow: 0 0 0 .22rem rgba(143,42,179,.11);
}

.form-check-label {
  color: var(--at-muted);
  font-size: .84rem;
  line-height: 1.5;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  padding: 1rem 1.1rem;
  border-radius: .8rem;
  font-size: .92rem;
}

.form-status.success {
  display: block !important;
  color: #155f43;
  background: #E8F6EF;
  border: 1px solid #B8E5CF;
}

.form-status.error {
  display: block !important;
  color: #842029;
  background: #FBEAEC;
  border: 1px solid #F1C1C6;
}

.site-footer {
  padding: 4.5rem 0 1.8rem;
  border-top: 1px solid var(--at-line);
  background: #EFEDF0;
}

.footer-main {
  padding-bottom: 3rem;
}

.footer-logo {
  width: 150px;
  margin-bottom: 1.25rem;
}

.site-footer p {
  max-width: 420px;
  color: var(--at-muted);
  font-size: .92rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: var(--at-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links li + li {
  margin-top: .55rem;
}

.footer-links a, .footer-bottom a {
  color: var(--at-muted);
  text-decoration: none;
  font-size: .9rem;
}

.footer-links a:hover, .footer-bottom a:hover {
  color: var(--at-brand);
}

.footer-bottom {
  padding-top: 1.4rem;
  border-top: 1px solid var(--at-line-strong);
  color: var(--at-muted);
  font-size: .82rem;
}

/* Elements stay visible in Bootstrap Studio even when its preview does not execute JS. */

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--at-ease), transform .7s var(--at-ease);
}

.js-ready .reveal.in {
  opacity: 1;
  transform: none;
}

.js-ready .delay-1 {
  transition-delay: .08s;
}

.js-ready .delay-2 {
  transition-delay: .16s;
}

.js-ready .delay-3 {
  transition-delay: .24s;
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    margin-top: .75rem;
    padding: .85rem;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--at-line);
    border-radius: 1rem;
    box-shadow: 0 14px 40px rgba(43,25,49,.08);
  }
}

@media (max-width: 1199.98px) {
  .nav-link {
    padding: .7rem .8rem !important;
  }
}

@media (max-width: 1199.98px) {
  .nav-link::after {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .why-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--at-line);
  }
}

@media (max-width: 1199.98px) {
  .why-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  .hero-row {
    padding-top: 120px;
    min-height: auto !important;
  }
}

@media (max-width: 991.98px) {
  .display-title {
    font-size: clamp(3rem, 8vw, 4.7rem);
  }
}

@media (max-width: 991.98px) {
  .about-panel {
    position: static;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 76px;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    min-height: 74px;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    width: 120px;
  }
}

@media (max-width: 767.98px) {
  .hero-row {
    padding-top: 108px;
    padding-bottom: 72px;
  }
}

@media (max-width: 767.98px) {
  .display-title {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }
}

@media (max-width: 767.98px) {
  .eyebrow {
    border-radius: 1rem;
    line-height: 1.45;
  }
}

@media (max-width: 767.98px) {
  .hero-proof {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .proof-item {
    padding: .25rem 0;
  }
}

@media (max-width: 767.98px) {
  .why-grid > div {
    border-bottom: 1px solid var(--at-line) !important;
  }
}

@media (max-width: 767.98px) {
  .why-grid > div:last-child {
    border-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 4.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .section-heading {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .corporate-card, .step-card, .why-card {
    padding: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .contact-form-card {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Legal pages ---------- */

.privacy-inline-link {
  color: var(--at-brand-deep);
  font-weight: 700;
  text-underline-offset: .14em;
}

.privacy-inline-link:hover {
  color: var(--at-brand);
}

.lang-en, .lang-el {
  display: none;
}

body[data-lang="en"] .lang-en {
  display: block;
}

body[data-lang="el"] .lang-el {
  display: block;
}

.legal-page {
  background: linear-gradient(145deg, #FAFAFB 0%, var(--at-page) 56%, #F0EAF3 100%);
}

.legal-hero {
  padding: 10.5rem 0 4.5rem;
  border-bottom: 1px solid var(--at-line);
}

.legal-hero-inner {
  max-width: 860px;
}

.legal-title {
  margin: 0 0 1rem;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.025em;
}

.legal-intro {
  max-width: 760px;
  margin: 0;
  color: var(--at-muted);
  font-size: 1.06rem;
}

.legal-updated {
  display: inline-flex;
  margin-top: 1.35rem;
  padding: .45rem .8rem;
  border: 1px solid var(--at-line);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--at-muted);
  font-size: .78rem;
  font-weight: 700;
}

.legal-main {
  padding: 4.5rem 0 6rem;
}

.legal-sidebar {
  position: sticky;
  top: 112px;
  padding: 1.35rem;
  border: 1px solid var(--at-line);
  border-radius: 1rem;
  background: rgba(255,255,255,.76);
}

.legal-sidebar-title {
  margin: 0 0 .75rem;
  color: var(--at-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-sidebar a {
  display: block;
  padding: .44rem .55rem;
  border-radius: .55rem;
  color: var(--at-muted);
  font-size: .84rem;
  text-decoration: none;
}

.legal-sidebar a:hover {
  background: var(--at-brand-soft);
  color: var(--at-brand-deep);
}

.legal-article {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  background: #fff;
  box-shadow: 0 16px 45px rgba(43,25,49,.055);
}

.legal-section {
  scroll-margin-top: 110px;
}

.legal-section + .legal-section {
  margin-top: 2.7rem;
  padding-top: 2.7rem;
  border-top: 1px solid var(--at-line);
}

.legal-section h2 {
  margin: 0 0 1rem;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
}

.legal-section h3 {
  margin: 1.6rem 0 .7rem;
  font-size: 1rem;
  font-weight: 800;
}

.legal-section p, .legal-section li {
  color: var(--at-muted);
  font-size: .95rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  padding-left: 1.2rem;
}

.legal-section li + li {
  margin-top: .55rem;
}

.legal-section a {
  color: var(--at-brand-deep);
  font-weight: 650;
  text-underline-offset: .14em;
}

.legal-callout {
  margin: 1.2rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--at-brand);
  border-radius: 0 .75rem .75rem 0;
  background: var(--at-brand-soft);
  color: var(--at-ink);
  font-size: .9rem;
}

.legal-contact-card {
  margin-top: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--at-line);
  border-radius: .9rem;
  background: var(--at-page);
}

.legal-back {
  margin-top: 2rem;
}

@media (max-width: 991.98px) {
  .legal-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .legal-hero {
    padding: 8.5rem 0 3.5rem;
  }
}

@media (max-width: 767.98px) {
  .legal-main {
    padding: 3rem 0 4rem;
  }
}

@media (max-width: 767.98px) {
  .legal-article {
    padding: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .legal-section + .legal-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

/* =========================================================
   Cookie notice, human check and scroll-to-top
   ========================================================= */

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2500;
  animation: cookieNoticeIn .28s var(--at-ease) both;
}

.cookie-notice.is-closing {
  animation: cookieNoticeOut .22s ease both;
}

.cookie-notice__inner {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  color: var(--at-ink);
  background: rgba(255,255,255,.97);
  border: 1px solid var(--at-line-strong);
  border-radius: 1rem;
  box-shadow: 0 20px 55px rgba(43,25,49,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-notice__copy {
  min-width: 0;
}

.cookie-notice__copy strong {
  display: block;
  margin-bottom: .18rem;
  color: var(--at-ink);
  font-size: .92rem;
}

.cookie-notice__copy p {
  color: var(--at-muted);
  font-size: .84rem;
  line-height: 1.5;
}

.cookie-notice__copy a {
  margin-left: .3rem;
  color: var(--at-brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.cookie-notice__button {
  flex: 0 0 auto;
  padding: .62rem 1.05rem;
}

.human-check {
  padding: 1rem 1.05rem;
  border: 1px solid var(--at-line);
  border-radius: .9rem;
  background: var(--at-surface-soft);
}

.human-check__row {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.human-check__question {
  flex: 0 0 auto;
  min-width: 7.4rem;
  padding: .72rem .9rem;
  color: var(--at-brand-deep);
  background: #fff;
  border: 1px solid var(--at-line-strong);
  border-radius: .7rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .03em;
}

.human-check__input {
  max-width: 9rem;
}

.scroll-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2100;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--at-brand), var(--at-brand-dark));
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(95,29,118,.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(.8rem);
  transition: opacity .22s ease, visibility .22s ease, transform .22s var(--at-ease), box-shadow .22s ease;
}

.scroll-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover, .scroll-to-top:focus-visible {
  box-shadow: 0 16px 36px rgba(95,29,118,.38);
  transform: translateY(-2px);
}

.cookie-notice-visible .scroll-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes cookieNoticeIn {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cookieNoticeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(1rem);
  }
}

@media (max-width: 575.98px) {
  .cookie-notice {
    left: .65rem;
    right: .65rem;
    bottom: .65rem;
  }
}

@media (max-width: 575.98px) {
  .cookie-notice__inner {
    align-items: stretch;
    flex-direction: column;
    gap: .85rem;
    padding: .9rem;
  }
}

@media (max-width: 575.98px) {
  .cookie-notice__button {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .human-check__row {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .human-check__question, .human-check__input {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .scroll-to-top {
    right: .85rem;
    bottom: .85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice, .cookie-notice.is-closing, .scroll-to-top {
    animation: none;
    transition: none;
  }
}

