/* ==========================================================================
   Tatsiana Rukhlenko landing page
   --------------------------------------------------------------------------
   The CSS is intentionally written without a framework so a beginner can
   inspect each layout decision directly in this file.
   ========================================================================== */

:root {
    /*
        Brand palette: beige background, two warm neutrals and one very light
        aqua for large surfaces, and two teal colors from the logo for small
        accents only. No purple. Text is the near-black of the logo letter.
    */
    --color-bg: #FFFDF3;
    --color-neutral: #FAF8EE;
    --color-sand: #F0ECDF;
    --color-mist: #F4FFFE;
    --color-aqua: #BCF7F3;
    --color-teal: #1D6964;
    --color-text: #14292A;
    --color-muted: #4D5E5E;
    --color-line: rgba(20, 41, 42, 0.12);
    --color-white: #FFFFFF;
    --color-deep: #1D6964;

    /* Reusable sizing values keep spacing consistent across the page. */
    --container: 1160px;
    --header-height: 76px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --shadow-soft: 0 18px 48px rgba(20, 41, 42, 0.12);
    --shadow-card: 0 10px 24px rgba(29, 105, 100, 0.08);
    --transition: 180ms ease;

    /*
        Philosopher is for normal text, Lora is for headings, and Dancing Script
        is only for the name in the header and the quotes. The other fonts
        are backups if a file does not load.
    */
    --font-main: "Philosopher", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-heading: "Lora", Georgia, "Times New Roman", serif;
    --font-script: "Dancing Script", "Segoe Script", "Snell Roundhand", cursive;
}

/*
    The font files are stored in this project, so browsers never contact Google
    Fonts or another font service. Their licenses are in the fonts folder.
    "swap" shows the text in a backup font until the file is ready.
*/
@font-face {
    font-family: "Lora";
    src: url("fonts/lora-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Dancing Script";
    src: url("fonts/dancing-script-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Philosopher has small letters, so size-adjust makes them easier to read. */
@font-face {
    font-family: "Philosopher";
    src: url("fonts/philosopher-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    size-adjust: 106%;
}

@font-face {
    font-family: "Philosopher";
    src: url("fonts/philosopher-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    size-adjust: 106%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.55;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
}

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

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 1000;
    transform: translateY(calc(-100% - 24px));
    border-radius: 999px;
    background: var(--color-deep);
    color: var(--color-white);
    padding: 10px 16px;
    text-decoration: none;
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

/* Header ------------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--color-line);
    background: rgba(255, 253, 243, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    width: min(var(--container), calc(100% - 36px));
    min-height: var(--header-height);
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--color-text);
    font-weight: 760;
    letter-spacing: 0;
    text-decoration: none;
}

.brand-mark {
    display: block;
    flex: none;
    width: 46px;
    height: 46px;
}

.brand-name {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transform-origin: left bottom;
    transition: color 260ms ease;
}

@keyframes brand-swish {
    0%   { transform: translateX(0) skewX(0); }
    35%  { transform: translateX(7px) skewX(-12deg); }
    65%  { transform: translateX(-2px) skewX(4deg); }
    85%  { transform: translateX(1px) skewX(-1deg); }
    100% { transform: translateX(0) skewX(0); }
}

/* Only the menu has the teal background (same as the buttons); the logo part
   keeps the page color. Menu links are white.
   On wide screens it is a rounded band next to the logo. */
.site-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    justify-self: end;
    border-radius: 999px;
    background: var(--color-teal);
    padding: 6px 6px 6px 24px;
}

.site-nav a {
    color: var(--color-white);
    font-size: 0.94rem;
    font-weight: 650;
    text-decoration: none;
    transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--color-aqua);
}

.site-nav .nav-cta {
    border: 1px solid var(--color-white);
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--color-white);
    color: var(--color-teal);
}

.language-switcher {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    padding: 4px;
}

.language-button {
    min-width: 40px;
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    font-weight: 760;
}

.language-button.is-active {
    background: var(--color-teal);
    color: var(--color-white);
}

/* Shared layout ----------------------------------------------------------- */

.section-panel,
.content-section,
.site-footer {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

.section-panel {
    border-radius: var(--radius-lg);
}

.content-section {
    padding: 98px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--color-teal);
    font-size: 0.92rem;
    font-weight: 820;
    letter-spacing: 0;
    text-transform: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/*
    Very long words wrap instead of being cut off. For a clean break, add a soft
    hyphen to the word (&shy; in HTML or its Unicode escape in script.js).
*/
h3,
h4 {
    overflow-wrap: break-word;
}

h1,
h2 {
    width: 100%;
    max-width: 820px;
    line-height: 1.18;
    letter-spacing: 0;
    overflow-wrap: break-word;
    text-wrap: balance;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.3rem, 4.3vw, 3.7rem);
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.12rem;
    line-height: 1.3;
}

p {
    color: var(--color-muted);
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 760;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    border: 1px solid var(--color-teal);
    background: var(--color-teal);
    color: var(--color-white);
    box-shadow: 0 14px 34px rgba(29, 105, 100, 0.22);
}

.button-secondary {
    border: 1px solid var(--color-line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-text);
}

/* Hero -------------------------------------------------------------------- */

/*
    No background (Tatsiana's choice). Text on the left; on the right the
    photo with a white frame and a soft shadow.
    The photo keeps its 2:3 shape, so the head and feet are never cropped.
*/
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 40px;
    padding: 48px 0 40px;
}

.hero-text {
    align-self: center;
    min-width: 0;
}

.hero-lead {
    max-width: 560px;
    margin: 20px 0 0;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

/* Three short facts with check marks (not pills, so they do not look like
   buttons). */
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 700;
}

/* The same check mark as in the benefits section, in a soft aqua circle. */
.hero-facts li::before {
    content: "";
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(188, 247, 243, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D6964' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* On narrow phones the facts sit one below another. */
@media (max-width: 480px) {
    .hero-facts {
        flex-direction: column;
    }
}

.hero-cta {
    margin-top: 30px;
}

.hero-media {
    position: relative;
    justify-self: center;
    /* 24px less than the column, so the thin line around the photo fits. */
    width: min(calc(100% - 24px), 380px);
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-sand);
    /* Like the other photos: a thin teal line at a small distance, no
       shadow. The shape stays an upright rectangle with equal corners. */
    outline: 2px solid var(--color-teal);
    outline-offset: 10px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablets: a little less space around everything. */
@media (max-width: 980px) {
    .hero {
        gap: 28px;
    }

    .hero-media {
        width: min(calc(100% - 24px), 300px);
    }
}

/* Phones: text first, then the photo. */
@media (max-width: 640px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px 0 24px;
    }

    .hero-text {
        padding: 24px 0 30px;
    }

    .hero-media {
        width: min(calc(100% - 20px), 280px);
        margin: 0 auto;
        outline-offset: 8px;
    }
}

/* Cards and process ------------------------------------------------------- */

.process-grid {
    display: grid;
    gap: 18px;
}

.process-step,
.legal-page-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.58);
    padding: 26px;
}

