/* Snap Cut website — shared styles for the home page, privacy policy and terms.
   No web fonts and no outside files: everything the pages need is in this folder. */
:root{
  --bg:#0b0b0f; --bg2:#0f0f14; --surface:#15151b; --surface2:#1b1b23; --line:#26262f;
  --text:#f3f3f6; --muted:#a6a6b0; --faint:#80808a;
  --accent:#18e6d2; --accent-ink:#03211e;
  --green:#006039; --green2:#0b7a4d; --gold:#e0bd62;
  --radius:18px; --maxw:1120px;
  --c1:#18e6d2; --c2:#0b7a4d; --c3:#e0bd62; --g1:rgba(24,230,210,.16); --g2:rgba(11,122,77,.28);   /* the visitor's country colours: assets/geo/country.js sets them from the flag */
  color-scheme:dark;
}
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{margin:0;background:var(--bg);color:var(--text);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;}
img{max-width:100%;display:block;}
a{color:var(--accent);text-decoration:none;}
a:hover{text-decoration:underline;}
h1,h2,h3{line-height:1.2;margin:0;font-weight:800;letter-spacing:-.01em;}
p{margin:0;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px;}

/* header */
.top{position:sticky;top:0;z-index:10;background:rgba(11,11,15,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06);}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px;}
.brand{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:800;font-size:18px;}
.brand:hover{text-decoration:none;}
.mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(160deg,var(--green2),var(--green));display:grid;place-items:center;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);}
.mark img{width:24px;height:24px;}
.nav{display:flex;gap:4px;}
.nav a{color:var(--muted);font-weight:600;font-size:15px;padding:8px 12px;border-radius:10px;}
.nav a:hover,.nav a[aria-current="page"]{color:var(--text);background:var(--surface);text-decoration:none;}
.nav a.nav-app{color:var(--accent-ink);background:var(--accent);margin-left:4px;}
.nav a.nav-app:hover{background:#3cf0de;color:var(--accent-ink);}
.brand,.nav a{white-space:nowrap;}

/* footer */
footer{border-top:1px solid var(--line);padding:32px 0 44px;color:var(--faint);font-size:14px;}
footer .wrap{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;justify-content:space-between;}
footer nav{display:flex;flex-wrap:wrap;gap:6px 20px;}
footer a{color:var(--muted);}

/* legal pages */
.doc{max-width:780px;margin:0 auto;padding:48px 20px 24px;}
.doc h1{font-size:clamp(32px,5vw,44px);margin-bottom:8px;}
.doc .date{color:var(--faint);font-size:15px;}
.doc h2{font-size:22px;margin:40px 0 12px;padding-top:8px;scroll-margin-top:80px;}
.doc h3{font-size:17px;margin:22px 0 8px;}
.doc p,.doc li{color:#d4d4da;}
.doc p{margin:0 0 12px;}
.doc ul{margin:0 0 14px;padding-left:22px;}
.doc li{margin:6px 0;}
.doc strong{color:var(--text);}
.summary{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:14px;padding:18px 20px;margin:26px 0 8px;}
.summary h2{margin:0 0 10px;font-size:18px;padding:0;}
.summary ul{margin:0;}
.toc{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 20px;margin:22px 0;}
.toc b{display:block;margin-bottom:6px;}
.toc ol{margin:0;padding-left:22px;columns:2;column-gap:28px;}
.toc li{margin:3px 0;break-inside:avoid;}
.table{width:100%;border-collapse:collapse;margin:8px 0 16px;font-size:15px;}
.table th,.table td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top;}
.table th{background:var(--surface);color:var(--text);}
.table td{color:#d4d4da;}
.tablewrap{overflow-x:auto;}

/* ================= home page (index.html) ================= */
section{padding:52px 0;}
.sec-head{max-width:640px;margin-bottom:26px;}
.sec-head h2{font-size:clamp(23px,2.8vw,30px);margin-bottom:6px;}
.sec-head p{color:var(--muted);font-size:15.5px;}
section[id]{scroll-margin-top:64px;}

/* hero: big words on the left, two phones on the right, soft colour behind them */
.hero{position:relative;padding:64px 0 30px;overflow:hidden;}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;filter:blur(90px);pointer-events:none;z-index:0;}
.hero::before{width:520px;height:520px;right:-120px;top:-140px;background:var(--g1);transition:background .6s;}
.hero::after{width:460px;height:460px;left:-160px;bottom:-200px;background:var(--g2);transition:background .6s;}
.hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;}
.kicker{display:inline-flex;align-items:center;gap:8px;color:var(--gold);font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;}
/* phones: the greeting + "Video & photo editor · Android, iPhone & web" stay on one line; the words shrink a little to fit */
@media (max-width:460px){ .kicker{font-size:min(12px,calc((100vw - 32px) / 34));letter-spacing:.04em;gap:.5em;} }
.hero h1{font-size:clamp(34px,4.8vw,54px);margin:12px 0 14px;letter-spacing:-.025em;}
.hero h1 span{background:linear-gradient(90deg,var(--accent),#7df3e6);-webkit-background-clip:text;background-clip:text;color:transparent;}
.lead{color:var(--muted);font-size:clamp(15px,1.6vw,16.5px);max-width:34em;}
.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;}
.pill{border:1px solid var(--line);background:rgba(21,21,27,.8);color:var(--text);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:600;}
.pill b{color:var(--accent);font-weight:800;}
.pill img{display:inline-block;width:18px;height:13px;object-fit:cover;border-radius:3px;vertical-align:-2px;margin-right:6px;}
.cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;}
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:14px;padding:11px 18px;font-weight:800;font-size:14px;border:1px solid var(--line);color:var(--text);background:var(--surface);}
.btn:hover{text-decoration:none;background:var(--surface2);}
.btn svg{width:18px;height:18px;flex:0 0 auto;}
.btn.main{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);box-shadow:0 10px 30px rgba(24,230,210,.22);}
.btn.main:hover{background:#3cf0de;}
.cta-note{margin-top:12px;font-size:13px;color:var(--muted);max-width:520px;}
.phones{position:relative;height:540px;}
.phones .phone{position:absolute;width:244px;}
.phones .phone:nth-child(1){left:6%;top:34px;transform:rotate(-5deg);z-index:2;}   /* Home in front */
.phones .phone:nth-child(2){right:6%;top:0;transform:rotate(4deg);}

/* phone frame around a screenshot */
.phone{aspect-ratio:412/890;border-radius:36px;padding:8px;background:#1d1d25;box-shadow:0 30px 60px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.08);}
.phone img{width:100%;height:100%;object-fit:cover;border-radius:28px;background:#000;}

/* shortcuts: one row of tiles that jump to a part of this page */
.dock-wrap{padding:6px 0 0;}
.dock{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:10px;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.08);}
.sc{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;color:var(--text);background:var(--surface);border:1px solid var(--line);transition:transform .15s,background .15s,border-color .15s;min-width:0;}
.sc:hover{text-decoration:none;background:var(--surface2);border-color:rgba(24,230,210,.45);transform:translateY(-2px);}
.sc .ic{flex:0 0 auto;width:42px;height:42px;}
.sc span.t{display:block;min-width:0;}
.sc b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc small{display:block;color:var(--muted);font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.ic{width:40px;height:40px;border-radius:12px;background:rgba(24,230,210,.1);color:var(--accent);display:grid;place-items:center;}
.ic svg{width:22px;height:22px;}

/* cards */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.grid.two{grid-template-columns:1fr 1fr;}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;}
.card h3{font-size:15.5px;margin:12px 0 5px;}
.card p{color:var(--muted);font-size:14px;}
.card.wide{grid-column:1/-1;}
.grid.feat .card{padding:16px 18px;display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:start;}
.grid.feat .card .ic{grid-row:span 2;width:38px;height:38px;}
.grid.feat .card h3{margin:0 0 3px;font-size:15px;}
.grid.feat .card p{font-size:13.5px;line-height:1.5;}

/* A look inside: a strip of phones you slide sideways */
.strip-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;}
.strip-btns{display:flex;gap:8px;margin-bottom:26px;}
.strip-btns button{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:18px;cursor:pointer;display:grid;place-items:center;}
.strip-btns button:hover{background:var(--surface2);border-color:rgba(24,230,210,.45);}
.strip{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 20px 18px;margin:0 -20px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#33333d transparent;scroll-padding:0 20px;}
.strip .shot{flex:0 0 auto;width:218px;scroll-snap-align:start;}
.shot figcaption{margin-top:14px;text-align:center;}
.shot figcaption b{display:block;font-size:14.5px;}
.shot figcaption span{color:var(--muted);font-size:13px;}
figure{margin:0;}
.shots{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.shots.two{grid-template-columns:1fr 1fr;gap:18px;}

/* privacy band + Google sign-in */
.band{background:linear-gradient(160deg,rgba(0,96,57,.35),rgba(11,11,15,0) 70%),var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.signin{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start;}
.list{margin:0;padding:0;list-style:none;display:grid;gap:10px;}
.list li{display:flex;gap:10px;color:var(--muted);}
.list li::before{content:"";flex:0 0 8px;height:8px;margin-top:9px;border-radius:50%;background:var(--accent);}
.list.no li::before{background:#ff5a6e;}
.list b{color:var(--text);}
.note{color:var(--muted);font-size:14px;margin-top:14px;}

/* Made for Nepal: two screenshots beside the cards */
.nepal-split{display:grid;grid-template-columns:5fr 7fr;gap:28px;align-items:center;}

/* the country part (assets/geo/country.js): flag, Country menu, coming-up dates */
#nepal,#country{scroll-margin-top:64px;}
#country .grid{align-items:start;}
.geo-col{display:grid;gap:14px;align-content:start;}
.geo-flag{display:inline-block;width:34px;height:24px;object-fit:cover;border-radius:4px;vertical-align:-3px;margin-right:12px;box-shadow:0 0 0 1px rgba(255,255,255,.15);}
.geo-pick{display:inline-flex;align-items:center;gap:10px;margin-top:14px;font-size:14px;color:var(--faint);}
.geo-pick select{font:inherit;color:inherit;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:8px 12px;max-width:260px;}
.geo-pick select option{color:#111;}
.geo-days{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:10px;}
.geo-days li{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:baseline;padding-bottom:9px;border-bottom:1px solid rgba(255,255,255,.08);}
.geo-days li:last-child{border-bottom:0;padding-bottom:0;}
.geo-days time{color:var(--faint);font-size:13px;white-space:nowrap;}
.geo-days .geo-loc{grid-column:1;color:var(--faint);font-size:13px;}
.geo-days .geo-wait{display:block;color:var(--faint);border:0;}
.geo-credit{margin-top:12px;font-size:12px;color:var(--faint);}
.geo-credit a{color:inherit;}

@media (max-width:960px){
  .hero{padding:44px 0 20px;}
  .hero .wrap{grid-template-columns:1fr;gap:30px;}
  .phones{height:450px;max-width:480px;margin:0 auto;width:100%;}
  .phones .phone{width:206px;}
  .grid{grid-template-columns:repeat(2,1fr);}
  .three{grid-template-columns:1fr;}
  .signin{grid-template-columns:1fr;}
  .nepal-split{grid-template-columns:1fr;}
  .shots.two{max-width:520px;width:100%;margin:0 auto;}
  .dock{display:flex;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;}
  .dock::-webkit-scrollbar{display:none;}
  .sc{flex:0 0 auto;min-width:178px;scroll-snap-align:start;}
}
@media (max-width:560px){
  .wrap{padding:0 16px;}
  .top .wrap{height:58px;}
  .nav a{padding:7px 9px;font-size:14px;}
  .nav .hide-s{display:none;}
  .hero{padding:34px 0 16px;}
  .phones{height:380px;}
  .phones .phone{width:164px;}
  .phones .phone:nth-child(1){left:2%;}
  .phones .phone:nth-child(2){right:2%;}
  .btn{flex:1 1 100%;justify-content:center;}
  .grid,.grid.two{grid-template-columns:1fr;}
  .phone{border-radius:26px;padding:6px;}
  .phone img{border-radius:21px;}
  section{padding:40px 0;}
  .strip{padding:4px 16px 16px;margin:0 -16px;gap:16px;scroll-padding:0 16px;}
  .grid.feat{grid-template-columns:1fr 1fr;gap:10px;}   /* two small tiles a row on a phone keeps the page short */
  .grid.feat .card{display:block;padding:12px;}
  .grid.feat .card .ic{margin-bottom:8px;}
  .grid.feat .card h3{font-size:14.5px;}
  .grid.feat .card p{font-size:12.5px;line-height:1.45;}
  .strip .shot{width:176px;}
  .strip-btns{display:none;}
  .shots.two{gap:14px;}
  .doc{padding:34px 16px 20px;}
  .toc ol{columns:1;}
}
@media (max-width:420px){ .nav .hide-xs{display:none;} }
@media (hover:none){ .strip-btns{display:none;} }
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} .sc{transition:none;} }

/* a look for each country: the colours of the flag (country.js) in the glow, a thin stripe under the header, the country part and the shortcut tile */
footer{position:relative;}
footer::before{content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:linear-gradient(90deg,var(--c1),var(--c2),var(--c3));opacity:.9;}
.top::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,var(--c1),var(--c2),var(--c3));opacity:.9;}
#greet:not(:empty){color:var(--text);font-size:1.25em;letter-spacing:0;text-transform:none;margin-right:.667em;padding-right:.667em;border-right:2px solid var(--c1);}
#pillGeo{border-color:var(--c1);background:linear-gradient(90deg,var(--g1),rgba(21,21,27,.8) 70%);}
#scCountry{border-color:var(--c1);background:linear-gradient(135deg,var(--g1),var(--surface) 65%);}
#scCountry .ic{background:var(--g1);color:var(--text);}
#nepal,#country{position:relative;overflow:hidden;}
#nepal::before,#country::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--c1),var(--c2),var(--c3));}
#nepal::after,#country::after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-140px;top:-170px;background:var(--g1);filter:blur(80px);pointer-events:none;}
#nepal>.wrap,#country>.wrap{position:relative;z-index:1;}
#country .sec-head h2 .geo-flag{width:46px;height:31px;border-radius:6px;vertical-align:-6px;}
#country .card{box-shadow:inset 0 2px 0 var(--c1);}
@media (prefers-reduced-motion:reduce){ .hero::before,.hero::after{transition:none;} }

/* every page and every part: the same colours as small touches */
.sec-head h2::after,.doc h1::after{content:"";display:block;width:46px;height:3px;border-radius:2px;margin-top:10px;background:linear-gradient(90deg,var(--c1),var(--c2),var(--c3));}
.grid .card,.three .card,.signin .card{transition:border-color .2s,transform .2s;}
.grid .card:hover,.three .card:hover{border-color:var(--c1);transform:translateY(-2px);}
.signin .card{box-shadow:inset 0 2px 0 var(--c1);}
.summary{border-left-color:var(--c1);}
.doc h2{border-left:3px solid var(--c1);padding-left:12px;}
.toc{border-top:2px solid var(--c1);}
a:hover{text-decoration-color:var(--c1);}
.strip .phone{box-shadow:0 24px 50px rgba(0,0,0,.5),0 0 0 1px var(--g1),inset 0 0 0 1px rgba(255,255,255,.08);}
@media (prefers-reduced-motion:reduce){ .grid .card,.three .card,.signin .card{transition:none;} .grid .card:hover,.three .card:hover{transform:none;} }

/* the Country menu under "Made for …" is hidden (owner 2026-11-03 "this hide"): the country comes from the visitor's connection, or a #country link */
.geo-pick{display:none!important}

/* Download section */
.dl-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}   /* three cards on the first row, two wider ones under them */
.card.dl{display:flex;flex-direction:column;align-items:flex-start;grid-column:span 2;}
.card.dl:nth-child(n+4){grid-column:span 3;}
.card.dl p{flex:1 1 auto;margin-bottom:14px;}
.dl-btns{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;}
.dl-btns .btn{padding:10px 14px;}
.dl-size{display:block;margin-top:10px;color:var(--faint);font-size:12.5px;line-height:1.45;}
.btn.dl-off{cursor:default;color:var(--muted);background:transparent;border-style:dashed;}
/* App Store / Google Play: the stores' own badges, 40 px tall like the buttons beside them; before the app is in the store, faded with "Coming soon" under it */
.store-badge{display:inline-flex;flex-direction:column;align-items:center;gap:4px;line-height:0;}
.store-badge img{display:block;height:40px;width:auto;}
a.store-badge:hover img{filter:brightness(1.12);}
.store-badge.soon{cursor:default;}
.store-badge.soon img{opacity:.45;}
.store-badge i{font-style:normal;font-size:11px;font-weight:700;line-height:1.2;color:var(--faint);}
.btn.dl-off:hover{background:transparent;}
.dl-off-link{color:var(--faint);}
.dl-help{max-width:760px;margin-top:18px;}
.dl-help b{color:var(--text);}
@media (max-width:700px){ .dl-grid{grid-template-columns:repeat(2,1fr);} .card.dl,.card.dl:nth-child(n+4){grid-column:auto;} .card.dl:nth-child(5){grid-column:1/-1;} }
@media (max-width:460px){ .dl-grid{grid-template-columns:1fr;} .card.dl:nth-child(5){grid-column:auto;} }
/* app screen photos above the download cards: five phones cut off at the bottom, fading into the cards */
.dl-shots{display:flex;justify-content:center;gap:18px;height:330px;overflow:hidden;margin:0 0 6px;-webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent);}
.dl-shots .phone{flex:0 0 auto;width:182px;align-self:flex-start;box-shadow:0 24px 50px rgba(0,0,0,.5),0 0 0 1px var(--g1),inset 0 0 0 1px rgba(255,255,255,.08);}
.dl-shots .phone:nth-child(2n){margin-top:22px;}
@media (max-width:1000px){ .dl-shots .phone:nth-child(n+5){display:none;} }
@media (max-width:700px){ .dl-shots{height:260px;gap:12px;} .dl-shots .phone{width:140px;} .dl-shots .phone:nth-child(n+4){display:none;} }
@media (max-width:460px){ .dl-shots .phone:nth-child(n+3){display:none;} }
