/* cashearnly.com shared styles. Design: the "Hej." direction (Lovable prototype, owner choice
   2026-10-02), rebuilt as plain CSS so every page is static HTML that crawlers read in full.

   ★ Firebase serves *.css with a one-year immutable cache (firebase.json). After a deploy,
   NEVER edit this file in place: copy it to a new dated name and point the pages at the copy,
   or browsers keep the old version for a year. */

@font-face{font-family:"Archivo";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/archivo-latin-800.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-400.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-latin-600.woff2) format("woff2")}

/* Brand colours from design/logo-2026-09/final: blue #2A6FF1, coin gold #FFCD4F, ink #111015.
   Links use a slightly deeper blue so link text keeps 4.5:1 on the lavender cards too. */
:root{
  --bg:#FFFFFF;--fg:#111015;--card:#FFFFFF;--muted:#54515A;
  --line:rgba(17,16,21,.09);--line-strong:rgba(17,16,21,.2);
  --lav:#EBE8FC;--mint:#D7F3E5;
  --brand:#2A6FF1;--accent:#1F5BD6;
  --btn:#111015;--btn-fg:#FFFFFF;
  --radius-card:26px;--max:72rem;
  --font-display:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#111117;--fg:#F4F3F8;--card:#1C1A24;--muted:#AFACB6;
    --line:rgba(255,255,255,.1);--line-strong:rgba(255,255,255,.24);
    --lav:#2C2642;--mint:#18382B;--accent:#8DB0FF;
    --btn:#F4F3F8;--btn-fg:#111015;color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#111117;--fg:#F4F3F8;--card:#1C1A24;--muted:#AFACB6;
  --line:rgba(255,255,255,.1);--line-strong:rgba(255,255,255,.24);
  --lav:#2C2642;--mint:#18382B;--accent:#8DB0FF;
  --btn:#F4F3F8;--btn-fg:#111015;color-scheme:dark;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font-body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{font-family:var(--font-display);font-weight:800;letter-spacing:-.025em;line-height:1.02;margin:0}
p{margin:0}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.page{position:relative;overflow-x:hidden;overflow-x:clip}
:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px;top:8px;z-index:10;background:var(--card);color:var(--fg);padding:8px 14px;border-radius:999px;border:1px solid var(--line-strong)}
.skip:focus{left:12px}

/* Header */
.site-head{position:relative;z-index:2}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;padding-bottom:20px}
.brand{display:flex;align-items:center;gap:10px;color:var(--fg);text-decoration:none;flex:none}
.brand img{width:36px;height:36px}
.brand svg{height:28px;width:auto}
.head-tools{display:flex;align-items:center;gap:12px}
.lang{display:flex;align-items:center;font-size:12px;font-weight:600;letter-spacing:.03em}
.lang a{color:var(--muted);text-decoration:none;padding:8px 2px}
.lang a[aria-current]{color:var(--fg)}
.lang span{color:var(--muted);padding:0 4px}
.theme-btn{width:36px;height:36px;flex:none;border-radius:999px;border:1px solid var(--line-strong);background:transparent;color:var(--fg);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.theme-btn svg{width:16px;height:16px}
.theme-btn .sun{display:none}
:root[data-theme="dark"] .theme-btn .moon{display:none}
:root[data-theme="dark"] .theme-btn .sun{display:block}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .theme-btn .moon{display:none}
  :root:not([data-theme="light"]) .theme-btn .sun{display:block}
}
.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--btn);color:var(--btn-fg);font-weight:600;font-size:14px;line-height:1.2;padding:10px 20px;text-decoration:none;white-space:nowrap;transition:opacity .15s}
.pill:hover{opacity:.85}
@media (max-width:400px){
  .site-head .wrap{gap:8px}
  .head-tools{gap:8px}
  .brand{gap:8px}
  .brand img{width:32px;height:32px}
  .brand svg{height:24px}
  .pill{padding:9px 14px;font-size:13px}
}

