/* Quittora website – the shared UT-Systems structure (ut-core.css: header, mobile menu, footer, buttons, width, fonts)
   in Quittora's own light colours (spec 13 and the logo kit): paper #F3F5F4, chrome #E8EDEB, white surfaces, ink
   #16201D, muted #55625E, Quittora green #0F6B57 as the accent, amber #F2B134 only as a surface (step numbers, the core
   of the roll). The "local" band is deep green, the closing panel green. Recurring marks: the roll (green ring, amber
   core) before labels, torn paper edges in the backdrops, the outlined symbol in the footer.
   Motion: CSS keyframes and scroll-driven animations where supported, plus the reveals of src/app.js (start states
   only under html.js-motion, which src/boot.js sets). prefers-reduced-motion switches all motion off.
   No external requests: fonts come from /media/fonts (ut-core.css), the grain is /media/grain.svg?v=29a7c49b7e (feTurbulence). */

:root.ut-light {
  /* --- UT-Systems kit tokens (ut-core.css) in the Quittora light palette --- */
  --ut-bg: #F3F5F4;                 /* Fläche */
  --ut-bg-raise: #FFFFFF;
  --ut-footer-bg: #E8EDEB;          /* Seitenleiste */
  --ut-line: rgba(22, 32, 29, .09);
  --ut-line-strong: rgba(22, 32, 29, .18);
  --ut-text: #16201D;               /* Tinte */
  --ut-text-soft: #45524E;
  --ut-text-mute: #55625E;          /* gedämpfter Text (AA on paper) */
  --ut-accent: #0F6B57;             /* Quittora Grün */
  --ut-accent-hi: #178A70;
  --ut-accent-lo: #0B5243;
  --ut-accent-ink: #FFFFFF;
  --ut-accent-2: #8A5300;           /* amber, darkened for small text (AA on paper) */
  --ut-glow: rgba(15, 107, 87, .16);
  --ut-header-scrolled: rgba(243, 245, 244, .8);
  --ut-glass: rgba(255, 255, 255, .55);
  --ut-glass-line: rgba(22, 32, 29, .14);
  --ut-italic-grad: linear-gradient(100deg, #0F6B57 0%, #1E9478 40%, #0B5243 70%, #C98A12 100%);

  /* --- site tokens --- */
  --bg: var(--ut-bg);
  --bg-2: var(--ut-footer-bg);      /* alternate sections */
  --surface: #FFFFFF;
  --subtle: #F6F8F7;
  --glass: rgba(255, 255, 255, .62);
  --glass-2: rgba(255, 255, 255, .86);
  --line: rgba(22, 32, 29, .09);
  --line-2: rgba(22, 32, 29, .16);
  --line-3: rgba(22, 32, 29, .30);
  --text: #16201D;
  --head: #10332B;                  /* deep green ink: headlines */
  --text-2: #45524E;
  --text-3: #55625E;
  --accent: #0F6B57;
  --accent-text: #0F6B57;
  --accent-soft: rgba(15, 107, 87, .08);
  --accent-line: rgba(15, 107, 87, .28);
  --marker: #F2B134;                /* Bernstein: surfaces only */
  --marker-ink: #16201D;
  --marker-text: #8A5300;
  --marker-soft: rgba(242, 177, 52, .16);
  --ok: #17582F;                    /* Sicher (chip text) */
  --glow: rgba(15, 107, 87, .2);
  --blob-1: rgba(15, 107, 87, .24);
  --blob-2: rgba(30, 148, 120, .2);
  --blob-3: rgba(15, 107, 87, .11);
  --blob-4: rgba(242, 177, 52, .2);
  --blob-5: rgba(64, 170, 140, .18);
  --tears: rgba(16, 51, 43, .12);
  --tears-2: rgba(16, 51, 43, .07);
  --tears-warm: rgba(201, 138, 18, .2);
  --grain-filter: invert(1);
  --grain-opacity: .035;
  --shadow: 0 1px 2px rgba(16, 40, 34, .05), 0 24px 56px -30px rgba(16, 40, 34, .28);
  --shot-shadow: 0 0 0 6px rgba(16, 51, 43, .03), 0 40px 90px -40px rgba(16, 40, 34, .45), 0 0 100px -60px rgba(15, 107, 87, .45);
  --band: #0B3F34;                  /* the deep green "local" band */
  --radius: 22px;
  --radius-s: 14px;
  --ease: var(--ut-ease-out);
  --sans: var(--ut-sans);
  --mono: var(--ut-mono);
}

/* ---- Base ---------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* film grain over everything (static, cheap; inverted to dark specks on light) */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: var(--grain-opacity); filter: var(--grain-filter); background-image: url(/media/grain.svg?v=29a7c49b7e); }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 560; letter-spacing: -.02em; text-wrap: balance; color: var(--head); }
p { margin: 0; }
a { color: var(--accent-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code, kbd { font-family: var(--mono); font-size: .86em; }
code { background: var(--subtle); border: 1px solid var(--line); border-radius: 6px; padding: .05em .35em; white-space: nowrap; color: var(--text); }
kbd { display: inline-block; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 0 .4em; background: var(--surface); color: var(--text); line-height: 1.5; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(15, 107, 87, .18); }
[id] { scroll-margin-top: calc(var(--ut-header-h) + 16px); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-2); }
.skip:focus { top: 12px; }
.ut-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 20px; height: 20px; flex: none; }
.small { font-size: 14px; color: var(--text-3); }

