/* ==========================================================================
   ProstoRetro public site.
   One rounded sheet over a dotted grey backdrop; inside it, dotted panels for
   heroes and the footer, white cards, a single saturated blue for actions, and
   "3D" tiles with soft layered shadows for ornament.
   ========================================================================== */

:root {
    color-scheme: light;

    --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

    --backdrop: #e7e7ea;
    --sheet: #fbfbfc;
    --panel: #f3f3f5;
    --card: #ffffff;
    --ink: #0e0e11;
    --ink-soft: #9b9ba3;
    --text: #2b2b31;
    --muted: #6c6c75;
    --line: #e8e8ec;
    --line-strong: #dadade;

    --blue: #2563ff;
    --blue-hover: #1a50e6;
    --blue-soft: #e9efff;
    --amber: #f29a0e;

    --note: #fbe680;
    --note-ink: #3b3417;
    --lavender: #b6bbff;
    --coral: #ffab97;
    --green: #aee5a1;
    --card-ink: #1d1d33;

    --dots: radial-gradient(rgba(14, 14, 17, 0.11) 1px, transparent 1.3px);
    --dots-size: 14px 14px;

    --shadow-card: 0 1px 2px rgba(16, 16, 24, 0.04), 0 10px 28px -16px rgba(16, 16, 24, 0.14);
    --shadow-tile: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 2px rgba(16, 16, 24, 0.06),
        0 8px 16px -6px rgba(16, 16, 24, 0.12), 0 22px 40px -14px rgba(16, 16, 24, 0.24);
    --shadow-float: 0 2px 4px rgba(16, 16, 24, 0.04), 0 14px 28px -10px rgba(16, 16, 24, 0.14),
        0 44px 72px -24px rgba(16, 16, 24, 0.26);

    --r-sheet: 36px;
    --r-xl: 32px;
    --r-lg: 26px;
    --r-md: 18px;
    --r-sm: 12px;

    --container: 1180px;
    --gutter: 16px;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--backdrop);
    background-image: var(--dots);
    background-size: 18px 18px;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 500;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

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

/* The sheet. overflow is clipped rather than hidden so the ornaments that lean
   past an edge never open a horizontal scrollbar and nothing inside becomes a
   scroll container. */
.site-shell {
    max-width: 1480px;
    min-height: calc(100vh - 32px);
    margin: 16px auto;
    border-radius: var(--r-sheet);
    background: var(--sheet);
    box-shadow: 0 0 0 1px rgba(16, 16, 24, 0.05), 0 40px 90px -50px rgba(16, 16, 24, 0.35);
    overflow: clip;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

/* --- small parts ---------------------------------------------------------- */

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    font: 500 16px/1.1 var(--font);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 10px 22px -10px rgba(37, 99, 255, 0.75);
}

.button--primary:hover {
    background: var(--blue-hover);
}

.button--outline {
    background: var(--card);
    border-color: var(--line-strong);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(16, 16, 24, 0.05);
}

.button--outline:hover {
    border-color: #c4c4ca;
}

.button--white {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 10px 24px -12px rgba(8, 20, 70, 0.5);
}

