/* ======================================================
   SWISHEMAIL LEGAL CENTRE
   Standalone stylesheet
   ====================================================== */

:root {
  --green: #01a200;
  --green-dark: #047c00;
  --ink: #151b16;
  --muted: #657168;
  --border: #e5ebe5;
  --surface: #f7faf7;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

::selection {
  background: #c8f3ca;
  color: #173a18;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(1,162,0,.4);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 200;
  top: -100px;
  left: 15px;
  padding: 12px 18px;
  border-radius: 10px;
  background: white;
  color: var(--green-dark);
}

.skip-link:focus { top: 10px; }

.container {
  width: min(var(--container),calc(100% - 48px));
  margin-inline: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(225,234,225,.85);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg,#01a200,#047c00);
  color: white;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(1,162,0,.22);
}

.brand-name {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.06em;
}

.brand-name span { color: var(--green); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: #536157;
  font-size: 14px;
  font-weight: 650;
  transition: color .2s;
}

.desktop-nav a:hover { color: var(--green-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.login-link {
  font-size: 14px;
  font-weight: 750;
}

.login-link:hover { color: var(--green); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform .2s,background .2s,box-shadow .2s;
}

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

.button-primary {
  background: linear-gradient(135deg,var(--green),var(--green-dark));
  color: white;
  box-shadow: 0 10px 25px rgba(1,162,0,.19);
}

.button-primary:hover {
  box-shadow: 0 15px 32px rgba(1,162,0,.26);
}

.button-large {
  min-height: 54px;
  padding: 16px 26px;
  font-size: 15px;
}

.button-white {
  background: white;
  color: var(--green-dark);
}

.button-white:hover { background: #effbef; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: var(--ink);
}

.mobile-nav {
  padding: 12px 24px 24px;
  background: white;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  display: block;
  padding: 13px 8px;
  border-bottom: 1px solid #f0f3f0;
  font-weight: 700;
}

/* SHARED */

.section { padding: 105px 0; }

.eyebrow {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 55px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(36px,4.5vw,57px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -.065em;
}

.section-heading h2 span { color: var(--green); }

.section-heading p {
  max-width: 610px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

/* HERO */

.legal-hero {
  overflow: hidden;
  padding: 110px 0 115px;
  background:
    radial-gradient(circle at 15% 10%,rgba(1,162,0,.1),transparent 40%),
    linear-gradient(135deg,#fbfefb,#eef8ef);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid #d4e9d6;
  border-radius: 999px;
  background: white;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero-copy h1 {
  margin-top: 27px;
  font-size: clamp(47px,5.3vw,75px);
  line-height: 1.07;
  font-weight: 900;
  letter-spacing: -.075em;
}

.hero-copy h1 span { color: var(--green); }

.hero-lead {
  max-width: 540px;
  margin-top: 25px;
  color: #5c6c60;
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions { margin-top: 34px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  color: #7b8b7e;
  font-size: 12px;
  font-weight: 750;
}

.meta-divider {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 475px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 35px;
  background:
    radial-gradient(circle at center,rgba(26,198,42,.2),transparent 55%),
    linear-gradient(145deg,#123b1b,#08210e);
  box-shadow: 0 35px 85px rgba(16,60,23,.18);
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);
  background-size: 38px 38px;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(140,230,150,.25);
  border-radius: 50%;
}

.orbit-one { width: 310px; height: 310px; }
.orbit-two { width: 440px; height: 440px; }

.legal-document {
  position: relative;
  z-index: 2;
  width: 240px;
  padding: 25px;
  border-radius: 16px;
  background: white;
  transform: rotate(-7deg);
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.document-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  font-size: 13px;
  font-weight: 900;
}

.document-logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-size: 19px;
}

.document-line {
  width: 88%;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: #e4ede5;
}

.line-large { width: 95%; height: 12px; background: #d6e8d8; }
.line-short { width: 65%; }
.document-divider { height: 1px; margin: 25px 0; background: #e9eee9; }

.document-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.document-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #e0f8e2;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.document-row .document-line { margin: 0; height: 7px; }
.line-row { width: 75%; }
.line-row-small { width: 55%; }

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border-radius: 14px;
  background: white;
  color: #1b2c1e;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.floating-note span { color: var(--green); font-size: 20px; }
.note-top { top: 75px; left: 18px; }
.note-bottom { right: 15px; bottom: 75px; }

/* NAVIGATION CARDS */

.intro-section { background: white; }

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.legal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 255px;
  padding: 28px;
  border: 1px solid #e4ebe4;
  border-radius: 22px;
  background: white;
  transition: transform .25s,box-shadow .25s,border-color .25s;
}

.legal-card:hover {
  transform: translateY(-5px);
  border-color: #b6dfb9;
  box-shadow: 0 20px 45px rgba(20,50,25,.08);
}

.legal-card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e6f8e7;
  color: var(--green);
  font-size: 25px;
}

.legal-card-number {
  position: absolute;
  top: 35px;
  right: 29px;
  color: #b1c0b3;
  font-size: 12px;
  font-weight: 900;
}

.legal-card h3 {
  margin-top: 24px;
  font-size: 19px;
  letter-spacing: -.04em;
}

.legal-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.legal-card-arrow {
  margin-top: auto;
  padding-top: 20px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
}

/* LEGAL CONTENT */

.legal-content-section {
  padding: 95px 0 115px;
  background: #f7faf7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 265px minmax(0,1fr);
  gap: 45px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 115px;
}

.sidebar-panel {
  padding: 25px;
  border: 1px solid #e2eae2;
  border-radius: 20px;
  background: white;
}

.sidebar-heading {
  display: block;
  margin-bottom: 20px;
  color: #87978a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.legal-sidebar nav {
  display: grid;
  gap: 5px;
}

.legal-sidebar nav a {
  display: block;
  padding: 11px 13px;
  border-radius: 9px;
  color: #5d7061;
  font-size: 12px;
  font-weight: 750;
  transition: .2s;
}

.legal-sidebar nav a:hover,
.legal-sidebar nav a.active {
  background: #e7f8e8;
  color: var(--green-dark);
}

.sidebar-help {
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid #e8eee8;
}

.sidebar-help strong { font-size: 13px; }

.sidebar-help p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.sidebar-help a {
  display: block;
  margin-top: 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.legal-articles { min-width: 0; }

.publication-notice {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  padding: 23px;
  border: 1px solid #e5d9aa;
  border-radius: 17px;
  background: #fffdf5;
}

.notice-icon {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5e9bd;
  color: #755a14;
  font-family: Georgia,serif;
  font-size: 18px;
  font-weight: 900;
}

.publication-notice strong {
  color: #5e4c1f;
  font-size: 14px;
}

.publication-notice p {
  margin-top: 7px;
  color: #786b4b;
  font-size: 12px;
  line-height: 1.85;
}

.legal-article {
  margin-bottom: 25px;
  padding: 48px;
  border: 1px solid #e4ebe4;
  border-radius: 23px;
  background: white;
  scroll-margin-top: 110px;
}

.article-heading {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8eee8;
}

.article-number {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}

.article-heading h2 {
  margin-top: 12px;
  font-size: clamp(30px,3.5vw,43px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.055em;
}

.article-heading > p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
}

.legal-article h3 {
  margin-top: 31px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.025em;
}

.legal-article .article-heading + h3 { margin-top: 0; }

.legal-article > p {
  margin-top: 13px;
  color: #58685c;
  font-size: 14px;
  line-height: 1.95;
}

.legal-article > p strong { color: #354a39; }

.legal-article ul {
  margin: 12px 0 22px;
  padding-left: 23px;
  color: #58685c;
}

.legal-article li {
  margin-top: 10px;
  padding-left: 3px;
  font-size: 14px;
  line-height: 1.85;
}

.legal-article li::marker { color: var(--green); }

.legal-article a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.company-details {
  overflow: hidden;
  border: 1px solid #e4ebe4;
  border-radius: 15px;
}

.detail-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #e8eee8;
}

.detail-row:last-child { border-bottom: 0; }

.detail-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.detail-row strong {
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.contact-note {
  margin-top: 24px !important;
  color: #829184 !important;
  font-size: 12px !important;
}

.legal-end-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 23px;
  border-radius: 15px;
  background: #e9f6ea;
}

.legal-end-note span {
  color: var(--green);
  font-size: 24px;
}

.legal-end-note p {
  color: #416148;
  font-size: 13px;
  line-height: 1.85;
}

/* CTA */

.cta-section { padding: 100px 0; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 85px 30px;
  border-radius: 35px;
  background: linear-gradient(125deg,#01a200,#047c00);
  color: white;
  text-align: center;
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  pointer-events: none;
}

.cta-panel::before { top: -270px; left: -110px; }
.cta-panel::after { bottom: -310px; right: -160px; }

.cta-eyebrow {
  position: relative;
  color: #d6f6d6;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

.cta-panel h2 {
  position: relative;
  margin-top: 18px;
  font-size: clamp(38px,5vw,65px);
  line-height: 1.12;
  letter-spacing: -.065em;
  font-weight: 900;
}

.cta-panel h2 span { color: #c6ffc7; }

.cta-panel p {
  position: relative;
  max-width: 570px;
  margin: 22px auto 30px;
  color: #e1f6e1;
  font-size: 16px;
}

/* FOOTER */

.site-footer {
  padding: 75px 0 0;
  border-top: 1px solid #e8eee8;
  background: #f8fbf8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3,1fr);
  gap: 65px;
  padding-bottom: 65px;
}

.footer-brand-column p {
  max-width: 340px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.group-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.group-link:hover { text-decoration: underline; }

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-column h4 {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-column a {
  color: #667569;
  font-size: 13px;
  transition: color .2s;
}

.footer-column a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid #e4ece4;
  color: #819084;
  font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .desktop-nav { gap: 18px; }
  .hero-layout { gap: 35px; }
  .legal-layout { gap: 25px; grid-template-columns: 235px minmax(0,1fr); }
  .footer-grid { gap: 35px; }
}

@media (max-width: 950px) {
  .desktop-nav,
  .header-actions { display: none; }

  .menu-toggle { display: flex; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-meta { justify-content: center; }

  .hero-visual {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .legal-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

  .legal-layout { grid-template-columns: 1fr; }

  .legal-sidebar { position: static; }

  .sidebar-panel { padding: 20px; }

  .legal-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .sidebar-help { margin-top: 18px; }

  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px,var(--container)); }
  .header-inner { min-height: 70px; }

  .brand-mark { width: 39px; height: 39px; font-size: 21px; }
  .brand-name { font-size: 21px; }

  .section { padding: 75px 0; }
  .legal-hero { padding: 65px 0 75px; }

  .hero-copy h1 { font-size: clamp(42px,10vw,58px); }
  .hero-lead { font-size: 15px; }

  .hero-visual { min-height: 360px; border-radius: 25px; }

  .orbit-one { width: 230px; height: 230px; }
  .orbit-two { width: 340px; height: 340px; }

  .legal-document { width: 195px; padding: 20px; }

  .floating-note { padding: 9px; font-size: 10px; }
  .note-top { top: 28px; left: 7px; }
  .note-bottom { bottom: 35px; right: 7px; }

  .section-heading { margin-bottom: 35px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading p { font-size: 14px; }

  .legal-card-grid { grid-template-columns: 1fr; }

  .legal-card { min-height: 215px; padding: 25px; }

  .legal-content-section { padding: 65px 0 75px; }

  .legal-article { padding: 28px 22px; border-radius: 18px; }

  .article-heading h2 { font-size: 32px; }

  .legal-article h3 { font-size: 16px; }

  .legal-article > p,
  .legal-article li { font-size: 13px; }

  .detail-row { grid-template-columns: 1fr; gap: 5px; }

  .publication-notice { padding: 18px; }

  .cta-section { padding: 70px 0; }
  .cta-panel { padding: 65px 22px; border-radius: 25px; }
  .cta-panel h2 { font-size: 39px; }
  .cta-panel p { font-size: 14px; }

  .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 40px 25px;
  }

  .footer-brand-column { grid-column: 1 / -1; }

  .footer-bottom { flex-direction: column; gap: 8px; }
}

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