/* glass panels: white with slight transparency, hairline border, soft shadow */
.glass {
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- Brand: the symbol (roll and strip in green, amber core) next to "Quittora" in Geist ------------------------ */
.brand { align-items: center; gap: .32em; font-size: 21px; line-height: 1; color: var(--head); white-space: nowrap; }
.brand .brand__word { font-weight: 600; letter-spacing: -.025em; }
.brand:hover .brand__word { transform: none; }
.brand .brand__mark { height: .92em; width: calc(.92em * 198 / 168); fill: var(--accent); flex: none; }
.mark__core { fill: var(--marker); }
.brand:hover { text-decoration: none; }

/* ---- Buttons: the kit's .ut-btn; a few site details ---------------------------------------------------------- */
.ut-btn .icon { width: 17px; height: 17px; }
.ut-btn:hover { text-decoration: none; }

/* ---- Decorative backdrop: gradient-mesh glow in the accent, staircase lines ---------------------------------- */
.backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop--hero { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.blob { position: absolute; display: block; border-radius: 50%; background: radial-gradient(closest-side, var(--c) 0%, transparent 100%); animation: drift-a var(--t, 18s) ease-in-out infinite alternate; will-change: transform; }
.blob--1 { --c: var(--blob-1); --t: 17s; width: 70vw; height: 70vw; left: -18vw; top: -28vw; }
.blob--2 { --c: var(--blob-2); --t: 21s; width: 58vw; height: 58vw; right: -16vw; top: 2vh; animation-name: drift-b; }
.blob--3 { --c: var(--blob-3); --t: 13s; width: 40vw; height: 40vw; left: 34vw; bottom: -16vw; animation-name: drift-c; }
.blob--4 { --c: var(--blob-4); --t: 26s; width: 30vw; height: 30vw; right: 8vw; bottom: -8vw; animation-name: drift-b; }
.blob--5 { --c: var(--blob-5); --t: 15s; width: 30vw; height: 30vw; right: 18vw; top: -12vw; animation-name: drift-c; }
@keyframes drift-a { 50% { transform: translate3d(9vw, 6vh, 0) scale(1.14); } 100% { transform: translate3d(-5vw, 12vh, 0) scale(.9); } }
@keyframes drift-b { 0% { transform: scale(1.05); } 50% { transform: translate3d(-10vw, 10vh, 0) scale(.92); } 100% { transform: translate3d(4vw, -6vh, 0) scale(1.18); } }
@keyframes drift-c { 0% { transform: scale(.9); } 50% { transform: translate3d(-14vw, 14vh, 0) scale(1.25); } 100% { transform: translate3d(8vw, 4vh, 0); } }
/* torn paper edges (the zigzag of the logo's strip) that draw themselves and drift slowly */
.backdrop__tears { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--tears); stroke-width: 1; stroke-linejoin: round; animation: tears-drift 30s ease-in-out infinite alternate; }
.backdrop__tears path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; animation: draw 3.2s var(--ease) both; }
.backdrop__tears path:nth-child(2) { animation-delay: .25s; stroke: var(--tears-2); }
.backdrop__tears path:nth-child(3) { animation-delay: .5s; stroke: var(--tears-warm); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tears-drift { to { transform: translate3d(-40px, 18px, 0); } }
@media (max-width: 760px) {
  .blob--1 { width: 140vw; height: 140vw; left: -60vw; top: -50vw; }
  .blob--2 { width: 110vw; height: 110vw; right: -60vw; }
  .blob--3 { width: 90vw; height: 90vw; left: 0; }
  .blob--4, .blob--5 { width: 70vw; height: 70vw; }
}

/* ---- Motion of app.js (only under html.js-motion; without it everything is visible) -------------------------- */
.js-motion .reveal { transition: opacity 1s ease, transform 1.2s var(--ease), filter 1s ease; }
.js-motion .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); filter: blur(8px); }
/* headlines: the words smear in, one after the other */
.w { display: inline-block; }
.js-motion [data-words] .w__in { display: inline-block; transform-origin: left center; transition: opacity .9s ease, filter .9s ease, transform 1.1s var(--ease); }
.js-motion [data-words]:not(.is-in) .w__in { opacity: 0; filter: blur(14px); transform: translate3d(-.3em, .08em, 0) scaleX(1.18); }
.js-motion .hero__title .w__in { display: inline-block; transform-origin: left center; }
.js-motion:not(.is-ready) .hero__title .w__in, .js-motion:not(.is-ready) .hero__in { opacity: 0; }
.js-motion.is-ready .hero__title .w__in { animation: smear-in 1.4s var(--ease) both; }
.js-motion.is-ready .hero__in { animation: rise 1s var(--ease) both; animation-delay: 1.05s; }
.js-motion.is-ready .hero__actions.hero__in { animation-delay: 1.15s; }
.js-motion.is-ready .hero__meta.hero__in { animation-delay: 1.25s; }
@keyframes smear-in { from { opacity: 0; filter: blur(22px); transform: translate3d(-.35em, 0, 0) scaleX(1.25); } 60% { filter: blur(2px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.w:nth-child(1) .w__in { animation-delay: .3s; transition-delay: 0s; }
.w:nth-child(2) .w__in { animation-delay: .46s; transition-delay: .05s; }
.w:nth-child(3) .w__in { animation-delay: .62s; transition-delay: .1s; }
.w:nth-child(4) .w__in { animation-delay: .78s; transition-delay: .15s; }
.w:nth-child(5) .w__in { animation-delay: .94s; transition-delay: .2s; }
.w:nth-child(6) .w__in { animation-delay: 1.1s; transition-delay: .25s; }
.w:nth-child(7) .w__in { transition-delay: .3s; }
.w:nth-child(8) .w__in { transition-delay: .35s; }
.w:nth-child(n+9) .w__in { transition-delay: .4s; }

/* ---- Section scaffolding: the ut-systems section head (label left, big title, intro) ------------------------- */
.section { position: relative; isolation: isolate; padding-block: clamp(96px, 14vh, 168px); }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 14%, var(--bg-2) 86%, var(--bg) 100%); }
.section--glow::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 45% at 50% 55%, var(--glow), transparent 70%); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ut-col-gap); row-gap: 22px; margin-bottom: clamp(56px, 9vh, 104px); }
.section-head__label { grid-column: 1 / span 3; display: flex; align-items: center; gap: 12px; margin: 0; padding-top: 1.2em; }
/* the label carries a tiny roll (green ring, amber core), the site's recurring mark */
.section-head__label::before, .chapter__label::before {
  content: ''; width: 12px; height: 12px; flex: none; border-radius: 50%; border: 3px solid var(--accent-text); background: var(--marker);
}
.section-head__n { color: var(--ut-accent-2); }
.section-head__title { grid-column: 4 / span 9; font-size: clamp(2.5rem, 5.8vw, 5.6rem); font-weight: 520; line-height: .98; letter-spacing: -.05em; }
.section-head__intro { grid-column: 4 / span 6; max-width: var(--ut-measure); color: var(--text-2); font-size: clamp(17px, .4vw + 15px, 19px); }
@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head__label, .section-head__title, .section-head__intro { grid-column: 1; }
  .section-head__label { padding-top: 0; }
}

