/* Chisto 360 — visual language, variant C */

:root {
    --teal-950: #07343C;
    --green-700: #0C9F6A;
    --green-400: #14E08A;
    --blue-500: #1A9FFF;
    --blue-200: #B3E5FF;
    --mint-100: #D4FBE9;

    --olive-950: #07343C;
    --olive-800: #0C9F6A;
    --olive-700: #0C9F6A;
    --olive-600: #1A9FFF;
    --olive-500: #1A9FFF;
    --olive-400: #14E08A;
    --olive-300: #14E08A;

    --paper: #F3FBFC;
    --paper-2: #D4FBE9;
    --fog: #D7EEF2;
    --mist: #B7D8DE;
    --white: #FFFFFF;
    --ink: #07343C;
    --ink-soft: #0C6B72;
    --text: #07343C;
    --text-soft: #4A7178;
    --text-mute: #7A9AA0;
    --border: #C5E0E6;
    --border-soft: rgba(7, 52, 60, 0.1);
    --accent: #14E08A;
    --accent-deep: #1A9FFF;
    --accent-hover: #0BCF7C;
    --cream-200: #D4FBE9;

    --font: "Manrope", system-ui, sans-serif;
    --w-thin: 200;
    --w-light: 300;
    --w-regular: 400;
    --w-medium: 500;
    --w-semibold: 600;
    --w-bold: 700;
    --w-black: 800;

    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 40px;
    --space-5: 64px;
    --space-6: 96px;
    --space-7: 144px;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-soft: 0 1px 2px rgba(7, 52, 60, 0.04), 0 16px 40px rgba(26, 159, 255, 0.08);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --container: 1160px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: var(--w-regular);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

button {
    cursor: pointer;
    border: 0;
    background: none;
}

.container {
    width: min(calc(100% - 24px), var(--container));
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--olive-600);
    font-size: 11px;
    font-weight: var(--w-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--accent);
}

.lead {
    max-width: 34em;
    color: var(--text-soft);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: var(--w-light);
    line-height: 1.55;
    letter-spacing: -0.02em;
}

h1,
h2,
h3,
h4 {
    font-weight: var(--w-light);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: var(--w-thin);
}

h2 {
    font-size: clamp(36px, 5vw, 64px);
}

h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: var(--w-medium);
    letter-spacing: -0.03em;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: var(--w-semibold);
    letter-spacing: -0.01em;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.button:active {
    transform: translateY(0);
}

.button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

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

.button-accent:hover {
    background: var(--accent-hover);
    color: var(--white);
}

.button-dark {
    color: var(--cream-200);
    background: var(--ink);
}

.button-dark:hover {
    background: var(--olive-800);
}

.button-ghost {
    color: var(--ink);
    border: 1px solid var(--border);
    background: transparent;
}

.button-ghost:hover {
    border-color: var(--ink);
    background: var(--white);
}

.button-large {
    min-height: 60px;
    padding: 0 32px;
    font-size: 15px;
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: var(--w-semibold);
    opacity: 0.8;
    transition: opacity 0.2s var(--ease);
}

.text-link:hover {
    opacity: 1;
}

.circle-button {
    display: grid;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--accent);
    place-items: center;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.circle-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.circle-button:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-1px);
}

.button:focus-visible,
.text-link:focus-visible,
.circle-button:focus-visible,
.input:focus-visible,
.product-price:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

/* Cards, tags, price */

.card {
    padding: 28px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: var(--paper-2);
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: var(--w-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tag-accent {
    color: var(--ink);
    background: var(--accent);
}

.product-price {
    display: inline-flex;
    align-items: baseline;
    margin-top: 18px;
    color: var(--ink);
}

.price-value {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.price-digits {
    font-size: 34px;
    font-weight: var(--w-thin);
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-digits i,
.price-digits b {
    font-style: normal;
    font-weight: inherit;
}

.price-currency {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: var(--w-semibold);
}

/* Forms */

.input,
.textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--ink);
    font-weight: var(--w-regular);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.textarea {
    min-height: 120px;
    padding: 16px 18px;
    resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
    color: var(--text-mute);
    font-weight: var(--w-light);
}

.input:focus,
.textarea:focus {
    border-color: var(--olive-700);
    box-shadow: 0 0 0 4px rgba(26, 159, 255, 0.28);
    outline: none;
}

.choice {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 108px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    outline: none;
}

.choice span {
    display: grid;
    gap: 4px;
}

.choice strong {
    font-size: 16px;
    font-weight: var(--w-medium);
    letter-spacing: -0.03em;
}

.choice small {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: var(--w-regular);
}

.choice i {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--mist);
    border-radius: 50%;
    background: var(--white);
    box-shadow: inset 0 0 0 3px var(--white);
}

.choice:hover {
    border-color: var(--olive-600);
}

.choice:has(input:checked),
.choice:has(input:checked):hover {
    border-color: transparent;
    background: #6EEFB3;
    box-shadow: none;
    outline: none;
}

.choice:has(input:checked) i {
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: none;
}

.choice:has(input:focus-visible):not(:has(input:checked)) {
    outline: 2px solid var(--accent-deep);
    outline-offset: 3px;
}

/* 360 mark */

.mark-360 {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 28px auto 0;
}

.mark-360 svg {
    width: 100%;
    height: 100%;
}

.orbit-ring {
    transform-origin: 110px 110px;
    animation: orbit 28s linear infinite;
}

.sweep {
    stroke: var(--accent);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-balls {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.flying-ball {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.55;
}

.flying-ball-one {
    top: 22%;
    left: -8%;
    animation: drift-one 9s var(--ease) infinite;
}

.flying-ball-two {
    top: 68%;
    right: -6%;
    width: 7px;
    height: 7px;
    background: var(--cream-200);
    animation: drift-two 11s var(--ease) infinite;
}

.flying-ball-three {
    top: 44%;
    left: 8%;
    width: 5px;
    height: 5px;
    background: var(--olive-600);
    opacity: 0.4;
    animation: drift-three 13s var(--ease) infinite;
}

@keyframes drift-one {
    0% { transform: translate(0, 0); }
    50% { transform: translate(118%, 18px); }
    100% { transform: translate(0, 0); }
}

@keyframes drift-two {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-110%, -24px); }
    100% { transform: translate(0, 0); }
}

@keyframes drift-three {
    0% { transform: translate(0, 0); }
    50% { transform: translate(70%, -12px); }
    100% { transform: translate(0, 0); }
}

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

    .orbit-ring,
    .flying-ball,
    .button,
    .circle-button {
        animation: none;
        transition: none;
    }
}
