/* TxShot Privacy Policy
   Flat visual system: no gradients, glow, remote fonts, or JavaScript required. */

:root {
  --background: #f7f9fc;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #d8e1ec;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --yellow: #f5b723;
  --yellow-soft: #fff8e0;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--blue-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  color: #ffffff;
  background: var(--blue);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 252, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: cover;
  border-radius: 13px;
}

.brand span {
  display: grid;
  line-height: 1.25;
}

.brand strong {
  font-size: 19px;
}

.brand small {
  color: var(--text-light);
  font-size: 13px;
}

.button {
  min-height: 40px;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}

.button-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.button-secondary:hover {
  color: var(--blue);
  border-color: #93c5fd;
}

.hero {
  padding: 78px 0 68px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 62px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: 20px;
}

.summary-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-row span {
  padding: 7px 11px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.privacy-card {
  padding: 25px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-top: 5px solid var(--yellow);
  border-radius: var(--radius-lg);
}

.privacy-card h2 {
  margin: 0 0 15px;
  font-size: 20px;
}

.privacy-card dl {
  margin: 0;
}

.privacy-card dl div {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.privacy-card dl div:first-child {
  border-top: 0;
}

.privacy-card dt {
  color: var(--text-muted);
}

.privacy-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.page-layout {
  padding: 58px 0 82px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.contents {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 4px;
}

.contents strong {
  margin-bottom: 9px;
  font-size: 14px;
}

.contents a {
  padding: 7px 10px;
  color: var(--text-muted);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

.contents a:hover {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.policy {
  min-width: 0;
}

.policy-meta {
  margin-bottom: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--text-light);
  font-size: 13px;
}

.policy section {
  scroll-margin-top: 108px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.policy section + section {
  margin-top: 18px;
}

.policy h2 {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.policy h3 {
  margin: 24px 0 7px;
  font-size: 18px;
  line-height: 1.35;
}

.policy p {
  margin: 0;
  color: var(--text-muted);
}

.policy p + p,
.policy ul + p,
.policy p + ul {
  margin-top: 15px;
}

.policy ul {
  margin-bottom: 0;
  padding-left: 23px;
  color: var(--text-muted);
}

.policy li + li {
  margin-top: 8px;
}

.notice {
  margin-top: 22px;
  padding: 16px 18px;
  color: #713f12;
  background: var(--yellow-soft);
  border: 1px solid #fcd34d;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-sm);
}

.check-list {
  list-style: none;
  padding-left: 0 !important;
}

.check-list li {
  position: relative;
  padding-left: 27px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900;
}

.permission-grid {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.permission {
  padding: 18px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.permission code,
.policy code {
  color: var(--blue-dark);
  background: var(--blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.permission code {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 7px;
  font-weight: 800;
}

.policy code {
  padding: 2px 5px;
}

.contact-link {
  display: inline-flex;
  margin-top: 10px;
  padding: 9px 13px;
  color: #ffffff;
  background: var(--blue);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 800;
}

.contact-link:hover {
  color: #ffffff;
  background: var(--blue-dark);
}

.small-note {
  margin-top: 18px !important;
  color: var(--text-light) !important;
  font-size: 13px;
}

.site-footer {
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner div {
  display: grid;
}

.footer-inner span,
.footer-inner p {
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .contents {
    position: static;
    padding: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
  }

  .contents strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 26px, 1120px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 72px;
  }

  .button-secondary {
    display: none;
  }

  .hero {
    padding: 52px 0 44px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .summary-row span {
    border-radius: 8px;
  }

  .page-layout {
    padding: 36px 0 58px;
    gap: 26px;
  }

  .contents {
    grid-template-columns: 1fr;
  }

  .policy section {
    padding: 23px 20px;
    box-shadow: none;
  }

  .permission-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 26px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .contents,
  .site-footer,
  .summary-row,
  .button {
    display: none !important;
  }

  body,
  .hero,
  .policy section {
    background: #ffffff;
  }

  .hero {
    padding: 20px 0;
  }

  .hero-grid,
  .page-layout {
    display: block;
  }

  .privacy-card {
    margin-top: 20px;
  }

  .policy section {
    page-break-inside: avoid;
    box-shadow: none;
  }
}
