/* Hawaniapps.dk — forslag C i hvid: appernes ikoner er forsiden, som i en launcher.
   Hvid side, lysegrå fliser, mørkegrå knapper og én blå til links. Ingen farveovergange. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --panel: #F5F5F5;
  --ink: #1A1A1A;
  --sec: #5E5E5E;
  --faint: #767676;
  --edge: rgba(0, 0, 0, 0.10);
  --edge-strong: rgba(0, 0, 0, 0.16);
  --accent: #1A66D6;
  --button: #2B2B2B;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1288px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

/* Linjen øverst. */
.top .wrap { min-height: 60px; display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--sec); }
.mark { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-right: auto; }
.mark span { font-weight: 400; color: var(--sec); }
.top a:hover { color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; border-radius: 10px;
  background: var(--button); color: #fff; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; }
.button:hover { background: #000; color: #fff; }
.button.small { height: 32px; padding: 0 16px; font-size: 13.5px; border-radius: 8px; }
.facts { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; margin: 0; }
.text-link { color: var(--accent); }
.text-link:hover { text-decoration: underline; }

/* Forsiden: apperne som i en launcher. */
.pad { text-align: center; padding: 46px 0 64px; border-bottom: 1px solid var(--edge); }
.pad h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.028em; margin: 0 0 12px; font-weight: 700; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--sec); margin: 0 auto 30px; max-width: 34em; text-wrap: balance; }
.search { width: min(340px, 100%); height: 38px; margin: 0 auto 50px; display: flex; align-items: center; gap: 9px; padding: 0 13px;
  background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; color: var(--sec); }