.button--lg {
    min-height: 56px;
    padding: 0 32px;
    border-radius: 14px;
    font-size: 17px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    box-shadow: 0 1px 1px rgba(16, 16, 24, 0.03), 0 8px 16px -10px rgba(16, 16, 24, 0.3);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.pill--link {
    color: var(--ink);
    transition: border-color 0.15s ease;
}

.pill--link:hover {
    border-color: var(--line-strong);
}

.text-link {
    color: var(--blue);
    font-weight: 500;
}

.text-link .icon {
    display: inline-block;
    margin-left: 6px;
    vertical-align: -0.18em;
    transition: transform 0.15s ease;
}

.text-link:hover .icon {
    transform: translateX(3px);
}

/* the rounded white "3D" tile that holds an emoji or a few digits */
.tile {
    display: inline-grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #f6f6f8 100%);
    box-shadow: var(--shadow-tile);
}

.tile img {
    width: 58%;
    height: auto;
}

.tile--sm {
    width: 60px;
    height: 60px;
    border-radius: 17px;
}

.tile--digits {
    color: var(--ink);
    font-size: 22px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.app-tile {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 30px;
    background: linear-gradient(180deg, #fff 0%, #f4f4f6 100%);
    box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(16, 16, 24, 0.05), 0 22px 36px -14px rgba(16, 16, 24, 0.28),
        0 60px 90px -30px rgba(16, 16, 24, 0.3);
    color: var(--ink);
}

.app-tile .brand-mark {
    width: 52%;
    height: auto;
}

.app-tile--sm {
    width: 64px;
    height: 64px;
    border-radius: 18px;
}

.avatar {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.avatar--violet { background: #6c4cf5; }
.avatar--green { background: #18a06a; }
.avatar--pink { background: #ec4b8c; }
.avatar--coral { background: #f2704e; }
.avatar--blue { background: #2f86ef; }

.avatars {
    display: inline-flex;
}

.avatars .avatar + .avatar {
    margin-left: -8px;
}

.votes {
    display: inline-flex;
    gap: 2px;
}

.votes img {
    width: 20px;
    height: 20px;
}

/* a card as the room draws it: soft colour, centred text */
.retro-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lavender);
    box-shadow: 0 2px 0 rgba(16, 16, 40, 0.08), 0 8px 16px -10px rgba(16, 16, 40, 0.3);
    color: var(--card-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.retro-card--lavender { background: var(--lavender); }
.retro-card--coral { background: var(--coral); }
.retro-card--green { background: var(--green); }

.retro-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* a folder: white card with a tab on its top edge, as in the hero */
.folder {
    position: relative;
    display: block;
    padding: 18px;
    border-radius: 6px 22px 22px 22px;
    background: linear-gradient(180deg, #fbfbfc 0%, #f1f1f4 100%);
    box-shadow: var(--shadow-float);
}

.folder::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 100%;
    width: 42%;
    height: 16px;
    border-radius: 14px 14px 0 0;
    background: #fbfbfc;
    clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
}

.folder__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
}

.folder__title img {
    width: 24px;
    height: 24px;
}

.folder--ghost {
    background: linear-gradient(180deg, #f7f7f9 0%, #ececf0 100%);
}

.folder--ghost::before {
    background: #f7f7f9;
}

.sticky {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 22px 30px;
    background: linear-gradient(180deg, #fdec8e 0%, var(--note) 100%);
    box-shadow: 0 1px 1px rgba(60, 50, 0, 0.08), 0 16px 26px -14px rgba(60, 50, 0, 0.45),
        0 40px 60px -30px rgba(16, 16, 24, 0.3);
    color: var(--note-ink);
}

.sticky__pin {
    position: absolute;
    top: -14px;
    left: 50%;
    width: 34px;
    height: 34px;
    transform: translateX(-50%) rotate(8deg);
}

.sticky__label {
    color: rgba(59, 52, 23, 0.6);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.sticky__text {
    font-family: var(--font-hand);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.05;
}

.mini-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 18px -12px rgba(16, 16, 24, 0.35);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.mini-chip img {
    width: 20px;
    height: 20px;
}

/* --- header --------------------------------------------------------------- */

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 84px;
    padding: 0 clamp(20px, 3.4vw, 48px);
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--ink);
}

.site-brand svg,
.site-footer__logo svg:not(.brand-mark) {
    width: auto;
    height: 28px;
}

/* the wordmark ships teal; on this sheet it reads as ink */
.site-brand svg path,
.site-footer__logo svg path {
    fill: currentColor;
}

.site-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.nav {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav a {
    display: block;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 15.5px;
    transition: background-color 0.15s ease;
}

.nav a:hover {
    background: var(--panel);
}

.home-template:not(.articles-index-template) .nav-home a,
.page-pricing .nav-pricing a,
.articles-index-template .nav-articles a,
.post-template .nav-articles a,
.page-contacts .nav-contacts a {
    background: var(--panel);
}

.site-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 22px;
}

.site-header__login {
    color: var(--ink);
    font-size: 15.5px;
}

.site-header__login:hover {
    color: var(--blue);
}

/* --- hero ----------------------------------------------------------------- */

.hero,
.page-hero {
    position: relative;
    margin: 0 clamp(8px, 1.1vw, 16px);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background-color: var(--panel);
    background-image: var(--dots);
    background-size: var(--dots-size);
    overflow: hidden;
}

.hero {
    display: grid;
    place-items: center;
    min-height: clamp(700px, 88vh, 860px);
    padding: 120px 24px;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    text-align: center;
}

.hero .app-tile {
    margin-bottom: 40px;
}

.hero__title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 5.6vw, 84px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.hero__title-soft {
    display: block;
    color: var(--ink-soft);
}

.hero__lede {
    max-width: 640px;
    margin: 28px 0 0;
    color: var(--text);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.5;
    text-wrap: pretty;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}

.hero__note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.hero__note .icon {
    color: #18a06a;
}

/* floating pieces around the hero */
.hero-floats {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.float {
    position: absolute;
}

.float--note {
    top: 64px;
    left: 4.5%;
    width: 236px;
}

.float-note__under {
    position: absolute;
    top: 64px;
    left: -40px;
    width: 220px;
    height: 230px;
    rotate: -14deg;
}

.float--note .sticky {
    rotate: -4deg;
    min-height: 196px;
}

.float-note__check {
    position: absolute;
    left: 28px;
    bottom: -64px;
    rotate: 6deg;
}

.float--plan {
    top: 56px;
    right: -26px;
    width: 340px;
}

.float-plan__watch {
    position: absolute;
    top: 64px;
    left: -26px;
    z-index: 2;
    width: 96px;
    height: 96px;
    rotate: -8deg;
}

.plan-card {
    margin-left: 46px;
    padding: 22px 24px 20px 40px;
    rotate: 5deg;
}

.plan-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: phase;
}

.plan-card__list li {
    counter-increment: phase;
    display: flex;
    gap: 8px;
    padding: 5px 0;
    color: var(--muted);
    font-size: 14px;
}

.plan-card__list li::before {
    content: counter(phase) ".";
    min-width: 16px;
}

.plan-card__list .is-done {
    color: var(--ink-soft);
    text-decoration: line-through;
}

.plan-card__list .is-current {
    color: var(--ink);
    font-weight: 600;
}

.plan-card__time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.float--board {
    bottom: -64px;
    left: 6%;
    width: 330px;
}

.board-card {
    padding-bottom: 80px;
    rotate: -3deg;
}

.board-card .retro-card + .retro-card {
    margin-top: 10px;
}

.float--shelf {
    right: 7%;
    bottom: -44px;
    width: 320px;
}

.shelf-card {
    padding-bottom: 64px;
    rotate: 2deg;
}

.shelf-card__tiles {
    display: flex;
    gap: 14px;
    padding: 6px 4px;
}

.shelf-card__tiles .tile:nth-child(1) { rotate: -6deg; }
.shelf-card__tiles .tile:nth-child(2) { rotate: 4deg; translate: 0 -6px; }
.shelf-card__tiles .tile:nth-child(3) { rotate: 9deg; }

@media (prefers-reduced-motion: no-preference) {
    .float--note,
    .float--plan,
    .site-footer__tiles .tile,
    .showcase__tile,
    .page-hero__tile,
    .plan__bolt {
        animation: drift 9s ease-in-out infinite;
    }

    .float--plan,
    .site-footer__tiles .tile:nth-child(even),
    .showcase__tile--b,
    .page-hero__tile--b {
        animation-duration: 11s;
        animation-delay: -4s;
    }
}

@keyframes drift {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

/* --- sections ------------------------------------------------------------- */

.section {
    padding: clamp(56px, 7vw, 100px) 0;
}

.section--tight-top {
    padding-top: clamp(24px, 3vw, 40px);
}

.section--tight-bottom {
    padding-bottom: clamp(24px, 3vw, 40px);
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 780px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}

.section-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.section-title--sm {
    font-size: clamp(28px, 3.2vw, 40px);
}

.section-text {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    text-wrap: pretty;
}

.section-link,
.section-cta {
    display: flex;
    justify-content: center;
    margin: 40px 0 0;
    text-align: center;
}

/* the soft grey box a section sits in, as the reference's feature block */
.section--panel {
    padding: clamp(24px, 3vw, 40px) clamp(8px, 1.1vw, 16px);
}

.panel {
    padding: clamp(64px, 8vw, 112px) 0;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--panel);
}

/* --- customer logos ------------------------------------------------------- */

.logos {
    padding-top: clamp(48px, 6vw, 72px);
}

.logos__label {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.logos__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px clamp(28px, 4vw, 56px);
    margin-top: 26px;
}

.logos__row img {
    width: auto;
    max-width: 140px;
    height: auto;
    max-height: 16px;
    opacity: 0.8;
}

/* --- hairline rows -------------------------------------------------------- */

.line-row {
    position: relative;
    display: grid;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.line-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.line-row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.line-row__cell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px clamp(20px, 2.6vw, 40px) 8px;
    border-left: 1px solid var(--line);
}

.line-row__cell:first-child {
    border-left-color: transparent;
}

/* the small rings where the hairlines meet */
.line-row__cell::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--sheet);
}

.line-row__cell:first-child::before {
    display: none;
}

.line-row__icon {
    display: inline-flex;
    color: var(--amber);
    font-size: 22px;
}

.line-row__title {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.line-row__text {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.55;
}

.steps .line-row__text {
    color: var(--text);
}

.steps__num {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #f6f6f8 100%);
    box-shadow: var(--shadow-tile);
    color: var(--blue);
    font-weight: 600;
}

/* --- product video in the blue frame ------------------------------------- */

.showcase {
    position: relative;
    margin-top: clamp(48px, 6vw, 80px);
    padding: clamp(14px, 4vw, 56px) clamp(10px, 4vw, 56px);
    border-radius: var(--r-xl);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, #36b4ff 0%, #2f86ff 46%, #2563ff 100%);
    box-shadow: 0 40px 80px -40px rgba(37, 99, 255, 0.55);
}

.showcase__window {
    position: relative;
    z-index: 1;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 30px 60px -30px rgba(8, 20, 70, 0.6);
}

.showcase__bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin-bottom: 8px;
}

.showcase__dots {
    position: absolute;
    left: 10px;
    display: flex;
    gap: 6px;
}

.showcase__dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e1e1e6;
}

.showcase__address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--panel);
    color: var(--muted);
    font-size: 13px;
}

.showcase .home-hero__video {
    width: 100%;
    height: auto;
    border-radius: 13px;
    background: #d9dcf7;
}

.showcase__tile {
    position: absolute;
    z-index: 2;
}

.showcase__tile--a {
    top: 34%;
    left: -32px;
    width: 104px;
    height: 104px;
    font-size: 27px;
    rotate: -9deg;
}

.showcase__tile--b {
    top: 12%;
    right: -30px;
    rotate: 10deg;
}

/* --- templates ------------------------------------------------------------ */

.tpl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tpl-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.tpl-card .tile {
    margin-bottom: 8px;
}

.tpl-card__title {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
}

.tpl-card__text {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.tpl-card--link {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tpl-card--link:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 2px rgba(16, 16, 24, 0.04), 0 22px 40px -22px rgba(16, 16, 24, 0.3);
}

.tpl-card__more,
.guide__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 500;
}

.tpl-card__more .icon,
.guide__more .icon {
    transition: transform 0.15s ease;
}

.tpl-card--link:hover .tpl-card__more .icon,
.guide:hover .guide__more .icon {
    transform: translateX(3px);
}

/* --- the line .com shows where .ru lists its customers --------------------- */

.proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 18px;
    margin: 0;
    color: var(--text);
    font-size: clamp(16px, 1.6vw, 19px);
    text-align: center;
}

.proof__tiles {
    display: inline-flex;
}

.proof__tiles .tile + .tile {
    margin-left: -10px;
}

.proof__tiles .tile:nth-child(1) { rotate: -6deg; }
.proof__tiles .tile:nth-child(3) { rotate: 6deg; }

.tile--xs {
    width: 44px;
    height: 44px;
    border-radius: 13px;
}

/* --- guides (.com) -------------------------------------------------------- */

.guides {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.guide {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 2px rgba(16, 16, 24, 0.04), 0 22px 40px -22px rgba(16, 16, 24, 0.3);
}

.guide--wide {
    grid-column: span 2;
    background-color: var(--panel);
    background-image: var(--dots);
    background-size: var(--dots-size);
}

.guide__tiles {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
}

.guide__tiles .tile:nth-child(odd) { rotate: -5deg; }
.guide__tiles .tile:nth-child(even) { rotate: 4deg; }

.guide__vs {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.guide__title {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
}

.guide--wide .guide__title {
    font-size: 24px;
}

.guide__text {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* --- feature bento -------------------------------------------------------- */

.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.bento-card--5 { grid-column: span 5; }
.bento-card--7 { grid-column: span 7; }

.bento-card--dashed {
    border: 1.5px dashed var(--line-strong);
    background: transparent;
    box-shadow: none;
}

.bento-card__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 270px;
    padding: 32px 24px 20px;
}

.bento-card__body {
    padding: 8px clamp(22px, 3vw, 40px) 36px;
    text-align: center;
}

.bento-card__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.bento-card__text {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* anonymous card */
.mini-anon {
    position: relative;
    width: min(100%, 300px);
    padding-bottom: 48px;
}

.mini-anon__back {
    position: absolute;
    inset: 14px -14px 62px 18px;
    rotate: 6deg;
}

.mini-anon__card {
    position: relative;
    padding: 16px 18px 20px;
    rotate: -2deg;
    font-size: 16px;
}

.mini-anon__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(29, 29, 51, 0.65);
    font-size: 13px;
}

.mini-anon__author img {
    width: 26px;
    height: 26px;
    padding: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.mini-switch {
    position: absolute;
    right: -6px;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 24px -14px rgba(16, 16, 24, 0.4);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
}

.mini-switch__track {
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: var(--blue);
}

.mini-switch__track i {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
}

/* voting */
.mini-vote {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 420px);
    padding-bottom: 36px;
}

.mini-vote__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-vote__row .retro-card {
    flex: 1 1 auto;
    text-align: center;
}

.mini-vote__row .votes {
    flex: 0 0 86px;
}

.mini-vote__row .votes img {
    width: 26px;
    height: 26px;
}

.mini-vote__left {
    position: absolute;
    right: 0;
    bottom: -4px;
    rotate: -3deg;
}

/* AI grouping */
.mini-ai {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    width: min(100%, 520px);
}

.mini-ai__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1.5px dashed #c9cbf5;
    border-radius: 16px;
    background: rgba(182, 187, 255, 0.12);
}

.mini-ai__topic {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.mini-ai__group .retro-card {
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
}

.mini-ai__suggest {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-float);
    rotate: 2deg;
}

.mini-ai__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}

.mini-ai__label img {
    width: 22px;
    height: 22px;
}

.mini-ai__action {
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.mini-ai__add {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

/* timer */
.mini-timer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(100%, 300px);
    padding: 22px 22px 46px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-float);
}

.mini-timer__phase {
    color: var(--muted);
    font-size: 14px;
}

.mini-timer__digits {
    color: var(--ink);
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.mini-timer__bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--panel);
    overflow: hidden;
}

.mini-timer__bar i {
    display: block;
    width: 62%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #36b4ff, var(--blue));
}

.mini-timer__controls {
    display: flex;
    gap: 8px;
}

.mini-timer__btn {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--panel);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.mini-timer__btn--pause {
    background: var(--blue);
    color: #fff;
}

.mini-timer__ready {
    position: absolute;
    bottom: -16px;
    left: 50%;
    translate: -50% 0;
}

/* warm-up */
.mini-warmup {
    position: relative;
    width: min(100%, 320px);
    padding-bottom: 30px;
}

.mini-warmup__q {
    position: relative;
    display: block;
    padding: 22px 22px 24px;
    border-radius: 20px 20px 20px 6px;
    background: linear-gradient(135deg, #3a8dff, var(--blue));
    box-shadow: 0 24px 40px -22px rgba(37, 99, 255, 0.8);
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    rotate: -2deg;
}

.mini-warmup__who {
    position: absolute;
    right: -4px;
    bottom: 0;
    rotate: 3deg;
}

/* and more */
.mini-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 460px;
}

.mini-more__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 18px -14px rgba(16, 16, 24, 0.45);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}

.mini-more__chip:nth-child(odd) { rotate: -2deg; }
.mini-more__chip:nth-child(3n) { rotate: 2.5deg; }

.mini-more__chip img {
    width: 22px;
    height: 22px;
}

/* --- annotated screenshot ------------------------------------------------- */

.demo-frame {
    margin: clamp(40px, 5vw, 64px) 0 0;
    padding: clamp(10px, 2.4vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background-color: var(--panel);
    background-image: var(--dots);
    background-size: var(--dots-size);
}

.demo-frame img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-float);
}

