/*
 * /landing/ainative — "the work is the team's, the decision is yours".
 * Violet marks the team's work, green marks the visitor's own decision
 * (assurances, the "you" column, approvals, what is free). The brand gradient
 * appears once, on the hero's second line.
 */
:root {
    --ain-paper: #fbfaff;
    --ain-surface: #ffffff;
    --ain-ink: #15122b;
    --ain-ink-soft: #2b2747;
    --ain-muted: #5f5b75;
    --ain-line: #e8e6f1;
    --ain-line-strong: #d9d6e8;
    --ain-violet: #6d4aff;
    --ain-violet-ink: #4b2fd6;
    --ain-violet-soft: #f1edff;
    --ain-green: #0b7a55;
    --ain-green-soft: #e8f6ef;
    --ain-navy: #1e1b4b;
    --ain-navy-hover: #2e2972;
    --ain-brand: linear-gradient(100deg, #2563eb 0%, #7c3aed 36%, #db2777 70%, #f97316 100%);
    --ain-display: "Outfit", "Inter", system-ui, sans-serif;
    --ain-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ain-hand: "Caveat", "Comic Sans MS", cursive;
    --ain-gutter: clamp(16px, 4vw, 32px);
    --ain-section: clamp(72px, 10vw, 128px);
    --ain-radius: 14px;
    color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body.ain-body {
    margin: 0;
    background: var(--ain-paper);
    color: var(--ain-ink);
    font-family: var(--ain-text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.ain-body img {
    display: block;
    max-width: 100%;
}

.ain-body h1,
.ain-body h2,
.ain-body h3,
.ain-body h4,
.ain-body p,
.ain-body ul,
.ain-body ol,
.ain-body dl,
.ain-body dd,
.ain-body figure {
    margin: 0;
}

.ain-body ul,
.ain-body ol {
    padding: 0;
    list-style: none;
}

.ain-body a {
    color: inherit;
}

.ain-body :focus-visible {
    outline: 3px solid var(--ain-violet);
    outline-offset: 3px;
    border-radius: 6px;
}

.ain-shell {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: var(--ain-gutter);
}

.ain-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.ain-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ain-ink);
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.ain-skip:focus {
    top: 12px;
}

/* Buttons and links */
.ain-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--ain-navy);
    color: #fff;
    font: 600 15px/1 var(--ain-text);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ain-btn:hover {
    background: var(--ain-navy-hover);
}

.ain-body a.ain-btn {
    color: #fff;
}

.ain-btn--small {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.ain-textlink {
    display: inline-block;
    color: var(--ain-violet-ink) !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

/* Header */
.ain-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 255, 0.86);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(232, 230, 241, 0.8);
}

.ain-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 68px;
}

.ain-header__logo img {
    width: 132px;
    height: auto;
}

.ain-header__nav {
    display: flex;
    gap: 26px;
    margin-inline: auto;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ain-ink-soft);
}

.ain-header__nav a {
    text-decoration: none;
}

.ain-header__nav a:hover {
    color: var(--ain-violet-ink);
}

.ain-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ain-header__link {
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    color: var(--ain-ink-soft);
}

.ain-lang {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--ain-line);
    border-radius: 9px;
    background: var(--ain-surface);
}

.ain-lang a {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ain-muted);
}

.ain-lang a[aria-current="true"] {
    background: var(--ain-violet-soft);
    color: var(--ain-violet-ink);
}

/* Hero */
.ain-hero {
    position: relative;
    padding: clamp(40px, 7vw, 88px) 0 var(--ain-section);
    overflow: hidden;
}

.ain-hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: min(760px, 90vw);
    height: 620px;
    background:
        radial-gradient(closest-side, rgba(124, 58, 237, 0.13), transparent 70%),
        radial-gradient(closest-side at 70% 60%, rgba(219, 39, 119, 0.08), transparent 70%);
    pointer-events: none;
}

