/* ShadeLock fluid page. Everything scales: the board is 1440 units wide (1u = 1 px at a 1440 px window).
   Header and footer use --u (window based). Text on the pictures uses --c (picture based), set per picture
   in the generated index.html, so lettering always grows and shrinks together with the picture it sits on. */
@font-face{font-family:"Lato";font-style:normal;font-weight:300;font-display:swap;src:url(fonts/lato-300-latin.woff2?v=7bb29c58) format("woff2")}
@font-face{font-family:"Lato";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/lato-400-latin.woff2?v=d4ae5188) format("woff2")}
@font-face{font-family:"Lato";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/lato-700-latin.woff2?v=7a7ce1a3) format("woff2")}
:root{--ink:#140f10;--soft:#352d30;--mint:#a9efe3;--night:#0e1d1c}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);background:linear-gradient(180deg,#dcd1cf 0%,#cdc1bf 52%,#ddd1d1 100%);
  font-family:"Lato",-apple-system,"SF Pro Display","Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.board{max-width:1920px;margin:0 auto;container-type:inline-size}
.top,.row,.features{--u:calc(100cqw / 1440)}

/* ---- header (positions measured on the design) ---- */
.top{position:relative;height:calc(98.15*var(--u));margin-top:calc(30.85*var(--u))}
.top>*{position:absolute}
.wordmark{left:calc(77.8*var(--u));top:calc(41.3*var(--u));transform:translateY(-50%);font-size:max(calc(24*var(--u)),24px);font-weight:400;letter-spacing:.192em;white-space:nowrap;color:var(--ink)}
.rule{left:calc(292.5*var(--u));top:calc(25*var(--u));height:calc(35.3*var(--u));width:calc(1.2*var(--u));background:rgba(40,30,34,.55)}
.tagline{left:calc(327.5*var(--u));top:calc(44.6*var(--u));transform:translateY(-50%);display:block}
.tagline b,.tagline span{display:block;white-space:nowrap;line-height:1.2}
.tagline b{font-size:max(calc(13*var(--u)),13px);font-weight:700;letter-spacing:.3em;color:var(--ink)}
.tagline span{margin-top:6px;font-size:max(calc(12*var(--u)),12px);font-weight:400;letter-spacing:0;color:var(--soft)}
.words{right:calc(56.8*var(--u));top:calc(41.4*var(--u));transform:translateY(-50%);display:flex;align-items:center;gap:calc(19.5*var(--u));
  font-size:max(calc(11*var(--u)),11px);font-weight:700;letter-spacing:.2em;color:var(--soft);white-space:nowrap}
.words i{font-style:normal}

/* ---- the three pictures ---- */
.row{display:grid;grid-template-columns:326.4fr 317.7fr 792fr;padding:0 calc(29.6*var(--u)) 0 calc(17.3*var(--u));align-items:start}
.p-pattern{margin-top:calc(4.75*var(--u))}
.p-vault{margin-top:calc(10.55*var(--u))}
.p-browser{margin-top:calc(-.5*var(--u))}
.part{container-type:inline-size;min-width:0}
.inner{position:relative;width:100%;--c:calc(100cqw / var(--w))}
.inner img{display:block;width:100%;height:auto}
.t{position:absolute;white-space:nowrap;line-height:1.2;margin:0;text-decoration:none}
.t.link{cursor:pointer}
.mint{color:#b6ece3}
h1.t,h2.t,p.t{font-family:inherit}

/* ---- footer ---- */
.features{position:relative;height:calc(70*var(--u));margin-top:calc(22*var(--u))}
.features ul{list-style:none;margin:0;padding:0}
.features li{position:absolute;top:calc(-1.5*var(--u));display:flex;align-items:center;gap:calc(13*var(--u));color:var(--ink)}
.features svg{width:calc(26*var(--u));height:calc(26*var(--u));flex:none}
.features b{display:block;font-size:max(calc(12*var(--u)),12px);font-weight:700;color:#080505;line-height:1.5}
.features small{display:block;font-size:max(calc(9.5*var(--u)),10.5px);font-weight:400;color:#150e0e;-webkit-text-stroke:.15px #150e0e;line-height:1.5}
.features li:nth-child(1){left:calc(343.5*var(--u))}
.features li:nth-child(2){left:calc(518*var(--u))}
.features li:nth-child(3){left:calc(748*var(--u))}
.features li:nth-child(4){left:calc(948*var(--u))}
.features ul::before,.features ul::after{content:"";position:absolute;top:0;height:calc(49*var(--u));border-left:1px solid rgba(60,50,55,.38)}
.features ul::before{left:calc(315.3*var(--u))}
.features ul::after{left:calc(1166*var(--u))}
/* ---- the scrolling information sections ---- */
.scroll{--r:min(100cqw,1920px);max-width:1180px;margin:0 auto;padding:0 clamp(20px,4cqw,48px)}
.info{padding:clamp(56px,8cqw,120px) 0 0;scroll-margin-top:24px}
.info h2{margin:0 0 14px;font-weight:300;font-size:clamp(28px,3.2cqw,46px);letter-spacing:.02em;line-height:1.15}
.info .lead{margin:0 0 34px;max-width:40em;color:#2a2326;font-size:clamp(16px,1.25cqw,19px);line-height:1.65;font-weight:400}
.info .small{color:var(--soft);font-size:15px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.card{background:#e9e0de;border-radius:18px;padding:26px;box-shadow:0 14px 34px rgba(60,40,35,.12),inset 0 1px 0 rgba(255,255,255,.5)}
.card h3{margin:0 0 8px;font-size:19px;font-weight:700}
.card p{margin:0;color:#2a2326;font-size:16px;line-height:1.55;font-weight:400}
.dark-panel{background:#101719;color:#e6efee;border-radius:26px;padding:clamp(26px,4cqw,52px);box-shadow:0 24px 60px rgba(30,20,20,.28)}
.dark-panel p{color:#dbe6e4;max-width:44em;font-size:clamp(16px,1.25cqw,19px);line-height:1.7;font-weight:400}
.dark-panel h2{color:#f4f7f6}
.button{display:inline-block;background:var(--mint);color:var(--night);font-weight:700;text-decoration:none;padding:15px 28px;border-radius:14px}
footer.legal{max-width:1180px;margin:0 auto;padding:clamp(56px,7cqw,100px) clamp(20px,4cqw,48px) 48px;text-align:center;font-size:14px;color:var(--soft);line-height:1.9}
footer.legal a{color:var(--soft)}
a:focus-visible{outline:2px solid #1b7567;outline-offset:3px;border-radius:4px}

/* ---- header steps: keep the three header blocks from colliding as the window shrinks ----
   Step 1: the grey sentence wraps onto two lines.  Step 2: the four words move to a row of their own under the header,
   and the header band is re-centred between the page top and the pictures.  Below 900 px the stacked layout takes over. */
@container (max-width: 1439px){
  /* below 1440 the text keeps its size and the header becomes a flowing row, so blocks can never sit on top of each other:
     the sentence takes the space that is left and wraps */
  .top{height:auto;display:flex;flex-wrap:wrap;align-items:center;column-gap:34px;row-gap:14px;
    padding:0 56.8px 0 77.8px;margin-top:44px;margin-bottom:26px}
  .top>*{position:static;transform:none}
  .wordmark{flex:none}
  .rule{flex:none;align-self:stretch;height:auto;min-height:35px}
  .tagline{flex:1 1 0;min-width:12em}
  .tagline span{white-space:normal;line-height:1.4}
  .words{flex:none;margin-left:20px}
  .features{height:auto;margin-top:34px;padding:0 34px 30px}
  .features ul{display:flex;flex-wrap:wrap;justify-content:center;gap:20px 44px}
  .features ul::before,.features ul::after{display:none}
  .features li{position:static}
}
/* minimum width: on a computer screen the page never gets narrower than 1150 px. A narrower window shows a sideways scroll bar
   instead of squeezing the page further. (Phone-sized screens are handled separately below and later.) */
.tagline-under{display:none}
/* Below 1150 px the three pictures rearrange so the lettering inside them stays large: the browser scene goes first at
   full width, the two phones sit side by side under it. The header becomes one row (title and the four words) and the
   ENCRYPTION APP block moves out of the header to sit under the pictures. (Asger chose this, "C", on 25 Nov 2026.) */
@container (max-width: 1149px){
  .rule,.tagline{display:none}
  .top{padding:0 34px;margin-bottom:34px}
  .words{margin-left:auto}
  .tagline-under{display:block;padding:34px 34px 0}
  .tagline-under b{display:block;font-size:13px;font-weight:700;letter-spacing:.3em;color:var(--ink);line-height:1.2}
  .tagline-under span{display:block;margin-top:6px;font-size:12px;font-weight:400;line-height:1.4;color:var(--soft);max-width:44em}
  .row{display:flex;flex-wrap:wrap;gap:14px;padding:0 34px;justify-content:center;align-items:flex-start}
  /* every picture is drawn at the SAME scale as the browser scene (k = pixels per design unit), so the phones keep their
     real proportions to each other and to the scene, and nothing is stretched: widths come from the picture files themselves */
  .row{--k:calc((100cqw - 68px) / 792)}
  .p-browser{order:1;flex:1 1 100%;margin:0}
  .p-pattern{order:2;flex:none;width:calc(326.4 * var(--k));margin:calc(1.75 * var(--k)) 0 0}
  .p-vault{order:3;flex:none;width:calc(317.7 * var(--k));margin:calc(7.15 * var(--k)) 0 0}
}
/* ---- narrow windows: the pictures stack, the lettering still scales with each picture ---- */
@media (max-width:900px){
  .tagline-under{display:none}
  .top,.row,.features{--u:calc(100cqw / 430)}
  .top{height:auto;padding:calc(22*var(--u)) calc(20*var(--u)) calc(6*var(--u));display:grid;gap:calc(8*var(--u))}
  .top>*{position:static}
  .wordmark{transform:none;font-size:calc(22*var(--u))}
  .rule,.words{display:none}
  .tagline{display:block}
  .tagline b,.tagline span{position:static;transform:none;display:block;white-space:normal}
  .tagline b{font-size:calc(12*var(--u));margin-bottom:calc(4*var(--u))}
  .tagline span{font-size:calc(14*var(--u));line-height:1.5}
  .row{display:flex;flex-wrap:wrap;gap:calc(10*var(--u));padding:calc(10*var(--u)) calc(8*var(--u)) 0;justify-content:center}
  .p-browser{order:1;flex:1 1 100%}
  .p-pattern{order:2;flex:1 1 44%;max-width:50%}
  .p-vault{order:3;flex:1 1 44%;max-width:50%;margin-top:0}
  .p-pattern,.p-browser{margin-top:0}
  .top{margin-top:calc(10*var(--u))}
  .features{height:auto;margin-top:calc(26*var(--u));padding:0 calc(22*var(--u)) calc(10*var(--u))}
  .features ul{display:grid;grid-template-columns:1fr 1fr;gap:calc(22*var(--u)) calc(14*var(--u))}
  .features ul::before,.features ul::after{display:none}
  .features li{position:static;gap:calc(10*var(--u))}
  .features svg{width:calc(30*var(--u));height:calc(30*var(--u))}
  .features b{font-size:calc(14*var(--u))}
  .features small{font-size:calc(12*var(--u))}
}

/* ---- additions for the information sections (how it works, security list, questions) ---- */
.steps{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;counter-reset:s}
.steps li{counter-increment:s;background:#e9e0de;border-radius:18px;padding:26px 24px;color:var(--soft);font-size:16px;line-height:1.55}
.steps li::before{content:counter(s);display:block;font-size:34px;font-weight:300;color:var(--ink);margin-bottom:6px}
.steps li b{display:block;color:var(--ink);font-size:18px;margin-bottom:4px}
.dark-panel h3{margin:26px 0 8px;font-size:18px;font-weight:700;color:#fff}
.dark-panel ul{margin:0;padding-left:20px;color:#dbe6e4;font-size:16px;line-height:1.7}
details{border-top:1px solid rgba(40,30,34,.25);padding:14px 2px}
details:last-of-type{border-bottom:1px solid rgba(40,30,34,.25)}
summary{cursor:pointer;font-size:18px;font-weight:700;color:var(--ink);list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";float:right;font-weight:300;font-size:24px;line-height:1}
details[open] summary::after{content:"\2212"}
details p{margin:10px 0 2px;color:var(--soft);font-size:16px;line-height:1.6;max-width:44em}