/* --- who it is for -------------------------------------------------------- */

.uc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.uc-grid__cell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px clamp(18px, 2.2vw, 32px) 32px;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.uc-grid__cell:nth-child(4n + 1) {
    border-left-color: transparent;
}

.uc-grid__cell--cta {
    justify-content: center;
    background: var(--blue-soft);
    border-radius: 0 0 var(--r-md) 0;
}

.uc-grid__cta-title {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
}

/* --- testimonials --------------------------------------------------------- */

.quotes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.quote {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.quote--wide {
    grid-column: span 3;
}

.quote__stars {
    color: #f6b51e;
    font-size: 16px;
    letter-spacing: 2px;
}

.quote blockquote {
    flex: 1 1 auto;
    margin: 0;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.38;
    letter-spacing: -0.01em;
}

.quote figcaption {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
}

.quote .avatar {
    width: 34px;
    height: 34px;
    border: 0;
    font-size: 14px;
}

/* --- plans ---------------------------------------------------------------- */

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 32px 36px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--panel);
}

/* stands proud of its neighbours, which share one height */
.plan--featured {
    margin-block: -26px;
    padding-block: 46px 48px;
    border-color: transparent;
    background: linear-gradient(180deg, #2f6dff 0%, var(--blue) 100%);
    box-shadow: 0 40px 70px -30px rgba(37, 99, 255, 0.7);
    color: #fff;
}

.plan__bolt {
    position: absolute;
    top: -34px;
    right: -26px;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #f4f4f6 100%);
    box-shadow: var(--shadow-float);
    rotate: 10deg;
}

.plan__bolt img {
    width: 56px;
    height: 56px;
}

.plan__name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: inherit;
    font-size: 22px;
    font-weight: 500;
}