/* ---- Screenshots --------------------------------------------------------------------------------------------- */
.shot { margin: 0; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shot-shadow); }
.shot img, .shot video { width: 100%; height: auto; }
.shot--wide { margin: 0 0 72px; }

/* ---- Hero ---------------------------------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; }
.hero__wrap { flex: 1; display: flex; flex-direction: column; padding-top: calc(var(--ut-header-h) + clamp(32px, 7vh, 96px)); padding-bottom: clamp(32px, 6vh, 64px); }
.hero__title { margin-block: auto; font-size: clamp(3.1rem, 10.2vw, 10.2rem); font-weight: 520; line-height: .92; letter-spacing: -.058em; max-width: 12ch; }
.hero__title .ut-it { letter-spacing: -.025em; line-height: .5; }  /* the serif's taller metrics must not widen the line gap */
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 28px; margin-top: clamp(36px, 6vh, 72px); }  /* lead, buttons, facts under each other, like the other product sites */
.hero__meta { justify-self: stretch; }
.hero__lead { max-width: 36rem; font-size: clamp(18px, .5vw + 15px, 21px); line-height: 1.5; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line-2); font: 450 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.hero__meta li + li::before { content: '·'; margin: 0 14px; color: var(--line-3); }
.hero__meta li:first-child { color: var(--head); font-weight: 550; }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero__foot { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero__actions .ut-btn { flex: 1 1 100%; }
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .hero__meta li + li::before { content: none; }
}