.process-step {
    transform-origin: center;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.process-step span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--color-aqua);
    color: var(--color-text);
    font-weight: 820;
}

/* The process reads as a sequence: teal step numbers sit on one thin teal
   line that runs down the left of the cards (see "The process" below). */
.process-grid {
    position: relative;
    gap: 24px;
}

.process-step {
    position: relative;
    background: var(--color-white);
}

.process-step:hover,
.process-step:focus-within {
    transform: translateY(-10px) scale(1.026);
    border-color: rgba(29, 105, 100, 0.25);
    background: var(--color-white);
    box-shadow: 0 18px 38px rgba(29, 105, 100, 0.14);
}

.process-step:active {
    transform: translateY(-4px) scale(1.012);
}

.process-step span {
    position: absolute;
    z-index: 1;
    top: -66px;
    left: 0;
    margin: 0;
    background: var(--color-teal);
    color: var(--color-white);
    box-shadow: 0 0 0 6px var(--color-bg);
}

.process-step p {
    margin-bottom: 0;
}

/* Services --------------------------------------------------------------- */

.section-heading-centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

/* Split and about sections ------------------------------------------------ */

.split-section,
.about-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding: 58px;
    background: var(--color-sand);
}

.about-section {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
    border: 1px solid var(--color-line);
    background: var(--color-white);
}

.split-media,
.about-media {
    overflow: hidden;
    justify-self: center;
    /* Same 2:3 shape as the photos, so hands and feet stay visible. */
    width: min(100%, 340px);
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.split-media img,
.about-media img {
    height: 100%;
    object-fit: cover;
}

.split-media img {
    object-position: 52% 45%;
}

.process-media img {
    transform: scale(1.12);
    transform-origin: 58% 42%;
}

.about-media img {
    object-position: 48% 48%;
}

.split-copy,
.about-copy {
    max-width: 580px;
    min-width: 0;
}

/* The About heading is a full sentence, so it is a bit smaller than other headings. */
.about-copy h2 {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    text-wrap: pretty;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--color-text);
    font-weight: 650;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.54em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-teal);
}

/* Qualifications in "About me": a soft box with a short list, each item with
   a small teal dot. Two columns where there is room. */
.qualifications {
    display: grid;
    gap: 12px;
    margin-top: 26px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.5);
    padding: 18px 20px;
}

.qualification-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.qualification-list li {
    position: relative;
    padding-left: 22px;
    color: var(--color-muted);
}

.qualification-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-teal);
}

