:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  background: #242663;
  color: #f9f5ff;
  --indigo: #242663;
  --ink: #201b50;
  --light: #e1dfff;
  --mint: #9dffe1;
  --pink: #ff97e2;
  --line: #cecbff38;
  --display: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, p, h1, h2, h3, dl, dd, figure { margin: 0; }
body { line-height: 1.5; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #f9a1ff; outline-offset: 4px; }
.wrap { width: min(69rem, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: fixed; inset: .75rem auto auto .75rem; z-index: 5; background: var(--mint); color: var(--ink); padding: .6rem 1rem; border-radius: .5rem; transform: translateY(-160%); }
.skip:focus { transform: none; }

.top, .footer { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.top { min-height: 5.15rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: -.035em; white-space: nowrap; }
.brand strong { color: #ffa4e5; }
.brand-mark { position: relative; display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: .55rem; background: linear-gradient(145deg, #d29dff, #9d61f5 55%, #6733ce); border: 1px solid #e5c2ffb8; box-shadow: 0 3px 0 #5425aa, 0 6px 12px #13054b68; transform: rotate(-11deg); }
.brand-mark::before { content: ''; width: .63rem; height: .63rem; border-radius: .21rem; background: #aaffef; box-shadow: 0 2px 2px #4c2b8a80, inset 0 1px 1px #fff; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); }
nav a, .back { color: var(--light); font-size: .9rem; font-weight: 700; }
nav a:hover, .back:hover { color: #fff; }
.nav-demo { padding: .48rem 1rem; border-radius: .7rem; border: 1px solid #cdbbff63; background: #c3aaff25; box-shadow: 0 3px 0 #15184955; }
.nav-demo:hover { background: #c3aaff3a; }

.hero { position: relative; isolation: isolate; text-align: center; }
.hero-copy { position: relative; z-index: 1; padding-top: clamp(2.75rem, 5vw, 4.55rem); }
.availability { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .85rem; border: 1px solid #aeb5ff52; border-radius: 999px; background: #bbc9ff16; color: #f0e9ff; font-size: .875rem; font-weight: 700; box-shadow: inset 0 1px 0 #fff1; }
.availability span { width: .35rem; height: .35rem; border-radius: 50%; background: #b6a9fb; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin-block: .9rem 1.15rem; font-size: clamp(3rem, 7.2vw, 5.75rem); font-weight: 830; line-height: .97; letter-spacing: -.083em; }
h1 em { color: #ffc4f2; font-style: normal; background: linear-gradient(99deg, #ffb7eb 0%, #e6a1ff 46%, #aef1ff 95%); background-clip: text; -webkit-text-fill-color: transparent; }
.lead { margin-inline: auto; max-width: 36rem; color: var(--light); font-size: clamp(1rem, 2vw, 1.225rem); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 1.55rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.05rem; padding: .6rem 1.15rem; border: 1px solid transparent; border-radius: .85rem; font-weight: 800; font-size: .95rem; text-align: center; cursor: pointer; transition: background .17s, transform .17s, box-shadow .17s; }
.primary { background: linear-gradient(180deg, #bcffef, #8df8d8); color: #172d3c; border-color: #c5ffef; box-shadow: 0 4px 0 #3ebeaa, 0 10px 20px #10114d52; }
.primary:not(:disabled):hover { background: #c9fff1; transform: translateY(-2px); box-shadow: 0 6px 0 #3ebeaa, 0 12px 21px #10114d58; }
.button:not(:disabled):active { transform: translateY(2px); }
.button:disabled { cursor: default; opacity: .57; }
.outline { background: #b6a9fb20; border-color: #ccbeffa0; color: #fff; box-shadow: inset 0 1px 0 #fff1, 0 4px 0 #14154972; }
.outline:hover { background: #b6a9fb42; }

.hero-art { height: clamp(18rem, 37vw, 31rem); max-width: 77rem; margin: -1.6rem auto -.5rem; overflow: hidden; pointer-events: none; }
.hero-art img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 94%, transparent);
  mask-composite: intersect;
}

.demo-stage { padding: 1.4rem 0 clamp(4rem, 9vw, 7.75rem); }
.demo-intro { text-align: center; margin-bottom: 1.65rem; }
h2 { font-weight: 820; font-size: clamp(2.15rem, 4.9vw, 3.85rem); line-height: 1.02; letter-spacing: -.071em; }
.demo-intro p, .workflow-intro p { margin-top: .7rem; color: var(--light); font-size: 1.05rem; }
.preview { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; padding: .95rem; border-radius: 1.65rem; border: 1px solid #d7caffbf; background: linear-gradient(155deg, #fcf7ff, #e9dfff); color: var(--ink); box-shadow: 0 .55rem 0 #9480d3, 0 1.45rem 3.2rem #16134590; scroll-margin-top: 1.4rem; }
.preview :focus-visible { outline-color: #6b40bc; }
.photo-panel { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; overflow: hidden; border-radius: 1.05rem; border: 1px solid #2d2369; background: #292254; color: #f7f2ff; }
.sample-photo { display: block; width: 100%; height: 100%; min-height: 0; max-height: 22rem; object-fit: cover; }
figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .45rem; padding: .72rem .9rem; font-size: .9rem; font-weight: 750; letter-spacing: -.015em; }
.photo-type { border-radius: .45rem; color: #dbd2ff; border: 1px solid #ded8ff52; padding: .17rem .45rem; font-size: .8125rem; }
.preview-body { padding: .65rem .8rem; min-width: 0; align-self: center; }
.preview-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem; }
.segments { display: flex; flex-wrap: wrap; padding: .25rem; gap: .2rem; border-radius: .8rem; background: #d9c9f2; }
.segments button { color: #302557; font-size: .9375rem; font-weight: 750; border-radius: .58rem; padding: .43rem .65rem; border: 0; background: transparent; cursor: pointer; }
.segments button:hover { background: #ebe0ff; }
.segments button[aria-pressed="true"] { background: #fffaff; box-shadow: 0 2px 5px #65507a45; }
.segments button:disabled { cursor: default; }
.demo-state { color: #643783; font-size: .875rem; font-weight: 800; }
.preview[data-clean="true"] .demo-state { color: #15604f; }
.sample-metadata { margin-block: 1rem; border-block: 1px solid #c4b5de; }
.sample-metadata > div { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .65rem .13rem; }
.sample-metadata > div + div { border-top: 1px solid #cec1e2; }
.sample-metadata dt { font-weight: 700; }
.sample-metadata dd { border-radius: 2rem; padding: .15rem .6rem; background: #f4ceee; color: #792967; font-size: .875rem; font-weight: 800; }
.preview[data-clean="true"] dd { background: #c4f4e6; color: #185c50; }
.preview-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem .85rem; }
.preview-action p, noscript p { flex: 1 1 11rem; color: #4b396d; font-size: .9375rem; }
.sample-button { min-height: 2.8rem; font-size: .9rem; }
noscript p { margin-top: .7rem; }

.removal { color: var(--ink); background: #f5f0ff; padding: clamp(3.6rem, 9vw, 7rem) 0; }
.removal h2 { margin-bottom: 1.75rem; }
.formats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.3rem; }
.formats > :is(.images, .media) { grid-column: span 7; }
.formats > :is(.pdf, .office) { grid-column: span 5; }
.format-card { min-width: 0; padding: 1.35rem 1.6rem 1.55rem; position: relative; isolation: isolate; overflow: hidden; border-radius: 1.2rem; background: var(--tile); border: 1px solid var(--tile-edge); box-shadow: 0 .37rem 0 var(--tile-edge), 0 .75rem 1.7rem #3f2d7116; }
.format-card::after { content: ''; pointer-events: none; position: absolute; z-index: -1; width: 11rem; height: 11rem; top: -4rem; right: -2rem; border-radius: 50%; background: #ffffff55; }
.images { --tile: #c9f9f0; --tile-edge: #70d7c5; --icon: #3d9dc2; --icon-base: #286b9a; }
.pdf { --tile: #ffdcf1; --tile-edge: #eda5d6; --icon: #ed60b2; --icon-base: #ab4c9b; }
.office { --tile: #e2d8ff; --tile-edge: #bca8ef; --icon: #a674f5; --icon-base: #6549b2; }
.media { --tile: #fff0b4; --tile-edge: #e9cc67; --icon: #ffa651; --icon-base: #d4773d; }
.format { display: block; font-size: .875rem; font-weight: 800; color: #362d65; }
.format-card h3 { font-weight: 800; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.12; letter-spacing: -.05em; margin-block: .4rem .6rem; }
.format-card p { color: #362d59; max-width: 52ch; }
.format-icon { position: relative; display: grid; place-items: center; width: 3.15rem; height: 3.15rem; margin-bottom: 1.05rem; border-radius: .8rem; border: 1px solid #fff9; transform: rotate(-9deg); background: linear-gradient(150deg, #ffffff70, transparent 53%), var(--icon); box-shadow: .14rem .25rem 0 var(--icon-base), .37rem .49rem .85rem #291a5a38; }
.format-icon::before, .format-icon::after { content: ''; position: absolute; }
.image-icon::before { width: 1.65rem; height: 1.3rem; border: 2px solid white; border-radius: .25rem; }
.image-icon::after { width: 1rem; height: .63rem; left: 1.04rem; top: 1.38rem; background: #d9fff8; clip-path: polygon(0 100%, 39% 27%, 57% 56%, 77% 9%, 100% 100%); }
.document-icon::before, .sheets-icon::before { height: 1.65rem; width: 1.22rem; border-radius: .12rem .45rem .15rem .15rem; background: #fff8ff; }
.document-icon::after, .sheets-icon::after { width: .65rem; height: .12rem; background: var(--icon); box-shadow: 0 .25rem 0 var(--icon); }
.sheets-icon::before { box-shadow: .29rem .22rem 0 #dcd0ff; }
.media-icon::before { width: 0; height: 0; border: .55rem solid transparent; border-right: 0; border-left: .9rem solid #fffefa; margin-left: .2rem; }

.workflow { padding-block: clamp(3.6rem, 9vw, 7rem) clamp(3.2rem, 8vw, 5rem); }
.workflow-intro { max-width: 39rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1.9rem 0 1.2rem; }
.steps li { --track: #a7ffe1; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-top: 3px solid var(--track); border-radius: .9rem; background: linear-gradient(145deg, #48418e, #333078); box-shadow: 0 .35rem 0 #17194c, 0 .6rem 1.1rem #17194c60; }
.steps li:nth-child(2) { --track: #ffa3e8; }
.steps li:nth-child(3) { --track: #ffdb8b; }
.steps strong { font-family: var(--display); display: block; font-size: 1.15rem; letter-spacing: -.025em; }
.steps span { display: block; color: var(--light); margin-top: .35rem; }
.languages { margin-top: 1.45rem; color: var(--light); }
.footer { min-height: 5.5rem; border-top: 1px solid var(--line); }

@media (max-width: 880px) {
  .wrap { width: calc(100% - 3.5rem); }
  .sample-photo { min-height: 16rem; }
  .preview-body { padding: .5rem; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 2.1rem); }
  .top { min-height: 4.15rem; }
  .hero-copy { padding-top: 3.45rem; }
  .hero-art { height: max(16rem, 52vw); margin-top: .1rem; }
  .hero-art img { object-fit: cover; }
  .preview { grid-template-columns: minmax(0, 1fr); padding: .7rem; border-radius: 1.15rem; }
  .sample-photo { min-height: 0; height: auto; aspect-ratio: 1.75; }
  .preview-body { padding: .45rem .3rem .55rem; }
  .formats { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .formats > :is(.images, .media, .pdf, .office) { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 490px) {
  h1 { font-size: clamp(2.45rem, 10.5vw, 3.2rem); }
  .nav-detail { display: none; }
  .nav-demo { padding-inline: .72rem; }
  .top { gap: .75rem; }
  .hero-art { height: 15.5rem; }
  .brand { font-size: .95rem; }
  .footer .brand { font-size: .88rem; }
  .back { flex-shrink: 0; font-size: .875rem; }
  .format-card { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (forced-colors: active) {
  h1 em { background: none; -webkit-text-fill-color: currentColor; }
}
