:root {
  --ink: #0b1720;
  --ink-soft: #142631;
  --paper: #fbfcfa;
  --paper-cool: #edf3f2;
  --snow: #ffffff;
  --mist: #d8e4e3;
  --fjord: #587f92;
  --fjord-deep: #173e50;
  --pine: #385a52;
  --twilight: #7f99ad;
  --cabin: #c96558;
  --text: #15242c;
  --muted: #64737a;
  --line: rgba(16, 42, 54, 0.14);
  --display: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100vw - 48px));
  --shadow: 0 28px 80px rgba(12, 34, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -10;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(21, 54, 67, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 54, 67, 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.subpage .site-header {
  position: relative;
  border-color: var(--line);
  background: rgba(251, 252, 250, 0.94);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.brand-mark {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--pine);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links > a:not(.nav-cta) {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
}

.nav-links > a:not(.nav-cta):hover,
.nav-links > a:not(.nav-cta):focus-visible,
.nav-links > a[aria-current="page"] {
  border-bottom-color: currentColor;
}

.button,
.nav-cta,
.release-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(11, 23, 32, 0.14);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.release-button:hover,
.release-button:focus-visible {
  border-color: var(--cabin);
}

.button-ghost {
  border-color: rgba(18, 47, 60, 0.25);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.release-button[aria-disabled="true"],
.nav-cta[aria-disabled="true"] {
  cursor: default;
}

.soon {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.subpage .nav-cta .soon {
  color: rgba(255, 255, 255, 0.58);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--fjord-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  background: var(--cabin);
  content: "";
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.74);
}

.hero {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  padding: 154px 0 96px;
  background:
    radial-gradient(circle at 78% 8%, rgba(112, 151, 170, 0.52), transparent 31%),
    radial-gradient(circle at 14% 22%, rgba(176, 215, 207, 0.68), transparent 35%),
    linear-gradient(145deg, #edf5f2 0%, #eef1f6 54%, #faf7f1 100%);
}

.hero::after {
  position: absolute;
  right: -140px;
  bottom: -330px;
  width: 690px;
  height: 560px;
  border: 1px solid rgba(53, 91, 105, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
}

.hero-copy h1 {
  max-width: 610px;
  margin: 23px 0 24px;
  font-family: var(--display);
  font-size: clamp(54px, 6.1vw, 84px);
  font-weight: 700;
  letter-spacing: -0.073em;
  line-height: 0.97;
}

.hero-copy h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--fjord-deep), var(--fjord), var(--pine));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lede {
  max-width: 570px;
  margin: 0;
  color: #40525c;
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 31px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 27px;
}

.hero-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(20, 53, 65, 0.14);
  border-radius: 999px;
  color: #53666f;
  background: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 700;
}

.hero-art {
  position: relative;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px 34px 86px 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.image-frame::before,
.image-frame::after {
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, 0.72);
  border-style: solid;
  content: "";
  pointer-events: none;
}

.image-frame::before {
  top: 21px;
  left: 21px;
  border-width: 2px 0 0 2px;
}

.image-frame::after {
  right: 21px;
  bottom: 21px;
  border-width: 0 2px 2px 0;
}

.view-status {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  color: #fff;
  background: rgba(8, 20, 28, 0.72);
  font-size: 11px;
  font-weight: 750;
  backdrop-filter: blur(9px);
  caret-color: transparent;
  user-select: none;
}

.view-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5ddcf;
}

.view-note {
  position: absolute;
  z-index: 4;
  right: -18px;
  bottom: -24px;
  max-width: 205px;
  padding: 17px 19px;
  border-radius: 15px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 18px 45px rgba(11, 23, 32, 0.2);
  caret-color: transparent;
  user-select: none;
}

.view-note small {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.view-note strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 17px;
}

.proof-strip {
  color: #fff;
  background: var(--ink);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof {
  min-height: 112px;
  padding: 27px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof:last-child {
  border-right: 0;
}

.proof span,
.feature-number,
.status-pill {
  display: block;
  color: #8fb6bf;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.proof strong {
  display: block;
  margin-top: 5px;
  font-family: var(--display);
  font-size: 17px;
}

.section {
  padding: 108px 0;
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 46px;
  margin-bottom: 48px;
  grid-template-columns: 1fr minmax(300px, 0.72fr);
}

.section-heading h2,
.feature-copy h2,
.name-copy h2,
.release-copy h2 {
  margin: 15px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.section-heading > p,
.feature-copy > p,
.name-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-layout {
  display: grid;
  align-items: center;
  gap: 72px;
  grid-template-columns: minmax(380px, 1.05fr) minmax(320px, 0.95fr);
}

.viewer-diagram {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 62% 32%, rgba(121, 158, 173, 0.36), transparent 33%),
    linear-gradient(145deg, #152733, #0a151c);
  box-shadow: 0 25px 70px rgba(13, 36, 47, 0.12);
}

.feature-illustration {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: var(--paper-cool);
  box-shadow: var(--shadow);
}

.feature-illustration img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.viewer-window {
  position: absolute;
  inset: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(rgba(10, 24, 31, 0.18), rgba(10, 24, 31, 0.18)),
    url("/skue/assets/skue-nordic-entry.webp") center / cover;
}

.viewer-control {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
}

.viewer-control span {
  display: grid;
  min-height: 25px;
  place-items: center;
  padding-inline: 11px;
  border-radius: 8px;
  color: #fff;
  background: rgba(6, 14, 19, 0.78);
  font-size: 9px;
  font-weight: 750;
}

.viewer-control i {
  display: grid;
  width: 28px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(6, 14, 19, 0.78);
}

.viewer-control i::before {
  width: 7px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 5px 5px 2px 2px;
  content: "";
}

.quiet-list {
  display: grid;
  gap: 12px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.quiet-list code {
  padding: 0.08em 0.34em;
  border-radius: 5px;
  background: rgba(75, 120, 144, 0.11);
  font-size: 0.92em;
}

.quiet-list li {
  position: relative;
  padding-left: 27px;
  color: #465960;
}

.quiet-list li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--cabin);
  content: "";
}

.detail-cards {
  display: grid;
  gap: 18px;
  margin-top: 55px;
  grid-template-columns: repeat(3, 1fr);
}

.detail-cards article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
}

.detail-cards span {
  color: var(--fjord);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-cards h3 {
  margin: 13px 0 8px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.035em;
}

.detail-cards p {
  margin: 0;
  color: var(--muted);
}

.name-section {
  color: #fff;
  background:
    radial-gradient(circle at 84% 30%, rgba(92, 130, 145, 0.42), transparent 33%),
    var(--ink-soft);
}

.name-layout {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}

.name-copy > p {
  color: rgba(255, 255, 255, 0.67);
}

.name-card {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.name-card small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.name-card strong {
  display: block;
  margin: 8px 0 11px;
  font-family: var(--display);
  font-size: clamp(54px, 7vw, 82px);
  letter-spacing: -0.075em;
  line-height: 1;
}

.name-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.release-section {
  background: var(--paper-cool);
}

.release-card {
  display: grid;
  align-items: center;
  gap: 46px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(13, 36, 47, 0.08);
  grid-template-columns: 1fr auto;
}

.release-copy p {
  max-width: 650px;
  margin: 17px 0 0;
  color: var(--muted);
}

.release-button {
  min-width: 210px;
  color: rgba(255, 255, 255, 0.72);
  background: #31424a;
  box-shadow: none;
}

.site-footer {
  padding: 66px 0 28px;
  color: #fff;
  background: #071018;
}

.footer-grid {
  display: grid;
  gap: 45px;
  grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(120px, 0.7fr));
}

.footer-brand p {
  max-width: 290px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.52);
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}

.footer-column strong {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.36);
  font-size: 11px;
}

/* Shared secondary pages */

.subpage {
  background: var(--paper-cool);
}

.subpage-hero {
  padding: 84px 0 62px;
  background:
    radial-gradient(circle at 82% 20%, rgba(117, 155, 171, 0.26), transparent 30%),
    var(--paper);
}

.subpage-hero .shell {
  display: grid;
  align-items: center;
  gap: 55px;
  grid-template-columns: minmax(0, 1fr) 210px;
}

.subpage-hero h1 {
  max-width: 760px;
  margin: 15px 0 17px;
  font-family: var(--display);
  font-size: clamp(50px, 6vw, 78px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.subpage-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.subpage-art {
  position: relative;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(22, 60, 80, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.subpage-art::before,
.subpage-art::after {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--cabin);
  border-style: solid;
  content: "";
}

.subpage-art::before {
  top: 24px;
  left: 24px;
  border-width: 2px 0 0 2px;
}

.subpage-art::after {
  right: 24px;
  bottom: 24px;
  border-width: 0 2px 2px 0;
}

.subpage-art .brand-mark {
  width: 62px;
  height: 62px;
  border-radius: 17px;
  font-size: 38px;
}

.content-shell {
  display: grid;
  width: min(850px, calc(100vw - 48px));
  gap: 24px;
  margin: 58px auto 90px;
}

.content-shell article {
  min-width: 0;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.content-shell code {
  overflow-wrap: anywhere;
}

.content-shell h2 {
  margin: 8px 0 15px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.content-shell h3 {
  margin: 28px 0 9px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.025em;
}

.content-shell p {
  color: #4f6067;
}

.content-shell p:last-child {
  margin-bottom: 0;
}

.content-shell ul {
  display: grid;
  gap: 9px;
  padding-left: 21px;
  color: #4f6067;
}

.status-pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--fjord-deep);
  background: #e1ecea;
}

.callout {
  margin: 25px 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--cabin);
  border-radius: 0 14px 14px 0;
  color: #334850;
  background: var(--paper-cool);
}

.content-shell a {
  color: var(--fjord-deep);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

a:focus-visible {
  outline: 3px solid var(--cabin);
  outline-offset: 4px;
}

@media (max-width: 940px) {
  .hero-layout,
  .feature-layout,
  .name-layout {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 760px;
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 32px, 1120px);
  }

  html {
    scroll-padding-top: 72px;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    min-height: 39px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 74px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-frame {
    border-width: 6px;
    border-radius: 24px 24px 56px 24px;
  }

  .view-note {
    right: 8px;
    bottom: -22px;
  }

  .proof-grid,
  .detail-cards {
    grid-template-columns: 1fr;
  }

  .proof {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .viewer-diagram {
    min-height: 315px;
  }

  .feature-illustration,
  .feature-illustration img {
    min-height: 300px;
  }

  .viewer-window {
    inset: 22px;
  }

  .release-card {
    align-items: start;
    padding: 30px;
    grid-template-columns: 1fr;
  }

  .release-button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .subpage-hero {
    padding: 65px 0 46px;
  }

  .subpage-hero .shell {
    grid-template-columns: 1fr;
  }

  .subpage-art {
    display: none;
  }

  .content-shell {
    width: min(100% - 32px, 850px);
    margin-block: 34px 65px;
  }

  .content-shell article {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