/* Hero */
.wash{position:absolute;top:0;left:0;right:0;height:900px;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse at 0% 0%,var(--lav) 0%,transparent 60%),radial-gradient(ellipse at 100% 20%,var(--mint) 0%,transparent 55%),linear-gradient(to bottom,transparent 70%,var(--bg) 100%)}
.hero{position:relative;z-index:1;display:grid;gap:56px;align-items:center;padding-top:40px;padding-bottom:80px}
.hero h1{font-size:88px;line-height:.95}
.tagline{margin-top:16px;font-family:var(--font-display);font-weight:800;font-size:36px;line-height:1.05;letter-spacing:-.025em}
.lede{margin-top:24px;max-width:32rem;color:var(--muted)}
.fine{margin-top:12px;font-size:14px;color:var(--muted)}
/* Official Google Play badge, hotlinked from Google so it is always the current artwork, and
   never restyled (no filter, radius or recolour). The PNG carries its own clear space; the
   negative margin only lines its visible edge up with the text. Minimum height is 28px. */
.play-badge{display:inline-block;margin-top:24px}
.play-badge img{height:72px;width:auto}
.hero .play-badge{margin-left:-10px}
.phone-stage{position:relative;width:100%;max-width:384px;margin:0 auto;padding-bottom:28px}
.phone-stage::before{content:"";position:absolute;left:0;right:0;bottom:0;top:64px;border-radius:48px;background:var(--mint)}
.phone{position:relative;margin:24px auto 0;width:220px;border:6px solid var(--fg);border-radius:38px;background:var(--card);padding:7px}
.phone img{width:100%;height:auto;border-radius:28px}
.chip{position:absolute;display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--card);border-radius:16px;padding:12px 16px;font-size:14px;font-weight:600;line-height:1.2}
.chip .dot{width:24px;height:24px;flex:none;border-radius:999px;background:var(--mint);display:flex;align-items:center;justify-content:center}
.chip svg{width:14px;height:14px}
.chip-a{left:0;top:186px}
.chip-b{right:0;bottom:92px}
@media (min-width:640px){
  .phone{width:240px}
  .chip-a{left:-16px}
  .chip-b{right:-16px}
}
@media (min-width:768px){
  .hero{grid-template-columns:1.15fr 1fr;padding-top:64px}
  .hero h1{font-size:120px}
  .tagline{font-size:48px}
}

/* Sections */
.sec{position:relative;z-index:1;padding-top:80px;padding-bottom:80px}
.sec > h2{font-size:36px}
.sec-body{margin-top:40px}
.card{border:1px solid var(--line);background:var(--card);border-radius:var(--radius-card)}
.small{font-size:14px;color:var(--muted)}
@media (min-width:768px){
  .sec{padding-top:112px;padding-bottom:112px}
  .sec > h2{font-size:60px}
  .sec-body{margin-top:56px}
}

