:root {
  color-scheme: dark;
  --bg: #101417;
  --bg-strong: #07090a;
  --panel: #171d20;
  --panel-soft: #20272b;
  --line: #374147;
  --text: #f2f4f1;
  --muted: #b6c0ba;
  --soft: #87928b;
  --steel: #9eabb2;
  --signal: #e0b45a;
  --signal-strong: #f2c766;
  --green: #6fb39b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(224, 180, 90, 0.08), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 78px),
    radial-gradient(circle at 80% 12%, rgba(111, 179, 155, 0.13), transparent 32%),
    var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.language-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 30;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 9, 10, 0.76);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0 14px;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: rgba(224, 180, 90, 0.65);
  outline: none;
}

.page-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: end;
  min-height: 82vh;
  padding: 44px 0 56px;
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 80px;
  text-decoration: none;
}

.brand--logo {
  width: min(520px, 100%);
  margin-bottom: 58px;
}

.brand__logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.42));
}

.brand__mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(224, 180, 90, 0.75);
  background:
    linear-gradient(145deg, rgba(224, 180, 90, 0.22), rgba(111, 179, 155, 0.12)),
    #151a1c;
  color: var(--signal-strong);
  font-weight: 800;
  letter-spacing: 0;
}

.brand__text {
  display: grid;
  gap: 4px;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1.12rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.9rem;
}

.eyebrow,
.section__kicker,
.launch-panel__label {
  margin: 0 0 14px;
  color: var(--signal-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.36rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.contact-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button--primary,
.contact-form button {
  background: var(--signal);
  color: #16130b;
}

.button--primary:hover,
.contact-form button:hover {
  background: var(--signal-strong);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button--secondary:hover {
  border-color: rgba(224, 180, 90, 0.6);
}

.launch-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(7, 9, 10, 0.22), rgba(7, 9, 10, 0.78)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    url("assets/hero-fjellarbeid.png") center / cover,
    var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.launch-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--signal) 0 16px, #111 16px 28px);
}

.launch-panel__title {
  margin-bottom: 12px;
  font-size: 1.9rem;
  font-weight: 800;
}

.launch-panel p:not(.launch-panel__label):not(.launch-panel__title) {
  color: var(--muted);
  line-height: 1.65;
}

.progress {
  overflow: hidden;
  height: 10px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0e1214;
}

.progress span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--signal));
}

.section {
  padding: 70px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section--intro,
.vision-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.section h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.founder-section {
  padding-top: 78px;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.18fr);
  gap: 30px;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(224, 180, 90, 0.09), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow);
}

.founder-image {
  min-height: 520px;
  background: var(--bg-strong);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) contrast(1.08);
}

.founder-main {
  padding: clamp(26px, 4vw, 42px) clamp(24px, 4vw, 44px);
}

.founder-main h2 {
  margin-bottom: 24px;
}

.founder-main p {
  max-width: 760px;
  margin-bottom: 17px;
}

.founder-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px clamp(24px, 4vw, 44px);
}

.founder-facts h3 {
  margin: 0;
  font-size: 1.24rem;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li,
.timeline p,
.vision-grid p {
  color: var(--steel);
}

.fact-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.45;
}

.fact-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--signal);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline article {
  min-height: 210px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(23, 29, 32, 0.78);
  padding: 22px;
}

.timeline span {
  display: block;
  margin-bottom: 24px;
  color: var(--signal-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.06rem;
  line-height: 1.24;
}

.timeline p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.58;
}

.community-section {
  padding-top: 0;
}

.community-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(24, 119, 242, 0.16), transparent 38%),
    var(--panel);
  padding: 30px;
  box-shadow: var(--shadow);
}

.community-card__content {
  max-width: 760px;
}

.community-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

.community-card p:last-child {
  margin-bottom: 0;
}

.button--facebook {
  min-width: 220px;
  background: #1877f2;
  color: #fff;
}

.button--facebook:hover {
  background: #2d86ff;
}

.calculator-preview {
  padding-top: 0;
}

.calculator-preview .section__header > p {
  max-width: 520px;
  margin-bottom: 0;
}

.tool-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-preview {
  display: grid;
  gap: 18px;
  min-height: 250px;
  align-content: start;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent 54%),
    rgba(23, 29, 32, 0.86);
  padding: 24px;
}

.tool-preview--wide {
  grid-column: span 3;
}

.tool-preview__topline {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

.tool-preview__topline span {
  color: var(--signal-strong);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-preview__topline strong {
  color: var(--text);
  font-size: 1.08rem;
}

.mock-calculator {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mock-calculator div {
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0e1214;
  padding: 14px;
}

.mock-calculator span,
.mini-list li {
  color: var(--steel);
}

.mock-calculator span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
}

.mock-calculator strong {
  color: var(--text);
  font-size: 1.22rem;
}

.mock-calculator__result {
  grid-column: span 3;
}

.mock-calculator__result strong {
  color: var(--green);
}

.tool-preview p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.mini-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--signal);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.vision-grid article {
  background: rgba(23, 29, 32, 0.86);
  padding: 24px;
}

.vision-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.vision-grid p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.58;
}

.section__header {
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(23, 29, 32, 0.78);
}

.feature-card__icon {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--signal-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.62;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 88px;
}

.contact-copy p {
  max-width: 640px;
}

.direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.direct-contact a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  padding: 11px 14px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.direct-contact a:hover {
  border-color: rgba(224, 180, 90, 0.6);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--bg-strong);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(224, 180, 90, 0.16);
}

.form-note {
  margin: 0;
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 38px;
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .section--intro,
  .founder-card,
  .founder-facts,
  .community-card,
  .vision-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
    padding-top: 28px;
  }

  .brand {
    margin-bottom: 58px;
  }

  .brand--logo {
    width: min(430px, 100%);
    margin-bottom: 48px;
  }

  .launch-panel {
    max-width: 560px;
  }

  .founder-image {
    min-height: 360px;
  }

  .timeline,
  .vision-grid,
  .tool-preview-grid,
  .mock-calculator {
    grid-template-columns: 1fr;
  }

  .tool-preview--wide,
  .mock-calculator__result {
    grid-column: auto;
  }

  .feature-grid,
  .fact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .page-shell,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    gap: 28px;
    padding-bottom: 36px;
    padding-top: 70px;
  }

  .brand {
    margin-bottom: 44px;
  }

  .brand--logo {
    width: 100%;
    max-width: 350px;
    margin-bottom: 38px;
  }

  .brand__mark {
    width: 50px;
    height: 50px;
  }

  h1 {
    font-size: clamp(2.34rem, 13vw, 4rem);
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .section__header {
    display: block;
  }

  .feature-grid,
  .fact-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .founder-main,
  .founder-facts {
    padding: 22px 18px;
  }

  .founder-image {
    min-height: 260px;
  }

  .contact-section {
    padding-bottom: 60px;
  }

  .contact-form {
    padding: 18px;
  }
}
