/* Shared styles for the English help pages (/en/support/, /en/zoom/documentation/).
   Self-contained on purpose: these pages don't load the homepage CSS or scripts. */

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy/Gilroy-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --green: #599d15;
  --green-strong: #467c10;
  --green-deep: #2e5209;
  --ink: #151813;
  --text: #2b3327;
  --muted: #5b6457;
  --line: #d8e7c6;
  --canvas: #fbfdf8;
  --tint: #f4f9ee;
  --surface: #ffffff;
  --radius: 16px;
  --display: "Gilroy", "Montserrat", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--green-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--green-deep);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}
h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.008em;
}
h2 {
  font-size: 26px;
  font-weight: 700;
}
h3 {
  font-size: 19px;
  font-weight: 600;
}
p {
  margin: 0 0 14px;
}
strong {
  color: var(--ink);
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.site-header__logo {
  display: inline-flex;
}
.site-header__logo img {
  display: block;
  width: 104px;
  height: auto;
}
.site-nav {
  display: flex;
  gap: 4px 20px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-strong);
}
.site-nav a[aria-current="page"] {
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 44px 0 28px;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.057em;
  text-transform: uppercase;
  color: var(--green-strong);
}
.lead {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 17px;
  color: var(--muted);
}
.meta {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.card + .card {
  margin-top: 20px;
}
.card h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.contact-list {
  margin: 18px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-list > div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.contact-list dd {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.button:hover {
  background: var(--green-strong);
  color: #fff;
}
.actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bullets {
  margin: 0 0 14px;
  padding-left: 22px;
}
.bullets li {
  margin: 6px 0;
}
.bullets li::marker {
  color: var(--green);
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.link-list li {
  border-top: 1px solid var(--line);
}
.link-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-weight: 500;
  text-decoration: none;
}
.link-list a::after {
  content: "→";
  color: var(--green);
}

/* Documentation layout */
.doc {
  display: grid;
  gap: 24px;
  padding-bottom: 56px;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
}
.toc__title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.057em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc ul ul {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  margin: 4px 0 6px 2px;
}
.toc li {
  margin: 4px 0;
}
.toc a {
  color: var(--text);
  text-decoration: none;
}
.toc a:hover {
  color: var(--green-strong);
  text-decoration: underline;
}

.doc-body {
  min-width: 0;
}
.doc-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  scroll-margin-top: 16px;
}
.doc-section + .doc-section {
  margin-top: 24px;
}
.doc-section > h2 {
  margin-bottom: 14px;
}
.section-num {
  display: inline-block;
  margin-right: 8px;
  color: var(--green);
}
.doc-section h3 {
  margin: 30px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.doc-section > :last-child,
.card > :last-child,
.data-box > :last-child {
  margin-bottom: 0;
}
.doc-section > h2 + h3 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Numbered steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 16px;
  padding: 0;
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 6px 0 6px 44px;
  min-height: 36px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}
.steps > li.is-auto::before {
  content: "✓";
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.ui {
  font-weight: 600;
  color: var(--ink);
}

.callout {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--tint);
  border-left: 3px solid var(--green);
  font-size: 15px;
}
.callout p:last-child,
.callout ul:last-child {
  margin-bottom: 0;
}
.callout__title {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--ink);
}

.data-box {
  margin: 18px 0 0;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--green);
  background: var(--tint);
}
.data-box h3 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-footer p {
  margin: 0;
}

.page-support main {
  padding-bottom: 56px;
}
.support-grid {
  display: grid;
  gap: 20px;
}
.support-grid .card + .card {
  margin-top: 0;
}

@media (min-width: 768px) {
  h1 {
    font-size: 44px;
  }
  .hero {
    padding: 64px 0 36px;
  }
  .card,
  .doc-section {
    padding: 32px;
  }
  .contact-list > div {
    grid-template-columns: 200px 1fr;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .doc {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }
  .toc {
    position: sticky;
    top: 24px;
  }
  .support-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
  }
  .support-grid .card--main {
    grid-row: span 2;
  }
}

@media print {
  .site-header nav,
  .toc,
  .actions {
    display: none;
  }
  .doc-section,
  .card {
    border: 0;
    padding: 0;
  }
}
