/* Public site: header on small screens, landing, pricing, about. Loaded after ds.css by _MainLayout. */

/* Header */
@media (max-width: 480px) {
    .ds-header__inner { gap: 8px; padding: 0 14px; height: 60px; }
    .ds-header .ds-brand { font-size: 15px; gap: 8px; }
    .ds-header .ds-brand__tag { display: none; }
    .ds-header__actions { gap: 4px; }
    .ds-header__actions .ds-btn { height: 36px; padding: 0 12px; font-size: 13.5px; }
}
.ds-footer a { margin-left: 0; margin-right: 18px; }
@media (max-width: 720px) { .ds-footer__inner { flex-direction: column; align-items: flex-start; } }

/* Landing */
.ds-lp-hero { padding-top: 80px; }
.ds-lp-hero .ds-hero__grid { grid-template-columns: .88fr 1.12fr; gap: 44px; }
.ds-lp-hero .ds-lead { font-size: 18.5px; }
.ds-nowrap { white-space: nowrap; }
@media (max-width: 991px) { .ds-lp-hero .ds-hero__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .ds-nowrap { white-space: normal; } }
.ds-lp-note-line { margin: 22px 0 0; color: var(--ds-text-3); font-size: 13.5px; }
.ds-mock__head { background: #fff; }
.ds-lp-h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 12px; line-height: 1.12; }

