/* Clipper by ampMultimedia — showcase site.
   Palette matches the app: forest for bars and buttons, teal for links, gold for accents, cream ground, off-white cards. */
:root {
  --forest: #123F36; --teal: #2A6B5C; --gold: #C49A45; --cream: #E8DCC4;
  --bg: var(--cream); --card: #FBF8F1; --fg: #14241F; --muted: #4A5A54;
  --border: #CBBE9F; --field-border: #6F7D76; --side-muted: #C8D8D2; --yellow: #FFD84D;
  --ok: #1D6B3A; --warn: #7A4F00; --err: #A32A1D;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px; --radius-sm: 8px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--teal); text-underline-offset: .15em; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: .5rem; }
.skip:focus { left: .5rem; z-index: 50; background: var(--card); padding: .5rem .8rem; border-radius: var(--radius-sm); }
.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 42rem); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; max-width: 66ch; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--fg); }

/* buttons */
.btn { display: inline-block; background: var(--forest); color: #fff; font: 600 1rem/1 var(--sans); padding: .95rem 1.4rem; border-radius: 999px;
       border: 2px solid var(--forest); text-decoration: none; cursor: pointer; }
.btn:hover { background: #0C2D26; border-color: #0C2D26; color: #fff; }
.btn-sm { padding: .6rem 1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: rgba(18, 63, 54, .08); color: var(--forest); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #10241E; }
.btn-gold:hover { background: #D5AB56; border-color: #D5AB56; color: #10241E; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }

/* top bar */
.bar { background: var(--forest); color: var(--cream); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--cream); text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand img, .foot-brand img { flex: none; background: var(--cream); border-radius: 9px; padding: 3px; }
.brand-name { font: 700 1.5rem/1 var(--serif); }
.brand-by { color: var(--side-muted); font-size: .9rem; }
.menu { display: flex; align-items: center; gap: 1.4rem; }
.menu a { color: var(--cream); text-decoration: none; font-weight: 500; }
.menu a:hover { color: #fff; text-decoration: underline; }
.menu .btn { white-space: nowrap; background: var(--gold); border-color: var(--gold); color: #10241E; }
.bar :focus-visible { outline-color: var(--gold); }

/* hero */
.hero { padding-top: clamp(2.5rem, 8vw, 5.5rem); }
.hero .lead { margin-top: 1.5rem; max-width: 40rem; }

/* the cut: one long video, three clips */
.cut { margin-top: clamp(2.5rem, 6vw, 4rem); margin-bottom: 0; padding: 0; }
.cut-art { position: relative; padding-bottom: .5rem; }
.reel { position: relative; height: clamp(54px, 9vw, 84px); border-radius: var(--radius); background: var(--forest); overflow: hidden;
        background-image: repeating-linear-gradient(90deg, rgba(232, 220, 196, .30) 0 2px, transparent 2px 7px); }
.pick { position: absolute; top: 0; bottom: 0; border: 3px solid var(--gold); border-radius: 6px; background: rgba(196, 154, 69, .28); }
.pick i { position: absolute; left: 4px; bottom: 3px; font: 600 .72rem/1 var(--sans); font-style: normal; color: var(--yellow); }
.p1 { left: 7%;  width: 11%; }
.p2 { left: 46%; width: 9%; }
.p3 { left: 77%; width: 12%; }

.clips { display: flex; justify-content: center; gap: clamp(.6rem, 4vw, 3rem); margin-top: 1.6rem; }
.clip { position: relative; flex: 1 1 0; max-width: 15rem; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: linear-gradient(170deg, #2A6B5C, #123F36 70%); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.c2 { background: linear-gradient(170deg, #8A6B2A, #3B3A1E 75%); margin-top: 1.5rem; }
.c3 { background: linear-gradient(170deg, #1F5A66, #0E2B33 75%); }
.who { position: absolute; left: 50%; bottom: 22%; width: 70%; aspect-ratio: 1 / 1.25; transform: translateX(-50%); border-radius: 50% 50% 8% 8% / 42% 42% 8% 8%; background: rgba(232, 220, 196, .16); }
.who::before { content: ""; position: absolute; left: 50%; top: -34%; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgba(232, 220, 196, .22); }
.cap { position: absolute; left: 6%; right: 6%; bottom: 8%; padding: .45rem .5rem; border-radius: 6px; background: rgba(0, 0, 0, .62); color: #fff; text-align: center;
       font: 600 clamp(.62rem, 1.6vw, .95rem)/1.3 var(--sans); }
.cap em, .cap b { font-style: normal; font-weight: 700; }
.cap em { color: var(--yellow); }
.cut figcaption, .shot figcaption { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

/* how it works */
.how { padding-block: clamp(3.5rem, 9vw, 6rem) 0; }
.steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); }
.steps li { border-top: 3px solid var(--forest); padding-top: 1rem; }
.steps .n { display: block; font: 700 2.6rem/1 var(--serif); color: var(--teal); margin-bottom: .6rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--fg); margin: 0; font-size: 1rem; }

/* made for artists */
.made { padding-block: clamp(3.5rem, 9vw, 6rem) 0; }
.made-in { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 60rem) { .made-in { grid-template-columns: 5fr 7fr; gap: 4rem; } .made-intro { position: sticky; top: 2rem; align-self: start; } }
.made-intro p { margin-top: 1rem; }
.facts { margin: 0; }
.facts div { padding: 1.1rem 0; border-top: 1px solid var(--border); }
.facts div:last-child { border-bottom: 1px solid var(--border); }
.facts dt { font: 700 1.25rem/1.25 var(--serif); }
.facts dd { margin: .35rem 0 0; max-width: 56ch; color: var(--fg); }

/* inside the app: simplified drawings in the app's own palette */
.inside { padding-block: clamp(3.5rem, 9vw, 6rem) 0; }
.shots { display: grid; gap: 2rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .shots { grid-template-columns: 1fr 1fr; } }
.shot { margin: 0; }
.app { display: flex; min-height: 17rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 rgba(18,63,54,.12); font-size: .82rem; line-height: 1.3; }
.app-side { flex: none; width: 28%; background: var(--forest); color: var(--cream); padding: 1rem .7rem; display: flex; flex-direction: column; gap: .5rem; }
.app-side b { font: 700 1.05rem/1 var(--serif); margin-bottom: .6rem; }
.app-side i { font-style: normal; padding: .3rem .5rem; border-radius: 6px; color: var(--side-muted); }
.app-side i.on { background: rgba(232, 220, 196, .16); color: var(--cream); font-weight: 600; }
.app-main { flex: 1; padding: 1rem; min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .2rem; }
.app-head b { font: 700 1.2rem/1 var(--serif); }
.app-btn { background: var(--forest); color: #fff; padding: .3rem .7rem; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.app-btn.ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); padding: .15rem .6rem; }
.card { display: flex; justify-content: space-between; align-items: center; gap: .6rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: .6rem .7rem; }
.card.sel { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal) inset; }
.card b { display: block; font-size: .88rem; }
.card small { color: var(--muted); font-size: .76rem; }
.pill { font-weight: 600; font-size: .72rem; padding: .2rem .55rem; border-radius: 999px; border: 1.5px solid; white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: var(--ok); }
.pill.run { color: var(--warn); border-color: var(--warn); }
.pill.done { color: var(--muted); border-color: var(--muted); }
.app-review .app-main { padding: .9rem; }
.rev { display: grid; grid-template-columns: 38% 1fr; gap: .8rem; flex: 1; }
.rev-player { position: relative; border-radius: 10px; overflow: hidden; background: linear-gradient(170deg, #2A6B5C, #123F36 70%); min-height: 13rem; }
.rev-player .cap { font-size: .62rem; padding: .3rem; }
.rev-list { display: flex; flex-direction: column; gap: .5rem; justify-content: center; }
.note { margin: 1.2rem 0 0; color: var(--muted); font-size: .95rem; }

/* join */
.join { margin-top: clamp(3.5rem, 9vw, 6rem); background: var(--forest); color: var(--cream); padding-block: clamp(2.5rem, 7vw, 4rem); }
.join h2 { color: #fff; }
.join p { color: var(--cream); margin-top: .8rem; }
.join-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.join-in > div { flex: 1 1 24rem; }
.join-in > p { margin: 0; }
.join :focus-visible { outline-color: var(--gold); }

/* inner pages */
.page { padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(3rem, 8vw, 5rem); }
.page h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.page h2 { font-size: 1.6rem; margin: 2.2rem 0 .7rem; }
.page h3 { font-size: 1.15rem; margin: 1.5rem 0 .4rem; }
.meta { color: var(--muted); font-size: .95rem; }
.plain { padding-left: 1.3rem; max-width: 62ch; }
.plain li { margin-bottom: .5rem; }

/* form */
.form { margin-top: 2rem; display: grid; gap: .45rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.1rem, 4vw, 2rem); }
.form label { font-weight: 600; margin-top: .8rem; }
.form label:first-of-type { margin-top: 0; }
.opt { font-weight: 400; color: var(--muted); }
.form input[type=text], .form input[type=email], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--fg); background: #fff; border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); padding: .75rem .85rem; }
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; }
.form .btn { justify-self: start; margin-top: 1rem; }
.fine { color: var(--muted); font-size: .92rem; margin: .8rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-top: 1.5rem; background: #FBEDEA; border: 1.5px solid var(--err); color: #5A1A12; border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* footer */
.foot { border-top: 1px solid rgba(232, 220, 196, .18); background: var(--forest); color: var(--side-muted); margin-top: 0; padding-block: 2.2rem; font-size: .95rem; }
.foot a { color: var(--cream); }
.foot a:hover { color: #fff; }
.foot :focus-visible { outline-color: var(--gold); }
.foot-in { display: grid; gap: 1.2rem; }
.foot-brand { display: flex; align-items: center; gap: .8rem; }
.foot-brand p, .copy { margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.join + .foot, .page + .foot { margin-top: 0; }

.cf-turnstile { margin-top: 1rem; min-height: 65px; }

/* small screens */
@media (max-width: 40rem) {
  body { font-size: 16px; }
  .brand-by { display: none; }
  .menu { gap: .9rem; }
  .menu .btn-sm { padding: .55rem .8rem; font-size: .88rem; }
  .brand-name { font-size: 1.3rem; }
  .menu a:not(.btn):not([href="/help.php"]) { display: none; }
  .clip { border-radius: 12px; }
  .cap { padding: .25rem .3rem; }
  .app { flex-direction: column; }
  .app-side { width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; padding: .6rem .8rem; }
  .app-side b { margin: 0 .5rem 0 0; }
  .rev { grid-template-columns: 1fr; }
  .rev-player { min-height: 12rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
