/* ArtDrop website — the app's kawaii theme: strawberry milk, sticker cards. */
:root {
  --bg: #fff3f8; --dot: #ffd9e8; --panel: #ffffff; --panel-2: #fff0f6;
  --line: #f7c9dd; --text: #4b2c47; --muted: #9a7393; --accent: #e9488f;
  --accent-soft: #ffd3e6; --accent-2: #7b57d6; --sticker: #ffc2db; --mint: #d9f7ea;
  --display: "Mochiy Pop One", "M PLUS Rounded 1c", system-ui, sans-serif;
  --body: "M PLUS Rounded 1c", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--text); font: 500 17px/1.7 var(--body);
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 2.2px, transparent 2.6px);
  background-size: 26px 26px;
}
a { color: var(--accent-2); }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top {
  position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92);
  border-bottom: 2px solid var(--line); backdrop-filter: blur(6px);
}
header.top .wrap { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { font: 400 24px/1 var(--display); color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; }
.brand-mark { width: 44px; height: 44px; margin: -8px 6px -8px -6px; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
nav a {
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 5px 14px; border-radius: 999px;
}
nav a:hover, nav a.here { color: var(--text); background: var(--accent-soft); }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(32px, 6vw, 52px); margin: 0 0 16px; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(22px, 3.4vw, 30px); color: var(--accent); margin: 48px 0 14px; }
h3 { font-size: 19px; margin: 24px 0 8px; }
.hero { padding: 56px 0 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.card {
  background: var(--panel); border: 2px solid var(--line); border-radius: 22px;
  box-shadow: 5px 5px 0 var(--sticker); padding: 20px 24px;
}
.shot { width: 100%; border-radius: 18px; border: 3px solid var(--panel); box-shadow: 0 0 0 2px var(--line), 6px 6px 0 2px var(--sticker); display: block; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.sites { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.sites li { background: var(--panel); border: 2px solid var(--line); border-radius: 999px; padding: 4px 14px; font-weight: 700; }
.sites li.beta::after { content: " (experimental)"; font-weight: 500; color: var(--muted); font-size: 13px; }
.btn {
  display: inline-block; font: inherit; font-weight: 800; text-decoration: none;
  padding: 11px 26px; border-radius: 999px; border: 2px solid var(--line);
  background: var(--panel); color: var(--text); margin: 4px 8px 4px 0;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 3px 0 #c22f72; }
.btn.disabled { opacity: 0.5; pointer-events: none; }
.note { background: var(--mint); border: 2px solid #9fdcc4; border-radius: 16px; padding: 12px 16px; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 52px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px;
  border-radius: 50%; background: var(--accent); color: #fff; font: 400 18px/36px var(--display); text-align: center;
}
code, pre { background: var(--panel-2); border-radius: 8px; padding: 1px 6px; font-size: 0.92em; }
pre { padding: 12px 14px; overflow-x: auto; }
/* Long URLs and site names must never drag a page wider on a phone (they did at 360px). */
p, li, strong, em, a, dd, dt, th, td, code { overflow-wrap: anywhere; }
table { border-collapse: collapse; width: 100%; background: var(--panel); }
/* Wide guide tables scroll inside their card instead of stretching the page. */
.guide table { display: block; overflow-x: auto; }
th, td { border-bottom: 1px solid var(--panel-2); padding: 8px 10px; text-align: left; }
.guide img { max-width: 100%; }
footer { margin-top: 64px; padding: 28px 0 40px; border-top: 2px dotted var(--line); color: var(--muted); font-size: 15px; }
footer a { color: var(--muted); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  nav { margin-left: 0; }
}
