:root {
    --primary: #6B3EC4;
    --primary-light: #8E5BE1;
    --primary-light-opacity: #8E5BE155;
    --primary-dark: #4A2994;

    --secondary: #00C3FF;
    --secondary-light: #66DEFF;
    --secondary-dark: #009ACD;

    --background: #FBFCFD;
    --background-dark: #dcdfe3;
    --background-dark-opacity: #EDF0F4FE;
    --background-input: #dcdcf0;

    --accent: #E5238D;
    --accent-light: #F062B6;
    --accent-dark: #B7006A;

    --highlight: #00C3FF;
    --highlight-light: #66DEFF;
    --highlight-dark: #009ACD;

    --success: #08ca86;
    --warning: #FFD369;
    --error: #FF4C4C;
    --info: #00C3FF;

    --text: #2E2A33;
    --text-secondary: #56505F;
    --text-placeholder: #9A95A8;
    --text-neon: #56505F44;

    --border: #D1D5DB;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

:where(pre),
:where(dialog:modal) {
    all: revert;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: clamp(16px, 1.6vw, 20px);
    font-family: 'Inter', system-ui, sans-serif;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, pre, blockquote {
    display: block;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, pre, blockquote {
    margin: 0 0 1rem 0;
}

ol, ul, menu, summary {
    list-style: none;
}

ul, ol {
    padding-left: clamp(1rem, 2vw, 2rem);
    list-style: disc;
}

ol {
    counter-reset: revert;
}

li {
    margin-bottom: 0.5rem;
}

table {
    border-collapse: collapse;
}

img {
    max-inline-size: 100%;
    max-block-size: 100%;
}

input, textarea {
    user-select: auto;
}

textarea {
    white-space: revert;
}

meter {
    appearance: revert;
}

::placeholder {
    color: unset;
}

:where([hidden]) {
    display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
    user-select: auto;
}

:where([draggable="true"]) {
    -webkit-user-drag: element;
}

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

a, button {
    cursor: revert;
}

.layout {
    font-family: system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    padding: 12px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: var(--background);
    color: var(--text);
}

.layout__container {
    width: clamp(300px, 90%, 1200px);
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.layout__subcontainer {
    width: 100%;
}

.text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.9;
    max-width: 65ch;
    margin-bottom: 1rem;
}

.text--bold {
    font-weight: 600;
}
.text--strong {
    font-weight: bold;
}

.text--heading {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-wrap: balance;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

.text--h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
}
.text--h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.text--h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.text--h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
.text--h5 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}
.text--h6 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.media {
    display: block;
    max-width: 100%;
    height: auto;
}

.card {
    background: linear-gradient(
            to bottom,
            var(--background),
            var(--background),
            var(--background),
            var(--background-dark)
    );
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    box-shadow: 0 -8px 12px var(--shadow), 0 8px 12px var(--shadow);
    margin-bottom: 1rem;
}

.card--highlighted {
    box-shadow: 0 0 16px var(--highlight);
}

.list {
    padding-left: clamp(8px, 5vw, 24px);
}

.list__item {
    margin-bottom: 0.5rem;
}

.form__input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.u-hidden {
    display: none !important;
}

.layout__main {
    background: var(--background);
}

.layout__footer {
    background: linear-gradient(
            to bottom,
            var(--background),
            var(--background),
            var(--background-dark)
    );
}

.text--link {
    color: var(--accent);
    text-decoration: none;
}
.text--link:hover {
    color: var(--accent-light);
}

.text--heading-primary {
    color: var(--primary);
}

.button {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: var(--background);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
}

.button:active {
    background-color: var(--accent-dark);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-block: 4rem;
}

.hero__logo-img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.5rem;
}

.hero__summary {
    color: var(--text-secondary);
    max-width: 65ch;
}

.section-heading {
    position: relative;
    display: inline-block;
}

.card__media {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    box-shadow: 0 -1px 6px var(--shadow), 0 4px 8px var(--shadow);
    object-fit: contain;
}

.benefits {
    text-align: center;
    margin-block: 4rem;
}

.benefits__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
    max-width: 75rem;
    margin-inline: auto;
    padding-inline: 1rem;
    align-items: stretch;
}

.benefits__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 0.5rem;
    height: 100%;
}

.benefits__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefits__icon svg { width: 2rem; height: 2rem; }

.benefits__icon--menu        { background-color: rgba(142, 91, 225, 0.4); }
.benefits__icon--analytics   { background-color: rgba(0, 154, 205, 0.4); }
.benefits__icon--family      { background-color: rgba(255, 76, 76, 0.4); }
.benefits__icon--ingredients { background-color: rgba(255, 211, 105, 0.4); }
.benefits__icon--simulator   { background-color: rgba(102, 222, 255, 0.4); }
.benefits__icon--training    { background-color: rgba(240, 98, 182, 0.4); }

.benefits__icon--menu svg        { color: var(--primary-dark); }
.benefits__icon--analytics svg   { color: var(--highlight-dark); }
.benefits__icon--family svg      { color: var(--error); }
.benefits__icon--ingredients svg { color: var(--primary-dark); }
.benefits__icon--simulator svg   { color: var(--secondary-light); }
.benefits__icon--training svg    { color: var(--accent-dark); }

.benefits__title {
    margin: 1rem 0 0.75rem;
    min-height: 4.5rem;
    display: -webkit-box;
    line-height: 1.4;
}

.benefits__text {
    margin: 0;
    line-height: 1.9;
    text-align: center;
    text-wrap: balance;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block: 4rem;
}

.features-showcase .section-heading {
    display: block;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--primary), var(--highlight-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-showcase__list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-block: 4rem;
}

.cta__summary {
    color: var(--text-secondary);
    max-width: 65ch;
}

.plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-block: 4rem;
}

.plan__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 5rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 56.25rem;
}

.plan__feature {
    display: flex;
    align-items: center;
    gap: 0.5em;
    line-height: 1.6;
}

.site-footer {
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text);
    margin-top: 4rem;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.site-footer__link {
    color: var(--text);
    transition: color 0.2s ease;
}

.site-footer__link:hover {
    color: var(--primary);
}

@media (max-width: 64rem) {
    .benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .benefits__icon { width: 3.5rem; height: 3.5rem; }
    .benefits__icon svg { width: 2.5rem; height: 2.5rem; }
}

@media (max-width: 42.5rem) {
    .hero__logo-img { width: 6rem; height: 6rem; }
    .benefits__grid { grid-template-columns: 1fr; }
    .benefits__text { text-wrap: pretty; margin-inline: auto; }
    .plan__features {
        grid-template-columns: 1fr;
        align-content: flex-start;
        gap: 1.1rem;
        max-width: 100%;
    }
    .benefits__icon { width: 4rem; height: 4rem; }
    .benefits__icon svg { width: 2rem; height: 2rem; }
}