:root {
  --midnight: #0d1424;
  --deep: #131c31;
  --rule: #253049;
  --ivory: #f2efe9;
  --slate: #a2aabb;
  --garnet: #b3313f;
  --garnet-hi: #c93b4a;
  --ember: #e0636b;

  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --roman: Cinzel, "Trajan Pro", Georgia, serif;

  --shell: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--midnight); color: var(--ivory);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
p, li { text-wrap: pretty; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.022em; text-wrap: balance; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ivory); color: var(--midnight); padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

.text-link { text-decoration: underline; text-decoration-color: var(--garnet); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-thickness .2s, color .2s; }
.text-link:hover { color: #fff; text-decoration-thickness: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; min-height: 46px; padding-inline: 26px; border-radius: 6px;
  font: 500 15px/1 var(--sans); text-decoration: none; letter-spacing: .005em; white-space: nowrap;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--garnet); color: #fff; }
.btn--primary:hover { background: var(--garnet-hi); }
.btn--light { background: rgba(242, 239, 233, .92); color: var(--midnight); }
.btn--light:hover { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Header */
.site-header { position: relative; z-index: 20; }
.site-header--over { position: absolute; inset: 0 0 auto 0; }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand img { width: 36px; height: auto; }
.brand span { font-family: var(--roman); font-weight: 600; font-size: 17px; letter-spacing: .24em; padding-top: 2px; }
.site-header nav { justify-self: center; }
.nav-list { display: flex; gap: 6px; font-size: 14px; font-weight: 500; }
.nav-list a { display: block; padding: 8px 14px; border-radius: 6px; color: var(--ivory); text-decoration: none; transition: background .2s; }
.nav-list a:hover { background: rgba(242, 239, 233, .1); }
.nav-list a[aria-current="page"] { background: rgba(179, 49, 63, .28); }
.menu { display: none; }

/* Stage: full-screen slides */
.stage { position: relative; height: max(620px, min(100svh, 1000px)); overflow: hidden; background: #060a15; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; }
.slide canvas { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(1.06); transition: transform 8s linear; }
.slide.is-active canvas { transform: scale(1); }
.slide__inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(112px, 17vh, 170px) var(--gutter) 110px; }
.slide--low .slide__inner { justify-content: center; padding-top: clamp(150px, 26vh, 260px); }
.slide__title { font-size: clamp(42px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.035em; font-weight: 500; }
.slide__sub { margin-top: 14px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(242, 239, 233, .82); max-width: 44ch; }
.slide .btn-row { margin-top: 30px; }
.slide__title, .slide__sub, .slide .btn-row { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.is-active .slide__title { opacity: 1; transform: none; transition-delay: .25s; }
.slide.is-active .slide__sub { opacity: 1; transform: none; transition-delay: .4s; }
.slide.is-active .btn-row { opacity: 1; transform: none; transition-delay: .55s; }
.slide__media { position: relative; flex: 1; width: 100%; max-width: 1080px; margin-top: clamp(24px, 4vh, 48px); min-height: 0; opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease) .5s, transform 1.1s var(--ease) .5s; }
.slide.is-active .slide__media { opacity: 1; transform: none; }

.stage__arrow {
  position: absolute; top: 50%; z-index: 5; width: 48px; height: 48px; margin-top: -24px;
  display: grid; place-items: center; border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(242, 239, 233, .9); color: var(--midnight); opacity: 0; transition: opacity .3s;
}
.stage__arrow svg { width: 20px; height: 20px; }
.stage__arrow--prev { left: clamp(16px, 3vw, 40px); }
.stage__arrow--next { right: clamp(16px, 3vw, 40px); }
.stage:hover .stage__arrow, .stage__arrow:focus-visible { opacity: 1; }
.stage__controls { position: absolute; left: 50%; bottom: 24px; z-index: 5; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 14px; border-radius: 999px; background: rgba(6, 10, 21, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stage__dots { display: flex; gap: 8px; }
.stage__dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(242, 239, 233, .4); cursor: pointer; overflow: hidden; transition: width .5s var(--ease), background .3s; }
.stage__dot.is-active { width: 44px; background: rgba(242, 239, 233, .25); }
.stage__dot.is-active::after { content: ""; position: absolute; inset: 0; transform-origin: left; background: var(--ivory); animation: fill 7s linear forwards; }
.stage.is-paused .stage__dot.is-active::after { animation-play-state: paused; }
.stage__pause { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(242, 239, 233, .14); color: var(--ivory); cursor: pointer; }
.stage__pause svg { width: 12px; height: 12px; }
.stage__pause .i-play { display: none; }
.stage__pause:not(.is-playing) .i-play { display: block; }
.stage__pause:not(.is-playing) .i-pause { display: none; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Device frames */
.phone { position: relative; width: 250px; aspect-ratio: 1320 / 2868; border-radius: 40px; padding: 9px; background: linear-gradient(145deg, #2a3350, #070b16 40%, #1a2138); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(242, 239, 233, .08) inset; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.browser { width: 100%; border-radius: 12px; overflow: hidden; background: #0a0f1c; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(242, 239, 233, .1); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px; background: #161d31; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(242, 239, 233, .22); }
.browser__bar span { margin-left: 12px; font-size: 12px; color: var(--slate); }
.browser img { width: 100%; height: auto; }

.devices { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 3vw, 36px); }
.devices .browser { max-width: 720px; }
.devices .phone { width: clamp(170px, 18vw, 240px); }
.devices .phone--tilt-l { transform: rotate(-5deg) translateY(40px); }
.devices .phone--tilt-r { transform: rotate(5deg) translateY(40px); }
.devices--overlap .phone { position: absolute; right: 6%; top: 18%; }

/* A product's website with its app drawn over the corner */
.pair { position: relative; width: 100%; padding: 0 16% 11% 0; }
.pair--solo { padding: 0; }
.pair .browser { width: 100%; }
.pair__phone { position: absolute; right: 0; bottom: 0; width: 31%; }
.pair .phone.pair__phone { width: 31%; transform: none; }
.pair__phone.phone { padding: 6px; border-radius: 30px; }
.pair__phone img { border-radius: 25px; }
.devices--one .pair { max-width: 800px; }
.devices--pairs { gap: clamp(20px, 4vw, 56px); }
.devices--pairs .pair { max-width: 500px; }

/* Tiles row */
.tiles-band { padding-block: clamp(40px, 6vw, 72px); }
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: min(620px, 86vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { position: relative; scroll-snap-align: start; min-height: 470px; border-radius: 16px; overflow: hidden; background: var(--deep); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.tile canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(6, 10, 21, .9) 64%); }
.tile h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.tile p { margin-top: 8px; color: rgba(242, 239, 233, .8); max-width: 38ch; }
.tile .btn-row { justify-content: flex-start; margin-top: 22px; }
.tile .btn { min-width: 160px; }
.tile__art { position: absolute; inset: 0 0 auto 0; height: 62%; overflow: hidden; z-index: -2; display: flex; justify-content: center; align-items: flex-start; gap: 18px; padding-top: 28px; background: radial-gradient(70% 70% at 50% 20%, rgba(179, 49, 63, .28), transparent 70%), var(--deep); }
.tile__art .pair { width: min(420px, 80%); }
.tile__marks { position: absolute; inset: 0; z-index: -2; display: flex; justify-content: center; align-items: center; gap: 40px; padding-bottom: 170px; background: radial-gradient(60% 60% at 30% 35%, rgba(200, 243, 29, .14), transparent 70%), radial-gradient(60% 60% at 72% 35%, rgba(255, 90, 79, .14), transparent 70%), var(--deep); }
.tile__marks { z-index: 0; inset: 0 0 auto 0; height: 58%; background: none !important; align-items: flex-start; padding: 64px 0 0; gap: clamp(20px, 3vw, 36px); }
.tile:has(.tile__marks) { background: radial-gradient(60% 50% at 30% 20%, rgba(200, 243, 29, .12), transparent 70%), radial-gradient(60% 50% at 72% 20%, rgba(255, 90, 79, .12), transparent 70%), var(--deep); }
.mark { display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: 13px; color: var(--slate); width: 96px; text-align: center; line-height: 1.3; }
.mark img { height: 80px; width: auto; transition: transform .3s var(--ease); }
.mark:hover img { transform: translateY(-4px); }
.mark:hover { color: var(--ivory); }
.mark__plus { position: relative; width: 80px; height: 80px; border-radius: 50%; border: 2px dashed rgba(242, 239, 233, .35); transition: border-color .25s, background .25s; }
.mark__plus::before, .mark__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 2px; margin: -1px 0 0 -13px; border-radius: 2px; background: var(--ivory); }
.mark__plus::after { transform: rotate(90deg); }
.mark--slot:hover .mark__plus { border-color: var(--garnet); background: rgba(179, 49, 63, .16); }
.tiles-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.tiles-nav button { width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--rule); background: transparent; color: var(--ivory); cursor: pointer; display: grid; place-items: center; }
.tiles-nav button:hover { border-color: var(--garnet); }
.tiles-nav svg { width: 18px; height: 18px; }

/* Interior page head with a live scene */
.page-hero { position: relative; min-height: max(460px, 68vh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 20, 36, .25), rgba(13, 20, 36, .1) 50%, var(--midnight)); }
.page-hero .shell { width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.04em; max-width: 13ch; }
.page-hero p { margin-top: 20px; max-width: 46ch; font-size: clamp(18px, 1.8vw, 22px); color: rgba(242, 239, 233, .82); }

.page-hero--aside .shell { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 40px; }
.page-hero__aside { position: relative; }
.page-hero__aside { display: flex; align-items: flex-end; }
.page-hero__aside .pair { max-width: 560px; margin-left: auto; }
.aside-marks { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 36px; }
.aside-marks img { height: clamp(90px, 9vw, 130px); width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }

.page-hero__photo, .tile__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--photo { min-height: max(560px, 88vh); }
.page-hero--photo::after { background: linear-gradient(180deg, rgba(13, 20, 36, .35), rgba(13, 20, 36, 0) 35%, rgba(13, 20, 36, .15) 60%, var(--midnight)); }
.photo-note { position: absolute; right: var(--gutter); bottom: 14px; z-index: 1; margin: 0; font-size: 12px; color: rgba(242, 239, 233, .55); }
.tile .photo-note { top: 16px; bottom: auto; right: 18px; }
.page-hero .photo-note { margin: 0; max-width: none; font-size: 12px; color: rgba(242, 239, 233, .55); }

/* Prose sections */
.band { padding-block: var(--section); }
.band + .band { border-top: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > h2, .section-heading { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.section-heading { margin-bottom: clamp(28px, 4vw, 48px); }
.prose p { max-width: 62ch; color: #d5d6dc; }
.prose p + p { margin-top: 1.1em; }
.statement { font-size: clamp(26px, 3vw, 38px); line-height: 1.22; letter-spacing: -0.02em; max-width: 30ch; }
.statement + .prose { margin-top: 26px; }

.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px clamp(32px, 5vw, 72px); }
.points h3 { font-size: 21px; line-height: 1.25; margin-bottom: 10px; padding-top: 18px; border-top: 2px solid var(--garnet); max-width: max-content; }
.points p { color: var(--slate); max-width: 44ch; }

.offers { display: grid; gap: clamp(48px, 6vw, 72px); }
.offer__title { font-size: 22px; margin-bottom: 18px; color: var(--slate); font-weight: 500; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { padding: 28px; border-radius: 14px; background: linear-gradient(160deg, rgba(179, 49, 63, .16), rgba(19, 28, 49, .6) 55%); border: 1px solid var(--rule); }
.plan__price { margin-bottom: 12px; font-size: clamp(30px, 3.2vw, 42px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.plan p:not(.plan__price) { color: #d5d6dc; max-width: 42ch; }

.steps { counter-reset: step; border-top: 1px solid var(--rule); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--garnet); color: var(--ember); font-weight: 500; }
.steps h3 { font-size: 21px; line-height: 1.25; }
.steps p { color: var(--slate); max-width: 60ch; }

.showcase { position: relative; margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); border-radius: 18px; background: radial-gradient(70% 90% at 50% 110%, rgba(179, 49, 63, .3), transparent 70%), var(--deep); display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 32px); overflow: hidden; }
.showcase { align-items: center; }
.showcase .pair { max-width: 520px; }

/* Home: areas index */
.areas { border-top: 1px solid var(--rule); }
.area { display: grid; grid-template-columns: 5fr 6fr 200px; gap: 32px; align-items: baseline; padding-block: clamp(26px, 3.4vw, 40px); border-bottom: 1px solid var(--rule); text-decoration: none; }
.area h3 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1; transition: color .25s; }
.area p { color: var(--slate); max-width: 46ch; }
.area__go { justify-self: end; font-size: 15px; color: var(--slate); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--garnet); text-underline-offset: 5px; }
.area:hover .area__go { color: var(--ivory); text-decoration-thickness: 2px; }

/* Ventures */
.venture { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); padding-block: var(--section); }
.venture + .venture { border-top: 1px solid var(--rule); }
.venture__id img { height: 60px; width: auto; margin-bottom: 22px; }
.venture__id h2 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1; letter-spacing: -0.04em; }
.venture__id p { margin-top: 12px; color: var(--slate); font-size: 15px; }
.venture__id ul { margin-top: 22px; display: grid; gap: 6px; font-size: 15px; }
.venture__media { margin-bottom: 32px; display: flex; gap: 18px; justify-content: flex-start; }
.venture__media .pair { max-width: 640px; }
.venture__lede { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; margin-bottom: 26px; }
.facts-list { border-top: 1px solid var(--rule); }
.facts-list li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--rule); position: relative; color: #d5d6dc; }
.facts-list li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 7px; height: 7px; border-radius: 50%; background: var(--garnet); }

