/* share.imagic.ink — landing page.
 *
 * Extends style.css rather than restating it: the navbar, buttons, section
 * titles, gradient text and tex-* background textures all come from the main
 * site so the two read as one product.
 *
 * The interface around the photographs is drawn in CSS rather than screenshotted,
 * because a screenshot goes stale the moment the UI moves and this one has moved
 * a lot. The photographs themselves come from the images already published on
 * imagic.ink; a client's shoot is their own and never appears here.
 */

/* ------------------------------------------------------------------ hero -- */

.sh-hero {
    position: relative;
    padding: 130px 0 70px;
    overflow: hidden;
}

/* Two offset orbs rather than one centred glow, so the light reads as coming
   from somewhere rather than sitting behind the text like a halo. */
.sh-hero-glow {
    position: absolute;
    inset: -30% -10% auto -10%;
    height: 780px;
    pointer-events: none;
    background:
        radial-gradient(46% 52% at 22% 34%, rgba(255, 152, 0, .17), transparent 68%),
        radial-gradient(40% 46% at 82% 16%, rgba(120, 90, 255, .11), transparent 70%);
    filter: blur(8px);
}

.sh-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 56px;
    align-items: center;
}

.sh-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 15px; border-radius: 999px;
    background: rgba(255, 152, 0, .09);
    border: 1px solid rgba(255, 152, 0, .28);
    color: var(--accent);
    font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 24px;
}
.sh-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(255, 152, 0, .6);
    animation: sh-pulse 2.4s infinite;
}
@keyframes sh-pulse {
    70%  { box-shadow: 0 0 0 9px rgba(255, 152, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}

.sh-hero-copy h1 {
    font-size: clamp(38px, 5.4vw, 66px);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -.03em;
    margin: 0 0 22px;
}
.sh-lead {
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.68;
    color: var(--text-secondary);
    max-width: 30em;
    margin: 0 0 32px;
}

.sh-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.sh-cta .btn i { margin-left: 8px; font-size: .85em; }

.sh-trustline {
    display: flex; gap: 22px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-muted);
}
.sh-trustline i { color: var(--accent); margin-right: 7px; }

/* -------------------------------------------------------- hero mockup -- */

.sh-hero-mock { position: relative; }

.sh-window {
    background: #171717;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}
.sh-window-url {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.sh-mock-body { padding: 14px; }
.sh-mock-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 12px;
}
.sh-mock-chips { display: flex; gap: 6px; }
.sh-chip {
    padding: 5px 11px; border-radius: 999px;
    background: #1f1f1f; border: 1px solid #2e2e2e;
    font-size: 11px; font-weight: 600; color: var(--text-muted);
}
.sh-chip.is-on { background: var(--accent); border-color: var(--accent); color: #141414; }

.sh-mock-who { display: flex; }
.sh-avatar {
    width: 25px; height: 25px; border-radius: 50%;
    display: inline-grid; place-items: center;
    background: #262626; color: var(--text-secondary);
    border: 2px solid #171717; margin-left: -7px;
    font-size: 10px; font-weight: 800;
}
.sh-avatar.is-done { background: var(--accent); color: #141414; }

.sh-mock-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}
.sh-tile {
    position: relative;
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    overflow: hidden;
}
.sh-tile img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
/* One portrait in the set on purpose: the grid keeps uniform cells and
   contains the frame rather than cropping it into a fake landscape, which is
   the behaviour the page is claiming. */
.sh-tile:nth-child(3) img { object-fit: contain; background: #0f0f0f; }

.sh-tile-mark {
    position: absolute; inset: auto 6px 6px auto;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--accent); color: #141414;
    display: grid; place-items: center; font-size: 10px;
}
.sh-tile-edited {
    position: absolute; top: 6px; right: 6px;
    background: var(--success); color: #fff;
    font-size: 9px; font-weight: 800;
    padding: 2px 7px; border-radius: 10px;
}

/* Floating card that lifts the mockup off the page. */
.sh-float-card {
    position: absolute;
    left: -26px; bottom: -26px;
    background: #1c1c1c;
    border: 1px solid rgba(255, 152, 0, .3);
    border-radius: 12px;
    padding: 13px 17px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
    animation: sh-float 5.5s ease-in-out infinite;
}
@keyframes sh-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}
.sh-float-title { font-size: 12px; font-weight: 800; color: var(--accent); }
.sh-float-names { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }

/* ----------------------------------------------------------------- stats -- */

.sh-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 74px;
    padding-top: 34px;
    border-top: 1px solid var(--border);
}
.sh-stat { display: flex; flex-direction: column; gap: 5px; }
.sh-stat-num {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.sh-stat-label { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

/* --------------------------------------------------------------- problem -- */

.sh-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.sh-split > div {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.sh-split-good { border-color: rgba(255, 152, 0, .32); }
.sh-split h3 { font-size: 19px; font-weight: 800; margin: 14px 0 10px; }
.sh-split p { color: var(--text-secondary); line-height: 1.68; font-size: 14.5px; margin: 0 0 20px; }

.sh-split-tag {
    display: inline-block; padding: 5px 12px; border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.sh-tag-bad { background: rgba(239, 68, 68, .12); color: #ef8a8a; }
.sh-tag-good { background: rgba(255, 152, 0, .14); color: var(--accent); }

.sh-bucket {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 18px;
}
.sh-bucket-row { display: flex; gap: 9px; margin-bottom: 12px; }
.sh-heart { color: #ef5350; font-size: 17px; }
.sh-bucket-label { font-size: 13px; color: var(--text-muted); font-style: italic; }
.sh-bucket-good { color: var(--accent); font-style: normal; font-weight: 700; margin-top: 12px; }
.sh-voter {
    display: flex; align-items: center; gap: 9px;
    font-size: 13.5px; color: var(--text-secondary); margin-bottom: 9px;
}
.sh-voter .sh-avatar { margin-left: 0; }
.sh-voter strong { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); }

/* ----------------------------------------------------------------- steps -- */

.sh-steps { display: flex; flex-direction: column; gap: 22px; }
.sh-step {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition), transform var(--transition);
}
.sh-step:hover { border-color: rgba(255, 152, 0, .3); transform: translateY(-2px); }
.sh-step-num {
    width: 46px; height: 46px; border-radius: 14px;
    background: var(--gradient-2); color: #141414;
    display: grid; place-items: center;
    font-size: 19px; font-weight: 900;
}
.sh-step-body h3 { font-size: 19px; font-weight: 800; margin: 0 0 9px; }
.sh-step-body p { color: var(--text-secondary); line-height: 1.7; font-size: 14.5px; margin: 0 0 18px; max-width: 62ch; }

.sh-mini-mock {
    background: #101010;
    border: 1px solid #242424;
    border-radius: var(--radius-md);
    padding: 15px;
}
.sh-invite-row, .sh-queue-row, .sh-key-row {
    display: flex; align-items: center; gap: 11px;
    padding: 8px 0; font-size: 13px; color: var(--text-secondary);
}
.sh-invite-row + .sh-invite-row,
.sh-queue-row + .sh-queue-row { border-top: 1px solid rgba(255,255,255,.04); }
.sh-invite-row code, .sh-queue-row code {
    font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
}
.sh-invite-row .sh-avatar { margin-left: 0; }

.sh-drop-zone {
    border: 2px dashed #2e2e2e; border-radius: var(--radius-md);
    padding: 20px; text-align: center; margin-bottom: 13px;
}
.sh-drop-zone i { font-size: 22px; color: var(--accent); display: block; margin-bottom: 8px; }
.sh-drop-zone span { display: block; font-weight: 700; font-size: 14px; }
.sh-drop-zone small { color: var(--text-muted); font-size: 12px; }
.sh-drop-bar { height: 6px; background: #1e1e1e; border-radius: 3px; overflow: hidden; }
.sh-drop-bar span { display: block; height: 100%; background: var(--gradient-2); border-radius: 3px; }
.sh-drop-status { font-size: 11.5px; color: var(--text-muted); margin-top: 8px; font-family: var(--font-mono); }

.sh-key-row kbd {
    background: #1c1c1c; border: 1px solid #333; border-radius: 5px;
    padding: 3px 9px; font-family: var(--font-mono); font-size: 11px;
    color: var(--text-primary); min-width: 26px; text-align: center;
}

.sh-rank { font-family: var(--font-mono); color: var(--text-muted); width: 20px; }
.sh-votes {
    margin-left: auto; font-weight: 800; color: var(--accent);
    background: rgba(255,152,0,.11); border-radius: 999px; padding: 2px 10px; font-size: 12px;
}
.sh-by { color: var(--text-muted); font-size: 12px; min-width: 108px; text-align: right; }

/* --------------------------------------------------------- feature split -- */

.sh-feature-split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 54px; align-items: center;
}
.sh-reverse .sh-deliver-mock { order: -1; }

.sh-eyebrow {
    font-size: 11.5px; font-weight: 800; letter-spacing: .15em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.sh-h2 {
    font-size: clamp(26px, 3.4vw, 38px); font-weight: 900;
    line-height: 1.14; letter-spacing: -.02em; margin: 0 0 18px;
}
.sh-body { color: var(--text-secondary); line-height: 1.72; font-size: 15px; margin: 0 0 16px; }

.sh-ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.sh-ticks li {
    display: flex; align-items: flex-start; gap: 11px;
    font-size: 14px; color: var(--text-secondary); margin-bottom: 11px; line-height: 1.55;
}
.sh-ticks i { color: var(--accent); margin-top: 3px; font-size: 12px; }

/* --------------------------------------------------------- blind voting -- */

.sh-reveal { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sh-reveal-card {
    width: 100%; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    overflow: hidden;
}
.sh-reveal-after { border-color: rgba(255, 152, 0, .35); }
.sh-reveal-head {
    padding: 11px 16px; font-size: 12px; font-weight: 700;
    background: var(--bg-secondary); color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.sh-reveal-head i { margin-right: 8px; }
.sh-head-open { color: var(--accent); }
.sh-reveal-body { padding: 6px 16px 14px; }
.sh-reveal-line {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; font-size: 13.5px; color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.sh-reveal-line:last-child { border-bottom: none; }
.sh-blurred strong { filter: blur(4px); user-select: none; color: var(--text-muted); }
.sh-liked { color: var(--accent); font-weight: 700; }
.sh-disliked { color: var(--text-muted); }
.sh-reveal-arrow { color: var(--accent); font-size: 14px; padding: 2px 0; }

/* -------------------------------------------------------------- studio -- */

.sh-studio-mock { max-width: 940px; margin: 0 auto; }
.sh-studio-body { padding: 22px; }
.sh-studio-stats {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 14px; margin-bottom: 26px;
}
.sh-studio-stats div { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--text-muted); }
.sh-studio-stats span { font-size: 22px; font-weight: 900; color: var(--accent); }

.sh-table-title {
    font-size: 11px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--text-muted);
    margin: 22px 0 10px;
}
.sh-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sh-table th {
    text-align: left; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
    color: var(--text-muted); padding: 8px 10px; border-bottom: 1px solid var(--border); font-weight: 700;
}
.sh-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--text-secondary); }
.sh-table code { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); }
.sh-table .sh-num { color: var(--accent); font-weight: 800; }
.sh-table .sh-rank { font-family: var(--font-mono); color: var(--text-muted); }
.sh-pill {
    padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
    background: #232323; color: var(--text-muted);
}
.sh-pill-done { background: rgba(76,175,80,.16); color: #7fd383; }

.sh-caption {
    text-align: center; color: var(--text-muted); font-size: 14px;
    max-width: 60ch; margin: 26px auto 0; line-height: 1.65;
}

/* ------------------------------------------------------------- delivery -- */

.sh-deliver-mock { }
.sh-compare {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.45); aspect-ratio: 3 / 2;
}
.sh-compare-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-compare-top {
    position: absolute; inset: 0;
    /* Right half only, so the divider reads as a wipe across one frame. */
    clip-path: inset(0 0 0 50%);
}
.sh-compare-tag {
    position: absolute; bottom: 14px;
    background: rgba(0,0,0,.62); color: #fff; font-size: 11px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.sh-tag-left { left: 14px; }
.sh-tag-right { right: 14px; }
.sh-compare-handle {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: #fff; color: #141414; display: grid; place-items: center;
    box-shadow: 0 0 0 3px rgba(255,255,255,.25);
}
.sh-compare::after {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: rgba(255,255,255,.85); transform: translateX(-50%);
}
.sh-deliver-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    margin-top: 14px; padding: 14px 18px;
    background: linear-gradient(90deg, rgba(76,175,80,.10), transparent);
    border: 1px solid rgba(76,175,80,.32); border-radius: var(--radius-md);
    font-size: 13.5px; color: var(--text-secondary);
}
.sh-deliver-btn {
    background: var(--success); color: #fff; font-weight: 700; font-size: 12.5px;
    padding: 8px 15px; border-radius: var(--radius-sm); white-space: nowrap;
}

/* ------------------------------------------------------------- features -- */

.sh-features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}
.sh-feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    transition: border-color var(--transition), transform var(--transition);
}
.sh-feature-card:hover { border-color: rgba(255,152,0,.3); transform: translateY(-3px); }
.sh-feature-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,152,0,.1); border: 1px solid rgba(255,152,0,.22);
    display: grid; place-items: center; color: var(--accent); font-size: 17px;
    margin-bottom: 17px;
}
.sh-feature-card h3 { font-size: 16.5px; font-weight: 800; margin: 0 0 9px; }
.sh-feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.68; margin: 0; }

