/* Siite – felles stiler for forsiden og supportsiden */
:root {
  --ink: #0D2B2A;
  --teal: #11716A;
  --teal-deep: #0B5650;
  --mint: #DDF1EB;
  --amber: #F2A93B;
  --amber-soft: #FBE7C4;
  --paper: #F7F9F8;
  --white: #FFFFFF;
  --line: #D5E2DE;
  --muted: #4F6663;
  --shadow: 0 16px 40px -22px rgba(13, 43, 42, .35);
  --radius: 14px;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.band { background: var(--mint); }
.fyll { background: var(--amber-soft); padding: 0 .3em; border-radius: 4px; color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: .85rem 1.4rem; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247, 249, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--teal); }
.nav .btn { margin-left: .5rem; }
.nav a.btn-outline:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem; gap: .2rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem .25rem; font-size: 1.1rem; }
  .nav .btn { margin: .6rem 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* Hero */
.hero { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.hero-text { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.hero-text h1 { max-width: 20ch; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.75rem; list-style: none; margin: .5rem 0 0; padding: 0; }
.checks li { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .98rem; }
.checks svg { width: 22px; height: 22px; flex: none; }
.hero-band { background: linear-gradient(180deg, var(--paper) 0, var(--paper) 160px, var(--mint) 160px); padding-top: 2.5rem; }
.hero-card { max-width: 980px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; }
.hero-form { padding: 1.75rem 1.75rem 1.5rem; display: grid; gap: .8rem; align-content: start; }
.hero-form h2 { font-size: 1.3rem; margin-bottom: .2rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select { font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(17, 113, 106, .18); }
.hero-form .btn { margin-top: .3rem; }
.fine { font-size: .85rem; color: var(--muted); }
.form-done { display: none; background: var(--mint); border-radius: 8px; padding: 1rem 1.1rem; font-weight: 500; }
.form-error { display: none; color: #A8321E; font-size: .92rem; font-weight: 500; }
.form-error.is-visible { display: block; }
form.is-sent .form-done { display: block; }
form.is-sent .field, form.is-sent .btn, form.is-sent .fine, form.is-sent .form-error { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hero-video { background: var(--mint); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.browser-bar { display: flex; align-items: center; gap: .55rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--white); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.browser-bar .url { margin-left: .4rem; flex: 1; font-size: .85rem; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; font-weight: 500; }
.hero-video video { width: 100%; flex: 1; min-height: 0; object-fit: cover; background: #E8E1D4; }
.hero-price { display: flex; align-items: center; gap: .3rem .9rem; flex-wrap: wrap; padding: .85rem 1.1rem; background: var(--amber-soft); border-top: 1px solid var(--line); }
.hero-price-label { font-weight: 600; font-size: .95rem; }
.hero-price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-price strong small { font-size: .95rem; font-weight: 600; letter-spacing: 0; }
.hero-price-note { flex: 1 1 220px; font-size: .88rem; color: var(--muted); line-height: 1.4; margin-left: auto; text-align: right; }
@media (max-width: 520px) { .hero-price-note { text-align: left; margin-left: 0; } }
@media (max-width: 860px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-video { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-video video { aspect-ratio: 16 / 9; }
  .checks { flex-direction: column; align-items: flex-start; gap: .5rem; margin-inline: auto; }
  .hero-band { background: linear-gradient(180deg, var(--paper) 0, var(--paper) 120px, var(--mint) 120px); }
}

/* Steps */
.steps-section { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.step { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .7rem; box-shadow: var(--shadow); text-align: left; }
.step i { width: 36px; height: 36px; border-radius: 8px; background: var(--mint); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-family: var(--font-display); font-weight: 700; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* References */
.refs .container { display: flex; flex-direction: column; gap: 1rem; }
.refs .kicker { font-weight: 600; color: var(--teal); }
.marquee { overflow: hidden; margin-top: clamp(1.5rem, 4vw, 2.5rem); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.track { display: flex; gap: 1rem; width: max-content; animation: scroll 75s linear infinite; padding-block: .25rem 1rem; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; } }
.ref { width: 320px; flex: none; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .6rem; }
.ref img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.ref:hover img { border-color: var(--teal); }
.ref span { font-size: .9rem; color: var(--muted); }
.ref strong { font-weight: 600; color: var(--ink); }
@media (max-width: 520px) { .ref { width: 260px; } }

/* Packages */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); text-align: left; }
.plan { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.plan.is-popular { border-color: var(--teal); }
.plan h3 { font-size: 1.5rem; }
.plan .desc { color: var(--muted); font-size: .98rem; }
.price { display: flex; align-items: baseline; gap: .3rem; font-family: var(--font-display); }
.price strong { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-weight: 600; }
.plan h4 { margin: .25rem 0 0; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; font-size: .98rem; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 1.25rem; font-size: .92rem; color: var(--muted); max-width: none; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Included */
.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(1.75rem, 4vw, 2.5rem); list-style: none; padding: 0; }
.included li { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.included svg { width: 30px; height: 30px; flex: none; }
@media (max-width: 860px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .included { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-text { display: flex; flex-direction: column; gap: 1rem; }
.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; display: grid; gap: .8rem; }
.contact-form h2 { font-size: 1.35rem; margin-bottom: .2rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Why */
.why-head { display: flex; flex-direction: column; gap: .5rem; max-width: 62ch; }
.why-head .kicker { font-weight: 600; color: var(--teal); }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.why article { display: flex; flex-direction: column; gap: .4rem; }
.why h3 { font-size: 1.1rem; }
.why p { color: var(--muted); font-size: .98rem; max-width: 46ch; }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--ink); color: #B9D3CD; padding-block: 3rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer img { height: 26px; width: auto; align-self: flex-start; margin-bottom: .5rem; }
.footer h4 { margin: 0 0 .2rem; font-family: var(--font-display); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7FD1C4; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #7FD1C4; }
.footer address { font-style: normal; display: flex; flex-direction: column; gap: .35rem; }
.footer .fyll { background: rgba(242, 169, 59, .25); color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating CTA */
.floating { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; box-shadow: 0 10px 30px -10px rgba(13, 43, 42, .5); transform: translateY(140%); transition: transform .25s ease; }
.floating.is-visible { transform: translateY(0); }
@media (max-width: 520px) { .floating { right: 1rem; bottom: 1rem; left: 1rem; } }

/* Supportsiden */
.support-card { max-width: 980px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); overflow: hidden; }
.support-info { background: var(--mint); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; border-right: 1px solid var(--line); }
.support-info h2 { font-size: 1.2rem; }
.support-info ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.support-info li { display: flex; gap: .7rem; align-items: flex-start; }
.support-info li svg { width: 24px; height: 24px; flex: none; margin-top: .1rem; }
.support-info strong { display: block; font-family: var(--font-display); font-weight: 600; }
.support-info p { color: var(--muted); font-size: .95rem; }
.support-form { padding: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-content: start; }
.support-form .field-wide, .support-form .btn, .support-form .fine, .support-form .form-done, .support-form .form-error, .support-form .checkbox { grid-column: 1 / -1; }
.field textarea { font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; resize: vertical; }
.field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(17, 113, 106, .18); }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; }
.checkbox:has(input:checked) { border-color: #A8321E; background: #FBEDEA; }
.checkbox input { margin: .2rem 0 0; width: 18px; height: 18px; accent-color: #A8321E; flex: none; }
.checkbox strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.checkbox span { color: var(--muted); font-size: .9rem; }
.hjelp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
.hjelp article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.hjelp h3 { font-size: 1.1rem; }
.hjelp p { color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) {
  .support-card { grid-template-columns: 1fr; }
  .support-info { border-right: 0; border-bottom: 1px solid var(--line); }
  .hjelp { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .support-form { grid-template-columns: 1fr; } }
