/* resolve-tools.com — shared stylesheet */

/* ─── Variables ─── */
:root {
  --bg: #1a1a1a;
  --surface: #2d2d2d;
  --surface-alt: #333333;
  --surface-deep: #222222;
  --accent: #ffa500;
  --accent-dim: rgba(255, 165, 0, 0.12);
  --text: #E2E2E2;
  --text-dim: #888888;
  --text-faint: #555555;
  --border: #404040;
  --radius: 10px;
  --font: -apple-system, "Avenir Next", "Avenir", Helvetica, sans-serif;
  --mono: "SF Mono", "Fira Mono", Menlo, monospace;
  --max-w: 1100px;
  --nav-h: 58px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* ─── Nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(16, 16, 16, 0.99);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 28px;
}

.nav-brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-feedback {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.nav-feedback:hover {
  color: var(--text);
  border-color: #666;
}

.nav-tagline {
  font-size: 12px;
  font-style: italic;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.85;
}

.nav-cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(255, 165, 0, 0.4);
  border-radius: 100px;
  padding: 7px 18px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover {
  background: var(--accent);
  color: #1a1a1a;
}

/* ─── Tablet & phone: wrap the app links into a visible nav bar ─── */
@media (max-width: 1200px) {
  .nav {
    height: auto;
    flex-wrap: wrap;
    padding: 10px 20px;
    gap: 10px 16px;
  }
  .nav-tagline { display: none; }
  .nav-brand { margin-right: auto; }
  .nav-links {
    order: 10;
    flex-basis: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px 20px;
    border-top: 1px solid var(--border);
    padding-top: 9px;
    margin-top: 1px;
  }
  .nav-links a {
    font-size: 14px;
    padding: 2px 0;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  padding: 12px 28px;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
}
.btn-primary:hover {
  background: #ffb733;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 165, 0, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: #666;
}
.btn-lg { font-size: 15px; padding: 14px 34px; }

/* ─── Orange rule ─── */
.orange-rule {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.orange-rule hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  opacity: 0.4;
}

/* ─── Home hero ─── */
.home-hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 820px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 28px;
}
.home-hero h1 {
  font-size: clamp(46px, 9vw, 84px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: #ffffff;
  margin-bottom: 24px;
}
.h1-white { display: block; color: #ffffff; }
.h1-gold  { display: block; color: var(--accent); }
.home-hero .subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.home-hero .meta {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

/* ─── Feature rows (home — alternate layout) ─── */
.tool-features {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tool-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.tool-feature:last-child { border-bottom: 1px solid var(--border); }

.tool-feature-media {
  background: var(--surface-deep);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 300px;
}
.tool-feature.reverse .tool-feature-media {
  order: 2;
  border-right: none;
  border-left: 1px solid var(--border);
}
.tool-feature.reverse .tool-feature-info { order: 1; }

.tool-feature-media img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}
.tool-feature-info {
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tool-feature-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.tool-feature-name a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}
.tool-feature-name a:hover {
  opacity: 0.75;
  cursor: pointer;
}
.tool-feature-tagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.tool-feature-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 28px;
}
.tool-feature-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .tool-feature,
  .tool-feature.reverse { grid-template-columns: 1fr; }
  .tool-feature-media { border-right: none; border-bottom: 1px solid var(--border); min-height: 220px; }
  .tool-feature.reverse .tool-feature-media { order: 0; border-left: none; border-bottom: 1px solid var(--border); }
  .tool-feature.reverse .tool-feature-info { order: 0; }
}

/* ─── Tools section (home) ─── */
.tools-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.tools-section-head { margin-bottom: 36px; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.tools-section-head h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
}
.tools-section-head p { font-size: 14px; color: var(--text-dim); }

.tool-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .tool-cards { grid-template-columns: 1fr; } }

.tool-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  border-color: rgba(255, 165, 0, 0.28);
}

.tool-card-body {
  display: block;
  padding: 24px 24px 0;
  color: inherit;
  text-decoration: none;
}
.tool-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.tool-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tool-version {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.tool-subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.8;
  margin-top: -4px;
  margin-bottom: 12px;
}

.app-subtitle {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 12px;
}

.tool-desc {
  font-size: 13.5px;
  color: #c8c8c8;
  line-height: 1.6;
  margin-bottom: 20px;
}
.tool-thumb {
  width: 100%;
  height: 240px;
  background: #111111;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tool-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-allfree {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.tool-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding: 14px 24px;
  gap: 12px;
}
.card-thumb {
  width: 180px;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  border-radius: 7px;
  border: 1px solid var(--border);
  display: block;
  cursor: zoom-in;
  flex-shrink: 0;
  transition: opacity 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.card-thumb:hover {
  opacity: 0.88;
  border-color: rgba(255, 165, 0, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.tool-learn {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
}
.tool-dl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  transition: color 0.15s, border-color 0.15s;
}
.tool-dl:hover {
  color: var(--accent);
  border-color: rgba(255, 165, 0, 0.4);
}

/* ─── Download section (home) ─── */
.download-section {
  background: var(--surface-deep);
  padding: 80px 24px;
  text-align: center;
}
.download-inner {
  max-width: 640px;
  margin: 0 auto;
}
.download-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 16px;
  margin-bottom: 22px;
}
.download-section h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}
.download-section .desc {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
}
.download-section .desc strong { color: var(--text); }
.bundle-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.dl-divider {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.indiv-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  text-align: left;
}
@media (max-width: 480px) { .indiv-downloads { grid-template-columns: 1fr; } }

