:root {
  --mull: #0d1511;
  --jord: #15211a;
  --jord-2: #1f2e25;
  --gron: #128c59;
  --gron-dark: #0d6a43;
  --gul: #e8dc3f;
  --halm: #f6efe2;
  --kraft: #c9a26f;
  --kraft-dark: #2a1d0e;
  --morot: #ee7f2d;
  --line: rgba(246, 239, 226, .16);
  --muted: rgba(246, 239, 226, .68);
  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --body: 'Open Sans', 'Helvetica Neue', sans-serif;
  --hand: 'Caveat Brush', 'Bradley Hand', cursive;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--jord);
  color: var(--halm);
  font: 400 17px/1.55 var(--body);
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--gul); outline-offset: 3px; }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -.025em;
  line-height: .92;
}
h2 { font-size: clamp(44px, 7vw, 104px); text-wrap: balance; }
.hand { font: 400 clamp(22px, 2.2vw, 30px)/1.1 var(--hand); color: var(--gul); margin-bottom: 10px; }
.sec-head { margin-bottom: clamp(32px, 5vw, 64px); }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background:
    radial-gradient(90% 60% at 72% 62%, rgba(232, 220, 63, .13), transparent 70%),
    linear-gradient(180deg, #0f1a14 0%, #1a2a20 66%, #2a3a24 100%);
}
.flag {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(16px, 3.4vw, 48px);
  position: relative;
  z-index: 5;
}
.flag-logo { width: 104px; height: auto; flex: none; }
.flag p {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--gul);
  color: var(--gul);
  border-radius: 99px;
  margin-left: auto;
}
.hero-text {
  position: relative;
  z-index: 4;
  padding: clamp(6px, 1.4vw, 20px) clamp(16px, 3.4vw, 48px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 370px);
  gap: clamp(20px, 3vw, 56px);
  align-items: end;
}
h1 {
  font-size: clamp(60px, 10.6vw, 176px);
  line-height: .86;
  letter-spacing: -.018em;
}
h1 span { display: block; color: var(--gul); }
.hero-sub p { font-size: clamp(16px, 1.25vw, 18px); color: var(--halm); margin-bottom: 18px; }
.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 99px;
  background: var(--gul);
  color: var(--jord);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); background: #f4e94d; }

.stage {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(280px, 40vh, 480px);
  margin-top: clamp(8px, 1.5vw, 24px);
}
.horizon {
  position: absolute;
  inset: 44% 0 0;
  perspective: 420px;
  perspective-origin: 50% 0;
  overflow: hidden;
  background: linear-gradient(180deg, #2e3f26, #1a140c 75%);
}
.furrows {
  position: absolute;
  left: -120%;
  right: -120%;
  top: 0;
  height: 340%;
  transform-origin: 50% 0;
  transform: rotateX(68deg);
  background: repeating-linear-gradient(90deg, #120d07 0 26px, #3d2d1a 26px 44px, #58452a 44px 50px, #2a2013 50px 76px);
  opacity: .9;
}
.row {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(4px, 1vw, 16px);
  padding-bottom: clamp(60px, 7.6vw, 120px);
}
.sprout {
  flex: none;
  width: clamp(136px, 15.4vw, 290px);
  transform: translateY(calc(var(--s, 0) * var(--k) * -1px));
  will-change: transform;
}
.sprout img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 26px 50px rgba(0, 0, 0, .55);
  transform: translateY(var(--y)) rotate(var(--r));
  animation: rise 1.25s cubic-bezier(.2, 1.15, .32, 1) var(--d) both;
}
@keyframes rise {
  from { transform: translateY(calc(100% + 80px)) rotate(0deg); }
  to { transform: translateY(var(--y)) rotate(var(--r)); }
}
.soil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(66px, 8vw, 120px);
  background: var(--grain), linear-gradient(180deg, #33240f, #150f08);
  background-blend-mode: overlay;
  clip-path: polygon(0 34%, 7% 20%, 15% 30%, 24% 8%, 33% 26%, 42% 12%, 52% 30%, 61% 10%, 70% 28%, 79% 6%, 88% 24%, 95% 12%, 100% 26%, 100% 100%, 0 100%);
}

/* TICKER */
.ticker { background: var(--gul); color: var(--jord); overflow: hidden; padding: 11px 0; }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: slide 44s linear infinite;
  font: 800 clamp(18px, 2vw, 26px)/1 var(--display);
  font-stretch: 75%;
  white-space: nowrap;
}
.ticker i { width: 10px; height: 10px; border-radius: 50%; background: var(--gron); flex: none; }
@keyframes slide { to { transform: translateX(calc(-50% - 11px)); } }