.plan:not(.plan--featured) .plan__name {
    color: var(--ink);
}

.plan__badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffe36e;
    color: #3b3417;
    font-size: 13px;
    font-weight: 600;
}

.plan__for {
    margin: 4px 0 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line-strong);
    color: var(--muted);
    font-size: 15px;
}

.plan--featured .plan__for {
    border-bottom-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.82);
}

.plan__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 26px 0 0;
}

.plan__amount {
    color: var(--ink);
    font-size: 46px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.plan--featured .plan__amount {
    color: #fff;
}

.plan__unit {
    color: var(--ink-soft);
    font-size: 18px;
}

.plan--featured .plan__unit {
    color: rgba(255, 255, 255, 0.72);
}

.plan__note {
    min-height: 1.5em;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.plan--featured .plan__note {
    color: rgba(255, 255, 255, 0.86);
}

.plan__cta {
    width: 100%;
    margin: 24px 0 0;
}

.plan__list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 26px 0 0;
    border-top: 1px solid var(--line-strong);
    list-style: none;
    font-size: 15px;
    line-height: 1.4;
}

.plan--featured .plan__list {
    border-top-color: rgba(255, 255, 255, 0.22);
}

.plan__list li {
    display: flex;
    gap: 10px;
}

.plan__list .icon {
    margin-top: 1px;
    color: var(--blue);
}

.plan--featured .plan__list .icon {
    color: #fff;
}

.plan__list-lead {
    font-weight: 600;
}

.plans__fine {
    max-width: 720px;
    margin: 36px auto 0;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    text-wrap: pretty;
}

.plans__fine a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- faq ------------------------------------------------------------------ */

.faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.faq__aside {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.faq__contact {
    margin: 0;
    color: var(--muted);
}

.faq__list {
    display: grid;
    gap: 10px;
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--card);
    box-shadow: 0 1px 2px rgba(16, 16, 24, 0.03);
    transition: box-shadow 0.15s ease;
}

.faq__item[open] {
    box-shadow: var(--shadow-card);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    list-style: none;
    cursor: pointer;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

.faq__question .icon {
    color: var(--muted);
    transition: transform 0.2s ease;
}

.faq__item[open] .faq__question .icon {
    transform: rotate(45deg);
}

.faq__answer {
    margin: -4px 22px 22px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.65;
}

/* --- articles ------------------------------------------------------------- */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.post-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 2px rgba(16, 16, 24, 0.04), 0 22px 40px -22px rgba(16, 16, 24, 0.3);
}

.post-card__media {
    margin: 0;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
    overflow: hidden;
    container-type: inline-size;
}

.post-card__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 24px;
}

.post-card__date {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
}

.post-card__title {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.post-card__excerpt {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.post-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 500;
}

.post-card__link:hover .post-card__more .icon {
    transform: translateX(3px);
}

.post-card__more .icon {
    transition: transform 0.15s ease;
}

/* cover for a post without a picture */
.cover-ph {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--panel);
    background-image: var(--dots);
    background-size: 12px 12px;
}

