/* PhotoMinder theme: colors taken from the hummingbird logo (blue wings, cyan beak, teal landscape, violet sparkle). */
:root {
  --blue: #0a84ff;
  --blue-deep: #0a4c9a;
  --navy: #0b1f3f;
  --cyan: #22d3ee;
  --teal: #00b3a6;
  --violet: #6a2cff;
  --violet-soft: #8b5cff;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;
  --bg-tint: #eaf3ff;
  --card: #ffffff;
  --ink: #0b1b33;
  --ink-2: #44546f;
  --ink-3: #7384a1;
  --line: #dbe6f5;
  --ok: #0fa968;
  --warn: #d98a00;
  --bad: #d6364b;
  --grad: linear-gradient(120deg, var(--cyan), var(--blue) 45%, var(--violet));
  --grad-soft: linear-gradient(135deg, #e6f7ff, #eef0ff);
  --shadow: 0 10px 30px rgba(10, 76, 154, .12);
  --shadow-sm: 0 2px 10px rgba(10, 76, 154, .10);
  --radius: 16px;
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07111f; --bg-soft: #0b1a2e; --bg-tint: #10223a; --card: #0e1d33;
    --ink: #eaf2ff; --ink-2: #b2c3de; --ink-3: #7f93b3; --line: #1d3354;
    --grad-soft: linear-gradient(135deg, #0d2740, #1a1650);
    --shadow: 0 10px 30px rgba(0, 0, 0, .45); --shadow-sm: 0 2px 10px rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  --bg: #07111f; --bg-soft: #0b1a2e; --bg-tint: #10223a; --card: #0e1d33;
  --ink: #eaf2ff; --ink-2: #b2c3de; --ink-3: #7f93b3; --line: #1d3354;
  --grad-soft: linear-gradient(135deg, #0d2740, #1a1650);
  --shadow: 0 10px 30px rgba(0, 0, 0, .45); --shadow-sm: 0 2px 10px rgba(0, 0, 0, .4);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .78rem; color: var(--violet); }
.center { text-align: center; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 34px; object-fit: contain; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: 14px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a:hover { background: var(--bg-tint); text-decoration: none; color: var(--ink); }
.nav a.on { color: var(--blue); background: var(--bg-tint); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.bell { position: relative; background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 10px; color: var(--ink-2); font-size: 1.2rem; line-height: 1; }
.bell:hover { background: var(--bg-tint); }
.bell .dot { position: absolute; top: 2px; right: 2px; background: var(--bad); color: #fff; font-size: .62rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; border: 0; cursor: pointer; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: 46px; min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; }
.menu.open .menu-pop { display: block; }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--ink); padding: 9px 12px; border-radius: 9px; font: inherit; font-size: .93rem; cursor: pointer; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg-tint); text-decoration: none; }
.menu-pop .who { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: .85rem; color: var(--ink-3); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font: inherit; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(10, 132, 255, .32); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(106, 44, 255, .35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-tint); }
.btn-danger { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.btn-sm { padding: 7px 13px; font-size: .88rem; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* sections and cards */
section { padding: 72px 0; }
.band { background: var(--bg-soft); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.steps { grid-template-columns: repeat(5, 1fr); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--bg-tint); color: var(--blue-deep); }
:root[data-theme="dark"] .pill, :root:not([data-theme="light"]) .pill { color: #9cc9ff; }
.pill.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.pill.bad { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.pill.violet { background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); font-size: .76rem; margin: 0 4px 4px 0; }

/* hero */
.hero { padding: 56px 0 40px; background: radial-gradient(900px 420px at 85% -10%, rgba(34, 211, 238, .22), transparent 60%), radial-gradient(700px 400px at 0% 10%, rgba(106, 44, 255, .12), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }

.stage { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; position: relative; overflow: hidden; }
.stage-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stage-top .dots span { width: 10px; height: 10px; display: inline-block; border-radius: 50%; background: var(--line); margin-right: 5px; }
.stage-top .url { flex: 1; background: var(--bg-soft); border-radius: 9px; padding: 5px 12px; font-size: .8rem; color: var(--ink-3); border: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px; background: var(--bg); font-size: .95rem; margin-bottom: 12px; min-height: 42px; }
.search .caret { width: 2px; height: 1.1em; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mc { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-tint); transition: transform .6s, opacity .5s, filter .6s; }
.mc img { width: 100%; height: 100%; object-fit: cover; transition: filter .8s, transform .8s; filter: grayscale(1) contrast(.7) brightness(1.1) blur(1.5px); transform: scale(1.06); }
.mc .fname { position: absolute; left: 6px; top: 6px; right: 6px; font: 600 .66rem/1.2 ui-monospace, Menlo, monospace; background: rgba(255, 255, 255, .92); color: #3a4b66; padding: 3px 6px; border-radius: 6px; transition: opacity .4s, transform .5s; }
.mc .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 7px; background: linear-gradient(transparent, rgba(5, 15, 35, .85)); color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; font-size: .72rem; line-height: 1.25; }
.mc .meta b { display: block; font-size: .76rem; }
.mc .score { position: absolute; right: 6px; top: 6px; background: var(--grad); color: #fff; font-weight: 800; font-size: .72rem; padding: 2px 7px; border-radius: 999px; opacity: 0; transform: scale(.6); transition: opacity .4s .2s, transform .4s .2s; }
.mosaic.sorted .mc img { filter: none; transform: scale(1); }
.mosaic.sorted .mc .fname { opacity: 0; transform: translateY(-6px); }
.mosaic.sorted .mc .meta, .mosaic.sorted .mc .score { opacity: 1; transform: none; }
.mosaic.searching .mc.miss { opacity: .18; filter: grayscale(1); transform: scale(.95); }
.mosaic.searching .mc.hit { outline: 3px solid var(--blue); transform: scale(1.03); z-index: 1; }
.scanline { position: absolute; left: 14px; right: 14px; height: 3px; background: var(--grad); border-radius: 3px; box-shadow: 0 0 18px var(--cyan); top: 110px; opacity: 0; }
.scanline.go { animation: scan 1.6s ease-in-out; }
@keyframes scan { 0% { opacity: 1; top: 110px; } 100% { opacity: 1; top: calc(100% - 30px); } }
.caption { text-align: center; font-size: .82rem; color: var(--ink-3); margin-top: 10px; min-height: 1.3em; }

/* value, steps */
.value .card h3 { margin-top: 10px; }
.ico { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; font-size: 1.4rem; }
.how { display: grid; gap: 54px; }
.how-step { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.how-step:nth-child(even) .how-text { order: 2; }
.num { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 12px; }
.how-text ul { padding-left: 1.1em; color: var(--ink-2); }
.how-text li { margin: .3em 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; min-height: 280px; position: relative; overflow: hidden; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* how-it-works panels */
.conn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.conn { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 8px; text-align: center; font-weight: 700; font-size: .85rem; position: relative; transition: border-color .3s, background .3s, transform .3s; }
.conn .ci { font-size: 1.6rem; display: block; margin-bottom: 4px; }
.conn small { display: block; color: var(--ink-3); font-weight: 500; font-size: .7rem; }
.in .conn.pick { animation: pick 3s .6s forwards; }
@keyframes pick { 60%, 100% { border-color: var(--blue); background: var(--bg-tint); transform: translateY(-3px); } }
.conn .ok { position: absolute; top: 6px; right: 6px; background: var(--ok); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: .65rem; display: grid; place-items: center; opacity: 0; }
.in .conn.pick .ok { animation: showok 3s .6s forwards; }
@keyframes showok { 55% { opacity: 0; } 70%, 100% { opacity: 1; } }
.row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; }
.toggle { width: 38px; height: 22px; border-radius: 12px; background: var(--line); position: relative; flex: none; transition: background .3s; }
.toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .3s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.toggle.on { background: var(--teal); }
.toggle.on::after { left: 18px; }
.in .toggle.t1 { animation: tog 6s infinite; }
.in .toggle.t2 { animation: tog 6s 1.2s infinite; }
@keyframes tog { 0%, 18% { background: var(--line); } 22%, 80% { background: var(--teal); } 85%, 100% { background: var(--line); } }
.in .toggle.t1::after, .in .toggle.t2::after { animation: togk 6s infinite; }
.in .toggle.t2::after { animation-delay: 1.2s; }
@keyframes togk { 0%, 18% { left: 2px; } 22%, 80% { left: 18px; } 85%, 100% { left: 2px; } }
.counter { font-size: 2.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.chip.on { border-color: var(--blue); color: var(--blue); background: var(--bg-tint); }
.typed { border-right: 2px solid var(--blue); white-space: nowrap; overflow: hidden; display: inline-block; max-width: 0; vertical-align: bottom; }
.in .typed { animation: type 3.2s steps(34) .4s forwards, blink2 .8s steps(1) infinite; }
@keyframes type { to { max-width: 34ch; } }
@keyframes blink2 { 50% { border-color: transparent; } }
.ring { --p: 0; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--bg-tint) 0); display: grid; place-items: center; flex: none; }
.ring i { width: 58px; height: 58px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 1.2rem; }
.in .ring { animation: ringp 2.4s .8s forwards; }
@property --p { syntax: "<number>"; initial-value: 0; inherits: false; }
@keyframes ringp { to { --p: 92; } }
.fan { position: relative; height: 150px; }
.fan img { position: absolute; width: 130px; height: 92px; object-fit: cover; border-radius: 10px; border: 3px solid var(--card); box-shadow: var(--shadow-sm); left: 50%; top: 24px; margin-left: -65px; transition: transform 1s; }
.in .fan img:nth-child(1) { transform: translateX(-130px) rotate(-8deg); }
.in .fan img:nth-child(2) { transform: translateX(-65px) rotate(-3deg); }
.in .fan img:nth-child(3) { transform: translateX(0) rotate(2deg); }
.in .fan img:nth-child(4) { transform: translateX(65px) rotate(6deg); }
.in .fan img:nth-child(5) { transform: translateX(130px) rotate(10deg); }
.path { font: .78rem/1.4 ui-monospace, Menlo, monospace; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; margin: 6px 0; word-break: break-all; color: var(--ink-2); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.seg span { padding: 7px 12px; font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.seg span.on { background: var(--bg-tint); color: var(--blue); }
.stars { color: #f5a623; letter-spacing: 2px; }
.bubble { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 6px 0; font-size: .86rem; opacity: 0; transform: translateY(8px); }
.in .bubble { animation: pop .6s forwards; }
.in .bubble:nth-of-type(2) { animation-delay: .8s; } .in .bubble:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* pricing */
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan.feature { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.price small { font-size: .95rem; font-weight: 600; color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 10px 0 18px; color: var(--ink-2); }
.plan li { padding: 4px 0 4px 26px; position: relative; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.plan .btn { margin-top: auto; }
.switch { display: inline-flex; background: var(--bg-tint); border-radius: 12px; padding: 4px; }
.switch button { border: 0; background: none; padding: 8px 18px; border-radius: 9px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.switch button.on { background: var(--card); color: var(--blue); box-shadow: var(--shadow-sm); }
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq p { margin: 8px 0 0; color: var(--ink-2); }

/* forms */
.form-card { max-width: 480px; margin: 40px auto; }
label { display: block; font-weight: 700; font-size: .88rem; margin: 14px 0 5px; }
input[type=text], input[type=email], input[type=password], input[type=search], select, textarea { width: 100%; padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.hint { font-size: .8rem; color: var(--ink-3); margin-top: 4px; }
.sub-preview { font-weight: 700; color: var(--violet); }
.err { color: var(--bad); font-size: .82rem; margin-top: 4px; min-height: 1.1em; }

/* app */
.app-main { padding: 28px 0 80px; min-height: 70vh; }
.app-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.app-title h1 { font-size: 1.9rem; margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.ph { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.ph:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph .cap { padding: 9px 11px 11px; font-size: .84rem; }
.ph .cap b { display: block; font-size: .88rem; line-height: 1.25; margin-bottom: 3px; }
.badge-score { position: absolute; top: 8px; right: 8px; background: var(--grad); color: #fff; padding: 2px 8px; border-radius: 999px; font-weight: 800; font-size: .76rem; }
.badge-grp { position: absolute; top: 8px; left: 8px; background: rgba(8, 20, 40, .72); color: #fff; padding: 2px 8px; border-radius: 999px; font-weight: 700; font-size: .7rem; }
.locked { position: relative; }
.locked .photo-grid, .locked .toolbar { filter: grayscale(1) blur(2px); opacity: .45; pointer-events: none; user-select: none; }
.lock-msg { position: sticky; top: 90px; z-index: 5; margin: 0 auto 18px; max-width: 640px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.toolbar .search { flex: 1; min-width: 260px; margin: 0; }
.toolbar .search input { border: 0; background: transparent; padding: 0; box-shadow: none; }
.modal { position: fixed; inset: 0; background: rgba(5, 12, 26, .72); z-index: 100; display: none; padding: 24px 12px; overflow: auto; }
.modal.open { display: block; }
.modal-card { max-width: 980px; margin: 0 auto; background: var(--card); border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; }
.modal-card .big { background: #050b16; display: grid; place-items: center; }
.modal-card .big img { max-height: 78vh; width: 100%; object-fit: contain; }
.modal-card .side { padding: 22px; overflow: auto; max-height: 86vh; }
.x { float: right; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink-3); }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 10px; font-size: .86rem; margin: 10px 0; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; word-break: break-word; }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th, table.t td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t th { color: var(--ink-3); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: inherit; font-weight: 700; color: var(--ink-3); cursor: pointer; }
.tabs button.on { color: var(--blue); border-bottom-color: var(--blue); }
.feed { max-width: 640px; margin: 0 auto; display: grid; gap: 22px; }
.fc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.fc-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.fc img.main { width: 100%; max-height: 520px; object-fit: cover; }
.fc-body { padding: 12px 14px 14px; }
.fc-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.heart { background: none; border: 0; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--ink-3); }
.heart.on { color: #ff3b6b; }
.why { font-size: .76rem; color: var(--ink-3); }
.stars-in { display: inline-flex; gap: 2px; }
.stars-in button { background: none; border: 0; cursor: pointer; font-size: 1.25rem; color: var(--line); padding: 0; }
.stars-in button.on { color: #f5a623; }
.comment { font-size: .86rem; margin: 5px 0; }
.comment b { margin-right: 6px; }
.split { display: grid; grid-template-columns: 300px 1fr; gap: 20px; min-height: 480px; }
.convo { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; cursor: pointer; }
.convo:hover, .convo.on { background: var(--bg-tint); }
.msgs { display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 340px; }
.m { max-width: 75%; padding: 8px 12px; border-radius: 14px; background: var(--bg-tint); font-size: .9rem; }
.m.me { align-self: flex-end; background: var(--blue); color: #fff; }
.notice { border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; border: 1px solid var(--line); background: var(--bg-soft); }
.notice.warn { border-color: color-mix(in srgb, var(--warn) 50%, transparent); background: color-mix(in srgb, var(--warn) 10%, var(--bg)); }
.notice.ok { border-color: color-mix(in srgb, var(--ok) 50%, transparent); background: color-mix(in srgb, var(--ok) 9%, var(--bg)); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0 90px; font-size: .9rem; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.site-footer a { color: var(--ink-2); display: block; padding: 2px 0; }
.legal { max-width: 760px; margin: 40px auto; padding: 0 16px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.draft { background: color-mix(in srgb, var(--warn) 12%, var(--bg)); border: 1px solid var(--warn); border-radius: 12px; padding: 10px 14px; font-weight: 600; }

@media (max-width: 900px) {
  .hero .wrap, .how-step, .modal-card, .split { grid-template-columns: 1fr; }
  .how-step:nth-child(even) .how-text { order: 0; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  section { padding: 52px 0; }
}
@media (max-width: 600px) {
  .g2, .g3, .g4, .steps { grid-template-columns: 1fr; }
  .steps .card { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: start; }
  .steps .card .num { grid-row: 1 / span 2; margin-bottom: 0; }
  .steps .card p { margin: 4px 0 0; }
  .nav { margin-left: 4px; }
  .brand span.word { display: none; }
  .header-actions .btn-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* real pages (sign in, account, admin) */
.stack > * + * { margin-top: 12px; }
.btn[disabled] { opacity: .55; cursor: default; }
.banner-view { background: #7a3e00; color: #fff; text-align: center; font-size: .9rem; padding: 8px 12px; }
.banner-view button { margin-left: 10px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.tbl th, table.tbl td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok-text { color: var(--ok); font-weight: 600; }

/* long text (addresses, emails, links) wraps inside its panel instead of spilling out */
.card, .kv > *, .notice, .panel, table.tbl td { overflow-wrap: anywhere; min-width: 0; }
.grid > * { min-width: 0; }
