:root {
  --blue: #63a1ff;        /* cspaar logo blue */
  --blue-strong: #2f74e8; /* blocks with white text (readable) */
  --blue-soft: #eaf2ff;
  --ink: #1a1a1a;
  --text: #2d2d2d;
  --muted: #62666b;
  --line: #e3e3e3;
  --grey: #f6f6f6;
  --white: #fff;
  --footer: #161616;
  --wrap: 1440px;
  --gutter: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.18; font-weight: 700; }
h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
/* One container for header, hero and content, so every left edge lines up with the logo */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-strong); margin-bottom: 14px; }
.muted { color: var(--muted); }

/* Buttons: pill, modest size */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 5px; font-weight: 600; font-size: .92rem; line-height: 1.2;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #e6e6e6; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Header (simple, Devoteam-like) */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; height: 80px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 56px; }
.brand img { width: 128px; height: auto; }
.nav { display: flex; align-items: center; gap: 36px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 80px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .98rem; font-weight: 500; color: var(--text);
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.globe { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.has-menu:hover .chev, .has-menu:focus-within .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: -20px; min-width: 240px; padding: 10px 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 5px;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.dropdown-right { left: auto; right: 0; min-width: 210px; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a, .dropdown span { display: flex; justify-content: space-between; gap: 16px; padding: 10px 20px; font-size: .93rem; white-space: nowrap; }
.dropdown a:hover { background: var(--grey); }
.dropdown .active { font-weight: 600; }
.dropdown .disabled { color: #9a9a9a; cursor: default; }
.dropdown em, .footer-cols em { font-style: normal; font-size: .72rem; color: #9a9a9a; white-space: nowrap; }
.lang { margin-left: auto; }
.lang .nav-link { gap: 8px; }
.menu-btn { display: none; }

/* Hero: blue block + one photo */
/* Hero: full photo in a rounded frame, dark fade, text bottom-left (Shine-like) */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter) 0; }
.hero-media {
  position: relative; overflow: hidden; border-radius: 5px; min-height: min(78vh, 720px);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 64px 56px 40px;
}
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,18,32,.82) 0%, rgba(10,18,32,.62) 45%, rgba(10,18,32,.25) 100%),
              linear-gradient(0deg, rgba(10,18,32,.45) 0%, rgba(10,18,32,0) 45%);
}
.hero-content, .hero-points { position: relative; z-index: 2; }
.hero-content { max-width: 720px; margin-bottom: 72px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.12; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.12rem; margin: 22px 0 32px; max-width: 580px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #e6e6e6; }
.btn-ghost-white { border-color: rgba(255,255,255,.85); color: var(--white); }
.btn-ghost-white:hover { background: var(--white); color: var(--ink); }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.hero-points li { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: .95rem; }
.hero-points svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* Sections */
.section { padding: 112px 0; }
.section-grey { background: var(--grey); }
.section-head { margin-bottom: 48px; }
.section-title { font-size: clamp(1.55rem, 2.1vw, 2rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
.section-sub { margin-top: 16px; font-size: 1.1rem; line-height: 1.45; color: var(--muted); max-width: 620px; }


/* Success story cards (Shine-like): grey card, white logo panel, label inside */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* Forsiden viser højst 8 kundekort; alle vises på customer-stories.html */
#stories:not(.stories-list) .cards > .card:nth-child(n+9) { display: none; }
.card { display: flex; flex-direction: column; background: #f5f5f5; border-radius: 5px; padding: 10px; transition: background .2s; }
.card:hover { background: #eeeeee; }
.card-img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 5px; background: #ddd; }
.card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-bg { transform: scale(1.03); }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,20,.7) 0%, rgba(10,14,20,.45) 45%, rgba(10,14,20,.4) 100%); pointer-events: none; }
.logo-plate {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 62%; height: 30%; display: flex; align-items: center; justify-content: center;
}
.logo-plate img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.card-tags { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.tag-pill { background: #dfeaff; color: #1f4fa8; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 5px; }
.tag-date { color: var(--white); font-size: .82rem; font-weight: 500; }
.story-link { margin-top: auto; padding-top: 16px; color: var(--blue-strong); font-weight: 500; font-size: .95rem; }
.story-link span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.card:hover .story-link span { transform: translateX(3px); }
/* "Browse all" button under the cards (SAP-like) */
.cards-more { margin-top: 40px; }
.btn-browse {
  display: inline-block; padding: 9px 14px; border: 1px solid var(--blue-strong); border-radius: 5px;
  background: var(--white); color: var(--blue-strong); font-weight: 700; font-size: .88rem; line-height: 1.2;
}
.card-body { padding: 18px 14px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.card-body p { font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: #3a3a3a;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 24px; }
.step-n { display: block; font-size: .85rem; font-weight: 600; color: var(--blue-strong); margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .96rem; }

/* CTA band */
.cta { background: var(--blue-strong); padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { color: var(--white); max-width: 720px; }

/* Footer (Mastercard-like) */
.footer { background: var(--footer); color: #d6d6d6; padding: 80px 0 64px; font-size: .97rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 64px; border-bottom: 1px solid #5a5a5a; }
.footer-cols h4 { color: #bdbdbd; font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.footer-cols a { display: block; color: var(--white); margin-bottom: 10px; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ext { font-size: .85em; }
/* Links to pages that are not online yet: look like links, but do nothing */
.is-disabled { cursor: default; }
.nav-link.is-disabled:hover { text-decoration: none; }
.footer-cols .is-disabled { display: block; color: var(--white); margin-bottom: 10px; }
.company { font-style: normal; color: var(--white); line-height: 1.75; }
.company a { display: inline; color: var(--white); margin: 0; text-decoration: underline; text-underline-offset: 3px; }
.company a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; color: var(--white); }
.legal-links { display: flex; align-items: center; gap: 8px; }
.legal-links a:hover, .ukraine:hover { text-decoration: underline; text-underline-offset: 4px; }
.ukraine { color: var(--white); }
.ukraine:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-right { display: flex; align-items: center; gap: 32px; }
.lang-select { position: relative; display: block; }
.lang-select select {
  appearance: none; -webkit-appearance: none; background: transparent; color: #d6d6d6;
  border: 1px solid #8c8c8c; border-radius: 5px; padding: 10px 44px 10px 16px; font: inherit; font-size: .95rem; min-width: 220px; cursor: pointer;
}
.lang-select select option { color: var(--ink); }
.lang-select .chev { position: absolute; right: 16px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); color: #d6d6d6; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.social { display: flex; gap: 22px; }
.social a { color: var(--white); width: 22px; height: 22px; }
.social a:hover { opacity: .7; }
.social svg { width: 100%; height: 100%; fill: currentColor; }

/* Featured in the media */
.media { background: var(--white); padding: 64px 0 72px; }
.media-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 40px; }
.media-logos { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.media-logos a, .media-logos span { display: block; transition: opacity .2s; }
.media-logos a:hover { opacity: .7; }
.media-logos img { height: 40px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 680px) {
  .media { padding: 48px 0 56px; }
  .media-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .media-logos img { height: 28px; max-width: 100%; }
}

/* Our services (Shine-like boxes) */
.services { padding-bottom: 32px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.svc-head { width: fit-content; max-width: 100%; }
.svc-head .section-sub { width: 0; min-width: 100%; max-width: none; }  /* brødteksten bliver præcis lige så bred som overskriften */
.section-title .hl { color: var(--blue-strong); }
.svc { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.svc h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; margin: 24px 0 10px; }
.svc p { color: #3a3a3a; font-size: .98rem; line-height: 1.5; }
.svc-link { margin-top: 18px; align-self: start; color: var(--blue-strong); font-size: .98rem; font-weight: 500; }
.svc-link-arrow { display: inline-block; transition: transform .2s; }
.svc:hover .svc-link-arrow { transform: translateX(3px); }
.svc-visual { border-radius: 5px; overflow: hidden; aspect-ratio: 16 / 10; background: #eee; }
.svc-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc:hover .svc-visual img { transform: scale(1.03); }
.svc-panel { width: 100%; max-width: 300px; }
.svc-panel { background: #fff; border: 1px solid #dfe3ea; border-radius: 5px; padding: 14px; box-shadow: 0 6px 18px rgba(20, 30, 60, .08); transition: transform .3s ease; }
.svc:hover .svc-panel { transform: translateY(-3px); }
.svc-panel-head { display: flex; align-items: center; gap: 10px; font-size: .85rem; margin-bottom: 12px; }
.svc-row { display: grid; grid-template-columns: 90px 1fr 18px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #eef0f4; font-size: .76rem; color: #3a3a3a; }
.svc-bar { height: 6px; border-radius: 3px; background: #cfe0ff; }
.svc-ok svg { display: block; width: 16px; height: 16px; fill: none; stroke: var(--blue-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-chip-icon { width: 30px; height: 30px; border-radius: 5px; background: #e8f0ff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.svc-chip-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--blue-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .svc-grid { grid-template-columns: 1fr; } }
/* Customer stories page */
.stories-hero { padding: 72px 0 8px; }
.stories-hero h1 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; }
.stories-list { padding-top: 40px; }
.stories-hero p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.btn-browse:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Coming soon pages */
.page-hero { background: var(--blue-strong); padding: 104px 0 96px; }
.page-hero .eyebrow { color: var(--white); opacity: .85; }
.page-hero h1 { color: var(--white); }
.soon { padding: 96px 0 112px; }
.soon p { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.soon .btn { margin-top: 32px; }

/* Responsive */
@media (max-width: 1240px) {
  :root { --gutter: 32px; }
  .topbar-inner { gap: 36px; }
  .nav { gap: 26px; }
  .hero-media { padding: 56px 32px 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .topbar-inner { height: 68px; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
  .menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .lang .nav-link { height: 68px; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; max-height: calc(100vh - 68px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 20px;
  }
  .menu-open .nav { display: flex; }
  .nav > .nav-link, .nav-item > .nav-link { height: auto; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav .chev { display: none; }
  .nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 6px 16px; min-width: 0; }
  .nav .dropdown a { padding: 10px 0; }
  .hero-media { min-height: 600px; }
  .hero-media::before { background: linear-gradient(0deg, rgba(10,18,32,.85) 0%, rgba(10,18,32,.5) 60%, rgba(10,18,32,.25) 100%); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --gutter: 16px; }
  .topbar-inner { padding-right: 8px; gap: 8px; }
  .brand img { width: 108px; }
  .lang .nav-link span { display: none; }
  .hero { padding-top: 8px; }
  .hero-media { min-height: 560px; padding: 40px 20px 24px; border-radius: 5px; }
  .hero-content { margin-bottom: 40px; }
  .hero p { margin: 20px 0 28px; font-size: 1.02rem; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta { padding: 64px 0; }
  .footer { padding-top: 56px; }
  .footer-bottom, .footer-right { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 64px 0; }
  .soon { padding: 56px 0 72px; }
}

/* Contact us */
.btn-primary { background: var(--blue-strong); color: var(--white); border-color: var(--blue-strong); }
.btn-primary:hover { background: #2563cf; border-color: #2563cf; }
.contact { padding: 64px 0 96px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.contact-info h1 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 20px; }
.contact-info h2 { font-size: 1.05rem; font-weight: 700; margin: 32px 0 8px; letter-spacing: 0; }
.contact-info p { color: #3a3a3a; line-height: 1.6; margin-bottom: 14px; max-width: 460px; }
.contact-info a { color: var(--ink); }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-card { background: var(--white); border-radius: 5px; padding: 40px; box-shadow: 0 2px 6px rgba(20, 30, 60, .06), 0 12px 32px rgba(20, 30, 60, .08); }
.contact-card form { display: grid; gap: 20px; }
.contact-card label { display: grid; gap: 8px; font-size: .95rem; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card input[type=text], .contact-card input[type=email], .contact-card input[type=tel], .contact-card select, .contact-card textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #c9ced6; border-radius: 5px; padding: 12px 14px; }
.contact-card textarea { resize: vertical; min-height: 150px; }
.contact-card input:focus, .contact-card select:focus, .contact-card textarea:focus { outline: none; border-color: var(--blue-strong); box-shadow: 0 0 0 3px rgba(47, 116, 232, .15); }
.contact-card .check { display: flex; align-items: flex-start; gap: 10px; color: #3a3a3a; font-size: .92rem; line-height: 1.5; }
.contact-card .check input { margin-top: 4px; width: 16px; height: 16px; flex: none; }
.contact-card .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; justify-content: flex-end; }
.form-msg { border-radius: 5px; padding: 14px 16px; margin-bottom: 24px; font-size: .95rem; }
.form-ok { background: #e9f6ee; color: #1d5e36; }
.form-err { background: #fdecec; color: #8a1f1f; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 680px) { .contact { padding: 40px 0 64px; } .contact-card { padding: 24px; } .form-row { grid-template-columns: 1fr; } }

/* Customer story page (SAP-like): hero, intro + facts, device showcases, design system */
.story-hero { position: relative; min-height: clamp(380px, 46vw, 560px); display: flex; align-items: flex-end; overflow: hidden; background: #111; }
.story-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,14,.82) 0%, rgba(10,12,14,.55) 45%, rgba(10,12,14,.15) 100%); }
.story-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 64px; }
.story-crumb { display: inline-block; color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500; margin-bottom: 18px; }
.story-crumb:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.story-hero h1 { color: var(--white); max-width: 760px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; letter-spacing: -0.025em; }
.story-intro { padding: 88px 0 48px; text-align: center; }
.story-logo { display: block; width: 150px; height: auto; margin: 0 auto 28px; }
.story-intro h2 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.story-intro p { max-width: 760px; margin: 18px auto 0; color: #3a3a3a; font-size: 1.08rem; line-height: 1.6; }
.story-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; text-align: left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-facts div { padding: 20px 20px 22px 0; }
.story-facts dt { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.story-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.story-show { padding: 24px 0; }
.panel { position: relative; background: #eef0f1; border-radius: 5px; overflow: hidden; }
.panel-wide { padding: 7% 11% 0; }
.panel-wide .device-laptop { margin-bottom: 7%; }
.panel-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel-pair .panel { aspect-ratio: 1 / 1.05; }
.panel-phone { display: flex; justify-content: center; padding-top: 12%; }
.panel-crop .device-laptop { position: absolute; top: 14%; left: 12%; width: 150%; }
figure { margin: 0; }
.laptop-screen { background: #0d0d0d; border-radius: 16px 16px 0 0; padding: 2.4% 2.4% 3.2%; box-shadow: inset 0 0 0 2px #2b2b2b; }
.laptop-screen img { display: block; width: 100%; height: auto; border-radius: 2px; }
.laptop-base { position: relative; height: clamp(10px, 1.3vw, 18px); margin: 0 -6.5%; background: linear-gradient(#e2e3e5, #a6a8ac); border-radius: 0 0 50% 50% / 0 0 100% 100%; box-shadow: 0 18px 30px -12px rgba(0,0,0,.35); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); background: #c3c5c8; border-radius: 0 0 8px 8px; }
.device-phone { width: min(300px, 58%); align-self: flex-start; background: #0b0c0c; border-radius: 46px; padding: 40px 10px 10px; box-shadow: inset 0 0 0 2px #333, 0 30px 60px -20px rgba(0,0,0,.35); position: relative; }
.device-phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 28%; height: 20px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 1; }
.device-phone img { display: block; width: 100%; height: auto; border-radius: 0 0 37px 37px; }
.story-text { padding: 72px 0; }
.story-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.story-cols h2 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.story-cols p { color: #3a3a3a; font-size: 1.05rem; line-height: 1.65; }
.story-cols p + p { margin-top: 18px; }
.story-list { list-style: none; margin: 0; padding: 0; }
.story-list li { padding: 16px 0; border-top: 1px solid var(--line); color: #3a3a3a; line-height: 1.55; }
.story-list li:last-child { border-bottom: 1px solid var(--line); }
.story-list b { color: var(--ink); }
.story-system { padding: 8px 0 32px; }
.system-title { font-size: 1.1rem; font-weight: 700; margin: 48px 0 20px; }
.system-title:first-child { margin-top: 0; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.swatches li { display: flex; flex-direction: column; gap: 3px; font-size: .92rem; }
.swatches .sw { display: block; aspect-ratio: 16 / 9; border-radius: 5px; margin-bottom: 10px; }
.swatches .sw-light { box-shadow: inset 0 0 0 1px var(--line); }
.swatches b { color: var(--ink); font-weight: 600; }
.swatches code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .85rem; color: var(--ink); }
.swatches small { color: var(--muted); font-size: .85rem; }
.type-grid, .logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.type-card { background: #eef0f1; border-radius: 5px; padding: 32px; }
.type-sample { font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; color: var(--ink); font-weight: 700; }
.type-name { margin-top: 20px; font-weight: 700; color: var(--ink); }
.type-use { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.type-line { margin-top: 20px; padding-top: 16px; border-top: 1px solid #d9dcde; color: var(--ink); }
.type-manrope { font-family: Manrope, system-ui, sans-serif; }
.type-caps { text-transform: uppercase; font-weight: 700; letter-spacing: -0.01em; }
.type-mono { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em; font-size: .9rem; }
.type-sample.type-mono { font-weight: 500; letter-spacing: 0; font-size: clamp(3.5rem, 6vw, 5.5rem); }
.type-line.type-mono { color: #C41E3A; }
.logo-tile { aspect-ratio: 16 / 9; border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.logo-tile img { width: 48%; height: auto; }
.story-cta { padding: 72px 0 24px; }
.story-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: #f5f5f5; border-radius: 5px; padding: 40px 48px; }
.story-cta h2 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.story-cta p { margin-top: 8px; color: var(--muted); }
.story-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.story-more { padding: 32px 0 96px; }
@media (max-width: 900px) {
  .story-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-cols { grid-template-columns: 1fr; gap: 20px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .story-intro { padding: 56px 0 32px; }
  .story-text { padding: 48px 0; }
  .panel-pair { grid-template-columns: 1fr; }
  .type-grid, .logo-grid { grid-template-columns: 1fr; }
  .story-cta-inner { padding: 28px 24px; }
  .story-hero-inner { padding-bottom: 40px; }
}
