/* Arch Security · legal pages (Terms, Privacy, Cookies, Accessibility). Self-contained: the base below is the part of
   the old design's site.css these pages used. */

@font-face{
  font-family:"Figtree Variable";
  font-style:normal;
  font-weight:300 900;
  font-display:swap;
  src:url("figtree-latin-wght.woff2") format("woff2-variations"), url("figtree-latin-wght.woff2") format("woff2");
}

:root{
  --ink:#1d1f26;
  --ink-2:#4a4f5c;
  --muted:#7a7f8e;
  --line:#d5d9e2;
  --line-strong:#b9bfcc;
  --navy:#15213a;
  --rust:#b4532f;
  --sans:"Figtree Variable", Figtree, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.5;
  font-feature-settings:"kern" 1;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
::selection{background:rgba(180,83,47,.16);color:var(--ink)}

.frame{
  position:relative;z-index:1;
  min-height:100vh;min-height:100svh;
  display:grid;grid-template-rows:1fr auto;
}
h1{
  font-weight:400;
  font-size:clamp(56px,8vw,106px);line-height:1;letter-spacing:-.045em;
  color:var(--ink);text-wrap:balance;
}
.foot{padding:20px 24px 26px;text-align:center;font-size:12.5px;color:var(--muted)}
@media (prefers-reduced-motion:no-preference){ .foot{animation:fade 1s .35s both} }
@keyframes fade{from{opacity:0}to{opacity:1}}
@media (max-width:640px){
  h1{font-size:clamp(48px,14vw,58px)}
  .foot{padding:16px 16px 22px}
}

.legal{
  width:100%;max-width:46rem;margin:0 auto;
  padding:88px 24px 56px;
}
.legal-head{text-align:center;margin-bottom:56px}
.legal-head .brand{display:inline-block;margin-bottom:26px}
.legal-head .brand img{display:block}
.legal-head h1{font-size:clamp(40px,5.4vw,64px);letter-spacing:-.04em}
.updated{margin-top:18px;font-size:14px;color:var(--muted)}

.legal-body{
  font-size:15.5px;line-height:1.7;color:var(--ink-2);
  text-wrap:pretty;overflow-wrap:break-word;
}
.legal-body p{margin-bottom:16px}
.legal-body section{margin-top:44px;scroll-margin-top:24px}
.legal-body h2{
  margin-bottom:16px;
  font-size:20px;font-weight:600;line-height:1.3;letter-spacing:-.01em;color:var(--ink);
}
.legal-body .num{color:var(--rust);font-variant-numeric:tabular-nums}
.legal-body ol,.legal-body ul{list-style:none}
.legal-body li{margin-bottom:14px}
.legal-body .clauses li{padding-left:3.1em;text-indent:-3.1em}
.legal-body .clauses .num{display:inline-block;min-width:3.1em;text-indent:0}
.legal-body .defs li{position:relative;padding-left:1.4em}
.legal-body .defs li::before{
  content:"";position:absolute;left:.25em;top:.72em;
  width:5px;height:5px;border-radius:50%;background:var(--line-strong);
}

/* Privacy policy: links, numbered lists and the two cookie tables. */
.legal-body a{color:var(--navy);text-underline-offset:3px;overflow-wrap:anywhere}
.legal-body strong{font-weight:600;color:var(--ink)}
.legal-body .listed{list-style:decimal;padding-left:1.7em}
.legal-body .listed li::marker{color:var(--rust);font-variant-numeric:tabular-nums}
/* The page is a grid item: without min-width:0 a wide table stretches the whole page instead of scrolling. */
.legal{min-width:0}
.table-scroll{overflow-x:auto;margin-bottom:16px}
.legal-body table.wide{min-width:560px}
.legal-body table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.55}
.legal-body th,.legal-body td{padding:10px 12px;border:1px solid var(--line);text-align:left;vertical-align:top}
.legal-body th{font-weight:600;color:var(--ink)}
.legal-body thead th{background:rgba(21,33,58,.04)}
.foot a{margin-left:16px;color:inherit;text-underline-offset:3px}

@media (prefers-reduced-motion:no-preference){
  .legal{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
}

@media (max-width:640px){
  .legal{padding:56px 16px 40px}
  .legal-head{margin-bottom:40px}
  .legal-body{font-size:15px}
  .legal-body section{margin-top:36px}
  .legal-body h2{font-size:18px}
  .legal-body .clauses li{padding-left:0;text-indent:0}
  .legal-body .clauses .num{min-width:0;margin-right:.35em}
}

/* Same frame as the home page: a dark page with the content on a rounded light panel,
   the footer panel's grey gradient under its 4.48px dot grid (a static tile here, so these pages need no script). */
html,body{background:#111214}
body{padding:8px}
.frame{
  min-height:calc(100vh - 16px);min-height:calc(100svh - 16px);
  border-radius:16px;overflow:hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4.48' height='4.48'%3E%3Crect x='1.74' y='1.74' width='1' height='1' fill='%23d9d9d9' fill-opacity='.7'/%3E%3C/svg%3E") 0 0/4.48px 4.48px,
    linear-gradient(180deg,#f4f4f4,#e9e9e9);
}
@supports (corner-shape: squircle){ .frame{corner-shape:squircle;border-radius:32px} }
@media (max-width:1199px){
  body{padding:6px}
  .frame{min-height:calc(100vh - 12px);min-height:calc(100svh - 12px)}
}

/* the Arch logo is the same 56px everywhere on the site */
.legal-head .brand img{width:56px;height:17.5px}