/* Flow: 4 steps with alternating captions on desktop, vertical timeline on mobile */
.ds-flow { --line: #c9d0dd; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.ds-flow::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 50%; border-top: 2px dotted var(--line); }
.ds-flow__step { position: relative; display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; text-align: center; min-height: 440px; padding: 0 10px; }
.ds-flow__node { grid-row: 2; position: relative; z-index: 1; width: 112px; height: 112px; border-radius: 50%; background: #fff; border: 1.5px solid var(--tone); display: grid; place-items: center; font-size: 34px; color: var(--tone); box-shadow: 0 10px 30px rgba(15, 18, 34, .07), 0 0 0 10px #fff; }
.ds-flow__no { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 800; font-size: 20px; color: var(--tone); letter-spacing: .02em; z-index: 1; background: #fff; padding: 0 8px; }
.ds-flow__card { max-width: 250px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--tone); background: #fff; position: relative; }
.ds-flow__card::after { content: ""; position: absolute; left: 50%; width: 1.5px; height: 30px; background: var(--tone); }
.ds-flow__card h3 { font-size: 16px; font-weight: 750; margin: 0 0 4px; }
.ds-flow__card p { margin: 0; color: var(--ds-text-2); font-size: 13.5px; line-height: 1.5; }
.ds-flow__step:nth-child(odd) .ds-flow__card { grid-row: 3; align-self: start; margin-top: 30px; }
.ds-flow__step:nth-child(odd) .ds-flow__card::after { bottom: 100%; }
.ds-flow__step:nth-child(odd) .ds-flow__no { top: calc(50% - 92px); }
.ds-flow__step:nth-child(even) .ds-flow__card { grid-row: 1; align-self: end; margin-bottom: 30px; }
.ds-flow__step:nth-child(even) .ds-flow__card::after { top: 100%; }
.ds-flow__step:nth-child(even) .ds-flow__no { top: calc(50% + 70px); }
.ds-flow--red { --tone: #c0392b; }
.ds-flow--blue { --tone: #2457f5; }
.ds-flow--amber { --tone: #c88a04; }
.ds-flow--green { --tone: #0f9a6a; }
@media (max-width: 900px) {
    .ds-flow { grid-template-columns: 1fr; gap: 0; }
    .ds-flow::before { left: 35px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dotted var(--line); }
    .ds-flow__step { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto; text-align: left; justify-items: start; min-height: 0; padding: 0 0 22px; gap: 14px; align-items: start; }
    .ds-flow__node { grid-row: 1; grid-column: 1; width: 72px; height: 72px; font-size: 24px; box-shadow: 0 0 0 6px #fff; }
    .ds-flow__step .ds-flow__card, .ds-flow__step:nth-child(odd) .ds-flow__card, .ds-flow__step:nth-child(even) .ds-flow__card { grid-row: 1; grid-column: 2; margin: 0; max-width: none; align-self: stretch; width: 100%; }
    .ds-flow__card::after { display: none; }
    .ds-flow__no, .ds-flow__step:nth-child(odd) .ds-flow__no, .ds-flow__step:nth-child(even) .ds-flow__no { position: static; transform: none; grid-row: 1; grid-column: 2; padding: 0; font-size: 12px; background: none; margin: 16px 0 0 18px; display: none; }
}

/* Demo video */
.ds-lp-demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 991px) { .ds-lp-demo { grid-template-columns: 1fr; gap: 28px; } }
.ds-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0f1222; box-shadow: var(--ds-shadow-lg); }
.ds-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ds-video__play { position: absolute; inset: 0; border: 0; padding: 0; background: #0f1222; cursor: pointer; }
.ds-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s; }
.ds-video__play:hover img { opacity: 1; transform: scale(1.02); }
.ds-video__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ds-primary); display: grid; place-items: center; font-size: 24px; padding-left: 5px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .15s; }
.ds-video__play:hover .ds-video__btn { transform: translate(-50%, -50%) scale(1.06); }

/* Values */
.ds-lp-value { padding: 4px 4px 4px 0; }
.ds-lp-value h3 { font-size: 18px; font-weight: 750; margin: 0 0 8px; }
.ds-lp-value p { margin: 0; color: var(--ds-text-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) { .ds-lp-value + .ds-lp-value { padding-top: 20px; border-top: 1px solid var(--ds-border); } }

/* Founders */
.ds-lp-founders { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 991px) { .ds-lp-founders { grid-template-columns: 1fr; gap: 28px; } }
.ds-lp-note { padding: 24px; }
.ds-lp-note p { margin: 0; background: var(--ds-surface-2); border-radius: 12px; padding: 14px 16px; color: var(--ds-text-2); }
.ds-cta-band .ds-btn { flex: none; }
@media (max-width: 560px) { .ds-cta-band .ds-btn { width: 100%; } .ds-hero__cta .ds-btn { flex: 1 1 100%; } }

/* Pricing */
.ds-price-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: #eceff5; gap: 2px; }
.ds-price-toggle button { border: 0; background: transparent; height: 36px; padding: 0 18px; border-radius: 9px; font: 600 14px/1 var(--ds-font); color: var(--ds-text-2); cursor: pointer; }
.ds-price-toggle button.is-active { background: #fff; color: var(--ds-text); box-shadow: var(--ds-shadow-sm); }
.ds-price-toggle small { color: var(--ds-green); font-weight: 700; margin-left: 4px; }
.ds-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .ds-plans { grid-template-columns: 1fr; max-width: 460px; } }
.ds-plan-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 20px; border: 1px solid var(--ds-border); background: #fff; }
.ds-plan-card--featured { background: var(--ds-ink); color: #fff; border-color: var(--ds-ink); box-shadow: var(--ds-shadow-lg); }
.ds-plan-card--featured h3, .ds-plan-card--featured .ds-plan-card__price strong { color: #fff; }
.ds-plan-card__flag { position: absolute; top: 18px; right: 18px; }
.ds-plan-card h3 { font-size: 17px; font-weight: 700; margin: 0; }
.ds-plan-card__for { color: var(--ds-text-3); font-size: 13.5px; margin: 4px 0 18px; }
.ds-plan-card--featured .ds-plan-card__for { color: #a9b0c6; }
.ds-plan-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.ds-plan-card__price strong { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--ds-ink); }
.ds-plan-card__price span { color: var(--ds-text-3); font-size: 14px; }
.ds-plan-card--featured .ds-plan-card__price span { color: #a9b0c6; }
.ds-plan-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 14px; }
.ds-plan-card li { display: flex; gap: 10px; align-items: flex-start; }
.ds-plan-card li i { color: var(--ds-green); margin-top: 3px; font-size: 12px; }
.ds-plan-card--featured li i { color: #7ea0ff; }
.ds-plan-card .ds-btn { margin-top: auto; }
.ds-faq { max-width: 760px; margin: 0 auto; }
.ds-faq details { border-bottom: 1px solid var(--ds-border); padding: 18px 0; }
.ds-faq summary { cursor: pointer; font-weight: 650; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ds-faq summary::after { content: "+"; color: var(--ds-text-3); font-weight: 400; font-size: 20px; line-height: 1; }
.ds-faq details[open] summary::after { content: "–"; }
.ds-faq p { margin: 10px 0 0; color: var(--ds-text-2); }

/* About */
.ds-about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .ds-about-grid { grid-template-columns: 1fr; } }
.ds-prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--ds-text-2); }
.ds-prose p + p { margin-top: 16px; }

/* Contact */
.ds-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: start; }
.ds-contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ds-contact__list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.ds-contact__list i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ds-primary-50); color: var(--ds-primary); }
@media (max-width: 860px) { .ds-contact { grid-template-columns: 1fr; gap: 28px; } }
.ds-lp-hero .ds-display em { white-space: nowrap; }

/* Hero video */
.ds-lp-hero__media { position: relative; }
.ds-lp-hero__media::before { content: ""; position: absolute; inset: -24px -24px auto auto; width: 70%; height: 80%; border-radius: 28px; background: linear-gradient(135deg, var(--ds-primary-50), #efe9ff); z-index: 0; }
.ds-lp-hero__media .ds-video { position: relative; z-index: 1; }
@media (max-width: 991px) { .ds-lp-hero__media::before { display: none; } }
