:root {
    --ui-bg: #f8f8f8;
    --ui-fg: #222222;
    --ui-accent: #146ef5;

    --max-width: 1280px;

    --ui-radius: 12px;
}

:target {
    scroll-margin-block-start: 2em;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media screen and (prefers-reduced-motion: reduce), (update: slow) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

* {
    box-sizing: border-box;
}

body {
    background-color: #f1f1f1;
    font-family: "TikTok Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--ui-fg);
    background-color: var(--ui-bg);
    overflow-x: hidden;
    margin: 0;
}
h1 {
    font-size: 44px;
}

a {
    color: #146ef5;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
}
a:hover {
    text-decoration-color: color-mix(in srgb, currentColor 10%, transparent);
}

b,
strong {
    font-weight: 600;
}

.ui-accent {
    color: var(--ui-accent);
}
code {
    font-family: "JetBrains Mono", monospace;
}

.ui-buttons {
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    margin: 2em 0;
    flex-wrap: wrap;
}
.ui-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.334em;

    background-color: #ffffff;
    border: 1px solid #ced6e0;
    border-radius: 6px;
    padding: 1em 2em;
    text-decoration: none;
    font-size: 15px;
    flex-grow: 1;
    text-align: center;
    color: #2f3542;
}
.ui-button:hover {
    border-color: #a4b0be;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2em;
}
.grid.grid-1 {
    grid-template-columns: repeat(1, 1fr);
}
.grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .grid,
    .grid.grid-2,
    .grid.grid-3,
    .grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .grid,
    .grid.grid-2,
    .grid.grid-3,
    .grid.grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}

.grid-item {
    padding: 2rem;
    height: auto;
    border-radius: 12px;
    background: #ffffff;
    transition: transform 0.3s ease;

    box-shadow: 0 1px 1px hsl(0deg 0% 0% / 0.015),
        0 2px 2px hsl(0deg 0% 0% / 0.015), 0 4px 4px hsl(0deg 0% 0% / 0.015),
        0 8px 8px hsl(0deg 0% 0% / 0.015), 0 16px 16px hsl(0deg 0% 0% / 0.015);
}
.grid-item:hover {
    transform: translateY(-5px);
}

.home .grid-item {
    height: fit-content;
}

.home .grid-item:nth-child(1) {
    margin-top: 2em;
}
.home .grid-item:nth-child(2) {
    margin-top: 4em;
}
.home .grid-item:nth-child(3) {
    margin-top: 6em;
}
.home .grid-item:nth-child(4) {
    margin-top: 8em;
    margin-bottom: 2em;
}