.ain-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.ain-pill {
    display: inline-block;
    margin-bottom: 22px !important;
    padding: 6px 14px;
    border: 1px solid #ddd5ff;
    border-radius: 999px;
    background: var(--ain-surface);
    color: var(--ain-violet-ink);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.ain-hero__title {
    font-family: var(--ain-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.ain-hero__title span {
    display: block;
}

.ain-gradient {
    background: var(--ain-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.06em;
}

.ain-hero__lead {
    max-width: 36em;
    margin-top: 24px !important;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ain-muted);
}

/* Website form */
.ain-start {
    margin-top: 30px;
    max-width: 560px;
}

.ain-start__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 7px 7px 16px;
    background: var(--ain-surface);
    border: 1.5px solid var(--ain-line-strong);
    border-radius: 999px;
    box-shadow: 0 18px 40px -24px rgba(43, 25, 120, 0.35);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ain-start__field:focus-within {
    border-color: var(--ain-violet);
    box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.14), 0 18px 40px -24px rgba(43, 25, 120, 0.35);
}

.ain-start[data-invalid] .ain-start__field {
    border-color: #c4314b;
}

.ain-start__icon {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--ain-muted);
}

.ain-start__prefix {
    flex: none;
    color: #8a86a0;
    font-size: 16px;
}

.ain-start input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    background: transparent;
    color: var(--ain-ink);
    font: 500 16px var(--ain-text);
    outline: none;
}

.ain-body .ain-start input:focus-visible {
    outline: none;
}

.ain-start input::placeholder {
    color: #a6a2ba;
}

.ain-start__error {
    margin-top: 10px !important;
    color: #b0233c;
    font-size: 14px;
    font-weight: 500;
}

.ain-start__hint {
    margin-top: 12px !important;
    padding-left: 18px;
    color: var(--ain-muted);
    font-size: 13.5px;
}

.ain-start__hint a {
    color: var(--ain-violet-ink);
    font-weight: 500;
    text-underline-offset: 3px;
}

.ain-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px !important;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ain-ink-soft);
}

.ain-assurances li,
.ain-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ain-assurances svg,
.ain-checklist svg {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--ain-green);
}

/* The first mission log */
.ain-hero__log {
    position: relative;
}

.ain-handnote {
    position: absolute;
    top: -46px;
    left: -12px;
    display: flex;
    align-items: flex-start;
    gap: 2px;
    color: var(--ain-violet-ink);
    font-family: var(--ain-hand);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    transform: rotate(-4deg);
}

.ain-handnote svg {
    width: 52px;
    height: 34px;
    margin-top: 10px;
}

.ain-log {
    position: relative;
    background: var(--ain-surface);
    border: 1px solid var(--ain-line);
    border-radius: 22px;
    box-shadow: 0 40px 80px -48px rgba(43, 25, 120, 0.45), 0 2px 6px rgba(21, 18, 43, 0.04);
    overflow: hidden;
}

.ain-log__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ain-line);
    background: #fdfcff;
}

.ain-log__title {
    font-family: var(--ain-display);
    font-weight: 600;
    font-size: 15px;
}

.ain-log__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ain-muted);
    font-size: 13px;
}

.ain-log__status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ain-violet);
    box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.16);
}

.ain-log.is-done .ain-log__status i {
    background: var(--ain-green);
    box-shadow: 0 0 0 4px rgba(11, 122, 85, 0.14);
}

.ain-log__list {
    display: grid;
    gap: 13px;
    padding: 16px 18px 2px;
}

.ain-msg {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
}

.ain-msg__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ain-violet-soft);
}

.ain-msg__who {
    font-size: 13.5px;
    line-height: 1.3;
}

.ain-msg__who b {
    font-weight: 600;
}

.ain-msg__who span {
    margin-left: 4px;
    color: var(--ain-muted);
}

.ain-msg__text {
    margin-top: 2px !important;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ain-ink-soft);
}

.ain-msg__site {
    font-weight: 600;
    color: var(--ain-ink);
    overflow-wrap: anywhere;
}

/* Sample artifacts in the log, drawn in one sample customer palette */
.ain-brandcard {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 8px;
}

.ain-swatches {
    display: inline-flex;
}

