feat(website): responsive / mobile layouts

Make the marketing site mobile-friendly across every page and section.
Desktop appearance is unchanged; all breakpoint logic targets <=768px.

- Fluid section padding via clamp(); equal grids use auto-fit/minmax,
  asymmetric grids stack to one column via scoped-CSS media queries
- Nav: real hamburger menu on mobile (links, lang toggle, login, CTA)
- ProductMockup: scales the whole dashboard to fit (zoom) instead of
  reflowing its internals into a tall stack
- Lower oversized heading clamp() minimums so titles no longer overflow
  at ~390px (hero, page headers, final CTA, brand cover/chapter)
- HowItWorks: row-gap when steps stack so node markers clear the text
- Compare + partners tables: stacked rows now label each value with its
  column (Dezky vs hyperscaler / CSP) instead of an ambiguous header
- Footer columns, tiers, calculator and tables stack cleanly on mobile
This commit is contained in:
Ronni Baslund
2026-06-06 15:55:35 +02:00
parent bc0697c3e8
commit d668b1b6a6
28 changed files with 721 additions and 142 deletions
@@ -25,7 +25,7 @@ const labelParts = computed(() => {
<template>
<section id="sovereignty" :style="{ background: t.invert, color: t.invertFg, scrollMarginTop: '72px' }">
<LandingContainer pad="140px 64px">
<LandingContainer pad="clamp(56px, 8vw, 140px) clamp(20px, 5vw, 64px)">
<div :style="{
display: 'flex', alignItems: 'center', gap: '14px',
paddingBottom: '24px', marginBottom: '56px',
@@ -37,7 +37,7 @@ const labelParts = computed(() => {
<span></span>
<span>{{ labelParts.text }}</span>
</div>
<div :style="{ display: 'grid', gridTemplateColumns: '1.1fr 1fr', gap: '96px' }">
<div class="sovereignty-main-grid" :style="{ display: 'grid', gap: '96px' }">
<div>
<h2 :style="{ fontFamily: '\'Inter Tight\', sans-serif', fontWeight: 600, fontSize: 'clamp(36px, 4.4vw, 64px)', letterSpacing: '-0.032em', lineHeight: 1.0, margin: 0, textWrap: 'balance', color: t.invertFg }">{{ copy.sovereignty.heading }}</h2>
<div :style="{ marginTop: '36px', display: 'flex', flexDirection: 'column', gap: '18px', maxWidth: '540px' }">
@@ -47,8 +47,9 @@ const labelParts = computed(() => {
<div :style="{ paddingTop: '8px' }">
<div
v-for="(row, i) in copy.sovereignty.checks" :key="i"
class="sovereignty-check-row"
:style="{
display: 'grid', gridTemplateColumns: '1fr 1.4fr', padding: '20px 0',
display: 'grid', padding: '20px 0',
borderTop: i === 0 ? `1px solid ${rule18}` : 'none',
borderBottom: `1px solid ${rule10}`,
fontFamily: '\'Inter\', sans-serif', fontSize: '14px', alignItems: 'baseline',
@@ -62,3 +63,23 @@ const labelParts = computed(() => {
</LandingContainer>
</section>
</template>
<style scoped>
.sovereignty-main-grid {
grid-template-columns: 1.1fr 1fr;
}
.sovereignty-check-row {
grid-template-columns: 1fr 1.4fr;
}
@media (max-width: 768px) {
.sovereignty-main-grid {
grid-template-columns: 1fr;
}
.sovereignty-check-row {
grid-template-columns: 1fr;
}
}
</style>