/* SIMULATOR */
.sim { padding: clamp(56px, 8vw, 120px) 0; background: var(--grain), var(--jord); background-blend-mode: overlay; }
.sim-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(280px, 1.15fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}
.angles { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 24px; }
.angle {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 10px;
  text-align: left;
  padding: 13px 14px;
  border-radius: 10px;
  border-bottom: 1px solid var(--line);
  transition: background .2s, color .2s, transform .2s;
}
.angle:hover { background: var(--jord-2); }
.angle .n { font: 400 32px/1 var(--hand); color: var(--gul); }
.angle b { font: 800 clamp(20px, 1.9vw, 26px)/1 var(--display); font-stretch: 75%; display: block; letter-spacing: -.01em; }
.angle small { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 3px; }
.angle[aria-pressed="true"] { background: var(--gul); color: var(--jord); transform: translateX(6px) rotate(-.6deg); border-color: transparent; }
.angle[aria-pressed="true"] .n { color: var(--gron-dark); }
.angle[aria-pressed="true"] small { color: rgba(21, 33, 26, .8); }

.device-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.formats {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--mull);
  border-radius: 99px;
  border: 1px solid var(--line);
  max-width: 100%;
}
.fmt {
  padding: 8px 12px;
  min-height: 38px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.fmt[aria-pressed="true"] { background: var(--halm); color: var(--jord); }

.phone {
  position: relative;
  width: min(340px, 84vw, calc((100svh - 170px) * 9 / 16));
  min-width: 270px;
  aspect-ratio: 9 / 16;
  box-sizing: content-box;
  border: 9px solid #05080a;
  border-radius: 34px;
  box-shadow: 0 0 0 1px #39423d, 0 40px 80px rgba(0, 0, 0, .6);
  overflow: hidden;
  background: #000;
  touch-action: pan-y;
  user-select: none;
}
.screen { position: absolute; inset: 0; overflow: hidden; }
.s { position: absolute; inset: 0; animation: swap .38s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes swap { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 26px)); } to { opacity: 1; transform: none; } }

