/* PicsCrew website styles */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --orange: #ff6a13;
  --orange-dark: #c2410c;      /* orange for text on white (passes contrast) */
  --orange-tint: #fff1e8;
  --charcoal: #1c2128;
  --ink: #1c2128;
  --muted: #545c68;
  --line: #e4e2dd;
  --paper: #ffffff;
  --sand: #f6f5f2;
  --radius: 14px;
  --max: 1120px;
  --head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { font: 700 .8rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; font: 700 1rem/1 var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--orange); color: var(--charcoal); }
.btn-primary:hover { background: #ff7d33; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #2b323c; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-top: 18px; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav .logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--orange-dark); }
.nav-links .btn { color: var(--charcoal); min-height: 42px; padding: 0 18px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; width: 100%; }
}

/* Sections */
section { padding: 88px 0; }
.band { background: var(--sand); }
.dark-band { background: var(--charcoal); color: #fff; }
.dark-band .lead, .dark-band .muted { color: #c3c8d0; }
.dark-band .eyebrow { color: var(--orange); }
@media (max-width: 640px) { section { padding: 60px 0; } }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 span, #crews h2 span { color: var(--orange-dark); }
.hero .lead { margin-bottom: 28px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 340px; margin: 0 auto; } }

/* Phone mock-up */
.phone { width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 9 / 18.5; background: #0f1216; border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(28,33,40,.35); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; border: 14px solid var(--orange);
  background: linear-gradient(172deg, #9fc2db 0%, #e6eef1 44%, #7f9161 45%, #56663f 75%, #3a4429 100%); }
.screen .status { position: absolute; top: 10px; left: 10px; right: 10px; background: rgba(15,18,22,.7); color: #fff; border-radius: 10px;
  padding: 8px 10px; font-size: .72rem; line-height: 1.35; }
.screen .status b { font-family: var(--head); font-size: .8rem; display: block; }
.screen .sent { position: absolute; left: 10px; bottom: 92px; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px;
  font-size: .75rem; font-weight: 600; display: flex; align-items: center; gap: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.screen .sent i { width: 16px; height: 16px; border-radius: 50%; background: #2f9e44; color: #fff; display: grid; place-items: center; font-style: normal; font-size: .65rem; }
.screen .shutter { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 58px; height: 58px; border-radius: 16px;
  background: var(--orange); border: 4px solid #fff; }
/* Wedding events: the suggested package under each event, and the guest camera on the home page */
.pick { margin: 12px 0 0; font-size: .88rem; font-weight: 600; color: var(--orange-dark); }
.screen.event-screen { background: linear-gradient(172deg, #3b2f4a 0%, #7a5a74 40%, #e7b98c 41%, #c98f63 70%, #6e4a3a 100%); }
.art-caption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 16px; }

/* Grids and cards */
.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); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.band .card { border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--orange-tint); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.section-head { margin-bottom: 44px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: var(--charcoal); font: 800 1.2rem/46px var(--head); text-align: center; }
.dark-band .card { background: #262c35; border-color: #333b46; color: #fff; }
.dark-band .card p { color: #c3c8d0; }

/* Destinations */
.dest { display: flex; align-items: center; gap: 14px; }
.dest .icon { margin: 0; flex: none; }
.dest h3 { margin: 0; }
.dest p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }

/* Detail table */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--head); font-size: .85rem; font-weight: 700; background: var(--charcoal); color: #fff; }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--sand); }
.tag.req { background: var(--orange-tint); color: var(--orange-dark); }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--orange-dark); font-weight: 800; }
.dark-band .checks li::before { color: var(--orange); }

/* Industries */
.ind-card h3 { display: flex; align-items: center; gap: 10px; color: var(--orange-dark); }
.ind-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .94rem; }
.ind-card ul li { margin-bottom: 3px; }
.ind-card .pitch { font-weight: 600; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .94rem; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--orange); }
.jump { position: sticky; top: 68px; z-index: 10; background: rgba(246,245,242,.96); padding: 14px 0; border-bottom: 1px solid var(--line); }
.jump .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
.jump .chip { white-space: nowrap; font-size: .85rem; padding: 7px 13px; }
.anchor { scroll-margin-top: 140px; }

/* Pricing */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--orange); position: relative; }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--orange); color: var(--charcoal);
  font: 700 .75rem/1 var(--head); padding: 6px 10px; border-radius: 999px; }