.cover-ph__note {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 58%;
    aspect-ratio: 1.18;
    padding: 9% 8% 8%;
    background: linear-gradient(180deg, #fdec8e 0%, var(--note) 100%);
    box-shadow: 0 1px 1px rgba(60, 50, 0, 0.08), 0 14px 24px -14px rgba(60, 50, 0, 0.5),
        0 30px 40px -26px rgba(16, 16, 24, 0.3);
    color: var(--note-ink);
    rotate: -3deg;
}

.cover-ph__pin {
    position: absolute;
    top: -6%;
    left: 50%;
    width: 13%;
    min-width: 22px;
    height: auto;
    transform: translateX(-50%) rotate(8deg);
}

.cover-ph__text {
    display: -webkit-box;
    overflow: hidden;
    font-family: var(--font-hand);
    font-size: 24px;
    font-size: clamp(17px, 6.6cqi, 40px);
    font-weight: 600;
    line-height: 1.02;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow-wrap: anywhere;
}

.cover-ph__card {
    position: absolute;
    z-index: 1;
    width: 30%;
    height: 17%;
    border-radius: 10px;
    background: var(--lavender);
    box-shadow: 0 2px 0 rgba(16, 16, 40, 0.06), 0 12px 20px -14px rgba(16, 16, 40, 0.5);
}

.cover-ph__card--a {
    top: 13%;
    left: 6%;
    rotate: -9deg;
}

.cover-ph__card--b {
    right: 6%;
    bottom: 12%;
    background: var(--coral);
    rotate: 7deg;
}

.post-card:nth-child(4n + 2) .cover-ph__note { background: linear-gradient(180deg, #c8ccff, var(--lavender)); rotate: 2deg; }
.post-card:nth-child(4n + 2) .cover-ph__card--a { background: var(--green); }
.post-card:nth-child(4n + 3) .cover-ph__note { background: linear-gradient(180deg, #c3edb8, var(--green)); rotate: -2deg; }
.post-card:nth-child(4n + 3) .cover-ph__card--b { background: var(--lavender); }
.post-card:nth-child(4n + 4) .cover-ph__note { background: linear-gradient(180deg, #ffc2b4, var(--coral)); rotate: 3deg; }
.post-card:nth-child(4n + 4) .cover-ph__card--a { background: var(--note); }

.post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    margin: 36px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.post-list__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    transition: color 0.15s ease;
}

.post-list__link:hover {
    color: var(--blue);
}

.post-list__title {
    color: inherit;
    font-size: 16.5px;
    font-weight: 500;
}

.post-list__link:not(:hover) .post-list__title {
    color: var(--ink);
}

.post-list__date {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13.5px;
    white-space: nowrap;
}

.empty-state {
    padding: 40px;
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--r-lg);
    text-align: center;
}

.empty-state h2,
.empty-state h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.section--feed {
    padding-top: clamp(40px, 5vw, 64px);
}

.pagination-wrap {
    margin-top: 48px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--muted);
    font-size: 15px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--card);
    color: var(--ink);
    font-weight: 500;
}

/* --- page heroes (articles, posts, pages, pricing, contacts) ------------- */

.page-hero {
    padding: clamp(72px, 9vw, 120px) 24px clamp(64px, 8vw, 104px);
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.page-hero__title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
}

.page-hero__lede {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.55;
    text-wrap: pretty;
}

.page-hero__tile {
    position: absolute;
    z-index: 1;
}

.page-hero__tile--a {
    top: 22%;
    left: 8%;
    rotate: -10deg;
}

.page-hero__tile--b {
    right: 9%;
    bottom: 18%;
    rotate: 9deg;
}

.post-hero {
    padding-bottom: clamp(56px, 7vw, 88px);
}

.post-hero__title {
    font-size: clamp(32px, 4.6vw, 58px);
}

.post-hero__meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

.post-hero__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.post-hero__floats {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.sticky--small {
    position: absolute;
    padding: 22px 18px 24px;
}

.sticky--small .sticky__text {
    font-size: 26px;
    white-space: nowrap;
}

.post-hero__note {
    top: 18%;
    left: 6%;
    rotate: -5deg;
}

.post-hero__timer {
    position: absolute;
    right: 7%;
    top: 16%;
    rotate: 8deg;
}

.post-hero__tile {
    position: absolute;
    right: 12%;
    bottom: 14%;
    width: 72px;
    height: 72px;
    rotate: -7deg;
}

.cover-frame {
    width: min(100% - 2 * var(--gutter), 1040px);
    margin: clamp(32px, 4vw, 48px) auto 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.cover-frame img {
    width: 100%;
    max-height: 560px;
    border-radius: 22px;
    object-fit: cover;
}

/* --- error pages --------------------------------------------------------- */

.page-hero--error {
    padding-block: clamp(80px, 10vw, 136px);
}

.error-code {
    display: inline-flex;
    gap: 14px;
    margin-bottom: 8px;
}

.error-code .tile {
    width: 96px;
    height: 112px;
    font-size: 56px;
    font-weight: 500;
}

.error-code .tile:nth-child(1) { rotate: -7deg; }
.error-code .tile:nth-child(2) { rotate: 3deg; translate: 0 -8px; }
.error-code .tile:nth-child(3) { rotate: 8deg; }

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 12px 0 0;
}

/* --- long-form content ---------------------------------------------------- */

.prose {
    width: min(100% - 2 * var(--gutter), 740px);
    margin: clamp(48px, 6vw, 72px) auto 0;
}

.gh-content {
    min-width: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.gh-content > *:first-child {
    margin-top: 0;
}

.gh-content > *:last-child {
    margin-bottom: 0;
}

.gh-content p,
.gh-content li,
.gh-content blockquote {
    hyphens: auto;
}

.gh-content h2,
.gh-content h3,
.gh-content h4 {
    margin: 2.2em 0 0.7em;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.gh-content h2 { font-size: clamp(26px, 3vw, 34px); }
.gh-content h3 { font-size: clamp(21px, 2.3vw, 25px); }
.gh-content h4 { font-size: 19px; }

.gh-content p,
.gh-content ul,
.gh-content ol,
.gh-content blockquote,
.gh-content pre,
.gh-content table,
.gh-content figure,
.gh-content .kg-card {
    margin: 1.3em 0;
}

.gh-content strong,
.gh-content b {
    color: var(--ink);
    font-weight: 600;
}

.gh-content a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 255, 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.gh-content a:hover {
    text-decoration-color: currentColor;
}

.gh-content ul,
.gh-content ol {
    padding-left: 1.3em;
}

.gh-content li + li {
    margin-top: 0.4em;
}

.gh-content li::marker {
    color: var(--ink-soft);
}

.gh-content blockquote {
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--blue);
    color: var(--ink);
    font-size: 1.08em;
}

.gh-content blockquote p {
    margin: 0.5em 0;
}

.gh-content hr {
    margin: 2.4em 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.gh-content code {
    padding: 0.1em 0.35em;
    border-radius: 6px;
    background: var(--panel);
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: 0.88em;
}

.gh-content pre {
    padding: 18px 20px;
    overflow-x: auto;
    border-radius: var(--r-md);
    background: #15151a;
    color: #f2f2f5;
    font-size: 15px;
    line-height: 1.6;
}

.gh-content pre code {
    padding: 0;
    background: none;
    color: inherit;
}

.gh-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 15.5px;
    line-height: 1.5;
    -webkit-overflow-scrolling: touch;
}

.gh-content th,
.gh-content td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.gh-content th {
    color: var(--ink);
    font-weight: 600;
    background: var(--panel);
}

.gh-content img,
.gh-content video,
.gh-content iframe {
    max-width: 100%;
}

.gh-content figure img,
.gh-content .kg-image {
    margin-inline: auto;
    border-radius: var(--r-md);
}

.gh-content figure {
    margin-inline: 0;
}

.gh-content figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.gh-content .kg-width-wide {
    position: relative;
    width: min(100vw - 2 * var(--gutter), 1040px);
    max-width: none;
    left: 50%;
    transform: translateX(-50%);
}

.gh-content .kg-width-full {
    position: relative;
    width: min(100vw - 32px, 1440px);
    max-width: none;
    left: 50%;
    transform: translateX(-50%);
}

.gh-content .kg-width-full img {
    border-radius: 0;
}

.gh-content .kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gh-content .kg-gallery-row {
    display: flex;
    gap: 10px;
}

.gh-content .kg-gallery-image {
    flex: 1 1 0;
}

.gh-content .kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-content .kg-callout-card {
    display: flex;
    gap: 14px;
    padding: 20px 22px;
    border-radius: var(--r-md);
    background: var(--panel);
}

.gh-content .kg-callout-emoji {
    font-size: 1.3em;
    line-height: 1.4;
}

.gh-content .kg-callout-text {
    flex: 1 1 auto;
}

.gh-content .kg-button-card {
    display: flex;
    justify-content: center;
}

.gh-content .kg-button-card.kg-align-left {
    justify-content: flex-start;
}

.gh-content .kg-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--r-sm);
    background: var(--blue);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.gh-content .kg-bookmark-card a.kg-bookmark-container {
    display: flex;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--card);
    color: var(--ink);
    overflow: hidden;
    text-decoration: none;
}

.gh-content .kg-bookmark-content {
    flex: 1 1 auto;
    padding: 18px 20px;
}

.gh-content .kg-bookmark-title {
    font-weight: 600;
}

.gh-content .kg-bookmark-description {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: var(--muted);
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gh-content .kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.gh-content .kg-bookmark-icon {
    width: 18px;
    height: 18px;
}

.gh-content .kg-bookmark-thumbnail {
    position: relative;
    flex: 0 0 32%;
    min-height: 140px;
}

.gh-content .kg-bookmark-thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

.gh-content .kg-embed-card iframe,
.gh-content .kg-video-card video {
    width: 100%;
    border-radius: var(--r-md);
}

.gh-content .kg-toggle-card {
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--card);
}

.gh-content .kg-toggle-heading-text {
    margin: 0;
    font-size: 17px;
}

/* --- in-post CTA and related posts ---------------------------------------- */

.post-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(100% - 2 * var(--gutter), 860px);
    margin: clamp(56px, 7vw, 88px) auto 0;
    padding: 28px 32px;
    border-radius: var(--r-xl);
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(135deg, #36b4ff 0%, #2f86ff 40%, var(--blue) 100%);
    box-shadow: 0 30px 60px -30px rgba(37, 99, 255, 0.65);
    color: #fff;
}

.post-cta .app-tile {
    flex: 0 0 auto;
}

.post-cta__body {
    flex: 1 1 auto;
}

.post-cta__title {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
}

.post-cta__text {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
}

.post-cta__button {
    flex: 0 0 auto;
}

.post-related {
    padding-bottom: clamp(32px, 4vw, 56px);
}

.post-related .section-head {
    margin-bottom: 36px;
}

/* --- contacts ------------------------------------------------------------- */

.contacts {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(24px, 4vw, 56px);
    width: min(100% - 2 * var(--gutter), 1080px);
    margin: clamp(48px, 6vw, 72px) auto clamp(48px, 6vw, 80px);
}

.contacts__aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prose--aside {
    width: auto;
    margin: 0;
    font-size: 17px;
}

.contacts__mail {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
    transition: border-color 0.15s ease;
}

.contacts__mail:hover {
    border-color: var(--line-strong);
}

.contacts__mail-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contacts__mail-label {
    color: var(--muted);
    font-size: 14px;
}

.contacts__mail-address {
    color: var(--blue);
    font-size: 17px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.contact-form-block {
    padding: clamp(24px, 3.4vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--card);
    box-shadow: var(--shadow-card);
}

.contact-form__title {
    margin: 0 0 24px;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.contact-form__status {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--r-sm);
    font-size: 15px;
    line-height: 1.45;
}

.contact-form__status--success {
    background: #eaf8f0;
    color: #145936;
}

.contact-form__status--error {
    background: #fff1ee;
    color: #8f2f2a;
}

.contact-form-block--success .contact-form__status {
    margin-bottom: 0;
}

.contact-form {
    display: grid;
    gap: 22px;
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__field {
    display: grid;
    gap: 8px;
}

.contact-form__label {
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}

.contact-form__control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--sheet);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.contact-form__control::placeholder {
    color: #a2a2aa;
}

.contact-form__control:focus {
    border-color: var(--blue);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 255, 0.14);
}

.contact-form__control--textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-form__checkbox {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--blue);
    cursor: pointer;
}

.contact-form__privacy-label {
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
}

.contact-form__privacy-label a {
    color: var(--blue);
}

.contact-form__privacy-label a:hover {
    text-decoration: underline;
}

.contact-form__captcha {
    min-height: 78px;
}

.contact-form__captcha.is-invalid {
    border-radius: var(--r-sm);
    box-shadow: 0 0 0 4px rgba(143, 47, 42, 0.12);
}

.contact-form__submit {
    justify-self: start;
}

/* --- pricing page --------------------------------------------------------- */

.section--plans {
    padding-top: clamp(80px, 9vw, 112px);
}

.pricing-compare__card {
    max-width: 880px;
    margin: 0 auto;
    padding: 8px 28px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--card);
    box-shadow: var(--shadow-card);
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: 15.5px;
}

.pricing-table__col {
    width: 22%;
}

.pricing-table thead th {
    padding: 22px 12px 18px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    text-align: center;
}

.pricing-table__pro {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.pricing-table tbody th,
.pricing-table tbody td {
    padding: 14px 12px;
    border-top: 1px solid var(--line);
}

.pricing-table tbody th[scope="row"] {
    color: var(--text);
    font-weight: 400;
    text-align: left;
}

.pricing-table tbody td {
    color: var(--ink);
    font-weight: 500;
    text-align: center;
}

.pricing-table__group th {
    padding-top: 28px !important;
    border-top: 0 !important;
    color: var(--muted) !important;
    font-size: 13px;
    font-weight: 500 !important;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
}

.pricing-table__yes::before,
.pricing-table__no::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.pricing-table__yes::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23e9efff'/%3E%3Cpath d='m7.5 12.5 3 3 6-6.5' fill='none' stroke='%232563ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pricing-table__no::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 12h8' stroke='%23b8b8c0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.cta-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: clamp(48px, 7vw, 88px) 24px;
    border-radius: var(--r-xl);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, #36b4ff 0%, #2f86ff 46%, var(--blue) 100%);
    box-shadow: 0 40px 80px -40px rgba(37, 99, 255, 0.6);
    color: #fff;
    text-align: center;
}

.cta-panel__title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cta-panel__text {
    max-width: 560px;
    text-wrap: balance;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
}

.cta-panel__tile {
    position: absolute;
}

.cta-panel__tile--a {
    top: 18%;
    left: 7%;
    rotate: -10deg;
}

.cta-panel__tile--b {
    right: 7%;
    bottom: 16%;
    rotate: 8deg;
}

/* --- footer --------------------------------------------------------------- */

.site-footer {
    padding: clamp(24px, 4vw, 48px) clamp(8px, 1.1vw, 16px) clamp(8px, 1.1vw, 16px);
}

.site-footer__panel {
    position: relative;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 6vw, 80px) 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background-color: var(--panel);
    background-image: var(--dots);
    background-size: var(--dots-size);
    overflow: hidden;
}

