/* Public landing page (Components/Pages/Home.razor).
   Loaded only on "/" via <HeadContent>. Everything is namespaced under .lp so it
   cannot collide with the portal design language in shared.css.
   Content follows the sprogteam.dk homepage; the layout is our own — flat, quiet
   and text-first rather than the illustration-heavy original. */

.lp{background:#fff;color:var(--text);min-height:100vh}
.lp *{box-sizing:border-box}
.lp .wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 28px}
.lp a{color:inherit;text-decoration:none}
.lp h1,.lp h2,.lp h3{color:var(--ink);margin:0;letter-spacing:-.02em}
.lp p{margin:0}
/* The header is sticky, so an anchor jump would otherwise land under it. */
.lp section[id],.lp div[id]{scroll-margin-top:86px}
html:has(.lp){scroll-behavior:smooth}

/* ---------- Header ---------- */
.lp-head{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--line)}
.lp-head .wrap{height:70px;display:flex;align-items:center;gap:36px}
.lp-brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
.lp-brand .mark{width:36px;height:36px;border-radius:9px;color:#fff;font-weight:700;font-size:17px;
  background:linear-gradient(135deg,var(--brand-2),var(--brand-3));
  display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(42,134,224,.3)}
.lp-brand .name{font-size:16px;font-weight:700;color:var(--ink);letter-spacing:-.01em;line-height:1.15}
.lp-brand .name small{display:block;font-size:9.5px;font-weight:600;color:var(--soft);
  letter-spacing:.16em;text-transform:uppercase;margin-top:2px}
/* An uploaded logo, in place of the lettered mark. Capped by height so any
   proportions an admin uploads still fit the 70px header. */
.lp-logo{height:38px;width:auto;max-width:220px;object-fit:contain}
.lp-foot .lp-logo{height:34px}

.lp-nav{display:flex;align-items:center;gap:28px;font-size:13.5px;font-weight:500;color:var(--muted)}
.lp-nav a{padding:4px 0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.lp-nav a:hover{color:var(--brand-1);border-bottom-color:var(--brand-2)}
.lp-nav a.active{color:var(--brand-1);font-weight:600;border-bottom-color:var(--brand-2)}
.lp-head .lp-cta{margin-left:auto;display:flex;align-items:center;gap:12px}

.lp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;
  padding:11px 22px;font-size:13.5px;font-weight:600;border:1px solid transparent;cursor:pointer;
  transition:background .15s,border-color .15s,color .15s}
.lp-btn.brand{background:var(--brand-2);border-color:var(--brand-2);color:#fff;box-shadow:0 1px 2px rgba(42,134,224,.25)}
.lp-btn.brand:hover{background:var(--brand-1);border-color:var(--brand-1)}
.lp-btn.line{background:#fff;border-color:var(--line);color:var(--ink)}
.lp-btn.line:hover{border-color:var(--brand-2);color:var(--brand-1)}
.lp-btn.lg{padding:14px 28px;font-size:14.5px}

/* ---------- Hero ---------- */
.lp-hero{border-bottom:1px solid var(--line);background:linear-gradient(180deg,var(--brand-soft) 0%,#fff 100%)}
.lp-hero .wrap{padding-top:82px;padding-bottom:82px;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.lp-eyebrow{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);
  border-radius:999px;padding:6px 14px;font-size:11.5px;font-weight:600;color:var(--brand-1);
  letter-spacing:.1em;text-transform:uppercase;margin-bottom:22px}
.lp-eyebrow::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--action)}
.lp-hero h1{font-size:44px;line-height:1.12;font-weight:700;margin-bottom:20px}
.lp-hero .lead{font-size:16px;line-height:1.7;color:var(--muted);max-width:520px;margin-bottom:32px}
.lp-hero .lp-actions{display:flex;flex-wrap:wrap;gap:12px}

.lp-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:44px}
.lp-facts div{background:#fff;padding:18px 16px}
.lp-facts.wide{grid-template-columns:repeat(4,1fr);margin-top:0}
.lp-facts.wide div{padding:26px 24px}
.lp-facts.wide b{font-size:30px}
.lp-facts b{display:block;font-size:24px;font-weight:700;color:var(--brand-1);letter-spacing:-.02em}
.lp-facts span{display:block;font-size:12px;color:var(--muted);margin-top:3px}

/* Hero side card — the three ways an interpreter can join you */
.lp-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;
  box-shadow:0 8px 30px rgba(15,29,45,.07)}
.lp-panel h3{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--soft);margin-bottom:18px}
/* An uploaded picture standing where a panel would otherwise be. */
.lp-shot{width:100%;height:auto;border-radius:14px;border:1px solid var(--line);
  box-shadow:0 8px 30px rgba(15,29,45,.07)}
.lp-modes{display:flex;flex-direction:column;gap:10px}
.lp-mode{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line);
  border-radius:10px;background:var(--panel-2);transition:border-color .15s,background .15s}
