/* ====================================================
   SquadUp legal/support shared stylesheet
   Matches landing palette/typography
   ==================================================== */
:root {
  --coral: #C13A2A;
  --coral-soft: #FFDCCD;
  --coral-ink: #7A1E11;
  --peach-1: #FFC7B3;
  --peach-2: #FFE4D6;
  --paper: #FFF5EF;
  --ink: #1A1412;
  --ink-2: #4A3F3B;
  --muted: #8A7C76;
  --line: rgba(26,20,18,0.08);
  --line-soft: rgba(26,20,18,0.05);
  --card: #FFFFFF;
  --bg-gradient: linear-gradient(180deg, #FFC7B3 0%, #FFDFCE 18%, #FFF0E6 38%, #FFF5EF 100%);
  --shadow-card: 0 1px 2px rgba(26,20,18,0.04), 0 8px 24px rgba(26,20,18,0.05);
  --shadow-deep: 0 20px 60px rgba(26,20,18,0.12), 0 4px 16px rgba(26,20,18,0.06);
  --shadow-float: 0 8px 24px rgba(193,58,42,0.28);
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 22px; --r-2xl: 28px; --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  color: var(--ink); background: var(--paper);
  line-height: 1.55; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 24px;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(255, 245, 239, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 24px;
}
.nav-inner {
  width: 100%; max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--ink);
}
.logo-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  border-radius: var(--r-pill); transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(26,20,18,0.05); color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 8px; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  padding: 4px; background: rgba(255,255,255,0.6);
  border-radius: var(--r-pill); border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}
.lang-switch button {
  padding: 5px 9px; font-size: 11.5px; font-weight: 600;
  color: var(--ink-2); background: transparent; border: none;
  border-radius: var(--r-pill); cursor: pointer; letter-spacing: 0.04em;
  transition: background .2s, color .2s;
}
.lang-switch button.on { background: var(--ink); color: white; }
.lang-switch button:hover:not(.on) { color: var(--ink); }

.nav-cta {
  padding: 9px 16px; background: var(--ink); color: white;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  transition: transform .15s, background .15s;
}
.nav-cta:hover { background: var(--coral); transform: translateY(-1px); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { padding: 12px 16px; }
  .nav-cta { display: none; }
}

/* ===== PAGE HEADER ===== */
.page-hero {
  position: relative; padding: 140px 24px 60px;
  background: var(--bg-gradient);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,158,127,0.4) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255,200,180,0.5) 0%, transparent 45%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 880px; margin: 0 auto;
}
.crumbs {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-2); margin-bottom: 16px;
  font-weight: 500; opacity: 0.85;
}
.crumbs a:hover { color: var(--coral); }
.crumbs svg { color: var(--muted); flex-shrink: 0; }

.page-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04; letter-spacing: -0.04em;
  font-weight: 800; margin: 0 0 16px;
}
.page-hero h1 .it {
  color: var(--coral); font-family: "Instrument Serif", serif;
  font-weight: 400; font-style: italic; letter-spacing: -0.02em;
}
.page-hero p.lead {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-2); max-width: 640px;
  margin: 0; line-height: 1.55;
}

.page-hero-meta {
  margin-top: 24px; display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); font-weight: 500;
}
.page-hero-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--r-pill); backdrop-filter: blur(10px);
}

/* ===== CONTENT ===== */
.page-body {
  padding: 60px 24px 100px;
  background: var(--paper);
}
.page-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 56px; align-items: start;
}
@media (max-width: 880px) {
  .page-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-body { padding: 40px 24px 80px; }
}

/* TOC */
.toc {
  position: sticky; top: 96px;
  background: white; border-radius: var(--r-xl);
  padding: 22px 8px 22px 8px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-soft);
}
.toc-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  padding: 0 16px 12px;
}
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
.toc-list a {
  display: block; padding: 9px 16px;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
  letter-spacing: -0.005em;
}
.toc-list a:hover { color: var(--coral); background: rgba(193,58,42,0.04); }
.toc-list a.on {
  color: var(--coral-ink); border-left-color: var(--coral);
  background: rgba(193,58,42,0.05); font-weight: 600;
}
@media (max-width: 880px) {
  .toc { display: none; }
}

/* CONTENT BODY */
.content-card {
  background: white; border-radius: var(--r-2xl);
  padding: 56px 56px 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-soft);
}
@media (max-width: 720px) {
  .content-card { padding: 36px 28px 32px; border-radius: var(--r-xl); }
}
.content-card section { scroll-margin-top: 110px; }
.content-card section + section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line-soft); }