/* A day with Earnly */
.day{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.day li{padding:24px}
.day .time{font-family:var(--font-display);font-weight:800;font-size:30px;letter-spacing:-.025em;line-height:1.1}
.day svg{width:24px;height:24px;margin-top:20px}
.day .t{margin-top:12px;font-size:15px;color:var(--muted)}
.band{margin-top:24px;border-radius:var(--radius-card);background:var(--lav);padding:32px}
.band h3{font-size:24px}
.band p{margin-top:12px;max-width:42rem}
@media (min-width:768px){
  .day{grid-template-columns:repeat(5,minmax(0,1fr))}
  .band{padding:40px}
  .band h3{font-size:30px}
}

/* Where your coins go */
.pay{display:grid;gap:20px}
.field{border-radius:32px;padding:32px;display:flex;flex-direction:column}
.field.mint{background:var(--mint)}
.field.lav{background:var(--lav)}
.field h3{font-size:30px}
.field p{margin-top:16px}
/* Official Swish logotype, secondary version for light backgrounds, file unmodified.
   Getswish rules: never recoloured, cropped or combined with other logos. It therefore always
   sits alone on a WHITE plate, in dark mode too. Change nothing here except the height. */
.swish-plate{margin-top:auto;padding-top:32px}
.swish-plate div{background:#FFFFFF;border:1px solid rgba(17,16,21,.08);border-radius:24px;padding:22px;display:flex;justify-content:center}
.swish-plate img{height:44px;width:auto}
.notes{margin-top:24px;font-size:14px;color:var(--muted)}
.notes p + p{margin-top:4px}
@media (min-width:768px){
  .pay{grid-template-columns:1fr 1fr}
  .field{padding:48px}
  .field h3{font-size:36px}
}

/* Good to know */
.facts{list-style:none;margin:0;padding:0;display:grid;gap:32px 48px}
.facts li{display:flex;gap:16px}
.tick{flex:none;width:40px;height:40px;border-radius:999px;background:var(--mint);color:var(--fg);display:flex;align-items:center;justify-content:center}
.tick svg{width:20px;height:20px}
.facts b{display:block;font-weight:600}
.facts span{color:var(--muted)}
@media (min-width:768px){.facts{grid-template-columns:1fr 1fr}}

/* Reviews */
.stats{display:flex;flex-wrap:wrap;gap:12px 40px;font-family:var(--font-display);font-weight:800;font-size:20px;letter-spacing:-.02em;line-height:1.2}
.quotes{margin-top:32px;column-gap:20px}
.quote{break-inside:avoid;margin:0 0 20px;padding:32px}
.stars{display:flex;gap:4px}
.stars svg{width:16px;height:16px}
.quote blockquote{margin:20px 0 0;font-size:20px;line-height:1.45}
.quote figcaption{margin-top:20px;font-size:14px;color:var(--muted)}
.quotes + .small{margin-top:12px}
.sec .small + .small{margin-top:6px}
@media (min-width:768px){.quotes{columns:3}}

/* FAQ: answers are in the HTML from the start, so crawlers read them even when closed */
.faq{max-width:48rem;border-bottom:1px solid var(--line)}
.faq details{border-top:1px solid var(--line);padding:24px 0}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;list-style:none;font-size:20px;font-weight:600;line-height:1.35}
.faq summary::-webkit-details-marker{display:none}
.faq summary svg{flex:none;width:24px;height:24px;transition:transform .2s}
.faq details[open] summary svg{transform:rotate(45deg)}
.faq details p{margin-top:16px;color:var(--muted)}
@media (min-width:768px){.faq summary{font-size:24px}}

/* Made in Solna */
.sec-tight{padding-top:48px;padding-bottom:48px}
.company{border-radius:32px;background:var(--lav);padding:32px}
.company .pin{width:32px;height:32px}
.company h2{margin-top:24px;font-size:36px}
.company p{margin-top:24px;max-width:42rem}
.textlink{display:inline-block;margin-top:24px;font-weight:600;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
@media (min-width:768px){
  .company{padding:56px}
  .company h2{font-size:60px}
}

/* Closing */
.closing{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:96px;padding-bottom:112px}
.closing .appicon{width:88px;height:88px;margin-bottom:32px}
.closing h2{font-size:60px}
.closing .play-badge{margin-top:32px}
.closing .bye{margin-top:20px;color:var(--muted)}
@media (min-width:768px){.closing h2{font-size:110px}}

/* Footer */
.site-foot{position:relative;z-index:1}
.site-foot .wrap > div{border-top:1px solid var(--line);padding-top:40px;padding-bottom:40px;font-size:14px;color:var(--muted)}
.site-foot nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.site-foot a{text-decoration:none}
.site-foot a:hover{color:var(--fg)}
.site-foot p{margin-top:16px}

/* Long-form pages (/press, /support) */
.doc-head{position:relative;z-index:1;max-width:48rem;margin:0 auto;padding:40px 20px 48px}
.doc-head h1{font-size:44px}
.doc-head p{margin-top:16px;color:var(--muted)}
.doc{position:relative;z-index:1;max-width:48rem;margin:0 auto;padding:0 20px 48px}
.doc section{padding:40px 0;border-top:1px solid var(--line)}
.doc h2{font-size:28px;margin-bottom:20px}
.doc h3{font-family:var(--font-body);font-weight:600;font-size:18px;letter-spacing:0;line-height:1.4;margin:28px 0 8px}
.doc p{margin:0 0 16px}
.doc ul{margin:0 0 16px;padding-left:20px}
.doc li{margin-bottom:8px}
.doc a{color:var(--accent);text-underline-offset:3px}
.doc table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;font-size:15px;margin:8px 0 16px}
.doc th,.doc td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.doc tr:last-child th,.doc tr:last-child td{border-bottom:0}
.doc th{background:var(--lav);font-weight:600;width:34%}
.doc .note{background:var(--mint);border-radius:20px;padding:20px 24px;margin:20px 0}
.doc .note p:last-child{margin-bottom:0}
.doc .updated{font-size:14px;color:var(--muted)}
@media (min-width:768px){
  .doc-head{padding-top:64px}
  .doc-head h1{font-size:64px}
  .doc h2{font-size:34px}
}

/* Reveal on scroll. Only with JS on, so the page is never blank without it. */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s,transform .7s}
.js .reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none;transition:none}
  .faq summary svg{transition:none}
}
@media print{
  .js .reveal{opacity:1;transform:none}
  .wash,.theme-btn{display:none}
}
