/* bugs.ayusha.care — public bug-report page.
   Self-contained copy of the ayusha.care design language (tokens + chrome from
   apps/web/ayusha-web.css): this site deploys on its own origin with a strict
   'self' CSP, so it cannot reference the marketing site's CSS or fonts. */

/* Self-hosted fonts (Jost + Inter), normal weight only: the page uses no italics,
   so the italic files stay out of the deploy. Latin covers the German umlauts;
   latin-ext is kept for names visitors may type into the form. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── shared design tokens (verbatim from ayusha-web.css) ─────────────────── */
:root {
  --parchment:       oklch(0.953 0.016 80);
  --parchment-deep:  oklch(0.922 0.022 76);
  --surface:         oklch(0.987 0.010 86);
  --surface-warm:    oklch(0.968 0.016 74);

  --espresso:        oklch(0.305 0.034 48);
  --espresso-soft:   oklch(0.405 0.038 50);
  --ink:             oklch(0.305 0.030 52);
  --ink-soft:        oklch(0.475 0.026 55);
  --ink-faint:       oklch(0.620 0.020 60);

  --orange:          oklch(0.735 0.108 56);
  --orange-soft:     oklch(0.860 0.058 62);
  --orange-wash:     oklch(0.930 0.030 66);

  --line:            oklch(0.872 0.018 74);
  --line-soft:       oklch(0.912 0.014 76);

  --cream:           oklch(0.9 0.03 74);

  --shadow-card: 0 1px 2px rgba(60,40,25,0.04), 0 6px 18px rgba(60,40,25,0.06);
  --shadow-soft: 0 1px 2px rgba(60,40,25,0.03), 0 2px 8px rgba(60,40,25,0.045);

  --serif: "Jost", Georgia, serif;
  --sans:  "Inter", -apple-system, system-ui, sans-serif;

  --maxw: 760px; /* single-column support page, narrower than the marketing site */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* keyboard users get a clear ring everywhere; mouse clicks stay quiet */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 2px;
}

/* ── buttons (pill, from ayusha-web.css) ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: 0.3px;
  border: none; cursor: pointer; border-radius: 999px; padding: 15px 30px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-orange { background: var(--orange-soft); color: var(--espresso); box-shadow: 0 10px 26px -10px oklch(0.735 0.108 56 / 0.6); }
.btn-orange:hover { background: oklch(0.89 0.06 64); }
.btn-orange[disabled] { opacity: 0.6; cursor: default; transform: none; }
.btn-ghost { background: transparent; color: var(--espresso); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--espresso); }

/* ── topbar (solid cream variant: this page has no dark hero to sit over) ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: oklch(0.96 0.016 80 / 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: 1180px; }
.topbar .lockup { display: flex; align-items: center; gap: 11px; }
.topbar .lockup .navword { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.2px; line-height: 1; color: var(--espresso); position: relative; }
.topbar .lockup .navword .amac { position: relative; }
.topbar .lockup .navword .amac::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 0.17em; width: 0.34em; height: 0.06em; background: currentColor; border-radius: 1px; }
.topbar .nav-links { display: flex; align-items: center; gap: 30px; }
.topbar .nav-links a { font-family: var(--serif); font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.topbar .nav-links a:hover { color: var(--espresso); }
.topbar .nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1.5px solid var(--line-soft); }
.lang-switch button { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.4px; padding: 7px 13px; cursor: pointer; background: transparent; border: none; color: var(--ink-soft); transition: background 0.2s, color 0.2s; }
.lang-switch button.active { background: var(--orange); color: #fff; }
@media (max-width: 640px) { .topbar .nav-links { display: none; } }

/* ── page head (cream, with the brand flower-field watermark up top) ─────── */
.page-hero { position: relative; padding: 138px 0 10px; }
.page-hero .hero-fol {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: var(--orange); opacity: 0.1;
  -webkit-mask: url(img/flower-field.svg) center top/cover no-repeat, linear-gradient(#000, rgba(0,0,0,0.5) 46%, transparent 78%);
  -webkit-mask-composite: source-in;
  mask: url(img/flower-field.svg) center top/cover no-repeat, linear-gradient(#000, rgba(0,0,0,0.5) 46%, transparent 78%);
  mask-composite: intersect;
}
.page-hero .wrap { position: relative; z-index: 1; text-align: center; }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: var(--orange); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(32px, 6vw, 46px); font-weight: 600; line-height: 1.06; letter-spacing: -0.5px; color: var(--espresso); margin: 14px 0 0; }
.page-hero .lead { font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 52ch; margin: 16px auto 0; }

/* ── report card ─────────────────────────────────────────────────────────── */
.report-sec { padding: 36px 0 90px; }
.card {
  background: var(--surface); border-radius: 24px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.report-card { padding: 36px 34px 34px; }

.mfield { display: flex; flex-direction: column; gap: 7px; margin-top: 20px; }
.mfield:first-child { margin-top: 0; }
.mfield > label, .plat-field legend { font-family: var(--serif); font-size: 14.5px; font-weight: 600; color: var(--espresso); letter-spacing: 0.2px; }
.mfield input[type=text], .mfield input[type=email], .mfield textarea {
  padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--surface-warm); font-family: var(--sans); font-size: 15px;
  color: var(--espresso); width: 100%;
}
.mfield textarea { resize: vertical; min-height: 148px; line-height: 1.55; }
.mfield input:focus, .mfield textarea:focus { border-color: var(--orange); outline: none; }
.mfield input::placeholder, .mfield textarea::placeholder { color: var(--ink-faint); }
.field-hint { font-size: 12.5px; line-height: 1.5; color: var(--ink-faint); min-height: 1.2em; }
.field-hint.ok { color: oklch(0.52 0.1 150); }

/* platform pills: real radios so keyboard + screen readers get them for free */
.plat-field { border: none; padding: 0; margin: 20px 0 0; }
.plat-field legend { padding: 0; margin-bottom: 8px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-opt { position: relative; cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pill-opt .pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 92px; padding: 11px 22px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface-warm);
  font: 600 14px var(--sans); color: var(--ink-soft);
  transition: all 0.18s ease;
}
.pill-opt:hover .pill { border-color: var(--espresso); color: var(--espresso); }
.pill-opt input:checked + .pill { background: var(--espresso); border-color: var(--espresso); color: oklch(0.96 0.02 78); }
.pill-opt input:focus-visible + .pill { outline: 3px solid var(--orange); outline-offset: 2px; }

/* screenshots: dropzone wraps the real file input (kept focusable for keyboards) */
.dz {
  position: relative; margin-top: 4px;
  border: 1.5px dashed var(--line); border-radius: 16px;
  background: var(--surface-warm); padding: 26px 18px;
  text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.dz:hover, .dz.drag { border-color: var(--orange); background: var(--orange-wash); }
.dz:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.dz input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz .dz-ic { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--orange); }
.dz .dz-ic svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dz .dz-txt { font: 600 14px var(--sans); color: var(--espresso); }
.dz .dz-sub { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; }

.shot-list { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; padding: 0; margin: 12px 0 0; }
.shot-list li { position: relative; width: 96px; }
.shot-list img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft); }
.shot-rm {
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px;
  border-radius: 99px; border: none; cursor: pointer;
  background: var(--espresso); color: #fff; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.shot-rm:hover { background: var(--espresso-soft); }
.shot-msg { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); min-height: 1.2em; margin-top: 8px; }
.shot-msg.err { color: oklch(0.52 0.14 30); }