@media (max-width: 480px) {
    .qualification-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Hover: the box lifts gently like the other cards. Each qualification
   under the mouse slides a little to the right, turns teal, and its dot
   grows. */
.qualifications,
.qualification-list li,
.qualification-list li::before {
    transition: transform 260ms ease, background-color 260ms ease,
        border-color 260ms ease, box-shadow 260ms ease, color 260ms ease;
}

@media (hover: hover) {
    .qualifications:hover {
        transform: translateY(-6px);
        border-color: rgba(29, 105, 100, 0.25);
        background: var(--color-white);
        box-shadow: 0 18px 38px rgba(29, 105, 100, 0.14);
    }

    .qualification-list li:hover {
        transform: translateX(4px);
        color: var(--color-teal);
    }

    .qualification-list li:hover::before {
        transform: scale(1.5);
    }
}

/* FAQ --------------------------------------------------------------------- */

.faq-section {
    max-width: 920px;
}

/* Only the small "FAQ" label, no heading, so the questions follow closely. */
.faq-section .section-heading {
    margin-bottom: 18px;
}

/* All questions in one white panel, separated by thin lines. */
.faq-list {
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    padding: 6px 36px;
}

.faq-item {
    border-bottom: 1px solid var(--color-line);
}

.faq-item:last-child {
    border-bottom: 0;
}

/* The question, with a round "+" button on the right instead of the
   browser's small triangle. */
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    padding: 24px 0;
    color: var(--color-text);
    font-size: 1.08rem;
    font-weight: 760;
    list-style: none;
    transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(188, 247, 243, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D6964' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
    transition: background-color var(--transition), transform 260ms ease;
}

.faq-item summary:hover {
    color: var(--color-teal);
}

.faq-item summary:hover::after {
    transform: rotate(90deg);
}

/* An open question: the button turns dark green and shows a "−". */
.faq-item[open] summary {
    color: var(--color-teal);
}

.faq-item[open] summary::after {
    background: var(--color-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
    transform: none;
}

.faq-item summary:focus-visible {
    outline: 3px solid rgba(29, 105, 100, 0.6);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.faq-item p {
    max-width: 680px;
    margin: 0;
    padding: 0 56px 26px 0;
}

@media (max-width: 640px) {
    .faq-list {
        padding: 2px 20px;
    }

    .faq-item summary {
        padding: 20px 0;
        font-size: 1rem;
    }

    .faq-item p {
        padding-right: 0;
    }
}

/* Consultation form ------------------------------------------------------- */

/* Direct contact in the footer: a small "Contact" label, then email and
   Instagram. */
.footer-contact-label {
    margin: 0 0 6px;
    color: var(--color-teal);
    font-size: 0.92rem;
    font-weight: 820;
}

.contact-list {
    display: grid;
    gap: 2px;
    margin-left: -8px;
}

/* Icon and value only: the logo already says what each link is. */
.contact-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 14px;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 820;
    letter-spacing: 0;
    padding: 4px 8px;
    text-decoration: none;
    transition: transform var(--transition), background-color var(--transition);
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    transform-origin: center;
    transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

/* Email: teal line icon in a round aqua circle, like the other round icons. */
.contact-icon-line {
    border-radius: 50%;
    background: var(--color-aqua);
    color: var(--color-teal);
}

.contact-icon-line svg,
.mobile-email-icon {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Instagram: the colorful app-style icon keeps its own colors. */
.contact-icon-instagram svg {
    display: block;
    width: 32px;
    height: 32px;
}

.mobile-email-icon {
    width: 18px;
    height: 18px;
}

.contact-row em {
    overflow-wrap: anywhere;
    color: var(--color-text);
    font-style: normal;
}

.contact-row:hover em,
.contact-row:focus-visible em {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.contact-row:hover,
.contact-row:focus-visible {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.4);
}

.contact-row:hover .contact-icon,
.contact-row:focus-visible .contact-icon {
    transform: scale(1.08) rotate(-4deg);
}

.contact-row:hover .contact-icon-line,
.contact-row:focus-visible .contact-icon-line {
    background: var(--color-teal);
    color: var(--color-white);
}

.language-button:focus-visible,
.button:focus-visible,
.booking-hide:focus-visible {
    outline: 3px solid rgba(29, 105, 100, 0.6);
    outline-offset: 3px;
}

/* Calendly booking -------------------------------------------------------- */

/* One green block: the heading and short text across the full width
   (Tatsiana's choice), the calendar box below. */
.booking-section {
    display: grid;
    gap: 28px;
    margin-top: 24px;
    /* Dark green block (Tatsiana's choice) with light text; the calendar
       box itself stays white. */
    background: var(--color-teal);
    color: rgba(255, 255, 255, 0.86);
    padding: 56px;
}

.booking-copy h2 {
    max-width: none;
    color: var(--color-white);
}

.booking-copy h2 {
    margin-bottom: 10px;
}

.booking-copy > p:not(.eyebrow) {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.86);
}

/* Before the click: a short note, the button, and a link to Calendly. */
.booking-consent {
    display: grid;
    justify-items: start;
    gap: 16px;
    max-width: 640px;
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-text);
    padding: 28px;
}

.booking-consent-text {
    margin: 0;
    font-size: 0.95rem;
}

.booking-consent-text a,
.booking-external {
    color: var(--color-teal);
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.booking-external {
    font-size: 0.95rem;
}

/* After the click: the calendar uses the full width of the section. */
.booking-embed.is-loaded {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-text);
}

/* Small link-style button below the calendar to withdraw the consent. */
.booking-hide {
    display: block;
    margin: 0 auto;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    padding: 12px 16px 16px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.booking-hide:hover,
.booking-hide:focus-visible {
    color: var(--color-teal);
}

@media (max-width: 640px) {
    .booking-section {
        padding: 24px;
    }

    .booking-consent {
        padding: 20px;
    }

    .booking-consent .button {
        width: 100%;
    }
}

/* Legal and footer -------------------------------------------------------- */

.legal-note {
    font-size: 0.92rem;
}

.legal-page-main {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: 78px 0 48px;
}

.legal-page-hero {
    max-width: 780px;
    padding: 72px 0 36px;
}

.legal-page-hero h1 {
    margin-bottom: 20px;
}

.legal-page-hero p:last-child {
    max-width: 680px;
}

/* The legal pages read like one calm document: a single panel with the
   sections stacked underneath each other, separated by thin lines. */
.legal-page-content {
    display: block;
    max-width: 860px;
    padding: 14px 48px;
}

.legal-page-card {
    border: 0;
    border-top: 1px solid var(--color-line);
    border-radius: 0;
    background: none;
    padding: 28px 0;
}

/* Line the text up with the page heading (also on tablets and phones). */
.legal-page-main .legal-page-content {
    margin: 0;
    padding: 0;
}

.legal-page-card:first-child {
    border-top: 0;
    padding-top: 8px;
}

.legal-page-card h2 {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
}

.legal-page-card p + p {
    margin-top: 12px;
}

.legal-page-card a {
    color: var(--color-text);
    font-weight: 760;
    overflow-wrap: anywhere;
}

.legal-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* Calm footer right under the booking block: name and tagline on the left,
   contact (email and Instagram) in the middle, legal links on the right.
   Stacks on phones. */
.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 24px 56px;
    align-items: start;
    margin-top: 32px;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: 0.92rem;
    padding: 28px 4px 36px;
}

.site-footer .footer-contact-label {
    margin: 0 0 6px;
}

.site-footer .contact-row {
    color: var(--color-text);
    font-size: 0.95rem;
    text-decoration: none;
}

.site-footer nav {
    padding-top: 2px;
}

@media (max-width: 760px) {
    .site-footer {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.site-footer strong {
    color: var(--color-text);
    font-size: 1rem;
}

.site-footer p {
    margin: 2px 0 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer a {
    color: var(--color-muted);
    font-weight: 650;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--color-teal);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Mobile conversion bar --------------------------------------------------- */

.mobile-conversion-bar {
    display: none;
}

/* Motion ------------------------------------------------------------------ */

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.is-visible {
    animation: reveal-up 600ms ease;
}

/*
    Content stays visible by default. JavaScript only adds this class when an
    element enters the viewport, so the animation is progressive enhancement.
*/
@keyframes reveal-up {
    from {
        opacity: 0.72;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
    Playful hover details. They only run on devices with a real mouse
    (hover: hover), so touch screens never get "stuck" in a hover state.
    The reduced-motion block below switches all of them off for visitors
    who asked their system for less motion.
*/

/* Photos zoom in a little inside their rounded frame. */
.hero-media img,
.split-media img,
.about-media img {
    transition: transform 700ms ease;
}

@media (hover: hover) {
    .hero-media:hover img,
    .split-media:hover img,
    .about-media:hover img {
        transform: scale(1.05);
    }

    .process-media:hover img {
        transform: scale(1.17);
    }

    /* The logo turns slightly, like a small wave hello. */
    .brand:hover .brand-mark {
        transform: rotate(-12deg) scale(1.08);
    }

    /* "Tatsi in motion" swishes forward, leans like it is moving,
       springs back, and turns teal. */
    .brand:hover .brand-name {
        color: var(--color-teal);
        animation: brand-swish 700ms ease-out;
    }

    .site-nav .nav-cta {
        transition: background-color var(--transition), color var(--transition), transform var(--transition);
    }

    .site-nav .nav-cta:hover {
        background: var(--color-aqua);
        color: var(--color-text);
        transform: scale(1.05);
    }

    /* Primary buttons grow slightly and their shadow gets deeper. */
    .button-primary:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 18px 38px rgba(29, 105, 100, 0.3);
    }

    /* Round icons and step numbers grow and tilt when their card is hovered. */
    .process-step:hover span {
        transform: scale(1.18) rotate(-8deg);
    }

    .process-step:hover span {
        background: var(--color-aqua);
        color: var(--color-text);
    }

    /* The dots in the check list pop one after another. */
    .split-copy:hover .check-list li::before {
        transform: scale(1.35);
    }

    .split-copy:hover .check-list li:nth-child(2)::before {
        transition-delay: 80ms;
    }

    .split-copy:hover .check-list li:nth-child(3)::before {
        transition-delay: 160ms;
    }
}

/* An aqua line grows under the menu links. */
@media (hover: hover) {
    .site-nav a:not(.nav-cta) {
        background: linear-gradient(var(--color-aqua), var(--color-aqua)) left bottom / 0 2px no-repeat;
        padding-bottom: 3px;
        transition: color var(--transition), background-size 260ms ease;
    }

    .site-nav a:not(.nav-cta):hover {
        background-size: 100% 2px;
    }
}

.brand-mark,
.process-step span,
.check-list li::before {
    transition: transform 260ms ease, background-color 260ms ease, color 260ms ease;
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
}

/* Responsive layout ------------------------------------------------------- */

@media (max-width: 980px) {
    /* The header gets two rows: logo and language on top, the menu below.
       --header-height is the height of both rows together. */
    :root {
        --header-height: 113px;
    }

    .site-header,
    .header-inner {
        min-height: 0;
    }

    .header-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 0 10px;
        justify-content: space-between;
        padding: 8px 0 0;
    }

    .brand {
        order: 1;
        margin-right: auto;
    }

    .language-switcher {
        order: 2;
    }

    .site-nav {
        order: 3;
        flex: 1 0 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 26px;
        margin-top: 6px;
        border-radius: 0;
        padding: 8px 0;
        /* Stretches the sand band to both edges of the screen. */
        box-shadow: 0 0 0 100vmax var(--color-teal);
        clip-path: inset(0 -100vmax);
    }

    .site-nav .nav-cta {
        padding: 6px 14px;
    }

    .split-section,
    .about-section,
    .legal-page-content {
        grid-template-columns: 1fr;
    }

    .split-media,
    .about-media {
        justify-self: center;
        width: min(100%, 320px);
    }

    .split-section,
    .about-section,
    .legal-page-content {
        padding: 34px;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 124px;
    }

    /* Phones: smaller menu text, so the five items fit in two short rows. */
    .header-inner {
        padding: 6px 0 0;
    }

    .site-nav {
        gap: 2px 16px;
        margin-top: 4px;
        padding: 6px 0;
    }

    .site-nav a {
        font-size: 0.88rem;
    }

    .site-nav .nav-cta {
        padding: 4px 12px;
    }

    body {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    body.booking-in-view {
        padding-bottom: 0;
    }

    .header-inner,
    .section-panel,
    .content-section,
    .legal-page-main,
    .site-footer {
        width: min(360px, calc(100% - 28px));
        margin-left: 14px;
        margin-right: auto;
    }

    .brand-name {
        /* Two lines on phones, so the name does not touch the DE/EN buttons. */
        max-width: 96px;
        font-size: 1.35rem;
        line-height: 1.05;
        white-space: normal;
    }

    h1 {
        font-size: clamp(1.65rem, 7.6vw, 2.05rem);
        line-height: 1.2;
    }

    h2 {
        font-size: clamp(1.5rem, 6.6vw, 2.2rem);
    }

    .language-button {
        min-width: 35px;
    }

    .content-section {
        padding: 72px 0;
    }

    .split-media,
    .about-media {
        width: min(100%, 280px);
    }

    .button {
        width: 100%;
    }

    .split-section,
    .about-section,
    .legal-page-content {
        padding: 24px;
    }

    .legal-page-main {
        padding-top: 34px;
    }

    .legal-page-hero {
        padding: 46px 0 24px;
    }

    .legal-page-nav {
        display: none;
    }

    .contact-row {
        gap: 10px;
        font-size: 0.95rem;
    }

    .mobile-conversion-bar {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 120;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        border-radius: 18px;
        background: rgba(255, 253, 243, 0.94);
        box-shadow: 0 12px 28px rgba(20, 41, 42, 0.18);
        padding: 10px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
        transform: translateY(0);
        transition: opacity var(--transition), transform var(--transition);
    }

    body.booking-in-view .mobile-conversion-bar {
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 18px));
    }

    .mobile-conversion-primary,
    .mobile-conversion-secondary {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-height: 48px;
        border-radius: 999px;
        font-weight: 820;
        line-height: 1;
        text-decoration: none;
        transition: transform var(--transition), background-color var(--transition);
    }

    .mobile-conversion-primary {
        background: var(--color-teal);
        color: var(--color-white);
        padding: 0 18px;
    }

    .mobile-conversion-secondary {
        gap: 6px;
        background: var(--color-aqua);
        color: var(--color-text);
        padding: 0 14px;
    }

    .mobile-conversion-primary:active,
    .mobile-conversion-secondary:active {
        transform: translateY(1px) scale(0.99);
    }
}

/* About layout: the small round portrait sits beside the text --------------- */

.about-section {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

/* Tablets: text on the left, portrait on the right. */
@media (max-width: 980px) {
    .about-section {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 28px;
    }
}

/* Phones and small tablets: the portrait sits on the right, next to the label
   and the heading. The paragraphs below use the full width. "display:
   contents" lets the text parts take part in the section grid directly. */
@media (max-width: 760px) {
    .about-section {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "eyebrow photo"
            "title photo"
            "text text";
        column-gap: 20px;
        row-gap: 0;
    }

    .about-copy {
        display: contents;
    }

    .about-copy > .eyebrow {
        grid-area: eyebrow;
        align-self: end;
    }

    .about-copy > h2 {
        grid-area: title;
    }

    .about-copy > :not(.eyebrow):not(h2) {
        grid-column: 1 / -1;
    }

    .about-media {
        grid-area: photo;
        align-self: center;
    }
}

/* The process: the four steps stand under each other on every screen
   (Tatsiana's choice), with the stone-wall photo on the right. The numbers
   sit on a line that runs down the left side, next to their cards. */
.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 384px;
    gap: 56px;
    align-items: center;
}

.process-grid {
    grid-template-columns: 1fr;
    padding-top: 0;
    padding-left: 62px;
}

.process-step span {
    top: 22px;
    left: -62px;
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 64px;
    bottom: -46px;
    left: -42px;
    width: 2px;
    border-radius: 2px;
    background: var(--color-teal);
}

/* Tablets and phones: the steps use the full width and the photo goes below
   them, centred. Next to the photo the cards became too narrow. */
@media (max-width: 980px) {
    .process-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .process-media {
        justify-self: center;
    }
}

/* Photo styles --------------------------------------------------------------
   All large photos share one frame: two opposite corners strongly rounded,
   two slightly, and a thin teal line around the photo at a small distance.
   The frames keep the 2:3 shape of the photos, so heads, hands and feet are
   never cropped. The sizes differ, so the page does not feel repetitive.
   The about photo is the exception: a round portrait of the face. The hero
   photo has the same line, styled in the Hero section above. */

.process-media {
    border-radius: 140px 18px 140px 18px;
    outline: 2px solid var(--color-teal);
    outline-offset: 10px;
    box-shadow: none;
}

.process-media {
    width: min(calc(100% - 24px), 360px);
}

/* About: a round portrait. The photo is enlarged inside the circle, so the
   face and shoulders fill it. */
.about-media {
    justify-self: center;
    width: 180px;
    margin: 10px 10px 0;
    aspect-ratio: auto;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
}

.about-portrait {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    outline: 2px solid var(--color-teal);
    outline-offset: 10px;
    background: var(--color-sand);
}

.about-portrait img {
    position: absolute;
    top: -80%;
    left: -100%;
    width: 300%;
    max-width: none;
    height: auto;
    object-fit: fill;
}

/* Tablets: all photos a little smaller, still in different sizes. */
@media (max-width: 980px) {
    .process-media {
        width: min(calc(100% - 24px), 320px);
    }

    .about-media {
        width: 150px;
    }
}

/* Phones: slightly smaller corners and frame distance. */
@media (max-width: 640px) {
    .process-media {
        outline-offset: 8px;
    }

    .process-media {
        border-radius: 110px 16px 110px 16px;
    }

    .process-media {
        width: min(calc(100% - 20px), 290px);
    }

    .about-media {
        width: 110px;
        margin: 8px 8px 0;
    }

    .about-portrait {
        outline-offset: 6px;
    }
}

/* ==========================================================================
   Sections from the business coach's feedback
   Order after the hero: "Sound familiar?" (#for-you), every starting point
   (#start), everyday life (#everyday), the whole concept (#services), the
   process, about, FAQ, booking. A booking button follows each larger section.
   ========================================================================== */

/* Buttons can be long ("Kostenloses Kennenlerngespräch buchen"), so their
   text may wrap onto a second line on small phones. */
.button {
    line-height: 1.25;
}

/* The centred booking button under a section. */
.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

/* The answer to the situations: centred, in the script font. */
.pain-closing {
    max-width: 720px;
    margin: 44px auto 0;
    color: var(--color-teal);
    font-family: var(--font-script);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
}

.pain-closing + .section-cta {
    margin-top: 28px;
}

/* "Sound familiar?": before and after. On the left a sand card "Today" with
   the visitor's situations, a teal arrow, and on the right a light aqua card
   "With me by your side" whose benefits sit in single white boxes. */
.pain-section {
    padding-top: 72px;
}

.pain-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    align-items: stretch;
}

.pain-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-line);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    padding: clamp(26px, 3.5vw, 40px);
}

.pain-card-vision {
    border: 2px solid var(--color-teal);
    background: rgba(188, 247, 243, 0.22);
    box-shadow: none;
}

/* Small pill labels "Heute" and "Mit mir an deiner Seite". */
.pain-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--color-sand);
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.3;
}