.lp-mode:hover{border-color:var(--brand-3);background:#fff}
.lp-mode .ico{width:38px;height:38px;border-radius:9px;background:var(--brand-soft);color:var(--brand-1);
  display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}
.lp-mode strong{display:block;font-size:14px;color:var(--ink);font-weight:600}
.lp-mode span{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}

/* ---------- Sub-page header (services / about / apply) ----------
   Shorter than the home hero and single-column: these pages open on a statement,
   not on a booking panel. */
.lp-phero{border-bottom:1px solid var(--line);background:linear-gradient(180deg,var(--brand-soft) 0%,#fff 100%)}
.lp-phero .wrap{padding:66px 28px 58px}
.lp-phero .kicker{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--brand-1);margin-bottom:14px}
.lp-phero h1{font-size:38px;line-height:1.18;font-weight:700;margin-bottom:18px;max-width:760px}
.lp-phero p{font-size:16px;line-height:1.75;color:var(--muted);max-width:660px}
.lp-phero .lp-actions{display:flex;flex-wrap:wrap;gap:12px}

/* "See all nine services" style links that close a previewing section. */
.lp-more{margin-top:28px}
.lp-link{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:var(--brand-1)}
.lp-link::after{content:"→";transition:transform .15s}
.lp-link:hover::after{transform:translateX(3px)}

/* Callout closing a page: a statement and the one button that follows from it. */
.lp-note{background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px 32px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;
  box-shadow:0 8px 30px rgba(15,29,45,.06)}
.lp-note h3{font-size:19px;font-weight:700;margin-bottom:8px}
.lp-note p{font-size:14.5px;line-height:1.75;color:var(--muted);max-width:640px}

/* ---------- Languages strip ---------- */
.lp-langs{border-bottom:1px solid var(--line);background:var(--panel-2)}
.lp-langs .wrap{padding:26px 28px;display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.lp-langs .label{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
.lp-langs ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.lp-langs li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 15px;
  font-size:13px;color:var(--text);font-weight:500}

/* ---------- Sections ---------- */
.lp-sec{padding:84px 0;border-bottom:1px solid var(--line)}
.lp-sec.alt{background:var(--panel-2)}
.lp-sec-head{max-width:640px;margin-bottom:44px}
.lp-sec-head .kicker{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--brand-1);margin-bottom:12px}
.lp-sec-head h2{font-size:30px;line-height:1.25;font-weight:700;margin-bottom:14px}
.lp-sec-head p{font-size:15px;line-height:1.75;color:var(--muted)}
.lp-sec-head.centred{margin-left:auto;margin-right:auto;text-align:center}

/* ---------- Collaborator logos ----------
   A wrapping, centred strip rather than a grid: how many partners there are is
   an admin's decision, and any count has to look deliberate. Logos are held to a
   common height so a tall one and a wide one still sit on the same line. */
.lp-logos{display:flex;flex-wrap:wrap;justify-content:center;gap:18px}
/* Tiles stretch to the tallest in their row, so a strip that is only half filled
   in still lines up: one with artwork and one still showing just its name end up
   the same height without either being given its own. */
.lp-logo-tile{flex:0 1 200px;min-height:118px;background:#fff;border:1px solid var(--line);
  border-radius:12px;padding:20px 18px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:7px;text-align:center;transition:border-color .15s,box-shadow .15s}
.lp-logo-tile:hover{border-color:var(--brand-3);box-shadow:0 6px 20px rgba(15,29,45,.07)}
.lp-logo-tile img{max-height:44px;max-width:150px;width:auto;object-fit:contain;margin-bottom:4px;
  /* Mixed logos in mixed colours fight each other in a row. Muted until hovered
     keeps the strip calm without hiding whose logo it is. */
  filter:grayscale(1);opacity:.72;transition:filter .2s,opacity .2s}
.lp-logo-tile:hover img{filter:none;opacity:1}
.lp-logo-name{font-size:14px;font-weight:600;color:var(--ink);line-height:1.35}
.lp-logo-kind{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}

.lp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
/* How many cards there are is an admin's decision, so the card lists flow rather
   than fixing three columns: any count fills the rows it can and centres what is
   left over, instead of stranding a lone card at the end of a rigid grid. */
.lp-grid.flow{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
.lp-grid.flow > .lp-card{flex:1 1 300px;max-width:360px}
.lp-grid.flow.four > .lp-card{flex:1 1 240px;max-width:265px}
.lp-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;
  transition:border-color .15s,box-shadow .15s,transform .15s}
.lp-card:hover{border-color:var(--brand-3);box-shadow:0 8px 24px rgba(15,29,45,.07);transform:translateY(-2px)}
.lp-card .ico{width:42px;height:42px;border-radius:10px;background:var(--brand-soft);color:var(--brand-1);
  display:flex;align-items:center;justify-content:center;font-size:19px;margin-bottom:16px}
.lp-card h3{font-size:16px;font-weight:600;margin-bottom:8px}
.lp-card p{font-size:13.5px;line-height:1.7;color:var(--muted)}

/* ---------- Split (about / app) ---------- */
.lp-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.lp-split h2{font-size:30px;line-height:1.25;font-weight:700;margin-bottom:16px}
.lp-split p{font-size:15px;line-height:1.8;color:var(--muted);margin-bottom:16px}
.lp-list{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.lp-list li{position:relative;padding-left:28px;font-size:14px;color:var(--text);line-height:1.6}
.lp-list li::before{content:"\2713";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;
  background:var(--action-soft);color:var(--action);font-size:10px;font-weight:700;
  display:flex;align-items:center;justify-content:center}

.lp-steps{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 26px;
  box-shadow:0 8px 30px rgba(15,29,45,.06)}
/* Same steps, but full width outside a split — no card, wider text column. */
.lp-steps.flat{box-shadow:none;border:0;background:transparent;padding:0;
  border-top:1px solid var(--line)}
.lp-steps.flat .lp-step{padding:26px 0;border-bottom:1px solid var(--line)}
.lp-steps.flat .lp-step span span{max-width:760px}
.lp-step{display:flex;gap:18px;padding:22px 0;border-bottom:1px solid var(--line-2)}
.lp-step:last-child{border-bottom:0}
.lp-step .n{width:30px;height:30px;border-radius:50%;background:var(--brand-1);color:#fff;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.lp-step strong{display:block;font-size:14.5px;color:var(--ink);font-weight:600;margin-bottom:4px}
.lp-step span{display:block;font-size:13.5px;color:var(--muted);line-height:1.65}

/* ---------- Closing CTA band ---------- */
.lp-band{background:linear-gradient(135deg,var(--brand-1) 0%,var(--brand-2) 60%,var(--brand-3) 100%);
  color:#fff;position:relative;overflow:hidden}
.lp-band::before{content:"";position:absolute;right:-90px;top:-110px;width:320px;height:320px;
  border-radius:50%;background:rgba(255,255,255,.08)}
.lp-band .wrap{padding:64px 28px;position:relative;z-index:2;display:flex;align-items:center;
  justify-content:space-between;gap:36px;flex-wrap:wrap}
.lp-band h2{color:#fff;font-size:26px;font-weight:700;margin-bottom:8px}
.lp-band p{font-size:15px;color:rgba(255,255,255,.85);max-width:560px;line-height:1.7}
.lp-band .lp-btn.white{background:#fff;border-color:#fff;color:var(--brand-1)}
.lp-band .lp-btn.white:hover{background:var(--brand-soft);border-color:var(--brand-soft)}
.lp-band .lp-btn.clear{background:transparent;border-color:rgba(255,255,255,.55);color:#fff}
.lp-band .lp-btn.clear:hover{background:rgba(255,255,255,.12);border-color:#fff}
.lp-band .lp-actions{display:flex;gap:12px;flex-wrap:wrap}

/* ---------- Footer ---------- */
.lp-foot{background:var(--side-bg);color:var(--side-text)}
.lp-foot .wrap{padding:56px 28px 0}
.lp-foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:44px}
.lp-foot .name{color:#fff}
.lp-foot .blurb{font-size:13.5px;line-height:1.75;color:var(--side-mute);margin-top:16px;max-width:320px}
.lp-foot h4{margin:0 0 16px;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#fff}
.lp-foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.lp-foot li{font-size:13.5px;color:var(--side-text)}
.lp-foot a:hover{color:#fff}
.lp-foot .contact{font-size:13.5px;line-height:1.9;color:var(--side-text)}
.lp-foot .contact a{color:var(--side-accent)}
.lp-bottom{border-top:1px solid rgba(255,255,255,.08);padding:20px 0;display:flex;
  justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--side-mute)}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .lp-hero .wrap{grid-template-columns:1fr;gap:44px;padding-top:56px;padding-bottom:56px}
  .lp-hero h1{font-size:34px}
  .lp-grid{grid-template-columns:repeat(2,1fr)}
  .lp-split{grid-template-columns:1fr;gap:36px}
  .lp-foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  .lp-nav{display:none}
  .lp-phero .wrap{padding:48px 28px 44px}
  .lp-phero h1{font-size:30px}
  .lp-facts.wide{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .lp .wrap{padding:0 20px}
  .lp-hero h1{font-size:28px}
  .lp-sec{padding:56px 0}
  .lp-sec-head h2,.lp-split h2{font-size:24px}
  .lp-grid{grid-template-columns:1fr}
  .lp-facts,.lp-facts.wide{grid-template-columns:1fr}
  .lp-foot-grid{grid-template-columns:1fr}
  .lp-phero h1{font-size:25px}
  .lp-note{padding:24px}
  /* Two buttons wrap onto two lines and burst the 70px header; Login is the one
     that has to be reachable, and Get started repeats in the hero just below. */
  .lp-head .lp-cta .lp-btn.line{display:none}
}