.site-footer__top {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    max-width: 700px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.site-footer__mark {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-tile);
}

.site-footer__mark .brand-mark {
    width: 22px;
    height: 22px;
}

.site-footer__statement {
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 3.3vw, 44px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.site-footer__statement-soft {
    display: block;
    color: var(--ink-soft);
}

.site-footer__nav {
    display: flex;
    gap: clamp(32px, 5vw, 72px);
    padding-top: 64px;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 15.5px;
    transition: color 0.15s ease;
}

.site-footer__links .icon {
    color: var(--ink-soft);
    transition: transform 0.15s ease, color 0.15s ease;
}

.site-footer__links a:hover {
    color: var(--blue);
}

.site-footer__links a:hover .icon {
    color: var(--blue);
    transform: translateX(3px);
}

.site-footer__tiles {
    position: relative;
    height: 300px;
    pointer-events: none;
}

.site-footer__tiles .tile {
    position: absolute;
}

.tile--f1 { left: 3%; top: 46%; rotate: -8deg; }
.tile--f2 { left: 17%; top: 10%; width: 96px; height: 96px; rotate: 10deg; }
.tile--f3 { left: 15%; top: 68%; rotate: 14deg; }
.tile--f4 { left: 33%; top: 52%; width: 92px; height: 92px; rotate: -6deg; }
.tile--f5 { left: 44%; top: 8%; rotate: 4deg; }
.tile--f6 { left: 53%; top: 62%; rotate: 9deg; }
.tile--f7 { left: 64%; top: 18%; rotate: -5deg; }
.tile--f8 { left: 80%; top: 6%; rotate: 12deg; }
.tile--f9 { left: 72%; top: 62%; rotate: -10deg; }
.tile--f10 { left: 90%; top: 50%; rotate: 6deg; }

.site-footer__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line-strong);
    color: var(--muted);
    font-size: 14px;
}