.pain-card-vision .pain-label {
    background: var(--color-teal);
    color: var(--color-white);
}

/* Teal circle with a white arrow between the two cards. */
.pain-arrow {
    position: relative;
    align-self: center;
    justify-self: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-teal);
    box-shadow: var(--shadow-card);
}

.pain-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 13px;
    border: solid var(--color-white);
    border-width: 2.5px 2.5px 0 0;
    transform: translate(-70%, -50%) rotate(45deg);
}

.pain-list,
.vision-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Situations: muted text, separated by dashed lines. */
.pain-list li {
    padding: 14px 0;
    border-bottom: 1px dashed rgba(20, 41, 42, 0.16);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.45;
}

.pain-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

/* What changes: single white boxes with a teal check mark in an aqua circle. */
.vision-list {
    gap: 12px;
}

.vision-list li {
    position: relative;
    padding: 14px 18px 14px 58px;
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.4;
}

.vision-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    background: rgba(188, 247, 243, 0.8);
}

.vision-list li::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 27px;
    width: 6px;
    height: 12px;
    margin-top: -8px;
    border: solid var(--color-teal);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* Every starting point: photo on the left, three questions and the answer. */
.start-section {
    display: grid;
    grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    border: 1px solid var(--color-line);
    background: var(--color-neutral);
    padding: clamp(28px, 5vw, 58px);
}

