/* Shared Stylesheet for KFTIPL Google Play Compliant Policy & Developer Support Pages */
:root {
  --blue: #0080cc;
  --blue-dark: #00639e;
  --blue-soft: #e0f2fe;
  --coral: #fc3e64;
  --coral-soft: #fff1f4;
  --navy: #0b1224;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.7; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.brand-ribbon { height: 5px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 66%, var(--coral) 66%, var(--coral) 100%); }
.p-header { background: #ffffff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.p-nav { max-width: 1120px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.p-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; }
.p-brand img { width: 40px; height: 40px; object-fit: contain; }
.p-brand-title { font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.1; display: block; }
.p-brand-sub { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }
.p-links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13px; font-weight: 600; }
.p-links a { color: var(--ink-2); padding: 6px 10px; border-radius: 8px; }
.p-links a:hover, .p-links a.active { background: var(--blue-soft); color: var(--blue-dark); text-decoration: none; }

.p-hero { background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%); border-bottom: 1px solid var(--line); padding: 44px 24px 36px; }
.p-hero-inner { max-width: 960px; margin: 0 auto; }
.p-kicker { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--coral); background: var(--coral-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.p-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 0 0 10px; line-height: 1.15; }
.p-meta { font-size: 13.5px; color: var(--muted); font-weight: 500; }

.p-main { max-width: 960px; margin: 32px auto 64px; padding: 0 24px; }
.p-card { background: #ffffff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 36px; box-shadow: 0 8px 28px rgba(15,23,42,.04); }
.p-card h2 { font-family: var(--font-display); font-size: 21px; font-weight: 800; margin: 28px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); }
.p-card h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.p-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 18px 0 6px; color: var(--blue-dark); }
.p-card p, .p-card li { font-size: 14.8px; color: var(--ink-2); }
.p-card ul, .p-card ol { padding-left: 22px; margin: 10px 0 14px; }
.p-card li { margin-bottom: 6px; }

.info-box { background: #f0f8ff; border: 1px solid rgba(0,128,204,.24); border-radius: 14px; padding: 18px 20px; margin: 18px 0; font-size: 14px; }
.warn-box { background: #fff1f4; border: 1px solid rgba(252,62,100,.26); border-radius: 14px; padding: 18px 20px; margin: 18px 0; font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13.8px; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f8fafc; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; color: var(--muted); }

.form-box { background: #f8fafc; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin: 20px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid #cbd5e1; font-family: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 11px; border: none; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none !important; }
.btn-blue { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }

.p-footer { background: var(--navy); color: #cbd5e1; padding: 36px 24px; font-size: 13px; }
.p-footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.p-footer a { color: #7dd3fc; }

@media (max-width: 680px) {
  .p-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
}