.plan .price { font: 800 2.6rem/1 var(--head); margin: 10px 0 4px; }
.plan .per { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.plan ul { flex: 1; }
.plan .btn { width: 100%; margin-top: 8px; }
.addon { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.addon .amt { font: 800 1.4rem/1 var(--head); white-space: nowrap; }
@media (max-width:520px){ .addon { flex-wrap: wrap; } .addon .amt { white-space: normal; } }
.fine { font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font: 700 1.05rem/1.4 var(--head); padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--orange-dark); }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); max-width: 760px; }
.faq h2 { margin-top: 48px; font-size: 1.4rem; }
.faq h2:first-child { margin-top: 0; }

/* CTA */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; }

/* Page header */
.page-head { padding: 64px 0 40px; background: var(--sand); }
.page-head .lead { margin-bottom: 0; }
.page-head .btn-row { margin-top: 24px; }

/* Legal */
.legal { max-width: 760px; }
.notice { background: var(--orange-tint); border-left: 4px solid var(--orange); padding: 16px 18px; border-radius: 8px; margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #c3c8d0; padding: 56px 0 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 32px; width: auto; margin-bottom: 14px; }
.site-footer h4 { font: 700 .8rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c3c8d0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #333b46; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Summary block, breadcrumbs, industry pages */
.brief { padding: 48px 0; border-top: 1px solid var(--line); }
.brief h2 { font-size: 1.4rem; }
.brief p { max-width: 820px; font-size: 1.08rem; color: var(--muted); margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.use-list { columns: 2; column-gap: 32px; padding-left: 18px; margin: 0; }
.use-list li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 640px) { .use-list { columns: 1; } }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { border-color: var(--orange); }

/* Help page: step-by-step with app screens */
.help-pick { padding: 48px 0; }
.help-pick .card .eyebrow { margin-bottom: 8px; }
.howto { display: grid; gap: 64px; }
.howto-step { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.howto-step img { width: 100%; max-width: 240px; height: auto; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(28,33,40,.18)); }
.howto-step .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: var(--charcoal); font: 800 1.05rem/1 var(--head); margin-bottom: 12px; }
.howto-step h3 { font-size: 1.4rem; }
.howto-step .checks { margin-top: 4px; }
.howto-step code { font-size: .88em; background: var(--sand); padding: 1px 6px; border-radius: 5px; word-break: break-all; }
.band .howto-step code { background: #fff; }
@media (max-width: 720px) {
  .howto { gap: 48px; }
  .howto-step { grid-template-columns: 1fr; gap: 20px; }
  .howto-step img { max-width: 200px; }
}

/* Legal pages */
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.02rem; margin: 22px 0 6px; }
.legal ul { padding-left: 20px; }
.legal ul li { margin-bottom: 6px; }
.legal .checks { padding-left: 0; }
.legal table { margin: 8px 0 16px; }
.see-all { padding: 0 0 72px; margin-top: -40px; }
.band + .see-all { background: var(--sand); }

/* Coming-soon page and owner preview sign-in */
body.cs { background: var(--charcoal); color: #fff; min-height: 100vh; }
.cs-frame { position: fixed; inset: 10px; border: 10px solid var(--orange); border-radius: 28px; pointer-events: none; z-index: 5; }
.cs-wrap { max-width: 760px; margin: 0 auto; padding: 72px 36px 48px; min-height: 100vh; display: flex; flex-direction: column; }
.cs-logo { width: 196px; height: auto; margin-bottom: 64px; }
.cs-eyebrow { font: 700 .82rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.cs h1 { font-size: clamp(2.2rem, 6.4vw, 3.8rem); line-height: 1.08; margin-bottom: 24px; }
.cs h1 span { color: var(--orange); display: block; }
.cs-lead { font-size: 1.2rem; color: #c3c8d0; max-width: 600px; margin-bottom: 44px; }
.cs-beats { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cs-beats li { background: #262c35; border: 1px solid #333b46; border-radius: 14px; padding: 18px; }
.cs-beats strong { display: block; font: 800 1.6rem/1.1 var(--head); color: #fff; margin-bottom: 6px; }
.cs-beats li:nth-child(3) strong { color: var(--orange); }
.cs-beats span { color: #c3c8d0; font-size: .95rem; }
.cs-what { padding: 0; margin-bottom: 40px; }
.cs-what h2 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.cs-what p { color: #c3c8d0; margin: 0; max-width: 640px; }
.cs-cta { margin-bottom: 48px; }
.cs-cta p { color: #c3c8d0; font-size: .95rem; margin: 14px 0 0; }
.cs a:not(.btn) { color: var(--orange); }
.cs-foot { margin-top: auto; color: #8a919c; font-size: .85rem; }
.cs-login h1 { font-size: 2rem; margin: 40px 0 12px; }
.cs-login .cs-logo, .cs-login > img { width: 196px; height: auto; }
.cs-form { display: grid; gap: 10px; max-width: 360px; margin-top: 20px; }
.cs-form label { font-weight: 600; color: #c3c8d0; }
.cs-form input { min-height: 48px; border-radius: 10px; border: 1px solid #333b46; background: #262c35; color: #fff; padding: 0 14px; font-size: 1rem; }
.cs-form .btn { margin-top: 6px; }
.cs-error { color: #ffb08a; margin: 0; }
.cs-ghost { color: #fff; border-color: #333b46; }
@media (max-width: 640px) {
  .cs-frame { inset: 6px; border-width: 7px; border-radius: 22px; }
  .cs-wrap { padding: 48px 24px 52px; }
  .cs-logo { margin-bottom: 44px; }
  .cs-beats { grid-template-columns: 1fr; }
}
.cs-select, .cs-form select, .cs-form input[type=number] { min-height: 44px; border-radius: 10px; border: 1px solid #333b46; background: #262c35; color: #fff; padding: 0 12px; font-size: 1rem; }
.cs table { background: #262c35; color: #fff; }
.cs td { border-color: #333b46; }

/* Owner account pages (/account/) */
.acct { background: var(--sand); }
.acct-main { padding: 32px 20px 64px; }
.acct-main h1 { font-size: 1.9rem; margin-bottom: 16px; }
.acct-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.acct-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
section.acct-card { max-width: none; }
.acct-narrow { max-width: 460px; margin: 24px auto; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acct-grid > .acct-card { margin-bottom: 0; }
.acct-grid + .acct-grid, .acct-grid + .acct-card, .acct-card + .acct-grid { margin-top: 20px; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 8px; }
.form label { font-weight: 600; font-size: .95rem; margin-top: 6px; }
.form input:not([type=checkbox]), .form select, .form textarea { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; background: #fff; color: var(--ink); width: 100%; }
.form .btn { margin-top: 10px; justify-self: start; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.form-row input { flex: 1 1 200px; }
.form-row .btn { margin-top: 0; }
.form-error { color: #b42318; font-weight: 600; margin: 6px 0; }
.form-ok { color: #1f7a3a; font-weight: 600; margin: 6px 0 12px; }
.check { display: flex !important; gap: 10px; align-items: center; font-weight: 500 !important; }
.chip-on { background: var(--orange); border-color: var(--orange); color: var(--charcoal); }
.chip-x { display: inline-flex; align-items: center; gap: 8px; }
.chip-x button { background: none; border: 0; color: #b42318; font-size: 1.1rem; cursor: pointer; padding: 0; line-height: 1; }
.acct-who { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.acct-who .btn { min-height: 38px; padding: 0 14px; }
.acct-phone { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.acct-phone .btn { min-height: 38px; padding: 0 14px; }
@media (max-width: 520px) { .acct-who span { display: none; } }
.acct-invite { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 12px 0 16px; }
.acct-qr { width: 150px; height: 150px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.acct-qr svg { width: 100%; height: 100%; display: block; }
.acct-invite > div:last-child { flex: 1 1 220px; min-width: 0; }
.acct-link { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: .85rem/1.4 monospace; color: var(--ink); background: var(--sand); }
/* Pass warnings and the admin panel */
.notice-warn { background: #fde7e4; border-left-color: #c62828; }
.admin-pass { border-top: 1px solid var(--line, #e6e1d8); padding: 16px 0; }
.admin-pass:first-of-type { border-top: 0; }
.admin-pass .form-row { flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 16px; margin-bottom: 12px; }
/* Admin field help: a "?" that explains the field on hover, focus or tap */
.admin-field { display: flex; flex-direction: column; gap: 4px; }
.admin-field-head { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; }
.admin-field-head .check { margin: 0; }
.tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sand); border: 1px solid var(--line); color: var(--ink); font-size: .72rem; font-weight: 700; cursor: help; flex: none; }
.tip:hover, .tip:focus { background: var(--orange); border-color: var(--orange); color: #fff; outline: none; }
.tip::after { content: attr(data-tip); position: absolute; left: -10px; bottom: calc(100% + 8px); z-index: 20; width: max-content; max-width: min(280px, 80vw);
  padding: 10px 12px; border-radius: 8px; background: #1f2329; color: #fff; font-size: .82rem; font-weight: 500; line-height: 1.4;
  white-space: normal; text-align: left; box-shadow: 0 6px 20px rgba(0,0,0,.18); display: none; pointer-events: none; }
.tip:hover::after, .tip:focus::after { display: block; }
/* Sign in with Google (Google's button style: white, grey border, the G logo) */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; color: #1f1f1f;
  border: 1px solid #747775; border-radius: 10px; padding: 12px 16px; font-weight: 600; text-decoration: none; margin-top: 16px; }
.btn-google:hover { background: #f8f9fa; }
.cs-foot a { color: inherit; text-decoration: underline; }
.cs-what a { color: inherit; text-decoration: underline; }
/* Event page (behind an event's QR code) */
.event-page h1 { margin-bottom: 4px; }
.event-steps { padding-left: 20px; margin: 20px 0; }
.event-steps li { margin-bottom: 18px; line-height: 1.5; }
/* Job chips with a delete button */
.chip-wrap { display: inline-flex; align-items: center; gap: 2px; margin: 0 6px 6px 0; }
.chip-wrap form { display: inline; }
.chip-del { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1px solid var(--line);
  background: #fff; color: #545c68; font-size: 1rem; font-weight: 700; line-height: 1; padding: 0; cursor: pointer; border-radius: 50%; }
.chip-del:hover, .chip-del:focus { color: #fff; background: #c62828; border-color: #c62828; outline: none; }

/* Integrations */
.badge { display: inline-block; font: 700 .72rem/1 var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; vertical-align: middle; }
.badge-live { background: #e3f4e8; color: #1f7a3a; }
.badge-request { background: #fff0e5; color: var(--orange-dark); }
.int-card .badge { margin-bottom: 12px; }
.int-note { border-left: 4px solid var(--orange); padding: 10px 14px; background: var(--paper); border-radius: 0 10px 10px 0; }
.int-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.int-form h2 { margin-bottom: 4px; }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.small { font-size: .85rem; }

/* Help tips on account pages: a small "?" that explains a button on hover, tap or keyboard focus */
.tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sand); border: 1px solid var(--line); color: var(--muted); font: 700 .75rem/1 var(--head); cursor: help; vertical-align: middle; }
.tip-text { display: none; position: absolute; z-index: 20; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(300px, 80vw); background: var(--ink); color: #fff; font: 500 .85rem/1.45 var(--body); text-align: left; padding: 10px 12px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.tip:hover .tip-text, .tip:focus .tip-text, .tip:focus-within .tip-text { display: block; }
/* Account dashboard tabs: one row; scrolls sideways on narrow screens */
.acct-tabs { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 4px 0 24px; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; color: var(--muted); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.acct-tabs a:hover { color: var(--ink); }
.acct-tabs a.on { color: var(--ink); border-bottom-color: var(--orange); }
.acct-dot { width: 8px; height: 8px; border-radius: 50%; background: #c62828; display: inline-block; }
.acct-glance { display: flex; flex-wrap: wrap; gap: 12px; }
.acct-glance a { flex: 1 1 160px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.acct-glance a:hover { border-color: var(--orange); }
.acct-glance strong { display: block; font-size: 1.3rem; }
@media (max-width: 640px) { .acct-tabs { margin-left: -20px; margin-right: -20px; padding: 0 12px; } .acct-tabs a { padding: 0 12px; } }
/* Language menu in the header (globe + short code; list of languages) */
.nav-links { margin-left: auto; }
.lang-menu { order: 3; position: relative; margin-left: 20px; }
.menu-btn { order: 4; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--ink); user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu[open] summary, .lang-menu summary:hover { border-color: var(--orange); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.lang-menu li a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.lang-menu li a:hover { background: var(--sand); }
.lang-menu li a[aria-current] { color: var(--orange-dark); }
@media (max-width: 820px) { .lang-menu { margin-left: auto; margin-right: 6px; } }
/* Keep header items on one line in every language */
.nav .logo { flex: none; }
.nav-links a { white-space: nowrap; }
@media (min-width: 821px) and (max-width: 1100px) { .nav-links { gap: 18px; } }
/* Language menu: two columns once there are many languages */
.lang-menu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 320px; max-height: 70vh; overflow-y: auto; }
@media (max-width: 420px) { .lang-menu ul { grid-template-columns: 1fr; min-width: 200px; } }

/* Right-to-left languages (Arabic): mirror what the left/right rules above place on one side */
[dir="rtl"] .menu-btn { margin-right: 0; margin-left: -10px; }
[dir="rtl"] .step::before { left: auto; right: 0; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] .checks li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .checks li::before { left: auto; right: 0; }
[dir="rtl"] .ind-card ul, [dir="rtl"] .use-list, [dir="rtl"] .event-steps { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .legal ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .legal .checks { padding-right: 0; }
[dir="rtl"] .plan-badge { left: auto; right: 24px; }
[dir="rtl"] .faq summary { padding: 18px 0 18px 36px; }
[dir="rtl"] .faq summary::after { right: auto; left: 4px; }
[dir="rtl"] .notice, [dir="rtl"] .int-note { border-left: 0; border-right: 4px solid var(--orange); }
[dir="rtl"] .notice-warn { border-right-color: #c62828; }
[dir="rtl"] .int-note { border-radius: 10px 0 0 10px; }
[dir="rtl"] .crumbs li + li::before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .tip::after { left: auto; right: -10px; text-align: right; }
[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-menu { margin-left: 0; margin-right: 20px; }
[dir="rtl"] .lang-menu ul { right: auto; left: 0; }
@media (max-width: 820px) { [dir="rtl"] .lang-menu { margin-right: auto; margin-left: 6px; } }
/* Brand names, codes and addresses inside Arabic text keep their own direction */
[dir="rtl"] code, [dir="rtl"] .print-link { direction: ltr; unicode-bidi: isolate; }
/* Account pages: language menu beside the email and Sign out */
.acct-head { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.acct-head .lang-menu, [dir="rtl"] .acct-head .lang-menu { order: 0; margin: 0; }
.lang-menu li button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: start; cursor: pointer; }
.lang-menu li button:hover { background: var(--sand); }
.lang-menu li button[aria-current] { color: var(--orange-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Account: two-step sign-in set-up and recovery codes */
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; list-style: none; padding: 12px 16px; margin: 0 0 12px; background: var(--sand); border-radius: 10px; }
.recovery-codes code, .totp-key { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem; letter-spacing: .04em; }
.totp-key { display: inline-block; padding: 6px 10px; background: var(--sand); border-radius: 8px; word-break: break-all; }
.steps-list { padding-inline-start: 20px; margin: 0 0 14px; }
.steps-list li { margin-bottom: 10px; }
.steps-list .acct-qr { width: 180px; height: 180px; }

/* Coupon box on the dashboard (Billing and Events) */
.coupon-box { margin: 12px 0 20px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; }
.coupon-box p { margin: 0 0 8px; }
.coupon-box form { margin: 0; }
.coupon-box input[name="coupon"] { text-transform: uppercase; }

/* Home page banner (admin panel > Home banner): orange border, warm tint, a tag badge */
.promo { padding: 22px 0 0; }
.promo[hidden] { display: none; }
.promo-card { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 64px;
  border: 3px solid var(--orange); border-radius: 18px; padding: 16px 22px 16px 86px;
  background: linear-gradient(120deg, #fff 0%, var(--orange-tint) 70%, #ffe2cf 100%);
  box-shadow: 0 14px 30px -18px rgba(255,106,19,.55); }
.promo-card[hidden] { display: none; }
.promo-card::before { content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orange-tint); }
.promo-head { margin: 0; font: 800 1.15rem/1.3 var(--head); color: var(--ink); }
.promo-text { margin: 4px 0 0; color: var(--ink); opacity: .85; }
.promo-head:empty, .promo-text:empty { display: none; }
.promo-list { display: grid; gap: 14px; }
a.promo-card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.promo-card:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -18px rgba(255,106,19,.7); }
.promo-card a { color: var(--orange-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.promo-link .promo-head::after { content: " \2192"; color: var(--orange-dark); }
[dir="rtl"] .promo-link .promo-head::after { content: " \2190"; }
[dir="rtl"] .promo-card { padding: 16px 86px 16px 22px; }
[dir="rtl"] .promo-card::before { left: auto; right: 20px; }
@media (max-width: 560px) { .promo-card { padding: 14px 16px 14px 74px; } .promo-card::before { left: 14px; width: 44px; height: 44px; }
  [dir="rtl"] .promo-card { padding: 14px 74px 14px 16px; } [dir="rtl"] .promo-card::before { right: 14px; } }

/* "Add fun" samples (weddings and event pages) */
.fun-head { margin: 28px 0 14px; font-size: 1.1rem; }
.fun-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fun-grid figure { margin: 0; }
.fun-grid img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.fun-grid figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.fun-grid figcaption strong { display: block; color: var(--ink); }
.fun-note { margin-top: 22px; font-size: .92rem; text-align: center; }
@media (max-width: 760px) { .fun-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.price .cur { font-size: .38em; font-weight: 700; letter-spacing: .04em; color: var(--muted); vertical-align: .9em; margin-left: 2px; }

/* "Canadian Owned" badge (home and coming-soon pages, visitors in Canada only) */
.ca-badge { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 10px 22px 10px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; font: 800 1.25rem/1.2 var(--head); color: var(--ink); }
.ca-badge[hidden] { display: none; }
.ca-badge svg { flex: none; width: 30px; height: 30px; }
.cs .ca-badge { margin: -40px 0 40px; align-self: flex-start; background: #262c35; border-color: #333b46; color: #fff; }

/* Dashboard Activity tab */
.act-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.act-head h2 { margin: 0; }
.act-days { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.act-days form { margin: 0; }
.act-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.act-stats div { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--paper); }
.act-stats strong { display: block; font: 800 1.8rem/1.1 var(--head); }
.act-stats span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .act-stats { grid-template-columns: repeat(2, 1fr); } }

/* Dashboard Photos tab (photo log) */
.log-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; align-items: end; margin-top: 12px; }
.log-filters label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; margin: 0; }
.log-filters input, .log-filters select { width: 100%; }
.log-filters .log-q { grid-column: span 2; }
.log-actions { display: flex; gap: 8px; }
.log-views { margin-top: 16px; }
.log-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.log-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.log-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: #eceae5; }
.log-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.log-badge { position: absolute; left: 8px; top: 8px; background: rgba(28,33,40,.8); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.log-meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.log-notes { color: var(--muted); white-space: pre-line; }
.log-pages { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.log-map { height: 520px; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 760px) { .log-filters .log-q { grid-column: auto; } .log-map { height: 420px; } }

/* Client share link gallery (/s/) */
.share-grid figure { margin: 0; }
.share-view { border: none; border-radius: var(--radius); padding: 16px; max-width: min(96vw, 1200px); background: #111; color: #fff; }
.share-view::backdrop { background: rgba(0,0,0,.75); }
.share-view img { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 8px; }
.share-caption { white-space: pre-line; margin: 12px 0; font-size: .95rem; }
.share-view .btn-ghost { color: #fff; border-color: #555; }
.share-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; margin-bottom: 14px; }
.share-row form { margin: 0; }
.share-row .fine { grid-column: 1 / -1; margin: 0; }
@media (max-width: 560px) { .share-row { grid-template-columns: 1fr 1fr; } .share-row input { grid-column: 1 / -1; } }
.crew-jobs { border-top: 1px solid var(--line); padding: 10px 0; }
.crew-jobs summary { cursor: pointer; }
.crew-jobs form { margin-top: 10px; }

/* Website open before launch (admin › Settings): "Try it free" buttons become "Get launch updates" (_gate.php) */
.if-soon { display: none; }
html[data-soon] .if-live { display: none; }
html[data-soon] .if-soon { display: inline; }

/* Page not found (404): branded, pointing to weddings and events, and to business crews */
.nf-hero { padding: 72px 0 64px; text-align: center; }
.nf-hero .lead { max-width: 640px; margin: 0 auto; }
.nf-title { font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.05; margin: 0 0 20px; }
.nf-title span { color: var(--orange); }
.nf-paths { margin-top: -36px; position: relative; }
.nf-card { padding: 28px; border-top: 6px solid var(--orange); }
.nf-card h2 { font-size: 1.5rem; margin: 0 0 10px; }
.nf-card .btn-row { margin-top: 18px; }
.nf-more { text-align: center; font-size: 1.3rem; margin: 0 0 16px; }

/* Event features you can open (Fun overlays, Photo challenges): a circled plus and an orange title, so they read as options */
details.feature > summary { list-style: none; cursor: pointer; }
details.feature > summary::-webkit-details-marker { display: none; }
details.feature > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; margin-inline-end: 8px;
  border: 2px solid var(--orange); border-radius: 50%; color: var(--orange-dark); font: 700 1.05em/1 var(--head); vertical-align: middle; position: relative; top: -2px; box-sizing: border-box; }
details.feature[open] > summary::before { content: "\2212"; }
details.feature > summary strong { color: var(--orange-dark); }
details.feature > summary:hover strong { text-decoration: underline; text-underline-offset: 3px; }