.start-media {
    justify-self: center;
    width: min(calc(100% - 24px), 320px);
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 18px 140px 18px 140px;
    outline: 2px solid var(--color-teal);
    outline-offset: 10px;
}

.start-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.start-copy {
    min-width: 0;
}

.start-list {
    display: grid;
    gap: 12px;
    margin: 8px 0 24px;
    padding: 0;
    list-style: none;
}

.start-list li {
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    padding: 16px 20px;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    transition: transform 260ms ease, box-shadow 260ms ease;
}

/* The answer reads like a personal promise, so it uses the script font. */
.start-answer {
    margin-bottom: 26px;
    color: var(--color-teal);
    font-family: var(--font-script);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.2;
}

/* Everyday life: centred heading, three advantages as cards side by side
   (icon on top), then the note, Tatsiana's personal note and the button.
   No photo (Tatsiana's choice; the handstand photo moved to #start). */
.everyday-copy {
    display: grid;
    justify-items: center;
    text-align: center;
}

.everyday-copy h2 {
    max-width: 20ch;
    margin: 0 auto 36px;
    text-wrap: balance;
}

.everyday-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.everyday-item {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 16px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    padding: 32px 26px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.everyday-item h3 {
    margin-bottom: 6px;
}

.everyday-item p {
    margin: 0;
}

.everyday-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-teal);
    color: var(--color-white);
}