/* Ventures index: one row per venture, grows with the list */
.band--tight { padding-block: clamp(48px, 6vw, 80px) 0; }
.vindex { border-top: 1px solid var(--rule); }
.vrow { display: grid; grid-template-columns: 56px 200px 1fr auto; align-items: center; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background .2s; }
.vrow:hover { background: rgba(242, 239, 233, .03); }
.vrow img { height: 40px; width: auto; justify-self: center; }
.vrow__name { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.vrow__tag { color: var(--slate); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ivory); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 10px rgba(62, 207, 142, .7); }

.vrow__end { display: inline-flex; align-items: center; gap: 14px; color: var(--slate); }
.vrow__end svg { width: 18px; height: 18px; transition: transform .25s var(--ease), color .25s; }
.vrow:hover .vrow__end svg { transform: translateX(4px); color: var(--ember); }
.vrow:hover .vrow__name { color: #fff; }

/* A venture's own page */
.vhero { position: relative; overflow: hidden; isolation: isolate; min-height: max(640px, min(100svh, 980px)); }
.vhero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.vhero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; background: linear-gradient(180deg, transparent, var(--midnight)); }
.vhero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(112px, 16vh, 160px) var(--gutter) clamp(48px, 7vw, 88px); }
.vhero__mark { height: 64px; width: auto; margin-bottom: 20px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .5)); }
.vhero h1 { font-size: clamp(52px, 8vw, 110px); line-height: .95; letter-spacing: -0.045em; }
.vhero__tag { margin-top: 14px; font-size: clamp(18px, 1.8vw, 22px); color: rgba(242, 239, 233, .82); }
.vhero__status { margin-top: 16px; }
.vhero .btn-row { margin-top: 28px; }
.vhero__media { width: 100%; max-width: 900px; margin-top: clamp(36px, 6vh, 64px); display: flex; justify-content: center; }
.link-list { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }

/* Reviews (only real ones; hidden while empty) */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.review-profile { color: var(--slate); text-decoration: none; }
.review-profile strong { color: var(--ivory); font-size: 22px; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 26px; border-radius: 14px; background: var(--deep); border: 1px solid var(--rule); display: grid; gap: 14px; }
.review__stars { color: #f4b740; letter-spacing: 2px; }
.review blockquote { margin: 0; color: #d5d6dc; }
.review figcaption { font-weight: 500; }
.review figcaption span { display: block; color: var(--slate); font-weight: 400; font-size: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; font-size: 19px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding-bottom: 22px; color: var(--slate); max-width: 64ch; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #d5d6dc; }
.legal ul { display: grid; gap: 10px; margin: 12px 0; padding-left: 20px; list-style: disc; }
.legal ul li::marker { color: var(--garnet); }
.legal p + p { margin-top: 12px; }

/* Inquiry */
.inquiry { padding-block: var(--section); border-top: 1px solid var(--rule); background: radial-gradient(60% 120% at 0% 100%, rgba(179, 49, 63, .24), transparent 70%); }
.inquiry h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; max-width: 16ch; }
.inquiry p { margin-top: 20px; max-width: 54ch; color: var(--slate); }
.inquiry .btn-row { justify-content: flex-start; margin-top: 30px; }

/* Start a project form */
.apply, .apply-done { padding: clamp(24px, 3.5vw, 40px); border-radius: 18px; background: var(--deep); border: 1px solid var(--rule); }
.apply { display: grid; gap: 20px; }
.apply__honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ivory); padding: 0; }
.field label span, .field legend span { color: var(--slate); font-weight: 400; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ivory);
  background: rgba(6, 10, 21, .55); border: 1px solid var(--rule); border-radius: 8px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(162, 170, 187, .6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--garnet); box-shadow: 0 0 0 3px rgba(179, 49, 63, .3); }
