:root {
  --forest: #152d23;
  --forest-line: #577062;
  --forest-muted: #cbdbcc;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.marketing-nav-link, .text-link { padding: 8px 0; font-weight: 650; }
.marketing-nav-link:hover, .marketing-nav-link[aria-current], .text-link { text-decoration: underline; text-underline-offset: 5px; }
.nav:has(.marketing-nav-link) .nav-actions { gap: clamp(14px, 3vw, 32px); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.marketing-kicker { color: var(--green); font-size: 13px; font-weight: 750; margin-bottom: 12px; }

.marketing-page {
  color-scheme: dark;
  --paper: #0a0a0a;
  --surface: #131217;
  --ink: #fafafa;
  --muted: #b8b5c2;
  --line: #29272f;
  --field: #726b84;
  --green: #b8a8ff;
  --accent: #4f46e5;
  --accent-hover: #6259f0;
  --lavender: #c0b4ff;
  --select: #241c49;
  background: var(--paper);
  color: var(--ink);
}
.marketing-page :focus-visible { outline-color: var(--lavender); }
.marketing-page .nav { position: sticky; top: 0; z-index: 4; background: #0a0a0af2; backdrop-filter: blur(14px); }
.marketing-page .nav-inner { min-height: 66px; }
.marketing-page .brand img { filter: hue-rotate(145deg) saturate(2.1) brightness(1.4); }
.marketing-page .primary { background: var(--accent); color: #fff; }
.marketing-page .primary:hover { background: var(--accent-hover); }
.marketing-page .text-link { color: var(--lavender); text-decoration: none; }
.marketing-page .text-link:hover { text-decoration: underline; }
.marketing-page .notice { background: var(--select); color: var(--ink); }

.showcase {
  overflow: clip;
  background: radial-gradient(ellipse 66% 47% at 66% 48%, #1c153a 0, #120e1d 58%, transparent 100%);
  padding-bottom: clamp(46px, 6vw, 88px);
}
.showcase-wrap {
  display: grid; grid-template-columns: 1.55fr minmax(240px, .8fr); align-items: end;
  gap: 26px 7%; padding-block: clamp(54px, 8vw, 115px) clamp(35px, 6vw, 86px);
}
.showcase h1, .pricing h1 { font: 720 clamp(46px, 6.1vw, 90px)/1 var(--sans); letter-spacing: -.049em; }
.showcase h1 strong { display: block; color: var(--lavender); font-weight: inherit; }
.showcase-action { padding-bottom: 4px; }
.showcase-action p, .pricing-intro > p:not(.sr-only) { max-width: 38ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
.showcase-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.showcase .primary { min-height: 48px; }
.showcase-copy, .showcase-action { animation: enter .52s ease-out both; }
.showcase-action { animation-delay: .1s; }

product-gallery { display: block; scroll-margin-top: 82px; }
.gallery-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.gallery-header h2 { font-size: 16px; letter-spacing: -.02em; }
.gallery-controls, .gallery-dialog-actions { display: flex; gap: 5px; }
.gallery-control {
  display: inline-grid; place-items: center; min-width: 38px; min-height: 38px; padding: 0 10px;
  border: 1px solid #484253; border-radius: 8px; background: var(--surface); color: var(--ink);
  font-size: 14px; font-weight: 650; line-height: 1; transition: border-color .2s, background .2s;
}
.gallery-control:hover { border-color: var(--lavender); background: var(--select); }
.gallery-control[data-move] { font-size: 25px; }
.gallery-control[data-play] { width: 70px; }
.gallery-window {
  --card-width: clamp(174px, 16vw, 258px);
  --gallery-gap: 13px;
  max-width: 1600px; margin-inline: auto; padding-block: 4px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-inline: contain;
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}
.gallery-window::-webkit-scrollbar { display: none; }
.gallery-track, .gallery-list { display: flex; width: max-content; }
.gallery-list { flex: none; gap: var(--gallery-gap); padding: 0 var(--gallery-gap) 0 0; margin: 0; list-style: none; }
.gallery-card {
  position: relative; isolation: isolate; display: block; width: var(--card-width); aspect-ratio: 2 / 3;
  overflow: hidden; padding: 0; border: 1px solid #ffffff25; border-radius: 12px;
  background: var(--surface); color: white; text-align: left;
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s ease; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 47%, #0e0911d9 100%); pointer-events: none; }
.gallery-card > span { position: absolute; z-index: 1; inset: auto 13px 17px; font-size: clamp(15px, 1.55vw, 23px); font-weight: 720; line-height: 1.12; letter-spacing: -.022em; }
.gallery-card:hover { border-color: var(--lavender); }
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card:focus-visible { outline-offset: -4px; }
.gallery-dialog {
  position: fixed; display: none; align-items: start; justify-items: center; gap: 11px;
  width: min(calc(100% - 24px), 470px); max-height: calc(100dvh - 24px); padding: 17px;
  border-color: #484253; border-radius: 16px; background: var(--surface); color: var(--ink);
}
.gallery-dialog[open] { display: grid; }
.gallery-dialog::backdrop { background: #07060bd9; backdrop-filter: blur(8px); }
.gallery-dialog-head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.gallery-dialog-head p { color: var(--muted); font-variant-numeric: tabular-nums; margin: 0; }
.gallery-dialog img { width: min(100%, 320px); max-height: 58dvh; border-radius: 9px; object-fit: contain; }
.gallery-dialog #example-caption { font-size: clamp(17px, 2vw, 23px); font-weight: 700; text-align: center; margin: 0; }
.gallery-dialog [data-close] { font-size: 23px; }

.workflow {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px 10%;
  border-top: 1px solid var(--line); scroll-margin-top: 82px; padding-block: clamp(52px, 8vw, 100px);
}
.workflow h2, .marketing-cta h2, .pricing-faq h2 { font: 750 clamp(30px, 4vw, 56px)/1.04 var(--sans); letter-spacing: -.055em; }
.workflow-list { list-style: none; margin: 0; padding: 0; }
.workflow-list li { position: relative; border-top: 1px solid var(--line); padding: 20px 0 20px 29px; }
.workflow-list li::before { content: ''; position: absolute; width: 7px; height: 7px; left: 0; top: 27px; border-radius: 50%; background: var(--lavender); }
.workflow-list li:last-child { border-bottom: 1px solid var(--line); }
.workflow-list h3 { font-size: 19px; margin-bottom: 6px; }
.workflow-list p, .marketing-cta p { margin: 0; color: var(--muted); font-size: 16px; }
.marketing-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(22px, 4vw, 45px); margin-bottom: 42px; background: #171126; border: 1px solid #302449; border-radius: 12px; }
.marketing-cta h2 { font-size: clamp(26px, 3.8vw, 45px); margin-bottom: 8px; }

.pricing { padding-block: clamp(48px, 7vw, 90px) 65px; }
.pricing-intro { animation: enter .5s ease-out both; }
.pricing h1 { font-size: clamp(39px, 5.6vw, 73px); }
.pricing-intro > p:not(.sr-only) { margin: 19px 0 26px; max-width: 56ch; }
.billing { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; border: 1px solid #423853; border-radius: 9px; background: var(--surface); }
.billing button { min-height: 39px; padding-inline: 13px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-weight: 680; transition: color .2s, background .2s; }
.billing button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.plans { display: grid; grid-template-columns: .92fr 1fr 1fr; gap: 13px; margin: 34px auto 0; align-items: stretch; }
.plan { --plan-rule: #342e3e; display: flex; flex-direction: column; padding: clamp(19px, 2.55vw, 32px); border: 1px solid var(--plan-rule); border-radius: 13px; background: var(--surface); animation: enter .54s .06s ease-out both; }
.plan:nth-child(2) { animation-delay: .13s; }
.plan:nth-child(3) { animation-delay: .2s; }
.plan.current-plan { --plan-rule: #504178; background: linear-gradient(146deg, #211837, #171223 80%); border-color: var(--plan-rule); }
.plan h2 { font-size: 23px; letter-spacing: -.025em; }
.plan-description, .billing-note { color: var(--muted); }
.plan-description { min-height: 3.1em; margin-block: 8px 13px; }
.plan-price { margin: 0; font-variant-numeric: tabular-nums; }
.plan-price strong { display: inline-block; font-size: clamp(38px, 4.7vw, 64px); font-weight: 760; line-height: 1; letter-spacing: -.07em; }
.plan-price span { margin-inline-start: 4px; color: var(--muted); }
.billing-note { min-height: 2.8em; margin-block: 7px 14px; font-size: 14px; }
.plan .button { align-self: stretch; }
.plan ul { margin: 20px 0 0; padding: 17px 0 0 19px; border-top: 1px solid var(--plan-rule); }
.plan li::marker { color: var(--lavender); }
.plan li + li { margin-top: 8px; }
.pricing-note { margin-top: 12px; color: var(--muted); font-size: 14px; }
.pricing-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px 8%; padding: 0 0 66px; }
.pricing-faq h2 { font-size: clamp(27px, 3.7vw, 46px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 15px 0; font-weight: 680; cursor: pointer; }
.faq-list p { color: var(--muted); }

@keyframes enter { from { opacity: .78; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes workflow-reveal { from { opacity: .58; transform: translateY(19px); } to { opacity: 1; transform: translateY(0); } }
@supports (animation-timeline: view()) {
  .workflow-list { animation: workflow-reveal both ease-out; animation-timeline: view(); animation-range: entry 0% cover 34%; }
}
@media (max-width: 900px) {
  .plan-description { min-height: 4.6em; }
}
@media (max-width: 720px) {
  .showcase-wrap, .workflow, .pricing-faq { grid-template-columns: 1fr; }
  .showcase-wrap { padding-block: 38px 33px; gap: 17px; }
  .showcase h1 { font-size: clamp(40px, 10vw, 68px); }
  .showcase-action p { margin-bottom: 13px; }
  .gallery-window { --card-width: clamp(148px, 51vw, 228px); --gallery-gap: 10px; }
  .gallery-control { min-width: 44px; min-height: 44px; }
  .plans { grid-template-columns: 1fr; margin-top: 23px; }
  .plan-description, .billing-note { min-height: 0; }
  .pricing-faq { padding-bottom: 45px; }
}
@media (max-width: 470px) {
  .example-nav { display: none; }
  .marketing-page .nav-inner { min-height: 60px; gap: 7px; }
  .marketing-page .brand { font-size: 15px; gap: 7px; }
  .marketing-page .brand img { width: 29px; height: 29px; }
  .marketing-page .nav .button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-copy, .showcase-action, .workflow-list, .pricing-intro, .plan { animation: none; }
}

.gallery-card > span small { display: block; margin-bottom: 5px; color: #e1d9ff; font-size: .56em; letter-spacing: .015em; font-weight: 670; }
.gallery-card > span b { font-weight: inherit; }
.sample-hashtags { color: var(--lavender); text-align: center; margin: 0; overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .nav:has(.marketing-nav-link) .nav-actions { gap: 9px; }
  .marketing-page .brand { font-size: 13px; }
  .marketing-page .nav .button { padding-inline: 7px; }
  .marketing-nav-link { font-size: 14px; }
}