.everyday-icon svg {
    width: 26px;
    height: 26px;
}

.everyday-note {
    max-width: 680px;
    margin-bottom: 20px;
    color: var(--color-text);
    font-size: 1.15rem;
    font-weight: 700;
    text-wrap: balance;
}

/* Tatsiana's own experience, as a soft aqua quote card. */
.everyday-personal {
    margin-bottom: 30px;
    border: 1px solid rgba(29, 105, 100, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(188, 247, 243, 0.22);
    padding: 22px 30px;
    color: var(--color-teal);
    font-size: 1.08rem;
    font-style: italic;
}

/* The whole concept: a round graphic with "you" in the middle and the five
   building blocks around it, next to a short list (heading + one sentence). */
.concept-section {
    border: 1px solid var(--color-line);
    background: var(--color-neutral);
    padding: clamp(28px, 5vw, 64px);
}

.concept-section .section-heading p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.concept-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.concept-wheel {
    position: relative;
    justify-self: center;
    width: min(100%, 440px);
    aspect-ratio: 1;
}

/* The dashed circle that connects the five blocks. */
.concept-wheel::before {
    content: "";
    position: absolute;
    inset: 12%;
    border: 2px dashed rgba(29, 105, 100, 0.35);
    border-radius: 50%;
}

.concept-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-content: center;
    width: 36%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--color-teal);
    box-shadow: 0 0 0 10px rgba(188, 247, 243, 0.6);
    color: var(--color-white);
    text-align: center;
    transform: translate(-50%, -50%);
}