/* ---------------------------------------------------------------- start -- */

.sh-start { position: relative; overflow: hidden; text-align: center; }
.sh-start-glow {
    position: absolute; inset: auto -20% -60% -20%; height: 560px; pointer-events: none;
    background: radial-gradient(45% 60% at 50% 50%, rgba(255,152,0,.15), transparent 70%);
}
.sh-start-inner { position: relative; max-width: 460px; margin: 0 auto; }
.sh-start-inner .sh-eyebrow,
.sh-start-inner .sh-body { text-align: center; }
.sh-start-inner .sh-body { margin-bottom: 30px; }

.sh-auth { text-align: left; }
.sh-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 14px; border-radius: var(--radius-sm);
    background: #fff; color: #1f1f1f; text-decoration: none;
    font-size: 15px; font-weight: 600; transition: filter var(--transition);
}
.sh-google:hover { filter: brightness(.93); }
.sh-auth-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0 16px; color: var(--text-muted); font-size: 12px;
}
.sh-auth-divider::before, .sh-auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
.sh-auth input {
    width: 100%; background: var(--bg-card); color: var(--text-primary);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 13px 15px; font-family: inherit; font-size: 14.5px; margin-bottom: 10px;
}
.sh-auth input:focus { outline: none; border-color: var(--accent); }
.sh-auth button { width: 100%; }
.sh-auth-error { color: var(--error); font-size: 13px; min-height: 19px; }
.sh-auth-toggle { text-align: center; margin-top: 15px; font-size: 13px; color: var(--text-muted); }
.sh-auth-toggle a { color: var(--accent); cursor: pointer; text-decoration: none; }
.sh-auth-toggle a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- footer -- */