.field [aria-invalid="true"] { border-color: var(--ember); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rule); font-size: 15px; color: var(--slate); transition: all .2s; }
.chip input:checked + span { border-color: var(--garnet); background: rgba(179, 49, 63, .22); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 3px; }
.apply__error { padding: 12px 14px; border-radius: 8px; background: rgba(224, 99, 107, .12); border: 1px solid rgba(224, 99, 107, .4); color: #f4c3c6; font-size: 15px; }
.apply__submit { justify-self: start; min-width: 220px; }
.apply__submit:disabled { opacity: .7; cursor: progress; }
.apply__fine { font-size: 13px; color: var(--slate); }
.apply-done h2 { font-size: clamp(30px, 3.4vw, 44px); }
.apply-done p { margin: 14px 0 26px; color: #d5d6dc; max-width: 46ch; }
.apply-done:focus { outline: none; }
.steps--compact { margin-top: 24px; }
.steps--compact li { padding-block: 18px; }
.form-aside { margin-top: 26px; color: var(--slate); font-size: 15px; max-width: 42ch; }

/* Application sent popup */
.sent { width: min(460px, calc(100vw - 32px)); padding: 36px 32px 30px; border: 1px solid var(--rule); border-radius: 20px; background: radial-gradient(90% 60% at 50% 0%, rgba(179, 49, 63, .22), transparent 70%), var(--deep); color: var(--ivory); text-align: center; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); }
.sent[open] { animation: pop .45s var(--ease); }
.sent::backdrop { background: rgba(6, 10, 21, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sent__mark { width: 76px; height: 76px; margin: 0 auto 18px; }
.sent__mark svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sent__mark circle { stroke: var(--garnet); stroke-width: 3; stroke-dasharray: 176; stroke-dashoffset: 176; }
.sent__mark path { stroke: var(--ivory); stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; }
.sent[open] .sent__mark circle { animation: stroke .6s var(--ease) .15s forwards; }
.sent[open] .sent__mark path { animation: stroke .4s var(--ease) .6s forwards; }
.sent__eyebrow { font-size: 14px; color: var(--ember); font-weight: 500; }
.sent h2 { margin-top: 6px; font-size: clamp(28px, 4vw, 36px); }
.sent__message { margin: 12px auto 0; max-width: 34ch; color: #d5d6dc; }
.sent__note { margin: 14px auto 0; max-width: 36ch; padding: 10px 14px; border-radius: 10px; background: rgba(242, 239, 233, .06); color: var(--slate); font-size: 14px; }
.sent .btn-row { margin-top: 26px; }
.sent .btn { min-width: 0; flex: 1 1 150px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes stroke { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .sent[open], .sent[open] .sent__mark circle, .sent[open] .sent__mark path { animation: none; stroke-dashoffset: 0; } }

/* Company facts */
.facts { display: grid; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-block: 15px; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--slate); }
.facts dd { font-variant-numeric: tabular-nums; }
.emblem-panel { display: grid; place-items: center; aspect-ratio: 1; max-width: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(179, 49, 63, .22), transparent); }
.emblem-panel img { width: 64%; height: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 56px 44px; color: var(--slate); font-size: 14px; }
.site-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { color: var(--ivory); }
.site-footer__note { margin-top: 18px; }
.site-footer__note a { color: var(--ivory); }
.site-footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; }
.site-footer__legal-links { display: flex; gap: 20px; }
.site-footer__legal-links a { text-decoration: none; }
.site-footer__legal-links a:hover { color: var(--ivory); }
.site-footer__disclaimer { margin-top: 14px; font-size: 13px; color: rgba(162, 170, 187, .75); }
.brand--small img { width: 30px; }
.brand--small span { font-size: 15px; color: var(--ivory); }

/* Narrow screens */
@media (max-width: 1000px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header nav { justify-self: end; }
  .nav-list { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ivory); padding: 8px 16px; border-radius: 6px; background: rgba(242, 239, 233, .12); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu ul { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 10px; background: var(--deep); border: 1px solid var(--rule); border-radius: 12px; display: grid; }
  .menu a { display: block; padding: 10px 12px; text-decoration: none; color: var(--slate); border-radius: 8px; }
  .menu a[aria-current="page"], .menu a:hover { color: var(--ivory); background: rgba(179, 49, 63, .2); }
  .split, .venture { grid-template-columns: 1fr; }
  .points, .plans { grid-template-columns: 1fr; }
  .points { gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; gap: 10px; }
  .area__go { justify-self: start; }
  .vrow { grid-template-columns: 44px 1fr auto; }
  .vrow__tag { grid-column: 2 / -1; margin-top: -12px; font-size: 15px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .devices .phone--tilt-l { display: none; }
  .devices--overlap .phone { right: 2%; top: 30%; width: 130px; }
  .showcase { flex-wrap: wrap; }
  .page-hero--aside .shell { grid-template-columns: 1fr; }
  .page-hero__aside { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand span { font-size: 15px; }
  .btn { min-width: 0; flex: 1 1 140px; padding-inline: 16px; }
  .stage__arrow { display: none; }
  .devices .browser { max-width: 100%; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .tile { min-height: 400px; padding: 24px; }

}

/* Phones and small tablets: one showcase per slide, pictures above text on cards */
@media (max-width: 1000px) {
  .devices--pairs .pair:nth-child(2) { display: none; }
  .devices .pair { max-width: min(520px, 86%); }
}
@media (max-width: 600px) {
  .slide__inner { padding: 100px 16px 92px; }
  .slide--low .slide__inner { padding-top: 22vh; }
  .slide__title { font-size: clamp(36px, 10.5vw, 46px); }
  .slide__sub { font-size: 16px; }
  .slide .btn-row { width: 100%; max-width: 380px; margin-top: 22px; flex-wrap: nowrap; }
  .slide .btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding-inline: 10px; font-size: 14px; white-space: normal; line-height: 1.2; text-align: center; }
  .slide__media { margin-top: 20px; }
  .devices .pair { max-width: max(170px, min(300px, 84vw, calc((100svh - 470px) * 1.25))); }
  .stage__controls { bottom: 18px; }

  .tile:has(.tile__art), .tile:has(.tile__marks) { justify-content: flex-start; padding: 0 20px 22px; min-height: 0; }
  .tile__art, .tile__marks { position: relative; inset: auto; height: 210px; margin: 0 -20px 18px; z-index: 0; overflow: hidden; }
  .tile__art { padding-top: 22px; }
  .tile__art .pair { width: min(300px, 84%); }
  .tile__marks { padding: 40px 0 0 !important; height: 190px; }
  .tile:has(.tile__photo), .tile:has(canvas) { min-height: 360px; }
  .tile .btn-row .btn { flex: 1 1 140px; }

  .vhero__inner { padding-top: 104px; }
  .vhero .btn-row { width: 100%; max-width: 380px; flex-wrap: nowrap; }
  .vhero .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 14px; }
  .showcase { padding: 20px; }
  .page-hero { min-height: 0; }
  .page-hero .shell { padding-top: 132px; padding-bottom: 48px; }
  .page-hero--photo { min-height: 78svh; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .slide canvas, .slide__title, .slide__sub, .slide .btn-row, .slide__media { transition: none; }
  .slide canvas { transform: none; }
  .stage__dot.is-active::after { animation: none; transform: scaleX(1); }
}
