/* Orange Support — Apple Support feel (typography, silhouettes, frost) · own brand */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --bg: #f5f5f7;
  --white: #ffffff;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.15);
  --line: rgba(0, 0, 0, 0.08);
  --nav: rgba(22, 22, 23, 0.8);
  --danger: #ff3b30;
  --ok: #1d4d3a;
  --ok-bg: #e8f8ef;
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ── Global nav (apple.com dark frosted bar) ── */
.sp-nav {
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 44px;
  display: flex;
  align-items: center;
}
.sp-nav-inner {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  opacity: 0.88;
  transition: opacity 0.15s;
}
.sp-nav-logo:hover { opacity: 1; }
.sp-nav-logo .mark {
  width: 15px;
  height: 15px;
  display: inline-flex;
  color: #f5f5f7;
}
.sp-nav-logo .mark svg {
  width: 15px;
  height: 15px;
}
.sp-nav-right { display: flex; gap: 28px; align-items: center; }
.sp-nav-right a {
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.sp-nav-right a:hover { opacity: 1; }

/* ── Hero ── */
.sp-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 64px 22px 52px;
  text-align: center;
}
.sp-hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin-bottom: 8px;
}
.sp-hero h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.08;
  color: var(--ink);
}
.sp-hero p {
  font-size: 21px;
  font-weight: 400;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.38;
  letter-spacing: 0.011em;
}
@media (max-width: 734px) {
  .sp-hero { padding: 48px 22px 40px; }
  .sp-hero h1 { font-size: 32px; }
  .sp-hero p { font-size: 17px; }
}

/* ── Product strip — filled silhouettes (Apple Support style) ── */
.sp-products {
  background: var(--white);
  padding: 40px 22px 48px;
  border-bottom: 1px solid var(--line);
}
.sp-products-inner { max-width: 980px; margin: 0 auto; }
.sp-products-title {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.01em;
}
.sp-prod-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 734px) {
  .sp-prod-grid { grid-template-columns: repeat(3, 1fr); max-width: 360px; }
}

.sp-prod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 6px 14px;
  border-radius: 12px;
  transition: background 0.2s ease;
  background: transparent;
}
.sp-prod-card:hover { background: rgba(0, 0, 0, 0.03); }

/* Icon well — soft grey glass disc */
.sp-prod-card .icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fafafa 0%, #ececef 100%);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
}
.sp-prod-card .icon svg {
  width: 36px;
  height: 36px;
  display: block;
}
/* Filled silhouettes */
.sp-prod-card .icon svg .fill {
  fill: #1d1d1f;
}
.sp-prod-card .icon svg .soft {
  fill: #3a3a3c;
}
.sp-prod-card .icon svg .screen {
  fill: #2d2d2f;
}
.sp-prod-card .icon svg .accent {
  fill: #0071e3;
  opacity: 0.75;
}
.sp-prod-card .label {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
}

/* ── Two-column body ── */
.sp-body {
  max-width: 980px;
  margin: 48px auto 0;
  padding: 0 22px 72px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .sp-body { grid-template-columns: 1fr; max-width: 560px; }
}

.sp-info-panel { display: flex; flex-direction: column; gap: 16px; }

.sp-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.sp-info-card h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.sp-info-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.47;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.sp-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.sp-step { display: flex; gap: 14px; align-items: flex-start; }
.sp-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.sp-step-text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-top: 3px;
}
.sp-step-text strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  font-size: 15px;
}

.sp-track-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.2s;
}
.sp-track-link:hover { background: #fafafa; }
.sp-track-link-left { display: flex; align-items: center; gap: 14px; }
.sp-track-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fafafa, #ececef);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.sp-track-link-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sp-track-link strong {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.sp-track-link .sub {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.sp-chevron {
  color: var(--muted-2);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

/* ── Form ── */
.sp-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 60px;
}
.sp-form-card h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 6px;
  line-height: 1.15;
}
.sp-form-card > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.sp-note {
  background: rgba(0, 113, 227, 0.06);
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 22px;
  font-size: 13px;
  color: #1d3a5f;
  line-height: 1.45;
}
.sp-note strong { color: var(--ink); font-weight: 600; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #c7c7cc; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.form-group textarea { resize: vertical; min-height: 104px; font-size: 17px; }
.form-group select {
  appearance: none;
  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 fill='%236e6e73' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12);
}
.error-message {
  display: block;
  font-size: 12px;
  color: var(--danger);
  margin-top: 5px;
  min-height: 16px;
}

/* ID upload */
.file-upload {
  background: var(--bg);
  border: 1px dashed #d2d2d7;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.form-group.error .file-upload {
  border-color: var(--danger);
  background: rgba(255, 59, 48, 0.04);
}
.file-upload input[type="file"] {
  width: 100%;
  font-size: 14px;
  color: var(--ink);
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.file-upload input[type="file"]:focus {
  box-shadow: none;
  border: none;
}
.file-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.file-name {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.file-name:not([hidden]) { display: block; }

.recaptcha-container {
  background: var(--bg);
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.recaptcha-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
}
.recaptcha-placeholder input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--blue);
}
.recaptcha-placeholder label {
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 980px;
  padding: 14px 22px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}
.submit-btn:hover:not(:disabled) { background: var(--blue-hover); }
.submit-btn:disabled {
  background: #0071e3;
  opacity: 0.4;
  cursor: not-allowed;
}

.success-message {
  margin-top: 18px;
  padding: 18px;
  background: var(--ok-bg);
  border: 1px solid rgba(52, 199, 89, 0.25);
  border-radius: 14px;
  color: var(--ok);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Soft CTA chip */
.soft-cta {
  display: inline-block;
  background: var(--bg);
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  padding: 10px 18px;
  border-radius: 980px;
  transition: background 0.2s;
  letter-spacing: -0.01em;
}
.soft-cta:hover { background: #e8e8ed; }

/* ── Footer ── */
.sp-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 28px 22px 36px;
}
.sp-footer-inner { max-width: 980px; margin: 0 auto; }
.sp-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 734px) { .sp-footer-grid { grid-template-columns: repeat(2, 1fr); } }
.sp-footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sp-footer-col ul { list-style: none; }
.sp-footer-col ul li { margin-bottom: 8px; }
.sp-footer-col ul li a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.sp-footer-col ul li a:hover { color: var(--ink); text-decoration: underline; }
.sp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.sp-footer-bottom p,
.sp-footer-links a {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: -0.01em;
}
.sp-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.sp-footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* ── Track ── */
.track-card {
  max-width: 440px;
  margin: 40px auto 80px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.track-result {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  display: none;
  letter-spacing: -0.01em;
}
.track-result.visible { display: block; }
