/* gettiapp.com website. Values from the Figma variables "Getti web"
   (GettiApp-Web, 2026-11-30): light base, charcoal ink, red accent only,
   dark ink only in the footer. Fonts and colours: tokens.css. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.55 var(--font);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* Every page but Home opens with its <h1> in the look of a section
   title; only the hero's <h1> is the big one. */
h2,
.page-head h1 {
  max-width: 1100px;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* A card's title looks the same whichever heading level the page's
   outline gives it. */
h3,
.card-title {
  max-width: none;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: normal;
}

.lead {
  max-width: 900px;
  color: var(--ink-muted);
  font-size: 22px;
  line-height: 1.5;
}

.small {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* "■ HOW IT WORKS": a red square, then small spaced-out capitals */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font: 600 14px/1.4 var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.label::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--accent);
}

/* Header: logo, the pill menu in the middle, languages and Sign in */

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 25px 30px;
}

.logo {
  justify-self: start;
}

.menu {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-pill);
}

.menu a,
.pill {
  padding: 14px 52px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.menu a[aria-current='page'] {
  background: var(--bg);
}

.menu a:hover {
  background: var(--bg);
}

.header-end {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
}

.languages {
  display: flex;
  gap: 4px;
}

.languages a {
  padding: 6px;
  color: var(--ink-muted);
  font: 600 14px/1 var(--font);
  letter-spacing: 0.14em;
  text-decoration: none;
}

.languages a[aria-current='true'] {
  color: var(--ink);
}

.pill {
  padding: 24px 36px;
  background: var(--surface);
  box-shadow: var(--shadow-pill);
}

.language-hint {
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
}

/* Buttons */

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow-button);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

/* "Get Started" (owner's reference video, 2026-11-30): on hover the pill
   springs a little larger, turns black, and coloured light circles slowly
   round its ends. A blurred conic gradient turns behind a black centre. */

/* The pill's two colours, registered so they can fade: a gradient itself
   cannot, and swapping it for black made the pill flash see-through
   (owner 2026-12-04). Without @property they switch at once, still dark. */
@property --pill-top {
  syntax: '<color>';
  inherits: false;
  initial-value: #433f3f;
}

@property --pill-bottom {
  syntax: '<color>';
  inherits: false;
  initial-value: #1e1c1c;
}

.button.glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: #4d4a4a;
  background-color: #1e1c1c;
  background-image: linear-gradient(var(--pill-top), var(--pill-bottom));
  /* Its own layer all the time: no re-drawn "jump" when the spring ends. */
  will-change: transform;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    --pill-top 0.3s,
    --pill-bottom 0.3s;
}

.button.glow::before,
.button.glow::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.button.glow::before {
  top: 50%;
  left: 50%;
  width: 105%;
  aspect-ratio: 1;
  background: conic-gradient(
    transparent 0 8%,
    var(--glow-1) 16%,
    var(--glow-2) 24%,
    var(--glow-3) 30%,
    transparent 40% 58%,
    var(--glow-3) 66%,
    var(--glow-1) 74%,
    var(--glow-2) 82%,
    transparent 92%
  );
  filter: blur(8px) saturate(1.3);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  animation: glow-turn 4s linear infinite paused;
}

.button.glow::after {
  inset: 4px 24%;
  border-radius: inherit;
  background: #000;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s;
}

.button.glow:hover,
.button.glow:focus-visible {
  --pill-top: #000;
  --pill-bottom: #000;
  transform: scale(1.06);
}

.button.glow:hover::before,
.button.glow:focus-visible::before {
  opacity: 1;
  animation-play-state: running;
}

.button.glow:hover::after,
.button.glow:focus-visible::after {
  opacity: 1;
}

@keyframes glow-turn {
  to {
    transform: translate(-50%, -50%) rotate(1turn);
  }
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  transform: translateY(-1px);
}

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

/* Hero */

.hero {
  display: grid;
  /* One column as wide as the screen: the logo row scrolls inside it
     instead of widening the page. */
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 24px;
  padding: 40px var(--gutter) 80px;
  text-align: center;
}