.grid.grid-cards {
    margin-top: 2em;
}
.grid.grid-cards .grid-item {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.grid.grid-cards .ai-icons {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 24px;
}
.grid.grid-cards .grid-item a.btn {
    width: fit-content;
    font-size: 15px;
    padding: 10px 20px;
}
.grid.grid-cards .grid-item hr {
    border-top: rgba(0, 0, 0, 0.1);
    margin-left: -2rem;
    margin-right: -2rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .home .grid-item:nth-child(1),
    .home .grid-item:nth-child(2),
    .home .grid-item:nth-child(3),
    .home .grid-item:nth-child(4) {
        margin-top: 0;
    }
}

.grid-item h2 {
    font-size: 1.5rem;
    color: var(--ui-fg);
    margin-top: 1em;
    margin-bottom: 1rem;
}

.grid-item p {
    color: #666;
    line-height: 1.6;
}

.mdlui-block-line {
    display: flex;
    padding: 0 0;
    justify-content: start;
}
.wp-block-mdlui-block-line-colored-line.is-style-striped
    .mdlui-block-line--inner,
.wp-block-mdlui-block-line-colored-line.is-style-striped div div {
    background-color: transparent;
    color: #95afc0;
    width: 48px;
    height: 10px;

    background-image: linear-gradient(
        -45deg,
        transparent 22.5%,
        currentColor 22.5%,
        currentColor 27.5%,
        transparent 27.5%,
        transparent 47.5%,
        currentColor 47.5%,
        currentColor 52.5%,
        transparent 52.5%,
        transparent 72.5%,
        currentColor 72.5%,
        currentColor 77.5%,
        transparent 77.5%,
        transparent
    );
    background-position: 0.3rem 0;
    background-size: 1rem 1rem;
    border: none;
    image-rendering: pixelated;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.hero {
    padding: 36px 0 120px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}
.hero-content {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(32px, 8vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1em;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    text-shadow: 0 1px 0 #ffffff, 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-weight: 600;
    color: #666;
}

.hero-boilerplate {
    background-color: #ffffff;
    color: #000000;
    padding: 0.5em 1.5em;
    border-radius: 48px;
    font-size: 15px;
    line-height: 1;
    margin: 0 auto 1em auto;
    width: fit-content;
}

.hero-description {
    font-size: 20px;
    color: #666;
    margin-bottom: 2em;
    line-height: 1.5;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description em {
    font-style: normal;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='12 38 269 90'%3E%3Cpath fill='%23ffe000' d='m12 48 1 9c3 6 13 0 20 6l-11 2c-4 3-1 11 0 15v6l18 1-1 6c-1 2-4 2-6 3-5 3-6 6-6 11l3 16c2 3 10 5 13 5h44c1-6 4-6 10-6l12 1h19l54-1c13 0 6-3 19-3h42l15-1c2-9 8-5 12-9 3-2 2-8 2-11l8-1-1-11c-3-7-14-9-21-10 7-7 18-3 17-14l-3-5c10-3 9-3 9-13l-23-2c-8-1-7-4-23-4l-46 1-12 1-18-2h-31c-11 0-8 1-15 3l-16 1-10 2-30 1-25 3H12Z'/%3E%3C/svg%3E");

    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-pricing {
    margin: 2em auto;
    text-align: center;
    font-style: italic;
    font-size: 14px;
    font-family: "Figtree";
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ui--accent-block {
    display: flex;
    align-items: center;
    gap: 0.3343em;

    background-color: #ffffff;
    color: #000000;
    padding: 0.5em 1em;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 48px;
    font-size: 13px;
    line-height: 1;
    margin: 0 auto 2em auto;
    width: fit-content;
}

.btn-primary,
.btn-secondary {
    font-family: inherit;
    font-family: "Figtree";
    font-weight: 300;
    font-size: 18px;

    padding: 16px 32px;
    border: none;
    border-radius: var(--ui-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;

    white-space: nowrap;

    transform: translateY(-2px);
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.15), 0 2px 12px rgba(0, 0, 0, 0.15);
}
.btn-primary {
    color: white;

    background: radial-gradient(
        circle at 50% 0%,
        rgb(67, 54, 74) 16.4%,
        rgb(47, 48, 67) 68.2%,
        rgb(27, 23, 36) 99.1%
    );
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-secondary {
    background: white;
    color: #1a1a1a;
    border: 1px solid #ddd;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(0);
    box-shadow: none;
}

.statement {
    padding: 48px 0;
    background: white;
}
.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto !important;
}
.statement-text {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}
.statement-text em {
    font-style: italic;
    color: #666;
}

.about {
    padding: 48px 0;
}
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.about-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 32px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}
.about-description {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.mockup-container p {
    font-size: 32px;
    text-align: center;
    font-weight: 300;
    color: #666;
}
.mockup-container p b,
.mockup-container p strong {
    font-weight: 600;
}

.ui-partner {
    background-color: #feca01;
    color: #000000;
    padding: 0.5em 1em;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 48px;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    font-family: "JetBrains Mono";
    font-weight: 500;
}

.footer {
    padding: 80px 0 32px;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 48px;
}
.footer-logo {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}
.footer-tagline {
    color: #666;
    font-size: 14px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 32px;
    text-align: center;
}
.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-column a {
    display: block;
    color: #666;
    margin-bottom: 8px;
}
.footer-bottom p {
    color: #999;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2em;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/**
 * Navigation
 */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.334em;

    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.nav-brand a,
.nav-brand a:hover {
    color: #1a1a1a;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 24px;
}

.mobile-menu {
    display: none;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #1a1a1a;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.active {
        display: flex;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

/**
 * Plans
 */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 50px auto;
}
@media (max-width: 768px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

.plan {
    display: flex;
    flex-direction: column;
    margin: 2em 0;
    padding: 2em;
    text-align: center;
    background: white;
    border: 1px solid hsl(0deg 0% 0% / 0.15);
    border-radius: var(--ui-radius);

    box-shadow: 0 1px 1px hsl(0deg 0% 0% / 0.015),
        0 2px 2px hsl(0deg 0% 0% / 0.015), 0 4px 4px hsl(0deg 0% 0% / 0.015),
        0 8px 8px hsl(0deg 0% 0% / 0.015), 0 16px 16px hsl(0deg 0% 0% / 0.015);

    transition: border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    &:hover {
        border-color: hsl(0deg 0% 0% / 0.35);
    }
}

.plan-title {
    margin-bottom: 12px;
    font-size: 24px;
    color: var(--ui-accent);
}

.plan-price {
    margin-bottom: 20px;
    line-height: 1;
    font-size: 36px;
    font-weight: 700;
}

.plan-unit {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    font-weight: normal;
    color: #666666;
}

.plan-features {
    margin: 2em 2em;
    padding: 1em 0 0 1em;
    border-top: 1px solid #e5ded6;
    text-align: left;
}

.plan-feature-name {
    font-size: 15px;
    font-weight: normal;
    color: #666666;
}

.plan-button {
    margin: auto auto 0 auto;
    background-color: #feca01;
    color: #000000;
    padding: 0.667em 2em;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 48px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;

    &:active {
    }
}

.plan-highlight {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 15px;
    padding-right: 15px;
    border: 4px solid var(--ui-accent);

    .plan-button {
        font-size: 18px;
        color: #ffffff;
        background: var(--ui-accent);
    }
}

.plan-recommended {
    transform: translateY(-1em);
    font-weight: 700;
    color: white !important;
    background: var(--ui-accent) !important;
}