.search svg { width: 15px; height: 15px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.search input::placeholder { color: var(--sec); }
.icons { display: grid; grid-template-columns: repeat(4, minmax(0, 200px)); justify-content: center; gap: 38px 34px; list-style: none; padding: 0; margin: 0; }
.icons a { display: block; font-size: 15.5px; font-weight: 500; border-radius: 16px; }
.icons img { width: 132px; height: 132px; margin: 0 auto 2px; transition: transform 0.15s ease; }
.icons a:hover img { transform: scale(1.04); }
.icons small { display: block; font-size: 13px; color: var(--sec); font-weight: 400; margin-top: 1px; }
.icons li[hidden] { display: none; }
.no-hits { color: var(--sec); margin: 0; }
.cta { margin-top: 52px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* Fliser i forskellige størrelser: hver app med sit rigtige vindue. */
.bento { padding: 60px 0 0; }
.bento h2, .section h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 14px; }
.t { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; padding: 26px 28px 0; }
a.t:hover { border-color: var(--edge-strong); }
.t .app { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.t .app img { width: 34px; height: 34px; margin: -3px; }
.t h3 { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 700; }
.t p { margin: 0; color: var(--sec); font-size: 15.5px; max-width: 26em; }
.t .shot { flex: 1; min-height: 0; margin-top: 22px; width: 132%; max-width: none; align-self: flex-start; object-fit: cover; object-position: left top;
  border-radius: 10px 10px 0 0; border: 1px solid var(--edge-strong); border-bottom: 0; }
.t .shot.right { object-position: 78% top; }
/* Et filmklip i en flise: beskåret om ansigt og tekst, så underteksterne kan læses. */
.t .clip { flex: 1; min-height: 0; margin-top: 22px; width: 100%; object-fit: cover; object-position: center 56%; clip-path: inset(0 round 12px 12px 0 0); background: #111; cursor: pointer; }
.t.plain { padding-bottom: 26px; justify-content: center; }
.span8 { grid-column: span 8; }
.span4 { grid-column: span 4; }
.rows2 { grid-row: span 2; }
.span8 h3 { font-size: 40px; }
.big { font-size: 64px; line-height: 1; letter-spacing: -0.035em; font-weight: 700; margin: 6px 0 12px; }
.soon { display: flex; align-items: center; gap: 16px; }
.soon + .soon { margin-top: 20px; }
.soon img { width: 72px; height: 72px; margin: -6px; flex: none; }
.soon b { display: block; font-size: 19px; }
.soon span { display: block; color: var(--sec); font-size: 14.5px; }
.soon small { display: block; color: var(--faint); font-size: 13px; margin-top: 4px; }
.lock { width: 34px; height: 34px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }

/* Afslutningen: launcheren selv. */
.last { margin: 14px 0 0; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center;
  background: var(--panel); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; padding: 60px 0 0 56px; }
.last .text { padding-bottom: 60px; }
.last h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.026em; margin: 0 0 14px; }
.last p.say { color: var(--sec); font-size: 18px; margin: 0 0 26px; }
.last .facts { margin-top: 14px; }
.last .shot { width: 780px; max-width: none; align-self: end; border-radius: 12px 0 0 0; border: 1px solid var(--edge-strong); border-right: 0; border-bottom: 0; }

/* En apps egen side. */
.crumbs { font-size: 13px; color: var(--faint); padding: 14px 0 0; }
.crumbs a { color: var(--sec); }
.crumbs a:hover { color: var(--ink); }
.app-head { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 28px; align-items: center; padding: 34px 0 44px; }
.app-head img { width: 148px; height: 148px; }
.app-head h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.028em; margin: 0 0 6px; }
.app-head .lead { margin: 0 0 20px; max-width: none; text-wrap: wrap; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.price { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.app-head .also { font-size: 14px; color: var(--sec); margin: 12px 0 0; }
.frame { margin: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: 22px; overflow: hidden; padding: 40px 40px 0; }
.frame img { width: 100%; border-radius: 12px 12px 0 0; border: 1px solid var(--edge-strong); border-bottom: 0; }
.frame.flat { padding: 0; }
/* Et filmklip i telefonformat på en apps side. */
.frame.film { display: flex; justify-content: center; }
.frame.film video { width: min(360px, 100%); height: auto; aspect-ratio: 9 / 16; clip-path: inset(0 round 26px 26px 0 0); background: #111; cursor: pointer; }
.frame.flat img { border: 0; border-radius: 0; }
.section { padding: 64px 0 0; }
.section > p.intro { font-size: 18px; color: var(--sec); max-width: 44em; margin: -8px 0 30px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.features li { background: var(--panel); border: 1px solid var(--edge); border-radius: 18px; padding: 22px 24px; }
.features h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.01em; }
.features p { margin: 0; color: var(--sec); }
.info { margin: 0; border-top: 1px solid var(--edge); max-width: 720px; }
.info div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--edge); font-size: 15px; }
.info dt { color: var(--sec); }
.info dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.news { max-width: 720px; margin: 26px 0 0; }
.news h3 { font-size: 17px; margin: 0 0 4px; }
.news p { margin: 0; color: var(--sec); }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 18px; list-style: none; padding: 0; margin: 0; text-align: center; }
.more img { width: 92px; height: 92px; margin: 0 auto 2px; }
.more a { display: block; font-size: 14.5px; font-weight: 500; }
.more small { display: block; font-size: 12.5px; color: var(--sec); font-weight: 400; }

/* Tekstsider: kontakt og privatliv. */
.prose { max-width: 720px; padding: 44px 0 0; }
.prose h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.028em; margin: 0 0 14px; }
.prose h2 { font-size: 22px; letter-spacing: -0.01em; margin: 34px 0 6px; }
.prose p { margin: 0 0 12px; color: #3A3A3A; font-size: 17px; }
.prose p.lead { margin: 0 0 24px; color: var(--sec); font-size: 20px; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.mail { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }

footer { margin-top: 64px; border-top: 1px solid var(--edge); font-size: 13px; color: var(--sec); }
footer .wrap { padding-top: 22px; padding-bottom: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
footer a:hover { color: var(--ink); }
footer .line { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--faint); }
footer .push { margin-left: auto; color: var(--sec); }

@media (max-width: 1000px) {
  .grid { grid-auto-rows: auto; }
  .span8, .span4 { grid-column: span 12; }
  .rows2 { grid-row: auto; }
  .t .shot { flex: none; height: 260px; width: 118%; }
  .t .clip { flex: none; height: 320px; }
  .t.plain { padding-top: 26px; }
  .last { grid-template-columns: 1fr; gap: 0; padding: 36px 0 0 28px; }
  .last .text { padding: 0 28px 34px 0; }
  .last .shot { width: 118%; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .top .wrap { gap: 18px; }
  .top .hide-small { display: none; }
  .pad { padding: 30px 0 46px; }
  .search { margin-bottom: 36px; }
  .icons { grid-template-columns: repeat(2, minmax(0, 170px)); gap: 28px 16px; }
  .icons img { width: 104px; height: 104px; }
  .t { padding: 22px 22px 0; border-radius: 18px; }
  .t h3, .span8 h3 { font-size: 26px; }
  .big { font-size: 48px; }
  .t .shot { height: 210px; }
  .app-head { grid-template-columns: 1fr; gap: 14px; padding: 22px 0 32px; }
  .app-head img { width: 104px; height: 104px; margin-left: -8px; }
  .frame { padding: 18px 18px 0; border-radius: 18px; }
  .info div { font-size: 14px; }
  footer .push { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .icons img { transition: none; } }
