/* mynightouts.com - the sales site. "Ink and Blue" palette, shared with invite-site/styles.css.
   Light/dark follows the visitor's device. Fully rounded buttons. */
:root {
  --primary: #2f6fed; --primary-dark: #2459c9;
  --teal: #00bfa5; --teal-10: rgba(0,191,165,.12);
  --ink: #1c1d22; --on-ink: #ffffff; --text: #232323; --muted: #5f6368;
  --screen: #f1f3f6; --card: #ffffff; --line: rgba(0,0,0,.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #7aa5ff; --primary-dark: #8fb3ff;
    --teal-10: rgba(0,191,165,.16);
    --ink: #eef0f4; --on-ink: #15161a; --text: #dddddd; --muted: #a0a4ab;
    --screen: #131519; --card: #1d2026; --line: rgba(255,255,255,.10);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--screen); color: var(--text);
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--primary-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; line-height: 1.55; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 20px; align-items: center; font-size: 15px; }
.top nav a:not(.button) { color: var(--text); text-decoration: none; }
.top nav a:not(.button):hover { color: var(--primary-dark); }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 500 15px/1 inherit; font-family: inherit;
  text-decoration: none; white-space: nowrap; }
.button:hover { opacity: .88; }
.button.quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.button.small { height: 38px; padding: 0 16px; font-size: 14px; }
.button svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px 0 72px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lede { font-size: 19px; color: var(--muted); margin: 20px 0 32px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.prints { position: relative; width: 300px; height: 340px; margin: 0 auto; }
.prints .print { position: absolute; inset: 0; border: 10px solid var(--card); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.prints .p1 { transform: rotate(9deg); background: linear-gradient(160deg, #1b2a52, #7a3e8c 60%, #f08a5d); }
.prints .p2 { transform: rotate(-7deg); background: linear-gradient(200deg, #0d3b4f, #00bfa5 70%, #c9f2e9); }
.prints .p3 { transform: rotate(-1deg); background: radial-gradient(circle at 70% 25%, #ffe9a8 0 9%, transparent 10%),
  linear-gradient(180deg, #10142b, #2b3a78 55%, #e2725b); }
.prints .tag { position: absolute; right: -18px; bottom: 26px; background: var(--ink); color: var(--on-ink);
  border-radius: 14px; padding: 6px 12px; font-size: 13px; }

/* features */
section { padding: 56px 0; }
section > .wrap > h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
section > .wrap > .sub { color: var(--muted); font-size: 17px; margin-bottom: 32px; max-width: 40em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border-radius: 16px; padding: 24px; }
.feature .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-10); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 16px; }
.feature .dot svg { width: 22px; height: 22px; fill: currentColor; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* get it */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform { background: var(--card); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.platform h3 { font-size: 18px; }
.platform p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 12px; }
.platform.windows { box-shadow: inset 0 0 0 2px var(--teal); }

/* text pages (privacy, terms, contact) */
.doc { background: var(--card); border-radius: 16px; padding: 32px; margin: 24px 0 56px; max-width: 820px; }
.doc h1 { font-size: 30px; margin: 0 0 16px; }
.doc h1 ~ h1 { font-size: 22px; margin: 32px 0 8px; }
.doc h2 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { line-height: 1.6; margin: 0 0 10px; }
.doc ul { padding-left: 22px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .prints { width: 240px; height: 270px; }
  .features { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .top nav .hide-sm { display: none; }
  .features, .platforms { grid-template-columns: 1fr; }
  .ctas .button { flex: 1 1 100%; }
  .doc { padding: 20px; }
}