.sh-footer { border-top: 1px solid var(--border); padding: 56px 0 34px; background: var(--bg-secondary); }
.sh-footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px;
}
.sh-footer-logo { height: 24px; margin-bottom: 14px; opacity: .9; }
.sh-footer-grid p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; margin: 0; max-width: 26ch; }
.sh-footer-grid h4 {
    font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-muted); margin: 0 0 14px;
}
.sh-footer-grid a {
    display: block; color: var(--text-secondary); text-decoration: none;
    font-size: 13.5px; margin-bottom: 9px; transition: color var(--transition);
}
.sh-footer-grid a:hover { color: var(--accent); }
.sh-footer-base {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-top: 24px; border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 12.5px;
}

/* --------------------------------------------------------------- mobile -- */

@media (max-width: 1000px) {
    .sh-hero-grid, .sh-feature-split, .sh-split { grid-template-columns: 1fr; gap: 42px; }
    .sh-reverse .sh-deliver-mock { order: 0; }
    .sh-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .sh-studio-stats { grid-template-columns: repeat(3, 1fr); }
    .sh-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .sh-hero { padding: 104px 0 50px; }
    .sh-hero-copy h1 { font-size: 36px; }
    .sh-float-card { left: auto; right: 8px; bottom: -20px; }
    .sh-step { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
    .sh-mock-grid { grid-template-columns: repeat(3, 1fr); }
    .sh-studio-stats { grid-template-columns: repeat(2, 1fr); }
    /* Tables would force a horizontal scroll on the whole page otherwise. */
    .sh-studio-body { overflow-x: auto; }
    .sh-table { min-width: 520px; }
    .sh-by { display: none; }
    .sh-footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* Honour a stated preference for less motion: the pulse and float are
   decoration, and nothing here depends on them. */
@media (prefers-reduced-motion: reduce) {
    .sh-badge-dot, .sh-float-card { animation: none; }
    .sh-step:hover, .sh-feature-card:hover { transform: none; }
}