.content-card h2 {
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 16px; line-height: 1.2; color: var(--ink);
  display: flex; align-items: baseline; gap: 12px;
}
.content-card h2 .num {
  font-family: "Instrument Serif", serif; font-style: italic;
  font-weight: 400; color: var(--coral);
  font-size: 0.85em; letter-spacing: -0.02em;
}
.content-card p {
  font-size: 15.5px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.65;
  letter-spacing: -0.005em;
}
.content-card p strong { color: var(--ink); font-weight: 600; }
.content-card ul {
  list-style: none; padding: 0; margin: 16px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.content-card ul li {
  position: relative; padding: 14px 16px 14px 44px;
  font-size: 15px; line-height: 1.55; color: var(--ink-2);
  background: var(--paper); border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
}
.content-card ul li::before {
  content: ''; position: absolute; left: 16px; top: 19px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral-soft);
  box-shadow: inset 0 0 0 3px var(--coral);
}
.content-card ul li strong { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 600; font-size: 14.5px; }
.content-card a { color: var(--coral); font-weight: 500; }
.content-card a:hover { text-decoration: underline; }

.content-card .last-updated {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}

/* ===== CARD-CENTERED LAYOUT (used by removeaccount) ===== */
.center-stage {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 60px;
  background: var(--bg-gradient);
  position: relative; overflow: hidden;
}
.center-stage::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,158,127,0.5) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255,200,180,0.6) 0%, transparent 45%);
  pointer-events: none;
}
.center-card {
  position: relative; z-index: 2;
  background: white; border-radius: var(--r-2xl);
  box-shadow: var(--shadow-deep);
  padding: 48px 40px;
  width: 100%; max-width: 520px;
  text-align: center;
}
.center-card .icon-bubble {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--coral), #E85D43);
  color: white; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; box-shadow: var(--shadow-float);
}
.center-card h1 {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em; font-weight: 800;
  margin: 0 0 14px; line-height: 1.15;
}
.center-card h1 .it {
  font-family: "Instrument Serif", serif; font-style: italic;
  font-weight: 400; color: var(--coral);
}
.center-card p {
  font-size: 16px; color: var(--ink-2); margin: 0 0 28px; line-height: 1.6;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; background: var(--coral); color: white;
  border-radius: var(--r-md); font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em; box-shadow: var(--shadow-float);
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #A8311F; transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; background: white; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-row {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}

.note-box {
  margin-top: 28px; padding: 16px 18px;
  background: var(--paper); border-radius: var(--r-md);
  text-align: left; display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
  border: 1px solid var(--line-soft);
}
.note-box svg { flex-shrink: 0; color: var(--coral); margin-top: 2px; }

/* ===== SUPPORT FORM ===== */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
}
.field input, .field textarea, .field select {
  padding: 13px 14px;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-md); outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--coral); background: white;
}
.field textarea { min-height: 140px; line-height: 1.5; }
.field-full { grid-column: 1 / -1; }
.field-hint { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

.form-status {
  margin-top: 16px; padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 14px; display: none; align-items: center; gap: 10px;
}
.form-status.show { display: flex; }
.form-status.loading { background: rgba(125,182,232,0.12); color: #2C5689; }
.form-status.success { background: rgba(46,125,50,0.12); color: #1F5F23; }
.form-status.error { background: rgba(193,58,42,0.12); color: var(--coral-ink); }
.form-status .dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.form-status.loading .dot { background: #4F7FB8; animation: pulse 1.2s infinite; }
.form-status.success .dot { background: #2E7D32; }
.form-status.error .dot { background: var(--coral); }
@keyframes pulse {
  0%, 100% { opacity: .5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

.support-side {
  background: var(--paper); border-radius: var(--r-xl);
  padding: 24px 22px; border: 1px solid var(--line-soft);
}
.support-side h3 {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 14px; color: var(--ink);
}
.support-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.support-side ul li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
}
.support-side ul li::before { display: none; }
.support-side .ico {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  background: var(--coral-soft); color: var(--coral);
  display: flex; align-items: center; justify-content: center;
}

/* ===== FOOTER ===== */
footer {
  background: #0e0a09; color: rgba(255,255,255,0.6);
  padding: 50px 24px 36px;
}
.foot-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: white; font-weight: 700; }
.foot-brand img { width: 28px; height: 28px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; }
.foot-links a:hover { color: var(--peach-1); }
.foot-copy { font-size: 12.5px; }
.foot-copy a { color: var(--peach-1); font-weight: 600; }

/* ===== SUPPORT PAGE ===== */
.support-cards {
  max-width: 1100px; margin: 0 auto 56px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.sup-card {
  background: white; border-radius: var(--r-xl);
  padding: 24px 22px 22px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
}
.sup-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-deep); }
.sup-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.sup-card h3 {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 8px; color: var(--ink);
}
.sup-card p {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
  margin: 0 0 14px;
}
.sup-card a {
  font-size: 13px; font-weight: 600; color: var(--coral);
  letter-spacing: -0.005em;
}
.sup-card a:hover { text-decoration: underline; }

.support-faq {
  max-width: 1100px; margin: 0 auto 56px;
  scroll-margin-top: 110px;
}
.support-faq h2 {
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 24px; color: var(--ink);
}
.faq-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 12px;
  align-items: start; /* Prevent siblings from stretching to match an opened <details>. */
}
@media (max-width: 600px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-grid details {
  background: white; border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  padding: 0 18px;
  transition: box-shadow .2s, border-color .2s;
}
.faq-grid details[open] { box-shadow: var(--shadow-card); border-color: var(--line); }
.faq-grid summary {
  list-style: none; cursor: pointer;
  padding: 16px 28px 16px 0; position: relative;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: '+'; position: absolute; right: 4px; top: 14px;
  font-size: 20px; font-weight: 400; color: var(--coral);
  transition: transform .2s;
}
.faq-grid details[open] summary::after { content: '−'; }
.faq-grid details p {
  margin: 0; padding: 0 0 18px;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
}

.contact-block {
  max-width: 1100px; margin: 0 auto;
}
.contact-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  background: white; border-radius: var(--r-2xl);
  padding: 36px 36px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.contact-text { flex: 1 1 320px; }
.contact-text h2 {
  font-size: clamp(22px, 2.2vw, 26px); font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 8px; color: var(--ink);
}
.contact-text p {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55;
  margin: 0 0 14px;
}
.contact-info {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); font-weight: 500;
}
.contact-info span {
  display: inline-flex; align-items: center; gap: 6px;
}
.contact-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; background: var(--coral); color: white;
  border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.005em; box-shadow: var(--shadow-float);
  transition: background .2s, transform .15s;
  flex-shrink: 0;
}
.contact-cta:hover { background: #A8311F; transform: translateY(-2px); }
.contact-cta.delete { background: var(--coral); }
.contact-cta.delete:hover { background: var(--coral-ink); }

/* ===== DELETE ACCOUNT PAGE ===== */
.delete-steps {
  max-width: 1100px; margin: 0 auto 56px;
  background: white; border-radius: var(--r-2xl);
  padding: 40px 40px 36px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.delete-steps.alt { background: var(--paper); }
@media (max-width: 720px) {
  .delete-steps { padding: 28px 24px 24px; border-radius: var(--r-xl); }
}
.step-head { margin-bottom: 28px; }
.step-tag {
  display: inline-block; padding: 5px 12px;
  background: var(--coral-soft); color: var(--coral-ink);
  border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 12px;
}
.step-head h2 {
  font-size: clamp(24px, 2.6vw, 30px); font-weight: 800;
  letter-spacing: -0.025em; margin: 0 0 8px; color: var(--ink);
  line-height: 1.15;
}
.step-head p {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55;
  margin: 0; max-width: 620px;
}
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.steps li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 18px;
  background: var(--paper); border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
}
.delete-steps.alt .steps li { background: white; }
.step-num {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  font-family: "Instrument Serif", serif;
  font-style: italic;
}
.steps li h3 {
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em;
  margin: 4px 0 4px; color: var(--ink);
}
.steps li p {
  margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.5;
}

.delete-info {
  max-width: 1100px; margin: 0 auto 56px;
}
.delete-info > h2 {
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 24px; color: var(--ink);
}
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.info-card {
  background: white; border-radius: var(--r-xl);
  padding: 22px 22px 20px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.info-card.warn { border-top: 3px solid var(--coral); }
.info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.info-card h3 {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 12px; color: var(--ink);
}
.info-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.info-card ul li {
  position: relative; padding-left: 18px;
  font-size: 13px; line-height: 1.5; color: var(--ink-2);
}
.info-card ul li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
}
.info-card.keep ul li::before { background: #B57A1D; }
.info-card.warn ul li::before { background: var(--coral-ink); }

.delete-cta {
  max-width: 1100px; margin: 0 auto;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}
