:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --link: #06c;
  --page-width: 980px;
  --reading-width: 760px;
}

* { box-sizing: border-box; }

html { background: #fff; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.52947;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 3px; }

.site-header,
.site-footer {
  width: min(calc(100% - 44px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.site-nav a,
.footer-nav a { color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.site-main {
  width: min(calc(100% - 44px), var(--reading-width));
  min-height: calc(100vh - 232px);
  margin-inline: auto;
  padding: 80px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1.0625;
  font-weight: 600;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 590px;
  margin-bottom: 46px;
  color: var(--muted);
  font-size: clamp(21px, 3vw, 25px);
  line-height: 1.32;
  letter-spacing: -0.025em;
}

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

.content-card,
.contact-card,
.store-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.content-card { padding: 27px; }
.content-card p,
.contact-card p,
.store-card p { margin-bottom: 0; color: var(--muted); }

.text-link { font-weight: 600; }

.store-grid { display: grid; gap: 16px; }

.store-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
}

.store-card h2 { margin-bottom: 6px; }

.store-badge {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(100%, 184px);
  object-fit: contain;
}

.contact-card {
  padding: 30px;
  background: var(--soft);
}

.contact-card--form { background: #fff; }

.support-main {
  width: min(calc(100% - 44px), var(--page-width));
  padding-top: 68px;
}

.support-hero {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.support-hero .eyebrow { margin-bottom: 12px; }
.support-hero h1 { margin-bottom: 18px; }
.support-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.7vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.support-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.support-path {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 148px;
  padding: 25px 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.support-path:hover {
  border-color: #b6b6ba;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transform: translateY(-2px);
}

.support-path:focus-visible { outline: 3px solid rgba(0, 102, 204, 0.28); outline-offset: 4px; }
.support-path strong { display: block; margin-bottom: 5px; font-size: 19px; letter-spacing: -0.02em; }
.support-path small { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; }

.support-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--link);
}

.support-icon svg { width: 23px; height: 23px; }
.support-chevron { color: var(--link); font-size: 29px; font-weight: 300; line-height: 1; }

.support-form-section {
  max-width: 680px;
  margin: 84px auto 0;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.support-form-heading { margin-bottom: 30px; text-align: center; }
.support-form-heading h2 { margin-bottom: 9px; font-size: 32px; letter-spacing: -0.03em; }
.support-form-heading p { max-width: 510px; margin: 0 auto; color: var(--muted); font-size: 17px; }

.contact-form {
  display: grid;
  gap: 22px;
  margin: 0;
}

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

.form-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.form-field small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.form-field input,
.form-field select { min-height: 48px; padding: 11px 13px; }
.form-field textarea { min-height: 148px; padding: 12px 13px; resize: vertical; }
.form-field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3 6 5 5 5-5' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 44px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 3px solid rgba(0, 102, 204, 0.22); border-color: var(--link); }

.field-error,
.form-status {
  min-height: 0;
  margin: 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 400;
}

.form-status:empty,
.field-error:empty { display: none; }
.form-status:not(:empty) { padding: 12px 14px; border-radius: 12px; background: #e8f5ee; color: #0d6b39; }
.form-status--error:not(:empty) { background: #fff1f0; color: #b42318; }

.form-submit {
  justify-self: center;
  min-height: 48px;
  padding: 12px 21px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.form-submit:hover { background: #000; }
.form-submit:disabled { cursor: progress; opacity: 0.65; }
.form-submit:focus-visible { outline: 3px solid rgba(0, 102, 204, 0.38); outline-offset: 3px; }

.form-privacy {
  max-width: 610px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.legal-main h1 { max-width: 720px; }
.legal-section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-section:last-of-type { border-bottom: 1px solid var(--line); }
.legal-section p { max-width: 680px; margin-bottom: 0; color: var(--muted); }

.contact-address {
  display: inline-block;
  margin-top: 17px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.support-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 15px;
}

.support-note--center { text-align: center; }

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.site-footer p { margin: 0; }

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .site-main { width: min(calc(100% - 32px), var(--reading-width)); }

  .site-header { min-height: 50px; gap: 16px; }
  .site-nav { gap: 13px; font-size: 13px; }
  .site-main { padding: 54px 0 64px; }
  h1 { font-size: 42px; }
  .lead { margin-bottom: 34px; font-size: 22px; }
  .content-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .support-main { width: min(calc(100% - 32px), var(--reading-width)); padding-top: 54px; }
  .support-paths { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .support-path { min-height: 108px; padding: 20px; }
  .support-form-section { margin-top: 58px; padding-top: 42px; }
  .support-form-heading h2 { font-size: 28px; }
  .store-card { align-items: flex-start; flex-direction: column; gap: 18px; padding: 24px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-nav { flex-wrap: wrap; gap: 10px 15px; }
}
