:root {
  color-scheme: light;
  --paper: #f2efe7;
  --paper-deep: #e8e2d5;
  --ink: #24221f;
  --muted: #6e685f;
  --soft: #918a7f;
  --line: rgba(36, 34, 31, 0.14);
  --accent: #bd4f35;
  --accent-dark: #8d3928;
  --panel: rgba(250, 248, 241, 0.78);
  --charcoal: #242320;
  --max-width: 1160px;
  --side-padding: clamp(22px, 5vw, 74px);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(49, 45, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 45, 39, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.support-bar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 var(--side-padding);
  color: #f3efe6;
  background: var(--charcoal);
}

.support-bar::after {
  content: "";
  position: absolute;
  left: var(--side-padding);
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--accent);
}

.support-bar__brand,
.support-bar__site,
.support-bar__nav a {
  text-decoration: none;
}

.support-bar__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support-bar__mark {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.support-bar__nav {
  display: flex;
  gap: 30px;
  color: rgba(243, 239, 230, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-bar__nav a,
.support-bar__site {
  transition: color 150ms ease;
}

.support-bar__nav a:hover,
.support-bar__site:hover {
  color: #fff;
}

.support-bar__site {
  justify-self: end;
  color: rgba(243, 239, 230, 0.66);
  font-size: 12px;
}

main,
.support-footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--side-padding);
}

.support-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: center;
  min-height: 620px;
  padding: 96px 0 104px;
  text-align: left;
}

.support-hero::before {
  content: "SUPPORT DOCUMENT / 2026";
  position: absolute;
  top: 34px;
  left: 0;
  color: var(--soft);
  font-size: 10px;
  letter-spacing: 0.17em;
}

.app-icon {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 1;
  justify-self: center;
  filter: drop-shadow(18px 22px 0 rgba(189, 79, 53, 0.12))
          drop-shadow(0 24px 34px rgba(44, 39, 32, 0.17));
  transform: rotate(-1.5deg);
}

.app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22%;
  object-fit: cover;
}

.support-kicker,
.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.support-hero h1 {
  margin: 14px 0 20px;
  font-family: Skia, "Avenir Next", Avenir, sans-serif;
  font-size: clamp(68px, 9vw, 118px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.support-lede {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.6vw, 29px);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 34px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--paper);
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.primary-action:hover {
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.support-section {
  position: relative;
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.support-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--accent);
}

.support-intro,
.contact-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.support-section h2 {
  max-width: 700px;
  margin: 14px 0 0;
  font-family: Skia, "Avenir Next", Avenir, sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-copy {
  display: grid;
  gap: 22px;
  padding-top: 29px;
}

.section-copy p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.54fr) minmax(0, 1.46fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading .section-label {
  align-self: start;
  padding-top: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li,
.privacy-card > div {
  position: relative;
  min-height: 215px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  box-shadow: 7px 8px 0 rgba(76, 67, 56, 0.055);
}

.steps li::after,
.privacy-card > div::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  border-top: 1px solid rgba(36, 34, 31, 0.2);
  border-right: 1px solid rgba(36, 34, 31, 0.2);
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 42px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.steps h3,
.privacy-card h3 {
  margin: 0 0 10px;
  font-family: Skia, "Avenir Next", Avenir, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.steps p,
.privacy-card p,
.faq-list p,
.privacy-note {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 48px 25px 0;
  cursor: pointer;
  font-family: Skia, "Avenir Next", Avenir, sans-serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.028em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--accent);
  font-family: "Avenir Next", Avenir, sans-serif;
  font-size: 27px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  padding: 0 48px 28px 0;
  font-size: 16px;
}

.privacy-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.privacy-card > div {
  min-height: 188px;
}

.privacy-note {
  max-width: 760px;
  margin-top: 30px;
  font-size: 13px;
}

.contact-section {
  align-items: end;
}

.contact-section > div > p:last-child {
  max-width: 520px;
  margin-top: 24px;
}

.contact-email {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  box-shadow: 8px 9px 0 rgba(76, 67, 56, 0.055);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.contact-email:hover {
  transform: translate(-2px, -2px);
  box-shadow: 11px 12px 0 rgba(189, 79, 53, 0.11);
}

.contact-email span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-email strong {
  color: var(--accent-dark);
  font-family: Skia, "Avenir Next", Avenir, sans-serif;
  font-size: clamp(21px, 3vw, 31px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.support-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 38px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.support-footer p {
  margin: 0;
}

@media (max-width: 780px) {
  .support-bar {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .support-bar__nav {
    display: none;
  }

  .support-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 54px;
    padding: 92px 0 82px;
  }

  .app-icon {
    width: min(74vw, 280px);
  }

  .support-section {
    padding: 76px 0;
  }

  .support-intro,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-copy {
    padding-top: 0;
  }

  .steps,
  .privacy-card {
    grid-template-columns: 1fr;
  }

  .steps li,
  .privacy-card > div {
    min-height: 0;
  }

  .support-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
