/* Shackles.io — hand-written, self-contained stylesheet.
   No external resources anywhere on this site (no CDNs, no web fonts,
   no analytics, no cookies) — keep it that way: the privacy policy
   states it as fact. Palette: shackle-metal (gunmetal) + shackle-sky. */

:root {
  --metal-950: #1c2126;
  --metal-900: #2a3138;
  --metal-800: #3d434b;
  --metal-700: #444d57;
  --metal-300: #a4b0b9;
  --metal-200: #c9d1d6;
  --metal-100: #e3e7ea;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--metal-950);
  color: var(--metal-200);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.container {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--metal-800);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--metal-100);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand svg {
  flex: none;
}

.site-nav a {
  color: var(--metal-300);
  text-decoration: none;
  margin-left: 1.1rem;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--sky-300);
  text-decoration: underline;
}

/* Content */

main {
  padding: 2.5rem 0 3rem;
}

h1 {
  color: var(--metal-100);
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  color: var(--metal-100);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem;
}

h3 {
  color: var(--metal-100);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--sky-400);
}

a:hover,
a:focus {
  color: var(--sky-300);
}

strong {
  color: var(--metal-100);
}

hr {
  border: 0;
  border-top: 1px solid var(--metal-800);
  margin: 2rem 0;
}

.lede {
  font-size: 1.2rem;
  color: var(--metal-200);
  max-width: 38rem;
}

.muted {
  color: var(--metal-300);
  font-size: 0.95rem;
}

.note {
  background: var(--metal-900);
  border: 1px solid var(--metal-800);
  border-left: 3px solid var(--sky-500);
  border-radius: 0.375rem;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
}

.meta {
  color: var(--metal-300);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

address {
  font-style: normal;
}

/* Code / copyable blocks (added for /import/; no other page uses
   <pre> or <code>, so these rules are inert elsewhere). `pre-wrap`
   keeps long lines readable on a phone without a horizontally
   scrolling page, and soft wraps are not copied as line breaks. */

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--metal-100);
}

pre {
  background: var(--metal-900);
  border: 1px solid var(--metal-800);
  border-radius: 0.375rem;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  tab-size: 2;
}

pre code {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--metal-200);
}

/* Landing page */

.hero {
  padding: 1.5rem 0 0.5rem;
}

.hero h1 {
  font-size: 2.4rem;
}

.hero .app-name {
  color: var(--sky-400);
}

.availability {
  display: inline-block;
  border: 1px solid var(--metal-700);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  color: var(--metal-300);
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1.25rem 0;
  list-style: none;
}

.feature-grid li {
  background: var(--metal-900);
  border: 1px solid var(--metal-800);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
  margin: 0;
}

.feature-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-grid p {
  margin: 0;
  color: var(--metal-300);
  font-size: 0.95rem;
}

/* Pricing */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.price-card {
  background: var(--metal-900);
  border: 1px solid var(--metal-800);
  border-radius: 0.5rem;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--sky-500);
}

.price-card .tier {
  color: var(--metal-300);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.3rem;
}

.price-card .price {
  color: var(--metal-100);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}

.price-card .price small {
  color: var(--metal-300);
  font-size: 0.95rem;
  font-weight: 400;
}

.price-card p {
  color: var(--metal-300);
  font-size: 0.95rem;
  margin: 0.35rem 0 0;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--sky-500);
  color: var(--metal-950);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  margin-bottom: 0.5rem;
}

/* FAQ / definition lists */

dt {
  color: var(--metal-100);
  font-weight: 700;
  margin-top: 1.25rem;
}

dd {
  margin: 0.35rem 0 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--metal-800);
  padding: 1.75rem 0 2.25rem;
  color: var(--metal-300);
  font-size: 0.9rem;
}

.site-footer nav {
  margin-bottom: 0.75rem;
}

.site-footer nav a {
  color: var(--metal-200);
  text-decoration: none;
  margin-right: 1.1rem;
}

.site-footer nav a:hover,
.site-footer nav a:focus {
  color: var(--sky-300);
  text-decoration: underline;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: var(--metal-300);
}

@media (max-width: 30rem) {
  .hero h1 {
    font-size: 1.9rem;
  }

  h1 {
    font-size: 1.7rem;
  }
}
