Redesign landing page around the 2π work cycle
- Replace fabricated proof (testimonials, AI portraits, case images, unsourced metrics) with the real offer: a small senior team present for the whole turn, a written proposal, and iterative delivery. - New cycle diagram built from the logo's arcs: four stages with an inner iteration loop that turns while the iterations stage is read. - Accessible contact form (email type, autocomplete, announced errors, sending state, honeypot, captcha on) and no PII sent to PostHog. - English version at /en/ and /en/thanks/, all copy in _data/i18n.js. - Contrast fixes, mobile menu, self-hosted Schibsted Grotesk. - Add PRODUCT.md and DESIGN.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,84 +1,481 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rajdhani:wght@600;700&display=swap");
|
||||
@font-face {
|
||||
font-family: "Schibsted Grotesk";
|
||||
font-style: normal;
|
||||
font-weight: 400 900;
|
||||
font-display: swap;
|
||||
src: url("/fonts/schibsted-latin.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
|
||||
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Schibsted Grotesk";
|
||||
font-style: normal;
|
||||
font-weight: 400 900;
|
||||
font-display: swap;
|
||||
src: url("/fonts/schibsted-latin-ext.woff2") format("woff2");
|
||||
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
|
||||
U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* ---------- Base ---------- */
|
||||
@layer base {
|
||||
:root {
|
||||
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
--header-h: 4rem;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
scroll-padding-top: calc(var(--header-h) + 1rem);
|
||||
-webkit-text-size-adjust: 100%;
|
||||
scrollbar-color: #c4cad6 transparent;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-paper text-ink antialiased;
|
||||
@apply bg-ground font-sans text-ink antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
p,
|
||||
li,
|
||||
dd {
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
::selection {
|
||||
@apply bg-flame text-white;
|
||||
background: #ffd7bd;
|
||||
color: #0b1220;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
caret-color: #0079ff;
|
||||
}
|
||||
|
||||
a {
|
||||
text-underline-offset: 0.2em;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid #0062d1;
|
||||
outline-offset: 3px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.tnum {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- Components ---------- */
|
||||
@layer components {
|
||||
.section-shell {
|
||||
@apply mx-auto w-full max-w-6xl px-5 sm:px-6 lg:px-8;
|
||||
.shell {
|
||||
@apply mx-auto w-full max-w-shell px-5 sm:px-8;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
@apply text-[0.68rem] font-bold uppercase tracking-[0.16em] text-azure;
|
||||
.skip-link {
|
||||
@apply absolute left-4 top-3 z-[60] -translate-y-16 rounded-md bg-ink px-4 py-2 text-sm font-medium text-white transition-transform;
|
||||
}
|
||||
.skip-link:focus {
|
||||
@apply translate-y-0;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
@apply inline-flex items-center justify-center rounded-md bg-flame px-5 py-3 text-sm font-bold text-white shadow-lg shadow-orange-500/20 transition hover:bg-ember focus:outline-none focus:ring-2 focus:ring-flame focus:ring-offset-2;
|
||||
/* Header */
|
||||
.site-header {
|
||||
@apply sticky top-0 z-50 border-b border-transparent bg-ground transition-colors duration-200;
|
||||
height: var(--header-h);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
@apply inline-flex items-center justify-center rounded-md border border-line bg-white px-5 py-3 text-sm font-bold text-azure transition hover:border-azure hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-azure focus:ring-offset-2;
|
||||
.site-header[data-scrolled] {
|
||||
@apply border-line;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
@apply text-sm font-semibold text-slate-700 transition hover:text-azure;
|
||||
@apply rounded-md px-3 py-2 text-[0.9375rem] font-medium text-ink-2 transition-colors hover:text-ink;
|
||||
}
|
||||
.lang-link {
|
||||
@apply rounded-md px-2.5 py-2 text-sm font-medium text-muted transition-colors hover:text-ink;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
@apply rounded-lg border border-line bg-white p-5 shadow-sm transition hover:-translate-y-1 hover:shadow-soft;
|
||||
/* Buttons */
|
||||
.btn {
|
||||
@apply inline-flex min-h-[2.75rem] items-center justify-center gap-2 rounded-lg px-5 text-[0.9375rem] font-medium transition duration-150;
|
||||
}
|
||||
.btn-primary {
|
||||
@apply btn bg-ink text-white hover:bg-ink-soft;
|
||||
box-shadow: 0 1px 2px rgba(11, 18, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
.btn-secondary {
|
||||
@apply btn border border-line bg-white text-ink hover:border-[#cfd4de] hover:bg-[#f6f7fa];
|
||||
}
|
||||
.btn-small {
|
||||
@apply min-h-[2.25rem] px-3.5 text-sm;
|
||||
}
|
||||
.btn-light {
|
||||
@apply btn bg-white text-ink hover:bg-[#e9ecf2];
|
||||
}
|
||||
.btn .arrow {
|
||||
@apply transition-transform duration-200;
|
||||
}
|
||||
.btn:hover .arrow {
|
||||
transform: translateX(2px);
|
||||
}
|
||||
|
||||
.mini-icon {
|
||||
@apply flex h-9 w-9 items-center justify-center rounded-md text-base font-black text-white;
|
||||
/* Type */
|
||||
.display {
|
||||
@apply font-semibold text-ink;
|
||||
font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.75rem);
|
||||
line-height: 1.02;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
.h2 {
|
||||
@apply font-semibold text-ink;
|
||||
font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.85rem);
|
||||
line-height: 1.08;
|
||||
letter-spacing: -0.032em;
|
||||
}
|
||||
.lede {
|
||||
@apply text-ink-2;
|
||||
font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.glass-panel {
|
||||
background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
|
||||
backdrop-filter: blur(16px);
|
||||
.section {
|
||||
@apply py-20 sm:py-28;
|
||||
}
|
||||
|
||||
.dash-screen {
|
||||
background:
|
||||
radial-gradient(circle at 20% 18%, rgba(249, 115, 22, 0.18), transparent 30%),
|
||||
radial-gradient(circle at 80% 18%, rgba(0, 110, 230, 0.22), transparent 32%),
|
||||
linear-gradient(135deg, #10243f 0%, #071323 52%, #132d4b 100%);
|
||||
/* Promise marks: small arcs from the logo */
|
||||
.promise {
|
||||
@apply inline-flex items-center gap-2 text-[0.9375rem] text-ink-2;
|
||||
}
|
||||
.promise svg {
|
||||
@apply h-4 w-4 flex-none;
|
||||
}
|
||||
|
||||
.dash-grid {
|
||||
background-image:
|
||||
linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
|
||||
background-size: 28px 28px;
|
||||
/* Cycle diagram */
|
||||
.cycle {
|
||||
@apply block h-auto w-full;
|
||||
overflow: visible;
|
||||
}
|
||||
.cycle .arc {
|
||||
fill: none;
|
||||
stroke-width: 10;
|
||||
stroke-linecap: round;
|
||||
}
|
||||
.cycle .arc-a {
|
||||
stroke: #ff7f2a;
|
||||
}
|
||||
.cycle .arc-b {
|
||||
stroke: #0079ff;
|
||||
}
|
||||
.cycle .node {
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
|
||||
}
|
||||
.cycle .node circle {
|
||||
fill: #fff;
|
||||
stroke-width: 5;
|
||||
transition: fill 0.3s ease, stroke 0.3s ease;
|
||||
}
|
||||
.cycle .node-a circle {
|
||||
stroke: #ff7f2a;
|
||||
}
|
||||
.cycle .node-b circle {
|
||||
stroke: #0079ff;
|
||||
}
|
||||
.cycle .label {
|
||||
fill: #0b1220;
|
||||
font-size: 23px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.cycle .deg {
|
||||
fill: #5b6475;
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
font-variant-numeric: tabular-nums;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.cycle .loop-arc {
|
||||
stroke-width: 7;
|
||||
}
|
||||
.cycle .loop-spin {
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
}
|
||||
.cycle .loop-count {
|
||||
fill: #5b6475;
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.cycle[data-active="2"] .loop-spin {
|
||||
animation: loop-turn 1.8s var(--ease-out) infinite;
|
||||
}
|
||||
.cycle-draw .loop .arc-a {
|
||||
animation-delay: 0.75s;
|
||||
}
|
||||
.cycle-draw .loop .arc-b {
|
||||
animation-delay: 0.95s;
|
||||
}
|
||||
}
|
||||
.iter-steps > li {
|
||||
@apply border-t border-dashed border-line;
|
||||
}
|
||||
.cycle .pi {
|
||||
fill: #0b1220;
|
||||
font-size: 76px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
.cycle .center {
|
||||
fill: #5b6475;
|
||||
font-size: 19px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.metric-bar {
|
||||
@apply h-2 rounded-full bg-slate-700;
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.cycle-draw .arc {
|
||||
stroke-dasharray: 1;
|
||||
animation: cycle-draw 1.1s var(--ease-out) both;
|
||||
}
|
||||
.cycle-draw .arc-b {
|
||||
animation-delay: 0.45s;
|
||||
}
|
||||
.cycle-draw .node {
|
||||
animation: cycle-node 0.5s var(--ease-out) both;
|
||||
}
|
||||
.cycle-draw .stage-0 .node {
|
||||
animation-delay: 0.05s;
|
||||
}
|
||||
.cycle-draw .stage-1 .node {
|
||||
animation-delay: 0.3s;
|
||||
}
|
||||
.cycle-draw .stage-2 .node {
|
||||
animation-delay: 0.55s;
|
||||
}
|
||||
.cycle-draw .stage-3 .node {
|
||||
animation-delay: 0.8s;
|
||||
}
|
||||
.cycle-draw .stage-4 .node {
|
||||
animation-delay: 1.05s;
|
||||
}
|
||||
}
|
||||
|
||||
.metric-fill {
|
||||
@apply block h-full rounded-full;
|
||||
/* Sticky cycle in "How we work": the node of the stage being read comes forward */
|
||||
/* Inactive nodes keep an opaque white fill (the arc never shows through); only the outline dims */
|
||||
.cycle[data-active] .stage .node-a circle {
|
||||
stroke: #ffcaa5;
|
||||
}
|
||||
.cycle[data-active] .stage .node-b circle {
|
||||
stroke: #a9cfff;
|
||||
}
|
||||
.cycle[data-active="0"] .stage-0 .node-a circle,
|
||||
.cycle[data-active="1"] .stage-1 .node-a circle,
|
||||
.cycle[data-active="2"] .stage-2 .node-a circle {
|
||||
stroke: #ff7f2a;
|
||||
}
|
||||
.cycle[data-active="3"] .stage-3 .node-b circle,
|
||||
.cycle[data-active="4"] .stage-4 .node-b circle {
|
||||
stroke: #0079ff;
|
||||
}
|
||||
.cycle[data-active] .stage .label {
|
||||
opacity: 0.55;
|
||||
}
|
||||
.cycle[data-active] .stage .deg {
|
||||
opacity: 0.75;
|
||||
}
|
||||
.cycle[data-active="0"] .stage-0 :is(.node, .label, .deg),
|
||||
.cycle[data-active="1"] .stage-1 :is(.node, .label, .deg),
|
||||
.cycle[data-active="2"] .stage-2 :is(.node, .label, .deg),
|
||||
.cycle[data-active="3"] .stage-3 :is(.node, .label, .deg),
|
||||
.cycle[data-active="4"] .stage-4 :is(.node, .label, .deg) {
|
||||
opacity: 1;
|
||||
}
|
||||
.cycle[data-active="0"] .stage-0 .node,
|
||||
.cycle[data-active="1"] .stage-1 .node,
|
||||
.cycle[data-active="2"] .stage-2 .node,
|
||||
.cycle[data-active="3"] .stage-3 .node,
|
||||
.cycle[data-active="4"] .stage-4 .node {
|
||||
transform: scale(1.45);
|
||||
}
|
||||
.cycle[data-active="0"] .stage-0 .node-a circle,
|
||||
.cycle[data-active="1"] .stage-1 .node-a circle,
|
||||
.cycle[data-active="2"] .stage-2 .node-a circle {
|
||||
fill: #ff7f2a;
|
||||
}
|
||||
.cycle[data-active="3"] .stage-3 .node-b circle,
|
||||
.cycle[data-active="4"] .stage-4 .node-b circle {
|
||||
fill: #0079ff;
|
||||
}
|
||||
|
||||
.case-display {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(6, 24, 50, 0.05), rgba(6, 24, 50, 0.16)),
|
||||
linear-gradient(135deg, #10243f, #071323 48%, #123965);
|
||||
/* Process stages */
|
||||
.stage-item {
|
||||
@apply border-t border-line py-10 first:border-t-0 first:pt-0 lg:py-14;
|
||||
}
|
||||
.stage-deg {
|
||||
@apply tnum text-base font-medium;
|
||||
}
|
||||
|
||||
/* Mobile menu */
|
||||
.menu-btn {
|
||||
@apply inline-flex h-9 w-9 items-center justify-center rounded-md text-ink-2 transition-colors hover:bg-[#eef0f4] hover:text-ink;
|
||||
}
|
||||
.menu-btn .menu-close {
|
||||
display: none;
|
||||
}
|
||||
.menu-btn[aria-expanded="true"] .menu-open {
|
||||
display: none;
|
||||
}
|
||||
.menu-btn[aria-expanded="true"] .menu-close {
|
||||
display: inline;
|
||||
}
|
||||
.mobile-nav {
|
||||
@apply border-b border-line bg-ground;
|
||||
box-shadow: 0 12px 24px -12px rgba(11, 18, 32, 0.18);
|
||||
}
|
||||
.mobile-nav a {
|
||||
@apply border-b border-line py-3.5 text-base font-medium text-ink last:border-b-0;
|
||||
}
|
||||
|
||||
/* Partner marks set in one ink, as a quiet row */
|
||||
.tech-mark {
|
||||
filter: grayscale(1) contrast(1.1);
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
/* Hairline rows */
|
||||
.row-list > * {
|
||||
@apply border-t border-line;
|
||||
}
|
||||
.row-list > *:last-child {
|
||||
@apply border-b;
|
||||
}
|
||||
|
||||
/* FAQ */
|
||||
.faq summary {
|
||||
@apply flex cursor-pointer list-none items-center justify-between gap-6 py-6 text-lg font-medium text-ink;
|
||||
}
|
||||
.faq summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
.faq summary .plus {
|
||||
@apply relative h-4 w-4 flex-none;
|
||||
}
|
||||
.faq summary .plus::before,
|
||||
.faq summary .plus::after {
|
||||
content: "";
|
||||
@apply absolute left-0 top-1/2 h-[1.5px] w-4 -translate-y-1/2 bg-ink-2 transition-transform duration-300;
|
||||
}
|
||||
.faq summary .plus::after {
|
||||
transform: translateY(-50%) rotate(90deg);
|
||||
}
|
||||
.faq details[open] summary .plus::after {
|
||||
transform: translateY(-50%) rotate(0deg);
|
||||
}
|
||||
.faq summary:hover {
|
||||
@apply text-ink-2;
|
||||
}
|
||||
|
||||
/* Contact on night ground */
|
||||
.night {
|
||||
@apply bg-night text-white;
|
||||
}
|
||||
.night ::selection {
|
||||
background: #ff7f2a;
|
||||
color: #0b1220;
|
||||
}
|
||||
.night :focus-visible {
|
||||
outline-color: #8fc2ff;
|
||||
}
|
||||
.field-label {
|
||||
@apply flex items-baseline justify-between text-sm font-medium text-white;
|
||||
}
|
||||
.field-hint {
|
||||
@apply text-xs font-normal text-night-muted;
|
||||
}
|
||||
.field {
|
||||
@apply mt-2 block w-full rounded-lg border border-night-edge bg-night-field px-4 py-3 text-base text-white transition-colors duration-150;
|
||||
}
|
||||
.field::placeholder {
|
||||
color: #8e98ad;
|
||||
}
|
||||
.field:hover {
|
||||
border-color: #74809d;
|
||||
}
|
||||
.field:focus {
|
||||
outline: none;
|
||||
border-color: #8fc2ff;
|
||||
box-shadow: 0 0 0 3px rgba(0, 121, 255, 0.35);
|
||||
}
|
||||
.field[aria-invalid="true"] {
|
||||
border-color: #ff8a80;
|
||||
}
|
||||
.field-error {
|
||||
@apply mt-2 text-sm text-[#ffaba3];
|
||||
}
|
||||
.form-summary {
|
||||
@apply rounded-lg border border-[#ff8a80]/60 bg-[#ff8a80]/10 px-4 py-3 text-sm text-[#ffd2cd];
|
||||
}
|
||||
.btn-submit {
|
||||
@apply btn-light w-full sm:w-auto;
|
||||
}
|
||||
.btn-submit[aria-busy="true"] {
|
||||
@apply cursor-progress opacity-80;
|
||||
}
|
||||
.btn-submit .spinner {
|
||||
@apply hidden h-4 w-4 animate-spin rounded-full border-2 border-ink/25 border-t-ink;
|
||||
}
|
||||
.btn-submit[aria-busy="true"] .spinner {
|
||||
@apply inline-block;
|
||||
}
|
||||
.night-link {
|
||||
@apply font-medium text-white underline decoration-white/40 hover:decoration-white;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes cycle-draw {
|
||||
from {
|
||||
stroke-dashoffset: 1;
|
||||
}
|
||||
to {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes loop-turn {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes cycle-node {
|
||||
from {
|
||||
transform: scale(0);
|
||||
}
|
||||
to {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user