:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  --text: #172033;
  --text-secondary: #4c5870;
  --muted: #64718a;
  --accent: #1f65d6;
  --accent-strong: #174fa9;
  --line: #d8e0eb;
  --line-soft: #e6ebf2;
  --panel-soft: #f7f9fc;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body { margin: 0; min-width: 280px; min-height: 100vh; }
h1, h2, h3, p { margin-top: 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.25; }
h3 { font-size: 18px; line-height: 1.35; }
a { color: var(--accent); overflow-wrap: anywhere; }
a:hover { color: var(--accent-strong); }
a:focus-visible, iframe:focus-visible { outline: 3px solid #315efb; outline-offset: 4px; }
.skip-link { position: absolute; top: 0; left: 12px; z-index: 10; padding: 12px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.landing-nav a[aria-current="page"] { color: var(--accent); background: #eaf1fd; }
.landing-form-note { font-size: 13px; }
.landing-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
.legal-page { width: min(1000px, calc(100% - 56px)); margin: 36px auto 56px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 24px 70px #17203314; line-height: 1.7; }
.legal-page h1 { margin-bottom: 16px; font-size: clamp(30px, 5vw, 44px); line-height: 1.15; letter-spacing: -.025em; }
.legal-page h2 { margin-top: 36px; margin-bottom: 14px; font-size: clamp(21px, 3vw, 27px); }
.legal-page p, .legal-page li { color: var(--text-secondary); }
.legal-page li + li { margin-top: 8px; }
.legal-summary { margin-bottom: 24px; }
.public-developer-card__brand p { margin: 0; font-size: 14px; line-height: 1.6; }
.public-developer-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.public-developer-card__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.public-developer-card__logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.public-developer-card__logo {
    display: block;
    width: 136px;
    max-width: 100%;
    height: auto;
}

.public-developer-card__site {
    min-width: 0;
    color: var(--accent);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.public-developer-card__site:hover,
.public-developer-card__contact:hover strong {
    color: var(--accent-strong);
    text-decoration: underline;
}

.public-developer-card__contacts {
    display: grid;
    gap: 0;
    min-width: 0;
}

.public-developer-card__contact {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding: 8px 0;
    color: var(--text);
    text-decoration: none;
}

.public-developer-card__contact + .public-developer-card__contact {
    border-top: 1px solid var(--line-soft);
}

.public-developer-card__contact span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.public-developer-card__contact strong {
    min-width: 0;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.landing-page {
    background:
        radial-gradient(circle at top left, rgba(31, 101, 214, 0.16), transparent 34rem),
        linear-gradient(135deg, #f8fbff 0%, #eef3f9 48%, #fff8e0 100%);
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid rgba(216, 224, 235, 0.82);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
}

.landing-header__inner,
.landing-main,
.landing-footer__inner {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
}

.landing-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: var(--text);
    text-decoration: none;
}

.landing-brand__logo {
    display: block;
    width: 88px;
    height: auto;
    flex: 0 0 auto;
}

.landing-brand span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.landing-brand strong {
    font-size: 16px;
    line-height: 1.25;
}

.landing-brand small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.25;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.landing-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.landing-nav a:hover {
    background: rgba(31, 101, 214, 0.09);
    color: var(--accent);
}

.landing-main {
    padding: 40px 0 56px;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 28px;
    align-items: stretch;
    min-height: 430px;
    margin-bottom: 28px;
}

.landing-hero__content,
.landing-hero-card,
.landing-section {
    border: 1px solid rgba(216, 224, 235, 0.86);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 70px rgba(23, 32, 51, 0.08);
}

.landing-hero__content {
    display: grid;
    align-content: center;
    padding: clamp(28px, 5vw, 58px);
}

.landing-kicker {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-hero h1 {
    max-width: 680px;
    margin-bottom: 18px;
    font-size: clamp(34px, 6vw, 64px);
    letter-spacing: -0.05em;
    line-height: 0.96;
}

.landing-lead {
    max-width: 720px;
    margin-bottom: 28px;
    color: #3f4a5f;
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.52;
}

.landing-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
}

.landing-button--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 26px rgba(31, 101, 214, 0.25);
}

.landing-button--primary:hover {
    background: var(--accent-strong);
}

.landing-button--secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--accent);
}

.landing-button--secondary:hover {
    border-color: rgba(31, 101, 214, 0.4);
}

.landing-hero-card {
    display: grid;
    align-content: end;
    gap: 16px;
    padding: 28px;
    background:
        linear-gradient(160deg, rgba(23, 32, 51, 0.95), rgba(24, 49, 94, 0.92)),
        var(--text);
    color: #fff;
}

.landing-hero-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.landing-hero-card strong {
    font-size: 24px;
    line-height: 1.18;
}

.landing-hero-card ul,
.landing-steps {
    margin: 0;
    padding-left: 20px;
}

.landing-hero-card li,
.landing-steps li {
    line-height: 1.48;
}

.landing-hero-card li + li,
.landing-steps li + li {
    margin-top: 10px;
}

.landing-section {
    margin-top: 22px;
    padding: clamp(24px, 4vw, 38px);
}

.landing-section__heading {
    max-width: 680px;
    margin-bottom: 22px;
}

.landing-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.landing-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: var(--panel-soft);
}

.landing-card h3 {
    margin-bottom: 10px;
}

.landing-card p,
.landing-section p,
.landing-form-card p,
.landing-contact-card p {
    color: #4c5870;
    line-height: 1.55;
}

.landing-split,
.landing-contact-section,
.landing-documents {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 28px;
    align-items: start;
}

.landing-steps {
    display: grid;
    gap: 0;
    padding: 22px 22px 22px 42px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: #fff;
}

.landing-contact-card,
.landing-form-card {
    min-width: 0;
}

.landing-contact-list {
    display: grid;
    gap: 0;
    margin-top: 20px;
    border-top: 1px solid var(--line-soft);
}

.landing-contact-link {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
    text-decoration: none;
}

.landing-contact-link span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.landing-contact-link strong {
    color: var(--accent);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.landing-contact-link:hover strong,
.landing-document-links a:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

.landing-form-card {
    padding: 24px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: #fff;
}

.landing-inline-form {
    min-height: 420px;
    margin-top: 18px;
}

.landing-document-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.landing-document-links a {
    display: flex;
    min-height: 74px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: #fff;
    color: var(--accent);
    font-weight: 900;
    text-decoration: none;
}

.landing-footer {
    border-top: 1px solid rgba(216, 224, 235, 0.82);
    background: rgba(255, 255, 255, 0.82);
}

.landing-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}


/* Keep the same developer card on documents and the support landing. */
.public-developer-card__brand { align-items: flex-start; flex-direction: column; gap: 12px; }
.landing-inline-form { display: block; width: 100%; height: 900px; border: 0; border-radius: 10px; }

@media (max-width: 900px) {
  .landing-header__inner, .landing-main, .landing-footer__inner { width: calc(100% - 28px); }
  .landing-header__inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .landing-nav { justify-content: flex-start; }
  .landing-hero, .landing-split, .landing-contact-section, .landing-documents { grid-template-columns: 1fr; }
  .landing-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-developer-card { grid-template-columns: 1fr; }
  .legal-page { width: calc(100% - 28px); }
  html { scroll-padding-top: 180px; }
}
@media (max-width: 520px) {
  .landing-header__inner, .landing-main, .landing-footer__inner { width: calc(100% - 20px); }
  .landing-main { padding: 24px 0 38px; }
  .landing-brand { align-items: flex-start; flex-direction: column; gap: 10px; }
  .landing-nav a { padding: 8px; }
  .landing-hero { min-height: auto; }
  .landing-hero__content, .landing-hero-card, .landing-section { border-radius: 18px; }
  .landing-actions, .landing-footer__inner { align-items: stretch; flex-direction: column; }
  .landing-button { width: 100%; }
  .landing-card-grid, .landing-document-links { grid-template-columns: 1fr; }
  .landing-contact-link, .public-developer-card__contact { grid-template-columns: 1fr; gap: 4px; }
  .landing-form-card { padding: 16px; }
  .legal-page { width: calc(100% - 20px); padding: 20px; }
  .public-developer-card { padding: 14px; }
}