.site-footer__origin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-footer__origin .icon {
    width: 15px;
    height: 15px;
    color: #ec4b6c;
    fill: currentColor;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px) {
    .float {
        scale: 0.86;
    }

    .float--note { left: 1%; transform-origin: top left; }
    .float--plan { transform-origin: top right; }
    .float--board { left: 2%; transform-origin: bottom left; }
    .float--shelf { right: 2%; transform-origin: bottom right; }
}

@media (max-width: 1080px) {
    .hero {
        min-height: 0;
        padding-block: 300px 96px;
    }

    .float {
        scale: 0.74;
    }

    .float--board,
    .float--shelf {
        display: none;
    }

    .float--note { top: 40px; left: 4%; }
    .float--plan { top: 30px; right: -40px; }

    .bento-card--5,
    .bento-card--7 {
        grid-column: span 6;
    }

    .line-row--5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-top: 0;
    }

    .line-row--5 .line-row__cell {
        border-top: 1px solid var(--line);
    }

    .line-row--5 .line-row__cell:nth-child(3n + 1) {
        border-left-color: transparent;
    }

    .line-row--5 .line-row__cell::before {
        display: none;
    }

    .site-footer__tiles {
        height: 240px;
    }

    .showcase__tile--a {
        left: -12px;
    }

    .showcase__tile--b {
        right: -12px;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        flex-wrap: wrap;
        gap: 12px 16px;
        padding-block: 14px 10px;
    }

    .site-brand {
        order: 1;
    }

    .site-header__actions {
        order: 2;
        margin-left: auto;
    }

    .site-nav {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        margin-inline: -6px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .nav a {
        padding: 7px 12px;
        font-size: 15px;
        white-space: nowrap;
    }

    .line-row--3,
    .tpl-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .line-row--3 {
        border-top: 0;
    }

    .line-row--3 .line-row__cell {
        padding: 24px 4px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .line-row--3 .line-row__cell::before {
        display: none;
    }

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

    .bento-card--5,
    .bento-card--7 {
        grid-column: 1 / -1;
    }

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

    .uc-grid__cell:nth-child(4n + 1) {
        border-left-color: var(--line);
    }

    .uc-grid__cell:nth-child(2n + 1) {
        border-left-color: transparent;
    }

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

    .quote,
    .quote--wide {
        grid-column: auto;
    }

    .plans {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
        gap: 28px;
    }

    .plan--featured {
        margin-block: 0;
    }

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

    .faq__aside {
        position: static;
    }

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

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

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

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

    .site-footer__nav {
        padding-top: 0;
    }

    .post-cta {
        flex-wrap: wrap;
    }

    .post-cta__body {
        flex-basis: calc(100% - 100px);
    }
}

@media (max-width: 640px) {
    .site-shell {
        min-height: calc(100vh - 16px);
        margin: 8px;
        border-radius: 24px;
    }

    .site-header__login {
        display: none;
    }

    .site-header__cta {
        min-height: 40px;
        padding: 0 14px;
        font-size: 15px;
    }

    .site-brand svg {
        height: 22px;
    }

    .hero,
    .page-hero {
        border-radius: 22px;
    }

    .hero {
        padding: 186px 16px 64px;
    }

    .float {
        scale: 0.56;
    }

    .float--note { top: 22px; left: -6px; }
    .float--plan { top: 12px; right: -110px; }

    .float-note__under {
        display: none;
    }

    .hero .app-tile {
        width: 84px;
        height: 84px;
        margin-bottom: 28px;
        border-radius: 24px;
    }

    .hero__lede {
        margin-top: 20px;
    }

    .button--lg {
        min-height: 52px;
        padding: 0 26px;
    }

    .section-text {
        font-size: 16px;
    }

    .showcase {
        margin-inline: calc(-1 * var(--gutter) + 4px);
        border-radius: 22px;
    }

    .showcase__window {
        padding: 5px;
        border-radius: 14px;
    }

    .showcase__bar {
        height: 24px;
        margin-bottom: 5px;
    }

    .showcase__address {
        padding: 2px 10px;
        font-size: 11px;
    }

    .showcase .home-hero__video {
        border-radius: 9px;
    }

    .showcase__tile--a {
        top: auto;
        bottom: -26px;
        left: 10px;
        width: 72px;
        height: 72px;
        font-size: 19px;
    }

    .showcase__tile--b {
        top: -26px;
        right: 8px;
        width: 64px;
        height: 64px;
    }

    .demo-frame {
        margin-inline: calc(-1 * var(--gutter) + 4px);
        border-radius: 22px;
    }

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

    .tpl-card {
        padding: 22px;
    }

    .line-row--5 {
        grid-template-columns: minmax(0, 1fr);
    }

    .line-row--5 .line-row__cell {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 16px 4px;
        border-left: 0;
    }

    .steps__num {
        flex: 0 0 auto;
    }

    .bento-card__visual {
        min-height: 230px;
        padding-inline: 16px;
    }

    .mini-ai {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        width: min(100%, 300px);
    }

    .mini-vote__row .votes {
        flex-basis: 70px;
    }

    .mini-vote__row .votes img {
        width: 21px;
        height: 21px;
    }

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

    .uc-grid__cell {
        padding: 22px 4px;
        border-left: 0;
    }

    /* icon and title share a row, the text runs under both */
    .uc-grid__cell:not(.uc-grid__cell--cta),
    .line-row--3 .line-row__cell,
    .tpl-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 10px 14px;
    }

    .uc-grid__cell .line-row__text,
    .line-row--3 .line-row__text,
    .tpl-card__text {
        grid-column: 1 / -1;
    }

    .tpl-card .tile {
        width: 52px;
        height: 52px;
        margin: 0;
        border-radius: 15px;
    }

    .bento-card__body {
        text-align: left;
    }

    .bento-card__text {
        margin: 0;
    }

    .quotes {
        display: flex;
        gap: 12px;
        margin-inline: calc(-1 * var(--gutter));
        padding: 4px var(--gutter) 24px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .quotes::-webkit-scrollbar {
        display: none;
    }

    .quote,
    .quote--wide {
        flex: 0 0 84%;
        scroll-snap-align: start;
    }

    .uc-grid__cell--cta {
        padding-inline: 20px;
        border-radius: var(--r-md);
    }

    .quote {
        padding: 22px;
    }

    .quote blockquote {
        font-size: 19px;
    }

    .plan {
        padding: 28px 24px 30px;
    }

    .plan--featured {
        padding-block: 36px 38px;
    }

    .plan__bolt {
        top: -30px;
        right: -8px;
        width: 76px;
        height: 76px;
    }

    .plan__bolt img {
        width: 46px;
        height: 46px;
    }

    .plan__amount {
        font-size: 44px;
    }

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

    .guide--wide {
        grid-column: auto;
    }

    .guide {
        padding: 22px;
    }

    .post-list__link {
        flex-direction: column;
        gap: 4px;
    }

    .page-hero {
        padding: 88px 16px 56px;
    }

    .page-hero__tile {
        width: 60px;
        height: 60px;
        border-radius: 17px;
    }

    .page-hero__tile--a {
        top: 18px;
        left: 14px;
    }

    .page-hero__tile--b {
        top: 22px;
        right: 16px;
        bottom: auto;
    }

    .post-hero {
        padding-top: 120px;
    }

    .page-hero--error {
        padding-top: 104px;
    }

    .error-code .tile {
        width: 72px;
        height: 84px;
        font-size: 42px;
    }

    .post-hero__note {
        top: 14px;
        left: 10px;
        scale: 0.62;
        transform-origin: top left;
    }

    .post-hero__timer {
        top: 22px;
        right: 16px;
        width: 66px;
        height: 66px;
        font-size: 17px;
    }

    .post-hero__tile {
        display: none;
    }

    .cover-frame {
        padding: 6px;
        border-radius: 22px;
    }

    .cover-frame img {
        border-radius: 17px;
    }

    .gh-content {
        font-size: 17px;
    }

    .post-cta {
        padding: 24px;
    }

    .post-cta .app-tile {
        display: none;
    }

    .post-cta__body {
        flex-basis: 100%;
    }

    .post-cta__button {
        width: 100%;
    }

    .contact-form__submit {
        width: 100%;
    }

    .pricing-compare__card {
        padding: 4px 12px 10px;
    }

    .pricing-table {
        min-width: 0;
        font-size: 14px;
    }

    .pricing-table__col {
        width: 66px;
    }

    .pricing-table thead th {
        padding: 18px 4px 14px;
        font-size: 14px;
    }

    .pricing-table__pro {
        padding: 3px 10px;
        font-size: 12px;
    }

    .pricing-table tbody th,
    .pricing-table tbody td {
        padding: 12px 4px;
    }

    .pricing-table tbody td {
        font-size: 13px;
    }

    .cta-panel__tile {
        display: none;
    }

    .site-footer__panel {
        border-radius: 22px;
    }

    .site-footer__nav {
        flex-direction: column;
        gap: 14px;
    }

    .site-footer__tiles {
        height: 190px;
        margin-inline: -20px;
    }

    .site-footer__tiles .tile {
        scale: 0.72;
    }

    .tile--f1,
    .tile--f3,
    .tile--f6,
    .tile--f9 {
        display: none !important;
    }

    .tile--f2 { left: 2%; top: 12%; }
    .tile--f4 { left: 22%; top: 50%; }
    .tile--f5 { left: 42%; top: 6%; }
    .tile--f7 { left: 52%; top: 52%; }
    .tile--f8 { left: 76%; top: 2%; }
    .tile--f10 { left: 78%; top: 54%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation: none !important;
    }
}