.hero h1 {
  display: grid;
  justify-items: center;
  font-size: clamp(52px, 8.5vw, 128px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero h1 .amp {
  color: var(--accent);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.hero-sub {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 600;
  text-transform: uppercase;
}

.hero .buttons {
  margin-top: 32px;
}

/* "Trusted by": client logos in one quiet row under the buttons */

.trusted {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 100%;
  margin-top: 48px;
}

.trusted .label {
  flex: none;
}

.logos {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 4px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.logos li {
  flex: none;
}

.logos img {
  width: auto;
  height: 32px;
  filter: grayscale(1);
  opacity: 0.7;
}

.logos .placeholder {
  padding: 6px 16px;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  color: var(--ink-muted);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* The three cards under the hero: Vault, Connect, Features */

.card {
  border-radius: var(--radius-inner);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 490px));
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 0 var(--gutter) 120px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 490px;
  padding: 40px;
  border-radius: var(--radius-card);
}

.hero-card.tall {
  min-height: 640px;
}

.hero-card .picture {
  display: grid;
  flex: 1;
  place-items: center;
}

.vault-door .rim {
  fill: var(--bg);
  stroke: var(--line);
  stroke-width: 2;
}

.vault-door .door {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 3;
}

.vault-door .spokes {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
}

.vault-door .lock {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 4;
}

.vault-door .bolt {
  fill: var(--line);
}

/* Connect: the count → order story, one step lit after another */

.story {
  display: grid;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-inner);
  background: var(--bg);
  font-size: 15px;
  animation: story 8s infinite both;
}

.story-step-1 {
  animation-delay: 2s;
}

.story-step-2 {
  animation-delay: 4s;
}

.story-step-3 {
  animation-delay: 6s;
}

.story-text {
  display: grid;
  flex: 1;
}

.story-step .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}

.story-step .label::before {
  display: none;
}

/* the third step is the alarm: below the minimum */
.story-step-2 .label,
.story-step-2 strong {
  color: var(--accent);
}

.story-step-2 .dot {
  background: var(--accent);
}

@keyframes story {
  0%,
  100% {
    opacity: 0.45;
  }

  5%,
  25% {
    opacity: 1;
  }
}

/* Features: lines draw once, then a pulse runs along each, out of step */

.connections .link {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-dasharray: 400;
  animation: draw 1.5s ease-out both;
}

.connections .pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 6 400;
  animation: flow 3.6s linear infinite;
}

.connections .pulse-1 {
  animation-duration: 4.3s;
}

.connections .pulse-2 {
  animation-duration: 5s;
}

.connections .bar-side,
.connections .tool circle {
  fill: var(--surface);
  filter: drop-shadow(0 4px 4px rgb(128 128 128 / 25%));
}

.connections .bar-dot {
  fill: var(--line);
}

.connections .hub {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 4;
  filter: drop-shadow(0 0 15px rgb(254 93 93 / 45%));
}

.connections .hub-mark {
  fill: var(--accent);
}

.connections .tool text {
  fill: var(--ink);
  font: 600 12px var(--font);
  text-anchor: middle;
}

@keyframes draw {
  from {
    stroke-dashoffset: 400;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes flow {
  from {
    stroke-dashoffset: 406;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* Page sections */

.section {
  display: grid;
  gap: 24px;
  width: min(100% - 2 * var(--gutter), var(--content));
  margin: 0 auto;
  padding: 70px 0;
}

.page-head {
  padding-top: 100px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 40px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.step,
.plan {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 40px;
}

.step p:last-child,
.feature p:last-child {
  color: var(--ink-muted);
}

.step .number {
  color: var(--accent);
}

.step .number::before {
  display: none;
}

.feature {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 32px;
}

.feature .picture {
  height: 220px;
  border-radius: var(--radius-inner);
  background: var(--bg);
}

.price {
  font-size: 28px;
  font-weight: 700;
}

/* Before and after */

.compare {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.compare li {
  display: grid;
  grid-template-columns: 320px minmax(0, 900px) auto;
  align-items: center;
  gap: 24px;
}

.compare .label::before {
  display: none;
}

.compare .label {
  color: var(--ink);
}

.compare .bar {
  width: 100%;
  height: 18px;
}

.compare rect {
  fill: var(--ink-muted);
}

.compare .after rect {
  fill: var(--accent);
}

.compare strong {
  font-size: 16px;
}

/* Solutions */

.points {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px 40px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding: 18px 24px;
  border-radius: var(--radius-inner);
  background: var(--surface);
}

.closing {
  justify-items: center;
  padding-bottom: 160px;
  text-align: center;
}

.closing .label {
  justify-content: center;
}

/* Footer: the only dark part */

.site-footer {
  display: grid;
  gap: 64px;
  padding: 100px var(--gutter) 60px;
  background: var(--footer);
  color: var(--on-dark);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 120px;
}

.footer-brand {
  display: grid;
  gap: 20px;
  max-width: 360px;
  color: var(--on-dark-muted);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-column .label {
  color: var(--on-dark-muted);
}

.footer-column a {
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-details {
  padding-top: 32px;
  border-top: 1px solid rgb(156 150 150 / 30%);
  color: var(--on-dark-muted);
  font-size: 15px;
}

/* Narrower screens */

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    overflow-x: auto;
  }

  .menu a {
    padding: 12px 24px;
  }

  .hero-cards {
    grid-template-columns: minmax(0, 490px);
  }

  .compare li {
    grid-template-columns: 1fr auto;
  }

  .compare .bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  .trusted {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px;
  }

  .pill {
    padding: 14px 20px;
  }

  .menu {
    max-width: 100%;
  }

  .menu a {
    padding: 10px 14px;
  }

  .hero-card {
    padding: 28px;
  }

  /* "STOCKTAKING" fits a phone's width */
  .hero h1 {
    font-size: 11vw;
  }
}

/* Visitors who switched motion off see everything still */

@media (prefers-reduced-motion: reduce) {
  .story-step,
  .connections .link {
    animation: none;
    opacity: 1;
  }

  .connections .pulse {
    display: none;
  }

  .button.secondary:hover,
  .button.glow:hover,
  .button.glow:focus-visible {
    transform: none;
  }

  .button.glow::before {
    animation: none;
  }
}