/* ---- Film: full wrap width in a glass frame with a glow, tilting back to flat as it scrolls in --------------- */
.filmband { position: relative; padding: 8px 0 32px; }
.filmband__frame { position: relative; padding: 10px; border-radius: calc(var(--radius) + 10px); background: linear-gradient(180deg, var(--glass-2), var(--glass)); border: 1px solid var(--line); box-shadow: var(--shadow); transform-origin: 50% 0; }
.filmband__frame::before { content: ''; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(40px); }
.filmband__frame .shot { box-shadow: none; }
.shot--film { position: relative; border-radius: var(--radius); }
.shot--film video { aspect-ratio: 16 / 9; background: #0D0F12; object-fit: contain; }
/* the play mark: decoration only (clicks go to the video), shown while the video is paused where :paused exists */
.film__play { display: none; position: absolute; left: 50%; top: 50%; width: clamp(64px, 8vw, 96px); aspect-ratio: 1; margin: 0; translate: -50% -50%; place-items: center; border-radius: 50%; pointer-events: none;
  background: linear-gradient(135deg, var(--ut-accent-hi), var(--ut-accent) 45%, var(--ut-accent-lo)); box-shadow: 0 0 0 10px rgba(255, 255, 255, .22), 0 20px 50px -12px rgba(15, 107, 87, .8); }
.film__play svg { width: 36%; fill: #fff; translate: 6% 0; }
@supports selector(:paused) {
  .shot--film video:paused + .film__play { display: grid; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .filmband__frame, .shot--tilt { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes tilt { from { transform: perspective(1600px) rotateX(16deg) scale(.93); opacity: .55; } }
@media (max-width: 760px) { .filmband__frame { padding: 6px; border-radius: calc(var(--radius) + 6px); } }

/* ---- Trust row: Microsoft Store rating (when there is one) and the facts bar --------------------------------- */
.trust { padding: 16px 0 0; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; padding-block: 28px; border-block: 1px solid var(--line-2); }
.trust__rating { flex: none; text-decoration: none; }
.trust__rating:hover .ut-rating__count { color: var(--text); }
.trust__facts { flex: 1 1 560px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; margin: 0; }
.trust__facts dt { font: 450 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.trust__facts dd { margin: 0; font-size: 16px; color: var(--head); }
@media (max-width: 760px) { .trust__facts { grid-template-columns: 1fr 1fr; } }

/* ---- So geht's: three step cards rising like a staircase ---------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ut-col-gap); align-items: start; }
.step { padding: 34px 32px 38px; }
.step h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 520; letter-spacing: -.03em; margin: 26px 0 10px; }
.step p { color: var(--text-2); }
@media (min-width: 961px) {
  .step:nth-child(1) { margin-top: 112px; }
  .step:nth-child(2) { margin-top: 56px; }
}
.marker { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--marker); color: var(--marker-ink); font: 600 19px/1 var(--sans); box-shadow: 0 0 0 7px var(--accent), 0 0 0 9px rgba(15, 107, 87, .14), 0 12px 28px -8px rgba(15, 107, 87, .6); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: var(--text-2); }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.ticks .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--accent-text); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .step { padding: 26px 22px; } }

/* ---- Feature chapters: big image and text, alternating -------------------------------------------------------- */
.section--chapters { padding-top: 0; }
.chapters { display: grid; gap: clamp(96px, 14vh, 176px); }
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ut-col-gap); row-gap: 36px; align-items: center; }
.chapter__text { grid-column: 1 / span 5; grid-row: 1; }
.chapter__shot { grid-column: 6 / span 7; grid-row: 1; }
.chapter--flip .chapter__text { grid-column: 8 / span 5; }
.chapter--flip .chapter__shot { grid-column: 1 / span 7; }
.chapter__label { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.chapter h2 { font-size: clamp(2.2rem, 4vw, 3.9rem); font-weight: 520; line-height: 1; letter-spacing: -.045em; margin-bottom: 24px; }
.chapter__body > p { color: var(--text-2); font-size: clamp(17px, .3vw + 15px, 18.5px); max-width: var(--ut-measure); }
/* the example file names are long: let them wrap on phones instead of overflowing */
.chapter__body code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter__text, .chapter__shot, .chapter--flip .chapter__text, .chapter--flip .chapter__shot { grid-column: 1; grid-row: auto; }
}
/* export formats inside chapter 3 */
.formats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.format { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.format__tag { display: grid; place-items: center; height: 52px; border-radius: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .04em; border: 1px solid; position: relative; }
/* a folded page corner on the format tag */
.format__tag::after { content: ''; position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; background: linear-gradient(225deg, var(--bg) 50%, currentColor 50%); border-bottom-left-radius: 3px; opacity: .5; }
.format__tag--xlsx { color: var(--accent-text); background: var(--accent-soft); }
.format__tag--csv { color: var(--text-2); background: var(--subtle); }
.format__tag--zip { color: var(--marker-text); background: var(--marker-soft); }
.format h3 { font-size: 17px; margin-bottom: 2px; }
.format p { font-size: 15px; color: var(--text-2); }

/* ---- More: glass cards that lift and glow on hover ------------------------------------------------------------ */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ut-col-gap); perspective: 1200px; }
.feature { position: relative; isolation: isolate; overflow: hidden; padding: 30px; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.feature::before { content: ''; position: absolute; inset: -1px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(70% 60% at 20% 0%, var(--glow), transparent 70%); }
.feature:hover { transform: translateY(-6px) rotateX(4deg); border-color: var(--accent-line); box-shadow: var(--shadow), 0 30px 60px -30px var(--glow); }
.feature:hover::before { opacity: 1; }
.icon--feature { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent-line); margin-bottom: 20px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature { padding: 22px; } }

/* ---- Local: the one deep green band, light text; tokens are re-scoped inside ---------------------------------- */
.section--ink {
  --text: #EAF2EF; --head: #FFFFFF; --text-2: #BFD3CC; --text-3: #A3BDB5;
  --line: rgba(234, 242, 239, .14); --line-2: rgba(234, 242, 239, .24);
  --glass: rgba(255, 255, 255, .04); --glass-2: rgba(255, 255, 255, .08);
  --accent-text: #9FE0CB; --marker-text: #F5C35E; --ok: #7FDCA4;
  --ut-accent-2: #F5C35E; --ut-text-mute: #A3BDB5;
  --blob-1: rgba(30, 148, 120, .45); --blob-2: rgba(30, 148, 120, .26); --blob-3: rgba(127, 220, 190, .12); --blob-4: rgba(242, 177, 52, .2); --blob-5: rgba(30, 148, 120, .2);
  --tears: rgba(234, 242, 239, .12); --tears-2: rgba(234, 242, 239, .07); --tears-warm: rgba(245, 195, 94, .16);
  --shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 40px 80px -40px rgba(0, 0, 0, .6);
  --shot-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
  color: var(--text);
  background: var(--band);
}
.section--ink p { color: var(--text-2); }
.privacy__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; margin-bottom: 80px; align-items: start; }
.preview-card { padding: 30px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.preview-card h3 { font-size: 18px; margin-bottom: 18px; }
/* the demo is a little piece of the app's preview window: always light, the new path slides in */
.preview-demo { background: #FFFFFF; border-radius: 12px; padding: 6px 16px; margin-bottom: 30px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); color: #16201D; }
.preview-demo__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #D9E0DD; }
.preview-demo__row:last-child { border-bottom: 0; }
.preview-demo__from { font: 400 12.5px/1.3 var(--mono); color: #55625E; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-demo__to { grid-column: 1; display: flex; align-items: center; gap: 6px; min-width: 0; }
.preview-demo__arrow .icon { width: 14px; height: 14px; color: #0F6B57; }
.preview-demo__path { font: 500 13px/1.3 var(--sans); color: #16201D; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-demo__chip { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: #17582F; background: #DDF0E4; border-radius: 999px; padding: 3px 9px 3px 6px; }
.preview-demo__chip .icon { width: 14px; height: 14px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .preview-demo__to { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 90% cover 45%; }
    .preview-demo__chip { animation: chip linear both; animation-timeline: view(); animation-range: entry 90% cover 48%; }
  }
}
@keyframes slide-in { 0%, 15% { opacity: 0; transform: translateX(-16px); } 100% { opacity: 1; transform: none; } }
@keyframes chip { 0%, 80% { opacity: 0; transform: scale(.85); } 100% { opacity: 1; transform: none; } }
.chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; color: var(--text); border: 1px solid var(--line-2); background: var(--glass); border-radius: 999px; padding: 4px 12px; }
.privacy__points { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.point { position: relative; padding-top: 22px; }
.point::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--marker-text), transparent 85%); }
.point h3 { font-size: 20px; font-weight: 520; margin-bottom: 10px; }
.point p { font-size: 16px; }
.network { padding: 34px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.network h3 { font-size: 20px; margin-bottom: 26px; }
.network__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.network__list li { display: grid; gap: 14px; align-content: start; }
.network__list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--marker-text); background: rgba(245, 195, 94, .1); border: 1px solid rgba(245, 195, 94, .22); }
.network__list strong { display: block; font-weight: 600; margin-bottom: 4px; color: var(--head); }
.network__list span { color: var(--text-2); font-size: 15px; }
.network__more { margin-top: 28px; }
.network__more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.network__more .icon { width: 16px; height: 16px; }
.honest { margin-top: 36px; max-width: var(--ut-measure); font-size: 15px; border-left: 2px solid var(--line-2); padding-left: 18px; }
.section--ink code { background: transparent; border-color: var(--line-2); }
@media (max-width: 960px) { .privacy__grid { grid-template-columns: 1fr; } .network__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .privacy__points, .network__list { grid-template-columns: 1fr; }
  .preview-card, .network { padding: 20px; }
}

/* ---- Who it is for (the "organisations" grid of the stepdok site) --------------------------------------------- */
.orgs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--ut-col-gap); margin-bottom: 88px; }
.org { position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
.org__dot { display: block; width: 24px; height: 24px; margin-bottom: 18px; border-radius: 50%; border: 6px solid var(--accent); background: var(--marker); }
.org h3 { font-size: 19px; margin-bottom: 10px; }
.org p { color: var(--text-2); font-size: 15.5px; }
.docs-card { display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-items: start; padding: 34px; max-width: 980px; }
.docs-card .icon--feature { margin-bottom: 0; }
.docs-card h3 { font-size: 21px; }
.docs-card .ticks { margin-bottom: 28px; }
.ticks--plain .icon { color: var(--marker-text); }
@media (max-width: 960px) { .orgs__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .docs-card { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .orgs__grid { grid-template-columns: 1fr; gap: 32px; } .docs-card { padding: 22px; } .docs-card .ut-btn { white-space: normal; text-align: center; padding-block: 10px; } }

/* ---- Pricing: the Store card and what stays usable after the trial ------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ut-col-gap); align-items: stretch; max-width: 1120px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
/* the single-user plan: gradient border, glow */
.plan--featured {
  position: relative; border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(150deg, #3FB494, #0F6B57 45%, #F2B134) border-box;
  box-shadow: var(--shadow), 0 40px 90px -36px var(--glow);
}
.plan__badge { align-self: flex-start; font: 450 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); background: var(--subtle); border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; margin-bottom: 22px; }
.plan--featured .plan__badge { color: var(--accent-text); background: var(--accent-soft); border-color: var(--accent-line); }
.plan h3 { font-size: 24px; font-weight: 520; }
.plan__price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.plan__price strong { font-size: clamp(44px, 4.4vw, 60px); font-weight: 520; letter-spacing: -.045em; line-height: 1; color: var(--head); }
.plan__price strong.plan__ask { font-size: clamp(32px, 3vw, 40px); }
.plan__price span { color: var(--text-3); font-size: 15px; }
.plan__note { color: var(--text-3); font-size: 14px; margin-top: 10px; }
.plan .ticks { margin-bottom: 32px; flex: 1; align-content: start; }
.plan .ut-btn { width: 100%; }
.plans__note { margin: 36px auto 0; max-width: 1120px; }
.plans__note { text-wrap: pretty; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 560px; } .plans__note { max-width: 560px; } }

/* ---- FAQ: aligned with the section title ---------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line-2); margin-left: calc((100% + var(--ut-col-gap)) / 4); }
.faq details { border-bottom: 1px solid var(--line-2); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 520; letter-spacing: -.01em; color: var(--head); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); font: 400 20px/1 var(--sans); color: var(--text-2); transition: transform .35s var(--ease), background-color .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq summary:hover, .faq details[open] summary { color: var(--accent-text); }
.faq details p { max-width: 46rem; padding: 0 56px 26px 0; color: var(--text-2); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (max-width: 960px) { .faq { margin-left: 0; } }
@media (max-width: 600px) { .faq details p { padding-right: 0; } .faq summary { font-size: 17px; } }

/* ---- Final call to action: a big gradient panel (Quittora green to deep green) -------------------------------- */
.closing { padding: 24px 0 clamp(96px, 14vh, 160px); }
.closing__panel {
  --head: #FFFFFF; --text: #FFFFFF; --text-2: #CDE7DE; --line-2: rgba(255, 255, 255, .3);
  --ut-text: #FFFFFF; --ut-bg: #0B3F34; --ut-glass: rgba(255, 255, 255, .1); --ut-glass-line: rgba(255, 255, 255, .3);
  --blob-1: rgba(127, 220, 190, .4); --blob-2: rgba(30, 148, 120, .4); --blob-3: rgba(127, 220, 190, .18); --blob-4: rgba(242, 177, 52, .32); --blob-5: rgba(127, 220, 190, .22);
  --tears: rgba(255, 255, 255, .16); --tears-2: rgba(255, 255, 255, .1); --tears-warm: rgba(245, 195, 94, .22);
  position: relative; isolation: isolate; overflow: hidden; text-align: center; color: var(--text);
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(64px, 9vw, 136px) clamp(20px, 5vw, 64px);
  border-radius: 32px; border: 1px solid var(--line-2);
  background: linear-gradient(140deg, #178A70 0%, #0F6B57 35%, #0B4A3D 75%, #08332A 100%);
  box-shadow: 0 50px 100px -50px rgba(8, 51, 42, .7);
}
.closing__mark { width: 84px; height: auto; fill: #fff; margin-bottom: 32px; filter: drop-shadow(0 10px 30px rgba(127, 220, 190, .5)); }
.closing h2 { font-size: clamp(2.6rem, 6.4vw, 6.2rem); font-weight: 520; line-height: .98; letter-spacing: -.055em; max-width: 14ch; }
.closing p { margin-top: 22px; color: var(--text-2); font-size: 18px; }
.closing .hero__actions { justify-content: center; margin-top: 40px; }
.closing h2 .ut-it { line-height: .5; }
.closing .ut-it { background-image: linear-gradient(100deg, #FFFFFF, #BFEBDD 45%, #F5C35E 100%); }

/* ---- Footer: the kit footer plus the big outlined symbol ------------------------------------------------------ */
.ut-footer { isolation: isolate; border-top: 1px solid var(--line); }
.footer__mark { position: absolute; right: -120px; bottom: -170px; z-index: -1; width: 520px; height: auto; fill: none; stroke: var(--tears); stroke-width: .5; pointer-events: none; }
.ut-footer__col--wide .footer__tm { margin-top: 18px; font-size: 13px; }
@media (max-width: 760px) { .footer__mark { width: 300px; right: -120px; bottom: -150px; } }

/* ---- Legal pages and 404: the ut-systems page head (label, big title), text in the measure -------------------- */
.legal, .notfound { position: relative; isolation: isolate; }
.legal::before, .notfound::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 70% at 12% 0%, var(--blob-1), transparent 70%), radial-gradient(35% 50% at 90% 10%, var(--blob-4), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent);
}
.legal { padding: calc(var(--ut-header-h) + clamp(48px, 9vh, 104px)) 0 clamp(96px, 14vh, 160px); }
.legal__head { max-width: 52rem; margin-bottom: clamp(40px, 6vh, 64px); }
.legal__back { margin-bottom: 40px; font: 450 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.legal__back a { color: var(--text-2); text-decoration: none; }
.legal__back a:hover { color: var(--text); }
.legal__head h1 { margin-top: 14px; font-size: clamp(3rem, 7vw, 6rem); font-weight: 520; letter-spacing: -.055em; line-height: .98; }
.legal__body { max-width: 52rem; }
.legal__body h2 { margin: 52px 0 18px; padding-top: 26px; border-top: 1px solid var(--line-2); font: 500 12.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.legal__body > h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 21px; font-weight: 520; margin: 36px 0 12px; }
.legal__body h4 { font-size: 17px; margin: 24px 0 8px; color: var(--head); }
.legal__body p, .legal__body ul, .legal__body ol { margin: 0 0 14px; color: var(--text-2); }
.legal__body li { margin-bottom: 6px; }
.legal__body strong { color: var(--text); }
.table { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.table table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 640px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.table th { font-weight: 600; background: var(--subtle); color: var(--text); }
.table tr:last-child td { border-bottom: 0; }
.legal code { white-space: normal; overflow-wrap: anywhere; }
.notfound { padding: calc(var(--ut-header-h) + 96px) 0 140px; }
.notfound .ut-wrap > * { max-width: 46rem; }
.notfound__code { font: 520 clamp(80px, 16vw, 180px)/1 var(--sans); letter-spacing: -.06em; margin-bottom: 16px; background: var(--ut-italic-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 44px; font-weight: 520; letter-spacing: -.03em; margin-bottom: 14px; }
.notfound h2 { font-size: 28px; font-weight: 520; margin: 56px 0 12px; }
.notfound p { color: var(--text-2); margin-bottom: 20px; }

/* ---- Motion and contrast preferences --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .feature:hover { transform: none; }
}
@media (forced-colors: active) {
  .backdrop, body::after, .footer__mark, .filmband__frame::before, .film__play { display: none; }
  .ut-btn, .plan, .feature, .shot, .glass, .closing__panel, .ut-menu-toggle { border: 1px solid CanvasText; }
  .ut-it, .notfound__code { background: none; color: CanvasText; }
  .marker, .preview-demo { forced-color-adjust: none; }
}
@media print {
  .ut-header, .ut-mobile-nav, .filmband, .closing, .skip, .backdrop, .footer__mark { display: none; }
  body::after { display: none; }
  body { background: #fff; color: #000; }
  .ut-it { color: #000; background: none; }
  .legal { padding-top: 0; }
  .js-motion .reveal, .js-motion [data-words] .w__in { opacity: 1 !important; transform: none !important; filter: none !important; }
}