/* flödet */
.feed { background: #fff; color: #111; overflow-y: auto; scrollbar-width: none; font-size: 13px; line-height: 1.4; }
.feed::-webkit-scrollbar { display: none; }
.f-top { display: flex; align-items: center; gap: 8px; padding: 12px 10px 8px; }
.ava { width: 32px; height: 32px; border-radius: 50%; background: #128c59; display: grid; place-items: center; overflow: hidden; flex: none; }
.ava img { width: 26px; }
.f-top b { display: block; font-size: 13px; line-height: 1.2; }
.f-top small { color: #666; font-size: 11px; display: block; }
.f-top i { margin-left: auto; font-style: normal; color: #555; letter-spacing: 1px; }
.f-img { width: 100%; object-fit: cover; }
.f-cta { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 9px 10px; background: #f0f1f2; }
.f-cta small { color: #666; font-size: 10px; letter-spacing: .03em; display: block; }
.f-cta b { font-size: 13px; line-height: 1.2; display: block; }
.fake-btn { flex: none; padding: 7px 10px; background: #128c59; color: #fff; font-weight: 700; font-size: 12px; border-radius: 6px; }
.f-text { padding: 10px; }
.skel { padding: 10px; display: grid; gap: 8px; }
.skel span { display: block; height: 11px; border-radius: 4px; background: #e6e7e8; }
.skel span:first-child { width: 42%; }
.skel span:last-child { height: 180px; }

/* helskärm */
.full { background: #000; }
.full > img { width: 100%; height: 100%; object-fit: cover; }
.ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12% 12px 12px; color: #fff; font-size: 12.5px; line-height: 1.35; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .68) 42%); }
.ui b { display: block; font-size: 13px; }
.ui small { font-size: 11px; opacity: .85; }
.ui p { margin: 4px 0 8px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 99px; background: #fff; color: #111; font-weight: 700; font-size: 12px; }
.bar { display: block; text-align: center; padding: 9px; border-radius: 4px; background: #ee2a55; color: #fff; font-weight: 700; font-size: 12.5px; }
.rail { position: absolute; right: 7px; bottom: 19%; display: flex; flex-direction: column; gap: 13px; align-items: center; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.rail svg { width: 25px; height: 25px; display: block; }
.rail .ava { width: 34px; height: 34px; border: 1.5px solid #fff; }
.tiktok .ui { padding-right: 15%; padding-bottom: 10px; }
.tiktok .rail { bottom: 24%; }
.top-label { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }

.safe { position: absolute; inset: 0; pointer-events: none; }
.safe[hidden] { display: none; }
.safe > div { position: absolute; background: repeating-linear-gradient(135deg, rgba(232, 220, 63, .34) 0 6px, rgba(13, 21, 17, .34) 6px 12px); }
.safe-top { top: 0; left: 0; right: 0; height: 14%; }
.safe-bottom { bottom: 0; left: 0; right: 0; height: 35%; }
.safe-left { top: 14%; bottom: 35%; left: 0; width: 6%; }
.safe-right { top: 14%; bottom: 35%; right: 0; width: 13%; }
.safe span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--mull); color: var(--gul); padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; white-space: nowrap; }

.device-tools { display: flex; align-items: center; gap: 8px; }
.nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font-size: 18px; transition: background .2s, color .2s; }
.nav:hover { background: var(--halm); color: var(--jord); }
.safe-toggle { min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.safe-toggle[aria-pressed="true"] { background: var(--gul); color: var(--jord); border-color: var(--gul); }
.safe-toggle:disabled { opacity: .4; cursor: default; }
.device-note { max-width: 340px; font-size: 13px; line-height: 1.4; text-align: center; color: var(--muted); }

.panel { position: sticky; top: 24px; }
.note {
  background: var(--grain), var(--kraft);
  background-blend-mode: soft-light;
  color: var(--kraft-dark);
  padding: 18px 20px;
  border-radius: 3px;
  transform: rotate(1.1deg);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .4);
  margin-bottom: 26px;
}
.note small { display: block; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.note p { font: 400 clamp(24px, 2.2vw, 30px)/1.08 var(--hand); margin-top: 5px; }
.copy dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gul); margin-top: 14px; }
.copy dd { margin: 2px 0 0; font-size: 16px; line-height: 1.45; }
.copy dd.big { font: 800 26px/1.05 var(--display); font-stretch: 75%; }
.check { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--muted); }
.check b { color: var(--halm); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--morot); color: #1c1006; font-size: 12px; font-weight: 800; margin-bottom: 8px; }

/* VÄGGEN */
.wall { background: var(--halm); color: var(--jord); padding: clamp(56px, 8vw, 120px) 0; }
.wall .hand { color: var(--gron-dark); }
.wall-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4vw, 56px) clamp(20px, 3vw, 44px); }
.bundle h3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1; margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.bundle h3 em { font: 400 1.1em/1 var(--hand); color: var(--gron); }
.bundle h3 .tag { font: 800 12px/1.3 var(--body); margin: 0; letter-spacing: 0; }
.trio { display: flex; gap: clamp(6px, .8vw, 12px); }
.trio button { padding: 0; min-width: 0; border-radius: 4px; overflow: hidden; transition: transform .25s cubic-bezier(.2, 1.2, .3, 1), box-shadow .25s; }
.trio button:hover { transform: translateY(-5px) rotate(-.8deg); box-shadow: 0 14px 26px rgba(21, 33, 26, .28); }
.trio img { width: 100%; height: 100%; object-fit: cover; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* PLAN */
.plan { background: var(--gron-dark); padding: clamp(56px, 8vw, 120px) 0; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.plan-lead { font-size: clamp(18px, 1.5vw, 21px); margin: 20px 0 30px; max-width: 42em; }
.steps { padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 15px 0 15px 54px; border-top: 1px solid rgba(246, 239, 226, .28); }
.steps li::before { content: counter(s); position: absolute; left: 4px; top: 8px; font: 400 40px/1 var(--hand); color: var(--gul); }
.sign {
  background: var(--grain), var(--kraft);
  background-blend-mode: soft-light;
  color: var(--kraft-dark);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 3px;
  transform: rotate(-1.2deg);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .35);
}
.sign h3 { font: 400 clamp(38px, 4vw, 56px)/1 var(--hand); letter-spacing: 0; margin-bottom: 16px; }
.sign ol { padding-left: 22px; }
.sign li { margin: 9px 0; font-weight: 600; line-height: 1.38; }

/* FOT */
.foot { background: var(--mull); padding: 34px 0; font-size: 14px; color: var(--muted); }
.foot b { color: var(--halm); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px 48px; }

/* ZOOM */
.zoom { margin: auto; padding: 0; border: 0; background: none; max-width: 94vw; overflow: visible; }
.zoom::backdrop { background: rgba(5, 8, 7, .9); }
.zoom img { max-width: 94vw; max-height: 90svh; border-radius: 6px; }
.zoom-close { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; background: var(--gul); color: var(--jord); font-size: 28px; line-height: 1; font-weight: 700; }

/* MINDRE SKÄRMAR */
@media (max-width: 1080px) {
  .sim-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .angles { position: static; grid-column: 1 / -1; flex-direction: row; overflow-x: auto; gap: 8px; padding: 6px 6px 12px; margin-inline: -6px; scrollbar-width: none; }
  .angles::-webkit-scrollbar { display: none; }
  .angle { flex: none; width: 158px; border: 1px solid var(--line); grid-template-columns: 26px 1fr; align-items: center; padding: 10px; }
  .angle .n { font-size: 26px; }
  .angle small { display: none; }
  .angle[aria-pressed="true"] { transform: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .flag { gap: 10px; }
  .flag-logo { width: 78px; }
  .flag p { font-size: 11.5px; padding: 5px 10px; }
  .hero-text { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  h1 { font-size: clamp(46px, 15.4vw, 118px); }
  .hero { min-height: auto; }
  .stage { flex: none; min-height: 310px; margin-top: 20px; }
  .sprout { width: 43vw; }
  .sim-grid { grid-template-columns: minmax(0, 1fr); }
  .device-col, .panel { min-width: 0; }
  .panel { position: static; }
  .fmt { padding: 8px 9px; font-size: 12px; }
  .wall-grid, .plan-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sprout img, .s, .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
