/* Tinyshot website. Light by default, dark when the system is. */
:root {
  --bg: #fff;
  --surface: #f6f7f8;
  --card: #fff;
  --text: #202124;
  --body: #3c4043;
  --muted: #5f6368;
  --edge: #e3e5e8;
  --ink: #201e1d; /* the logo's dark half */
  --accent: #ec3013; /* the logo's orange */
  --accent-hover: #d42a10;
  --ok: #188038;
  --kbd-bg: #eceef1;
  --shadow: 0 1px 2px rgba(60, 64, 67, .12), 0 8px 28px rgba(60, 64, 67, .12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161718;
    --surface: #1d1f20;
    --card: #232527;
    --text: #eef0f2;
    --body: #c4c7ca;
    --muted: #9aa0a6;
    --edge: #33363a;
    --ink: #eef0f2;
    --kbd-bg: #33363a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 28px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3 { color: var(--text); line-height: 1.2; margin: 0; }
a { color: var(--accent); }
img, svg { display: block; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* ------------------------------------------------------------ header -- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
         font-weight: 700; font-size: 19px; }
.brand svg { width: 26px; height: 26px; }
.logo-ink { fill: var(--ink); }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }

/* ------------------------------------------------------------ buttons -- */
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px;
       background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; }
.cta:hover { background: var(--accent-hover); }
.cta:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cta svg { width: 20px; height: 20px; }
.small { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------- hero -- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 48px 0 80px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; margin: 0 0 28px; max-width: 32em; }
.hero .small { margin-top: 12px; }

/* A drawn browser window: the picker bar, a chat panel highlighted green,
   and the tall image it becomes. */
.demo { position: relative; display: flex; gap: 22px; align-items: flex-start; }
.window { flex: 1; min-width: 0; border-radius: 12px; background: var(--card); box-shadow: var(--shadow);
          border: 1px solid var(--edge); overflow: hidden; }
.chrome { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--edge); background: var(--surface); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--edge); }
.page { position: relative; padding: 46px 14px 14px; }
.pickbar { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center;
           gap: 7px; padding: 5px 7px 5px 9px; border-radius: 6px; background: var(--card); box-shadow: var(--shadow);
           font-size: 10px; color: var(--text); white-space: nowrap; }
.pickbar svg { width: 11px; height: 11px; }
.pickbar .sep { width: 1px; height: 12px; background: var(--edge); }
.pickbar b { padding: 2px 6px; border-radius: 3px; background: var(--accent); color: #fff; font-weight: 600; }
.panel { position: relative; height: 230px; overflow: hidden; border-radius: 4px;
         outline: 2px solid var(--ok); background: rgba(52, 168, 83, .14); padding: 10px; }
.badge { margin-top: 6px; display: inline-flex; gap: 6px; align-items: center;
         padding: 2px 7px; border-radius: 3px; background: var(--card); box-shadow: var(--shadow); font-size: 10px;
         color: var(--muted); }
.badge b { color: var(--accent); }
.badge span { padding: 0 6px; border-radius: 8px; background: var(--ok); color: #fff; font-weight: 700; }
.msg { height: 16px; border-radius: 8px; margin-bottom: 9px; background: var(--edge); }
.msg.me { margin-left: auto; background: rgba(236, 48, 19, .22); }
.w1 { width: 62%; } .w2 { width: 44%; } .w3 { width: 74%; } .w4 { width: 52%; } .w5 { width: 35%; }
.fade { position: absolute; inset: auto 0 0; height: 50px; background: linear-gradient(transparent, var(--card)); }
.page .below { height: 30px; }

.result { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 20px; }
.arrow { color: var(--muted); font-size: 22px; line-height: 1; }
.strip { width: 72px; padding: 7px; border-radius: 6px; background: var(--card); box-shadow: var(--shadow);
         border: 1px solid var(--edge); }
.strip .msg { height: 6px; margin-bottom: 4px; border-radius: 3px; }
.strip .msg:last-child { margin-bottom: 0; }
.result .small { font-size: 12px; text-align: center; line-height: 1.3; }

/* ----------------------------------------------------------- sections -- */
section { padding: 72px 0; }
section.alt { background: var(--surface); }
section h2 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.015em; margin-bottom: 12px; }
section .intro { margin: 0 0 40px; max-width: 40em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { list-style: none; padding: 24px; border-radius: 12px; background: var(--card); border: 1px solid var(--edge); }
.steps ol, ol.steps { padding: 0; margin: 0; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px;
                    height: 32px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: #fff;
                    font-weight: 700; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 15.5px; }
kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--edge); border-bottom-width: 2px; border-radius: 5px;
      background: var(--kbd-bg); color: var(--text); font: 600 13px/1.6 ui-monospace, monospace; }
.scrolls { padding: 0 7px; border-radius: 9px; background: var(--ok); color: #fff; font-weight: 700; font-size: 14px;
           white-space: nowrap; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.features h3 { font-size: 18px; margin-bottom: 4px; }
.features p { margin: 0; font-size: 15.5px; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; }
.plan { padding: 28px; border-radius: 14px; background: var(--card); border: 1px solid var(--edge); }
.plan.pro { border: 2px solid var(--accent); }
.plan h3 { font-size: 20px; }
.price { margin: 8px 0 16px; color: var(--text); font-size: 34px; font-weight: 750; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; font-size: 15.5px; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan li.no::before { content: "–"; color: var(--muted); }
.plans + .small { margin-top: 18px; }

.closing { text-align: center; }
.closing p { margin: 0 auto 28px; max-width: 34em; }

/* ------------------------------------------------------------- footer -- */
footer { padding: 32px 0 48px; border-top: 1px solid var(--edge); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--muted); }
/* Contact: a mailto link that shows the address above it on hover or focus. */
.contact { position: relative; }
.contact .tip { position: absolute; bottom: calc(100% + 10px); right: 0; padding: 7px 11px; border-radius: 8px;
                background: var(--text); color: var(--bg); font-weight: 600; white-space: nowrap; box-shadow: var(--shadow);
                opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.contact .tip::after { content: ""; position: absolute; top: 100%; right: 16px; border: 6px solid transparent;
                       border-top-color: var(--text); }
.contact:hover .tip, .contact:focus-visible .tip { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .contact .tip { transition: none; } }

/* -------------------------------------------------- the privacy page -- */
.doc { max-width: 720px; padding: 32px 0 72px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 6px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); }

/* -------------------------------------------------------- small screens -- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 56px; }
  .steps, .features { grid-template-columns: 1fr; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .top nav a:not(.keep) { display: none; }
  .pickbar .hint { display: none; }
  .result { width: 76px; }
  .strip { width: 60px; }
}