/* honeypot: parked far off-screen, never display:none, so bots still fill it
   (same idiom as the waitlist form's 'company' field) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.privacy-note { font-size: 12.5px; line-height: 1.55; color: var(--ink-soft); margin: 22px 0 0; }
.privacy-note a { color: var(--espresso); text-decoration: underline; text-underline-offset: 2px; }

.status-msg { font-size: 14px; line-height: 1.5; min-height: 1.2em; margin-top: 14px; }
.status-msg.err { color: oklch(0.52 0.14 30); font-weight: 600; }

.report-card .btn[type=submit] { width: 100%; margin-top: 16px; padding: 16px; font-size: 16px; }

/* success card replaces the form */
.ok-wrap { text-align: center; padding: 18px 0 8px; }
.ok-wrap .seed {
  width: 110px; height: 110px; margin: 0 auto 18px;
  background: var(--orange-soft);
  -webkit-mask: url(img/seed-of-life-logo.webp) center/contain no-repeat;
  mask: url(img/seed-of-life-logo.webp) center/contain no-repeat;
  filter: drop-shadow(0 0 16px oklch(0.86 0.058 62 / 0.4));
}
.ok-wrap h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--espresso); margin: 0; }
.ok-wrap p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; margin: 12px auto 0; }
.ok-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ── footer (slim version of the marketing footer) ───────────────────────── */
.foot { background: linear-gradient(180deg, var(--espresso) 0%, oklch(0.165 0.024 45) 100%); color: var(--cream); }
.foot .wrap { max-width: 1180px; padding-top: 48px; padding-bottom: 34px; }
.foot a { color: oklch(0.78 0.03 72); transition: color 0.2s; }
.foot a:hover { color: #fff; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid oklch(1 0 0 / 0.1); flex-wrap: wrap; }
.foot-brand .glyph {
  display: block; width: 42px; height: 42px; background: var(--orange-soft);
  -webkit-mask: url(img/seed-of-life-logo.webp) center/contain no-repeat;
  mask: url(img/seed-of-life-logo.webp) center/contain no-repeat;
}
.foot-brand p { color: oklch(0.74 0.03 72); font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; max-width: 38ch; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; padding-top: 6px; }
.foot-bottom { padding-top: 22px; font-size: 12.5px; color: oklch(0.7 0.03 72); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .page-hero { padding-top: 116px; }
  .report-card { padding: 26px 20px 24px; }
  .mfield input[type=text], .mfield input[type=email], .mfield textarea { font-size: 16px; } /* iOS: <16px inputs zoom the page on focus */
  .pill-opt { flex: 1; }
  .pill-opt .pill { width: 100%; min-width: 0; }
  .ok-actions .btn { width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .pill-opt .pill, .dz { transition: none; }
}