.ain-swatches i {
    width: 22px;
    height: 22px;
    margin-right: -5px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.ain-swatches i:nth-child(1) { background: #0f3d3e; }
.ain-swatches i:nth-child(2) { background: #2f7a6d; }
.ain-swatches i:nth-child(3) { background: #ff7a59; }
.ain-swatches i:nth-child(4) { background: #f2e3c6; }
.ain-swatches i:nth-child(5) { background: #fff8ef; box-shadow: inset 0 0 0 1px #e9dfcf; }

.ain-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px !important;
}

.ain-chips li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ain-violet-soft);
    color: var(--ain-violet-ink);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
}

.ain-brandcard .ain-chips {
    margin-top: 0 !important;
}

.ain-chips--done li {
    background: #f4f3f8;
    color: var(--ain-ink-soft);
}

.ain-chips--done li::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 5px;
    margin: 0 6px 2px 0;
    border-left: 2px solid var(--ain-green);
    border-bottom: 2px solid var(--ain-green);
    transform: rotate(-45deg);
}

.ain-posts,
.ain-banners {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
    max-width: 228px;
}

.ain-post {
    display: grid;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--ain-line);
    border-radius: 9px;
    background: #fff;
}

.ain-post__img {
    aspect-ratio: 1;
    border-radius: 6px;
}

.ain-post--1 .ain-post__img { background: linear-gradient(140deg, #0f3d3e 0 55%, #ff7a59 55% 100%); }
.ain-post--2 .ain-post__img { background: radial-gradient(circle at 65% 35%, #ff7a59 0 22%, transparent 23%), #f2e3c6; }
.ain-post--3 .ain-post__img { background: linear-gradient(0deg, #2f7a6d 0 38%, #fff8ef 38% 100%); }

.ain-post__line {
    height: 4px;
    border-radius: 3px;
    background: #ece9f3;
}

.ain-post__line + .ain-post__line {
    width: 62%;
}

.ain-banner {
    position: relative;
    display: block;
    aspect-ratio: 1;
    padding: 8px 7px;
    border-radius: 9px;
    overflow: hidden;
}

.ain-banner i {
    position: absolute;
    border-radius: 50%;
}

.ain-banner b {
    position: relative;
    display: block;
    height: 5px;
    margin-bottom: 4px;
    border-radius: 3px;
    background: currentColor;
}

.ain-banner b + b {
    width: 58%;
    opacity: 0.7;
}

.ain-banner--1 { background: #0f3d3e; color: #fff8ef; }
.ain-banner--1 i { width: 70%; aspect-ratio: 1; right: -18%; bottom: -14%; background: #ff7a59; }
.ain-banner--2 { background: #fff8ef; color: #0f3d3e; box-shadow: inset 0 0 0 1px #eadfcb; }
.ain-banner--2 i { width: 54%; aspect-ratio: 1; left: 22%; bottom: 14%; background: #2f7a6d; }
.ain-banner--3 { background: #ff7a59; color: #fff; }
.ain-banner--3 i { width: 120%; aspect-ratio: 1; left: -10%; bottom: -78%; background: #f2e3c6; }

.ain-approval {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 12px 12px !important;
    padding: 12px 12px 12px 14px;
    border-radius: 14px;
    background: var(--ain-green-soft);
    color: #0a5c41;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.ain-approval svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--ain-green);
}

.ain-approval > span:first-of-type {
    flex: 1;
}

.ain-approval__action {
    flex: none;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--ain-green);
    color: #fff;
    font-size: 13px;
}

/* The one orchestrated moment: the log writes itself once (JS adds .is-playing). */
.ain-log.is-playing [data-log-step] {
    opacity: 0;
    transform: translateY(8px);
}

.ain-log.is-playing [data-log-step].is-shown {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.ain-log.is-playing .ain-approval.is-shown {
    animation: ain-approval-in 0.9s ease 0.1s 1 both;
}

@keyframes ain-approval-in {
    0% { box-shadow: 0 0 0 0 rgba(11, 122, 85, 0.35); }
    100% { box-shadow: 0 0 0 14px rgba(11, 122, 85, 0); }
}

/* Section heads */
.ain-section-head h2,
.ain-problem__title {
    font-family: var(--ain-display);
    font-weight: 700;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.ain-section-head p {
    max-width: 34em;
    margin-top: 14px !important;
    color: var(--ain-muted);
    font-size: 1.1rem;
}

.ain-section-head--center {
    text-align: center;
}

.ain-section-head--center p {
    margin-inline: auto;
}

/* Problem */
.ain-problem {
    padding: var(--ain-section) 0;
    background: var(--ain-surface);
    border-block: 1px solid var(--ain-line);
}

.ain-problem__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 80px);
}

.ain-problem__title {
    font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.ain-problem__list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--ain-line);
    font-size: clamp(1.1rem, 1.7vw, 1.32rem);
    line-height: 1.45;
    color: var(--ain-ink-soft);
}

.ain-problem__list li:first-child {
    padding-top: 4px;
}

.ain-problem__answer {
    margin-top: 28px !important;
    max-width: 32em;
    font-family: var(--ain-display);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* Ledger: your part next to the team's */
.ain-ledger {
    padding: var(--ain-section) 0;
}

.ain-ledger__head,
.ain-ledger__row {
    display: grid;
    grid-template-columns: 56px minmax(0, 0.85fr) minmax(0, 1.4fr);
    gap: 0 clamp(20px, 3vw, 44px);
}

.ain-ledger__head {
    margin-top: 48px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ain-ink);
    font-family: var(--ain-display);
    font-weight: 600;
    font-size: 15px;
}

.ain-ledger__you-head {
    color: var(--ain-green);
}

.ain-ledger__team-head {
    color: var(--ain-violet-ink);
}

.ain-ledger__row {
    padding: 30px 0;
    border-bottom: 1px solid var(--ain-line-strong);
}

.ain-ledger__num {
    font-family: var(--ain-display);
    font-size: 15px;
    font-weight: 600;
    color: #9b97b0;
    padding-top: 6px;
}

.ain-ledger__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.ain-ledger__you p {
    font-family: var(--ain-hand);
    font-size: clamp(1.6rem, 2.4vw, 1.95rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--ain-green);
    max-width: 14em;
}

.ain-ledger__team h3 {
    font-family: var(--ain-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.ain-ledger__team p {
    margin-top: 6px !important;
    max-width: 36em;
    color: var(--ain-muted);
}

.ain-chips--team {
    margin-top: 14px !important;
}

/* The first days */
.ain-days {
    margin-top: 56px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 20px;
    background: var(--ain-surface);
    border: 1px solid var(--ain-line);
}

.ain-days__title {
    font-family: var(--ain-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.ain-days__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 22px !important;
}

.ain-days__list li {
    position: relative;
    padding-top: 22px;
}

.ain-days__list li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ain-violet);
    box-shadow: 0 0 0 4px var(--ain-violet-soft);
}

.ain-days__list li::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 24px;
    right: -12px;
    height: 2px;
    background: linear-gradient(90deg, #d8cffd, rgba(216, 207, 253, 0));
}

.ain-days__list li:last-child::after {
    display: none;
}

.ain-days__when {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.ain-days__what {
    display: block;
    margin-top: 4px;
    color: var(--ain-muted);
    font-size: 15px;
}

/* Team: the photo, then who does what */
.ain-team {
    padding: var(--ain-section) 0;
    background: var(--ain-paper);
    border-top: 1px solid var(--ain-line);
}

.ain-lineup {
    position: relative;
    margin-top: 44px;
    overflow: hidden;
    /* The posters multiply against this, also when the phone layout's mask isolates the strip. */
    background: var(--ain-paper);
}

.ain-lineup__row {
    --ain-figure: clamp(104px, 11.4vw, 158px);
    display: flex;
    justify-content: center;
    padding-inline: var(--ain-gutter);
}

.ain-lineup__person {
    position: relative;
    flex: none;
    width: var(--ain-figure);
    margin-inline: calc(var(--ain-figure) * -0.16);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.ain-lineup__person img {
    width: 100%;
    height: auto;
    /* The posters sit on uneven light grey: whiten it, blend it into the paper and fade the edges. */
    filter: brightness(1.07) contrast(1.06);
    mix-blend-mode: multiply;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 76%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 76%, transparent 100%);
}

.ain-lineup__person::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 3.5%;
    height: 10px;
    background: radial-gradient(closest-side, rgba(21, 18, 43, 0.16), transparent);
    z-index: -1;
}

.ain-lineup[data-active] .ain-lineup__person {
    opacity: 0.32;
    filter: grayscale(0.6);
}

.ain-lineup[data-active] .ain-lineup__person.is-active {
    opacity: 1;
    filter: none;
}

.ain-roster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 28px;
    margin-top: 28px !important;
    padding-top: 28px !important;
    border-top: 1px solid var(--ain-line-strong);
}

.ain-roster__item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 10px;
    margin-inline: -10px;
    border-radius: 14px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.ain-roster__item:hover,
.ain-roster__item:focus-visible {
    background: var(--ain-surface);
}

.ain-roster__item img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
}

.ain-roster__name {
    display: block;
    font-family: var(--ain-display);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.25;
}

.ain-roster__name span {
    font-family: var(--ain-text);
    font-weight: 500;
    font-size: 13.5px;
    color: var(--ain-violet-ink);
}

.ain-roster__does {
    display: block;
    margin-top: 3px;
    color: var(--ain-muted);
    font-size: 14.5px;
    line-height: 1.45;
}

/* Control */
.ain-control {
    padding: var(--ain-section) 0;
    background: var(--ain-surface);
    border-block: 1px solid var(--ain-line);
}

.ain-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.ain-control__list > div {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 6px 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--ain-line);
}

.ain-control__list > div:first-child {
    padding-top: 6px;
}

.ain-control__list dt {
    font-family: var(--ain-display);
    font-weight: 600;
    font-size: 1.1rem;
}

.ain-control__list > div:first-child dt {
    color: var(--ain-green);
}

.ain-control__list dd {
    color: var(--ain-muted);
}

/* Pricing */
.ain-pricing {
    padding: var(--ain-section) 0;
}

.ain-pricing__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(20px, 3vw, 36px);
    margin-top: 44px;
    align-items: start;
}

.ain-free,
.ain-paid {
    padding: clamp(22px, 3vw, 34px);
    border-radius: 22px;
}

.ain-free {
    background: var(--ain-green-soft);
    border: 1px solid #cfeadc;
}

.ain-paid {
    background: var(--ain-surface);
    border: 1px solid var(--ain-line);
}

.ain-free h3,
.ain-paid h3 {
    font-family: var(--ain-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.ain-checklist {
    display: grid;
    gap: 12px;
    margin-top: 18px !important;
    font-size: 15.5px;
}

.ain-free__note {
    margin-top: 20px !important;
    padding-top: 16px;
    border-top: 1px solid #cfeadc;
    color: #2d5546;
    font-size: 14.5px;
}

.ain-paid__lead {
    margin-top: 6px !important;
    color: var(--ain-muted);
}

.ain-plans {
    margin-top: 18px !important;
    border-top: 1px solid var(--ain-line-strong);
}

.ain-plan {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr);
    gap: 16px;
    align-items: center;
    padding: 16px 14px;
    border-bottom: 1px solid var(--ain-line);
    border-radius: 0;
}

.ain-plan--suggested {
    margin: 6px 0;
    border: 1.5px solid #cfc2ff;
    border-radius: 16px;
    background: #faf8ff;
}

.ain-plan__name h4 {
    font-family: var(--ain-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.ain-plan__name p {
    color: var(--ain-muted);
    font-size: 14px;
    line-height: 1.4;
}

.ain-plan__badge {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--ain-violet);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.ain-plan__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: baseline;
}

.ain-plan__facts dt {
    color: var(--ain-muted);
    font-size: 11.5px;
    line-height: 1.25;
}

.ain-plan__facts dd {
    margin-top: 2px !important;
    font-weight: 600;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.ain-plan__price dd {
    font-family: var(--ain-display);
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}

.ain-plan__price small {
    margin-left: 2px;
    color: var(--ain-muted);
    font-family: var(--ain-text);
    font-size: 12.5px;
    font-weight: 500;
}

.ain-paid__note {
    margin-top: 18px !important;
    color: var(--ain-muted);
    font-size: 14px;
}

.ain-paid .ain-textlink {
    margin-top: 10px;
    font-size: 15px;
}

/* FAQ */
.ain-faq {
    padding: var(--ain-section) 0;
    background: var(--ain-surface);
    border-top: 1px solid var(--ain-line);
}

.ain-faq .ain-section-head {
    position: sticky;
    top: 100px;
}

.ain-faq__item {
    border-bottom: 1px solid var(--ain-line);
}

.ain-faq__item summary {
    position: relative;
    padding: 20px 40px 20px 0;
    font-family: var(--ain-display);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.ain-faq__item summary::-webkit-details-marker {
    display: none;
}

.ain-faq__item summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -7px;
    border-right: 2px solid var(--ain-violet-ink);
    border-bottom: 2px solid var(--ain-violet-ink);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.ain-faq__item[open] summary::after {
    margin-top: -2px;
    transform: rotate(-135deg);
}

.ain-faq__item p {
    padding: 0 0 22px;
    max-width: 40em;
    color: var(--ain-muted);
}

/* Closing */
.ain-closing {
    position: relative;
    padding: var(--ain-section) 0;
    background: var(--ain-ink);
    color: #fff;
    overflow: hidden;
}

.ain-closing::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -320px;
    width: 900px;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(124, 58, 237, 0.45), rgba(219, 39, 119, 0.12) 60%, transparent);
    pointer-events: none;
}

.ain-closing__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ain-closing h2 {
    max-width: 16em;
    font-family: var(--ain-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.ain-closing p {
    margin-top: 16px !important;
    color: #c9c5df;
    font-size: 1.15rem;
}

.ain-closing .ain-start {
    width: 100%;
    margin-top: 34px;
    text-align: left;
}

.ain-closing .ain-start__field {
    border-color: transparent;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
}

.ain-closing .ain-btn {
    background: var(--ain-violet);
}

.ain-closing .ain-btn:hover {
    background: #7d5dff;
}

.ain-closing .ain-start__hint {
    padding-left: 0;
    color: #b8b3d4;
    text-align: center;
}

.ain-closing .ain-start__hint a {
    color: #fff;
}

.ain-closing .ain-start__error {
    color: #ffb4c0;
}

/* Footer */
.ain-footer {
    padding: 32px 0 40px;
    background: var(--ain-paper);
    border-top: 1px solid var(--ain-line);
    font-size: 14px;
    color: var(--ain-muted);
}

.ain-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.ain-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.ain-footer__links a,
.ain-footer__links button {
    color: var(--ain-muted);
    text-decoration: none;
}

.ain-footer__links a:hover {
    color: var(--ain-ink);
}

.ain-footer__copy {
    margin-left: auto !important;
}

/* Tablet */
@media (max-width: 1080px) {
    .ain-header__nav {
        display: none;
    }

    .ain-header__actions {
        margin-left: auto;
    }

    .ain-roster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .ain-hero__grid,
    .ain-problem__grid,
    .ain-split,
    .ain-pricing__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ain-hero__log {
        max-width: 560px;
        margin-top: 24px;
    }

    .ain-handnote {
        display: none;
    }

    .ain-faq .ain-section-head {
        position: static;
    }

    .ain-lineup {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ain-lineup::-webkit-scrollbar {
        display: none;
    }

    .ain-lineup__row {
        justify-content: flex-start;
        width: max-content;
        padding-inline: calc(var(--ain-gutter) + 20px);
    }
}

/* Phone */
@media (max-width: 640px) {
    .ain-header__link {
        display: none;
    }

    .ain-header__logo img {
        width: 116px;
    }

    .ain-header__inner {
        gap: 12px;
        min-height: 60px;
    }

    .ain-start__field {
        flex-wrap: wrap;
        padding: 6px 6px 6px 14px;
        border-radius: 20px;
    }

    .ain-start input {
        flex-basis: 60%;
    }

    .ain-start .ain-btn {
        flex-basis: 100%;
        margin: 2px 0 0 -8px;
        width: calc(100% + 8px);
    }

    .ain-start__hint {
        padding-left: 4px;
    }

    .ain-log__list {
        padding: 16px 14px 4px;
    }

    .ain-ledger__head {
        display: none;
    }

    .ain-ledger__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .ain-ledger__num {
        display: none;
    }

    .ain-ledger__label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        display: block;
        margin-bottom: 4px;
        font-size: 12.5px;
        font-weight: 600;
    }

    .ain-ledger__you .ain-ledger__label {
        color: var(--ain-green);
    }

    .ain-ledger__team .ain-ledger__label {
        color: var(--ain-violet-ink);
    }

    .ain-ledger__team {
        padding-left: 14px;
        border-left: 2px solid #ddd5ff;
    }

    .ain-days__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .ain-days__list li {
        padding: 0 0 0 26px;
    }

    .ain-days__list li::before {
        top: 6px;
    }

    .ain-days__list li::after {
        top: 22px;
        bottom: -14px;
        left: 5px;
        right: auto;
        width: 2px;
        height: auto;
        background: #e3dcfd;
    }

    .ain-roster {
        grid-template-columns: minmax(0, 1fr);
    }

    .ain-plan {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .ain-plan--suggested {
        margin-inline: -8px;
        padding-inline: 14px;
    }

    .ain-control__list > div {
        grid-template-columns: minmax(0, 1fr);
    }

    .ain-footer__copy {
        margin-left: 0 !important;
    }
}

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

    .ain-body *,
    .ain-body *::before,
    .ain-body *::after {
        transition: none !important;
        animation: none !important;
    }
}