.indiv-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.15s;
}
.indiv-item:hover { border-color: rgba(255, 165, 0, 0.28); }
.indiv-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.indiv-item-ver {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 2px;
}
.indiv-dl-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.indiv-dl-link:hover { opacity: 0.7; }

/* ─── App hero ─── */
.app-hero {
  padding: 72px 24px 56px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.app-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.app-hero h1 {
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--accent);
  margin-bottom: 16px;
}
.app-tagline {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 32px;
}
.app-hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Screenshot ─── */
.screenshot-wrap {
  max-width: var(--max-w);
  margin: 0 auto 64px;
  padding: 0 24px;
}
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.screenshot-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 24px,
    rgba(255, 165, 0, 0.022) 24px,
    rgba(255, 165, 0, 0.022) 48px
  );
}
.ph-icon { font-size: 36px; opacity: 0.3; position: relative; }
.ph-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}
/* Real hero screenshot — replaces the .screenshot-placeholder div */
.screenshot-real {
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
  margin: 0 auto;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  transition: opacity 0.15s;
}
.screenshot-real:hover { opacity: 0.9; }

/* ─── Screenshot gallery (multi-shot strip) ─── */
.screenshot-gallery-wrap {
  max-width: var(--max-w);
  margin: 0 auto 64px;
  padding: 0 24px;
}
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 680px) { .screenshot-gallery { grid-template-columns: 1fr; } }

.sg-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-deep);
}
.sg-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
  cursor: pointer;
  transition: opacity 0.15s;
}
.sg-item img:hover {
  opacity: 0.82;
}
.sg-item figcaption {
  font-size: 12px;
  color: #cccccc;
  padding: 10px 14px;
  line-height: 1.4;
}

/* ─── Single detail screenshot (narrow centered callout) ─── */
.detail-screenshot-wrap {
  text-align: center;
  margin: 0 auto 64px;
  padding: 0 24px;
}
.detail-screenshot-wrap figure {
  display: inline-block;
  max-width: 380px;
  margin: 0;
  text-align: left;
}
.detail-screenshot-wrap img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  display: block;
}
.detail-screenshot-wrap figcaption {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  line-height: 1.5;
  font-style: italic;
}

/* ─── Lightbox ─── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: pointer;
}
#lightbox.active { display: flex; }
#lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  cursor: default;
}

/* ─── App content ─── */
.app-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 60px;
}
.app-section h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}
.overview-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 720px;
}
.overview-body + .overview-body { margin-top: 16px; }

/* ─── Feature grid ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px 14px 40px;
  font-size: 13.5px;
  color: #cccccc;
  line-height: 1.55;
  position: relative;
}
.feature-grid li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Tips ─── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 600px) { .tips-grid { grid-template-columns: 1fr; } }

.tip {
  background: #252525;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
}
.tip-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.tip-body {
  font-size: 13px;
  color: #aaaaaa;
  line-height: 1.6;
}
.tip-body code {
  font-family: var(--mono);
  font-size: 11.5px;
  background: rgba(255, 165, 0, 0.1);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ─── App download CTA ─── */
.app-dl-cta {
  background: var(--surface-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}
.app-dl-cta h2 { margin-bottom: 8px; }
.app-dl-cta p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.app-dl-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.dl-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 18px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ─── Also in the suite ─── */
.also-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}
.also-section h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}
.also-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 680px) { .also-grid { grid-template-columns: 1fr; } }

.also-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.also-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  border-color: rgba(255, 165, 0, 0.28);
}
.also-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.also-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── App icon — product page hero ── */
.app-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: block;
  margin: 0 auto 18px;
}

/* ── Small app icon — also-in-suite cards ── */
.also-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  flex-shrink: 0;
}

/* ── Small app icon — index tool feature cards ── */
.tool-card-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  vertical-align: -4px;
  display: inline;
  margin-right: 6px;
}

/* ─── Feedback form ─── */
.feedback-hero {
  text-align: center;
  padding: 72px 24px 48px;
  max-width: 640px;
  margin: 0 auto;
}
.feedback-hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}
.feedback-hero h1 span { color: var(--accent); }
.feedback-hero p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

.feedback-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-label span {
  color: var(--accent);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin-left: 4px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(255, 165, 0, 0.5);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-faint); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: var(--surface); }
.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-submit-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.form-note {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.5;
}

/* ─── Footer ─── */
footer {
  text-align: center;
  padding: 36px 24px 40px;
  border-top: 1px solid #222222;
}
footer p {
  font-size: 12px;
  color: #444444;
  letter-spacing: 0.04em;
}
footer span { color: #555555; }