.concept-hub strong {
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    line-height: 1;
}

.concept-hub span {
    font-size: clamp(0.72rem, 1.8vw, 0.95rem);
    font-weight: 700;
}

/* Each block sits on the dashed circle (radius 38% of the graphic). */
.concept-node {
    position: absolute;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 4px;
    width: 27%;
    aspect-ratio: 1;
    border: 2px solid var(--color-teal);
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    color: var(--color-teal);
    text-align: center;
    transform: translate(-50%, -50%);
    transition: transform 260ms ease, background-color 260ms ease, color 260ms ease;
}

.concept-node svg {
    width: clamp(20px, 4.5vw, 28px);
    height: clamp(20px, 4.5vw, 28px);
}

.concept-node span {
    padding: 0 4px;
    color: var(--color-text);
    font-size: clamp(0.66rem, 1.6vw, 0.86rem);
    font-weight: 800;
    line-height: 1.1;
    transition: color 260ms ease;
}

.concept-node-1 { top: 12%; left: 50%; }
.concept-node-2 { top: 38.3%; left: 86.1%; }
.concept-node-3 { top: 80.7%; left: 72.3%; }
.concept-node-4 { top: 80.7%; left: 27.7%; }
.concept-node-5 { top: 38.3%; left: 13.9%; }

.concept-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.concept-list li {
    border-left: 4px solid var(--color-teal);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    padding: 18px 22px;
}

.concept-list h3 {
    margin-bottom: 4px;
}

.concept-list p {
    margin: 0;
}

/* About: the short story ends with one bold sentence and a booking button. */
.about-closing {
    color: var(--color-text);
    font-weight: 700;
}

.about-copy > .button {
    margin-top: 26px;
}

