/* Gemobi — legal & support pages shared styles */

:root {
  --ink-950: #0a0e1f;
  --ink-900: #0e1330;
  --ink-800: #141b3f;
  --ink-700: #1d2650;

  --paper: #faf7f1;
  --paper-alt: #f3efe6;
  --surface: #ffffff;

  --orange-600: #f0611a;
  --orange-500: #ff7a29;
  --orange-100: #ffe6cf;

  --text-primary: #181c2e;
  --text-secondary: #565c74;
  --text-muted: #8991ab;
  --text-on-dark: #f3f1ea;
  --text-on-dark-muted: #a7acc4;

  --line: #e7e1d3;
  --line-dark: rgba(255, 255, 255, 0.1);

  --warn-bg: #fdeee6;
  --warn-line: #eec7ab;
  --warn-text: #9c3e14;

  --ok-bg: #ecf3ea;
  --ok-line: #c6dcc0;
  --ok-text: #34602a;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(15, 17, 33, 0.04), 0 8px 24px rgba(15, 17, 33, 0.06);
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-primary);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Top bar ── */
.g-topbar {
  background: linear-gradient(180deg, var(--ink-950), var(--ink-900));
  color: var(--text-on-dark);
}

.g-topbar-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.g-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-on-dark);
}

.g-mark-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-950);
  flex: none;
}

.g-mark-word {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.g-topnav {
  display: flex;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
}

.g-topnav a {
  text-decoration: none;
  color: var(--text-on-dark-muted);
  transition: color 0.15s ease;
}

.g-topnav a:hover,
.g-topnav a:focus-visible {
  color: var(--text-on-dark);
}

.g-topnav a[aria-current="page"] {
  color: var(--orange-500);
}

/* ── Footer ── */
.g-footer {
  background: var(--ink-950);
  color: var(--text-on-dark-muted);
}

.g-footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

.g-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.g-footer-links a {
  text-decoration: none;
  color: var(--text-on-dark-muted);
}

.g-footer-links a:hover {
  color: var(--text-on-dark);
}

/* ── Article shell (privacy / terms) ── */
.g-doc-hero {
  padding: 56px 24px 40px;
}

.g-doc-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.g-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin: 0 0 14px;
}

.g-doc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text-on-dark);
}

.g-doc-hero p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-on-dark-muted);
  margin: 0;
  max-width: 56ch;
}

.g-doc-body {
  max-width: 720px;
  margin: -20px auto 0;
  padding: 0 24px 80px;
}

.g-doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 48px clamp(24px, 5vw, 64px) 56px;
}

.g-doc-meta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.g-doc-body article {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-primary);
}

.g-doc-body article h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 40px 0 14px;
}

.g-doc-body article h2:first-child {
  margin-top: 0;
}

.g-doc-body article h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-600);
  margin: 32px 0 10px;
}

.g-doc-body article p {
  margin: 0 0 18px;
}

.g-doc-body article ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.g-doc-body article li {
  margin-bottom: 10px;
}

.g-doc-body article a {
  color: var(--orange-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.g-doc-body article strong {
  font-weight: 700;
}

/* ── Deletion guide ── */
.g-hero {
  background: linear-gradient(165deg, var(--ink-950) 0%, var(--ink-800) 100%);
  color: var(--text-on-dark);
  padding: 64px 24px 96px;
  position: relative;
  overflow: hidden;
}

.g-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 122, 41, 0.25), transparent 70%);
  pointer-events: none;
}

.g-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.g-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

.g-hero-lede {
  font-size: 16px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 46ch;
}

.g-hero-facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.g-hero-fact {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

.g-hero-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-on-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

/* phone illustration */
.g-phone {
  width: 220px;
  margin: 0 auto;
  border-radius: 30px;
  background: #050813;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.g-phone-screen {
  background: var(--ink-900);
  border-radius: 22px;
  overflow: hidden;
  font-family: var(--font-display);
  line-height: 0;
}

.g-phone-screen img {
  width: 100%;
  display: block;
}

.g-phone-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px 4px;
  font-size: 10px;
  color: var(--text-on-dark-muted);
}

.g-phone-section {
  padding: 6px 14px 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-muted);
}

.g-phone-row {
  margin: 0 10px 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 10px;
  color: var(--text-on-dark-muted);
}

.g-phone-row strong {
  display: block;
  color: var(--text-on-dark);
  font-size: 10.5px;
  margin-bottom: 1px;
}

.g-phone-danger {
  margin: 16px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ff8a65;
  font-size: 10.5px;
  font-weight: 700;
  position: relative;
}

.g-phone-danger::before {
  content: "";
  position: absolute;
  inset: -8px -14px;
  border: 1.5px solid rgba(255, 122, 41, 0.55);
  border-radius: var(--radius-pill);
  animation: g-pulse 2.2s ease-in-out infinite;
}

@keyframes g-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.04); }
}

/* steps */
.g-steps {
  max-width: 880px;
  margin: -56px auto 0;
  padding: 0 24px 8px;
  position: relative;
  display: grid;
  gap: 16px;
}

.g-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.g-step-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--orange-600);
  background: var(--orange-100);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-step--with-shot {
  grid-template-columns: auto 132px 1fr;
  grid-template-areas: "idx shot text";
  align-items: center;
}

.g-step--with-shot .g-step-index {
  grid-area: idx;
}

.g-step-shot {
  grid-area: shot;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -10px rgba(15, 17, 33, 0.35);
  line-height: 0;
}

.g-step-shot img {
  width: 100%;
  display: block;
}

.g-step--with-shot > div:last-child {
  grid-area: text;
}

@media (max-width: 640px) {
  .g-step--with-shot {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "idx text"
      "shot shot";
    row-gap: 14px;
  }

  .g-step-shot {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
}

.g-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.g-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.g-step code {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  white-space: nowrap;
}

/* callouts */
.g-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px;
}

.g-section-head {
  margin-bottom: 20px;
}

.g-section-head .g-eyebrow {
  color: var(--orange-600);
}

.g-section-head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.g-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.g-callout {
  border-radius: var(--radius-md);
  padding: 20px 22px;
  border: 1px solid;
}

.g-callout h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-callout ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.g-callout li {
  margin-bottom: 6px;
}

.g-callout--warn {
  background: var(--warn-bg);
  border-color: var(--warn-line);
  color: var(--warn-text);
}

.g-callout--ok {
  background: var(--ok-bg);
  border-color: var(--ok-line);
  color: var(--ok-text);
}

.g-alt-path {
  background: var(--ink-950);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 32px clamp(22px, 5vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.g-alt-path h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
}

.g-alt-path p {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 48ch;
}

.g-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.g-btn--primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #180a00;
  box-shadow: 0 10px 24px -8px rgba(255, 122, 41, 0.55);
}

.g-btn--primary:hover {
  transform: translateY(-1px);
}

.g-btn:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .g-hero-inner {
    grid-template-columns: 1fr;
  }

  .g-phone {
    width: 180px;
  }

  .g-grid-2 {
    grid-template-columns: 1fr;
  }

  .g-alt-path {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .g-doc-body {
    margin-top: -12px;
  }

  .g-doc-card {
    padding: 32px 20px 40px;
  }

  .g-step {
    grid-template-columns: auto 1fr;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .g-topnav {
    display: none;
  }
}
