:root {
  --ink: #263238;
  --muted: #607d8b;
  --line: rgba(38, 50, 56, .14);
  --surface: #fff;
  --soft: #eceff1;
  --accent: #607d8b;
  --accent-dark: #455a64;
  color: var(--ink);
  background: #f0f0f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: #f0f0f0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  padding: 12px 18px; border-radius: 10px; color: #fff; background: var(--ink);
}
.skip-link:focus { top: 16px; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 760; letter-spacing: -.04em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 8px 20px rgba(38, 50, 56, .16); }
.header-link { color: var(--muted); font-size: 14px; font-weight: 700; }
.header-link:hover { color: var(--accent-dark); }

main { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.hero {
  position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr);
  gap: 72px; align-items: center; min-height: 470px; padding: 70px 76px;
  overflow: hidden; border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(145deg, #fff 20%, #eceff1);
}
.app-icon {
  position: relative; z-index: 1; display: block; width: 210px; height: 210px;
  object-fit: contain; filter: drop-shadow(0 28px 28px rgba(38, 50, 56, .20));
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--accent-dark); font-size: 12px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1 { margin: 0; font: 500 clamp(48px, 6vw, 72px)/1 Georgia, "Times New Roman", serif; letter-spacing: -.05em; }
.summary { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }

.support {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 70px; padding: 110px 0;
}
.support h2 { margin: 0 0 20px; font: 500 clamp(38px, 5vw, 54px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.support-intro { margin: 0; color: var(--muted); line-height: 1.75; }
.support-note { margin: 28px 0 0; color: #78909c; font-size: 13px; line-height: 1.6; }
.support-form {
  padding: 34px; border: 1px solid var(--line); border-radius: 22px;
  background: var(--surface); box-shadow: 0 18px 45px rgba(38, 50, 56, .07);
}
.field { display: grid; gap: 9px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 760; }
.field input, .field textarea {
  width: 100%; border: 1px solid #cfd8dc; border-radius: 12px;
  color: var(--ink); background: #fafcfc; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input { height: 50px; padding: 0 15px; }
.field textarea { min-height: 180px; padding: 14px 15px; line-height: 1.55; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(96, 125, 139, .13);
}
.form-actions { display: flex; align-items: center; gap: 18px; min-height: 52px; }
.send-button {
  min-width: 145px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 12px;
  color: #fff; background: var(--accent); cursor: pointer; font-weight: 760;
  box-shadow: 0 12px 24px rgba(69, 90, 100, .20);
  transition: transform .2s, background .2s;
}
.send-button:hover:not(:disabled) { transform: translateY(-2px); background: var(--accent-dark); }
.send-button:disabled { opacity: .65; cursor: wait; }
.form-status { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.form-status[data-state="success"] { color: #16734e; }
.form-status[data-state="error"] { color: #b33a35; }

.more-apps { padding: 0 0 100px; }
.more-apps h2 { margin: 0 0 25px; font: 500 28px/1.15 Georgia, "Times New Roman", serif; }
.app-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.app-link {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px;
  border: 1px solid var(--line); border-radius: 15px; background: #fff;
  color: var(--muted); font-size: 13px; font-weight: 720; transition: transform .2s, border-color .2s;
}
.app-link:hover { transform: translateY(-2px); border-color: #90a4ae; }
.app-link[aria-current="page"] { color: var(--ink); background: var(--soft); }
.app-link img { width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain; }
.app-link span { overflow: hidden; text-overflow: ellipsis; }

footer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 38px 0 45px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--accent-dark); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 150px 1fr; gap: 42px; padding: 58px 46px; }
  .app-icon { width: 150px; height: 150px; }
  .support { gap: 38px; }
  .app-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 32px, 1080px); }
  .hero { grid-template-columns: 1fr; gap: 38px; min-height: 0; padding: 42px 28px 52px; text-align: center; }
  .app-icon { width: 132px; height: 132px; margin: 0 auto; }
  .eyebrow { justify-content: center; }
  .summary { font-size: 16px; }
  .support { grid-template-columns: 1fr; padding: 78px 0; }
  .support-form { padding: 25px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .send-button { width: 100%; }
  .app-links { grid-template-columns: 1fr 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .app-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .send-button, .app-link { transition: none; }
}