/* Hover effects for the new sections (only with a mouse). */
@media (hover: hover) {
    .start-media:hover img {
        transform: scale(1.05);
    }

    .start-list li:hover {
        transform: translateX(6px);
        box-shadow: 0 14px 28px rgba(29, 105, 100, 0.12);
    }

    .everyday-item:hover {
        transform: translateY(-4px);
        border-color: rgba(29, 105, 100, 0.25);
        box-shadow: 0 14px 28px rgba(29, 105, 100, 0.12);
    }

    /* A circle and its block turn teal together (script.js sets .is-active
       on both when the mouse points at either of them). */
    .concept-node.is-active {
        transform: translate(-50%, -50%) scale(1.08);
        background: var(--color-teal);
        color: var(--color-white);
    }

    .concept-node.is-active span,
    .concept-list li.is-active h3,
    .concept-list li.is-active p {
        color: var(--color-white);
    }

    .concept-list li.is-active {
        border-left-color: var(--color-aqua);
        background: var(--color-teal);
        transform: translateX(6px);
        box-shadow: 0 14px 28px rgba(29, 105, 100, 0.2);
    }

    /* "Sound familiar?": a situation slides right and turns teal; a benefit
       box turns teal with white text, like the concept list. */
    .pain-list li:hover {
        color: var(--color-teal);
        transform: translateX(6px);
    }

    .vision-list li:hover {
        background: var(--color-teal);
        color: var(--color-white);
        transform: translateX(6px);
        box-shadow: 0 14px 28px rgba(29, 105, 100, 0.2);
    }
}

.pain-list li {
    transition: color 260ms ease, transform 260ms ease;
}

.vision-list li {
    transition: transform 260ms ease, background-color 260ms ease, color 260ms ease, box-shadow 260ms ease;
}

.concept-list li {
    transition: transform 260ms ease, background-color 260ms ease, box-shadow 260ms ease;
}

.concept-list h3,
.concept-list p {
    transition: color 260ms ease;
}

/* Tablets: one column; the concept graphic goes above the list. */
@media (max-width: 980px) {
    .concept-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .concept-wheel {
        width: min(100%, 380px);
    }
}

@media (max-width: 860px) {
    .everyday-list {
        grid-template-columns: minmax(0, 1fr);
    }

    /* One below another: icon on the left again, to keep the cards short. */
    .everyday-item {
        grid-template-columns: 52px minmax(0, 1fr);
        justify-items: stretch;
        text-align: left;
        padding: 22px;
    }

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

    .pain-arrow {
        margin: 14px 0;
        transform: rotate(90deg);
    }
}

@media (max-width: 760px) {
    .start-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        padding: 24px;
    }

    .start-media {
        width: min(calc(100% - 24px), 240px);
        border-radius: 14px 100px 14px 100px;
    }
}

@media (max-width: 640px) {
    .pain-section {
        padding-top: 48px;
    }

    .section-cta {
        margin-top: 32px;
    }

    .concept-section {
        padding: 24px;
    }

    .everyday-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .everyday-icon {
        width: 42px;
        height: 42px;
    }

    .everyday-icon svg {
        width: 20px;
        height: 20px;
    }

}

/* A look inside the app: three real screenshots in simple phone frames
   (dark bezel, rounded corners, small speaker notch). The middle phone is a
   little larger. Phones: the three sit in a row you can swipe sideways. */
.app-preview {
    margin-top: clamp(48px, 7vw, 80px);
    text-align: center;
}

.app-preview-title {
    margin-bottom: 32px;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.app-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
}

.app-phone {
    --phone-w: 168px;
    flex: 0 0 auto;
    width: var(--phone-w);
    margin: 0;
}

.app-phone-main {
    --phone-w: 192px;
}

/* Phone body: black bezel, thin metal rim and a soft drop shadow. */
.phone-frame {
    position: relative;
    padding: 7px;
    border-radius: 30px;
    background: #0E1112;
    box-shadow:
        0 0 0 2px #4A5356,
        0 0 0 3px #1C2224,
        0 22px 40px rgba(20, 41, 42, 0.22);
    transition: transform 320ms ease, box-shadow 320ms ease;
}

/* Camera island at the top of the screen. */
.phone-frame::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    z-index: 1;
    width: 30%;
    height: 11px;
    border-radius: 999px;
    background: #0E1112;
    transform: translateX(-50%);
}

/* Side buttons: two volume keys on the left, power key on the right. */
.phone-frame::after {
    content: "";
    position: absolute;
    top: 24%;
    left: -5px;
    width: 3px;
    height: 26px;
    border-radius: 2px 0 0 2px;
    background: #4A5356;
    box-shadow:
        0 36px 0 #4A5356,
        calc(var(--phone-w) + 7px) 14px 0 #4A5356;
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 923 / 2000;
    object-fit: cover;
    border-radius: 23px;
}

.app-phone figcaption {
    margin-top: 16px;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.35;
}

@media (hover: hover) {
    .app-phone:hover .phone-frame {
        transform: translateY(-6px);
        box-shadow:
            0 0 0 2px #4A5356,
            0 0 0 3px #1C2224,
            0 30px 50px rgba(20, 41, 42, 0.28);
    }
}

@media (max-width: 760px) {
    .app-phones {
        justify-content: flex-start;
        align-items: flex-start;
        overflow-x: auto;
        margin: 0 -24px;
        padding: 12px 32px 24px;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 24px;
    }

    .app-phone,
    .app-phone-main {
        --phone-w: 170px;
        scroll-snap-align: center;
    }
}