/* Avela: warm, feminine, natural, calm. Ivory, olive ink, blush, sage.
   Light theme only, hairlines instead of heavy shadows (see the Avela design system). */
:root {
    --bg: #f7f2ec;
    --card: #fffdf9;
    --card-border: #ece4d9;
    --ink: #30352a;
    --secondary: #73766a;
    --tertiary: #a5a69c;
    --logo-ink: #34420f;
    --forest: #2e3a1f;
    --green-leaf: #6b7f2e;
    --rose-text: #b4506d;
    --wild-rose: #d36c86;
    --dusty-rose: #c48593;
    --rose-tile: #f9e1e7;
    --sage-tile: #e5ebda;
    --blush-mist: #fdf3f5;
    --dusty-pink: #e6bfc7;
    --sage-soft: #eef2e8;
    --line: rgba(46, 58, 31, 0.07);
    color-scheme: light;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    font: 400 16px/1.65 "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

a { color: var(--rose-text); text-underline-offset: 3px; }

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

/* The wordmark is a template image, tinted with the logo ink like in the app. */
.wordmark {
    display: block;
    aspect-ratio: 1000 / 355;
    background: var(--logo-ink);
    -webkit-mask: url("img/wordmark.png") center / contain no-repeat;
    mask: url("img/wordmark.png") center / contain no-repeat;
}

.mark {
    display: block;
    aspect-ratio: 400 / 360;
    background: var(--logo-ink);
    -webkit-mask: url("img/mark.png") center / contain no-repeat;
    mask: url("img/mark.png") center / contain no-repeat;
}

.tracked {
    margin: 0;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--secondary);
}

.soft {
    font-weight: 300;
    font-style: italic;
}

/* Header */
.top {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top .mark { width: 34px; }

.top .wordmark { width: 96px; }

.top nav {
    display: flex;
    gap: 22px;
    font-size: 14px;
    font-weight: 500;
}

.top nav a {
    color: var(--secondary);
    text-decoration: none;
}

.top nav a:hover { color: var(--rose-text); }

/* Hero */
main { flex: 1; }

.hero {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 72px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.hero-text .wordmark {
    width: min(360px, 80%);
    margin: 18px 0 22px;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1.3;
    font-weight: 300;
    font-style: italic;
    color: var(--forest);
}

.hero .lead {
    margin: 0 0 30px;
    max-width: 460px;
    color: var(--secondary);
    font-size: 17px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--forest);
    color: var(--card);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.badge:hover,
.badge:focus-visible {
    background: var(--logo-ink);
    transform: translateY(-1px);
}

.badge svg { width: 18px; height: 18px; }

/* Lily in an arch, like a window onto the photo. */
.arch {
    position: relative;
    margin: 0;
    justify-self: center;
    width: min(400px, 100%);
    aspect-ratio: 4 / 5.4;
    border-radius: 999px 999px 28px 28px;
    overflow: hidden;
    background: #e9dccd;
}

.arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 45%;
}

/* Features */
.section {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px 72px;
}

.section-head {
    max-width: 560px;
    margin: 0 auto 32px;
    text-align: center;
}

.section-head h2 {
    margin: 10px 0 0;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 500;
    line-height: 1.35;
    color: var(--forest);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature {
    padding: 26px 24px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 24px;
}

.tile {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--rose-tile);
    color: var(--rose-text);
}

.tile.sage {
    background: var(--sage-tile);
    color: var(--green-leaf);
}

.tile svg { width: 22px; height: 22px; }

.feature h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--forest);
}

.feature p {
    margin: 0;
    color: var(--secondary);
    font-size: 15px;
}

/* Privacy band with the lily stem */
.private {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    overflow: hidden;
    background: var(--blush-mist);
    border: 1px solid var(--card-border);
    border-radius: 28px;
}

.private figure {
    margin: 0;
    min-height: 280px;
}

.private figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.private div {
    padding: 44px 40px;
    align-self: center;
}

.private h2 {
    margin: 10px 0 12px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 500;
    line-height: 1.35;
    color: var(--forest);
}

.private p {
    margin: 0 0 20px;
    color: var(--secondary);
}

.private a { font-weight: 500; }

/* Contact */
.contact {
    max-width: 640px;
    margin: 0 auto;
    padding: 44px 28px;
    text-align: center;
    background: var(--sage-soft);
    border: 1px solid var(--card-border);
    border-radius: 28px;
}

.contact .tile {
    margin: 0 auto 18px;
    background: var(--card);
}

.contact h2 {
    margin: 10px 0 10px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 500;
    line-height: 1.35;
    color: var(--forest);
}

.contact p {
    margin: 0 auto 26px;
    max-width: 420px;
    color: var(--secondary);
}

.email {
    display: inline-block;
    max-width: 100%;
    padding: 13px 26px;
    border: 1px solid var(--dusty-pink);
    border-radius: 999px;
    background: var(--card);
    color: var(--rose-text);
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.email:hover,
.email:focus-visible {
    background: var(--rose-tile);
    transform: translateY(-1px);
}

/* Footer */
.foot {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 16px 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    border-top: 1px solid var(--line);
    color: var(--tertiary);
    font-size: 13px;
}

.foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.foot a {
    color: var(--secondary);
    text-decoration: none;
}

.foot a:hover { color: var(--rose-text); }

/* Policy */
.doc {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 16px 56px;
}

.doc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
}

.lang {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    background: var(--card);
}

.lang a {
    padding: 6px 16px;
    border-radius: 999px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.lang a[aria-current="true"] {
    background: var(--rose-tile);
    color: var(--rose-text);
}

.doc h1 {
    margin: 0 0 6px;
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.2;
    font-weight: 500;
    color: var(--forest);
}

.doc .date {
    margin: 0 0 28px;
    color: var(--tertiary);
    font-size: 14px;
}

.doc h2 {
    margin: 36px 0 10px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--forest);
}

.doc p,
.doc li { margin: 0 0 12px; }

.doc ul { padding-left: 22px; }

.doc li::marker { color: var(--dusty-rose); }

.doc strong { font-weight: 600; }

.short {
    padding: 22px 24px;
    background: var(--blush-mist);
    border: 1px solid var(--card-border);
    border-radius: 20px;
}

.short h2 { margin-top: 0; }

.short p:last-child { margin-bottom: 0; }

/* Without JavaScript both languages show, one after the other. */
.js [data-lang][hidden] { display: none; }

.policy + .policy {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.js .policy + .policy {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 760px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 56px;
    }

    .arch {
        order: -1;
        width: min(300px, 78%);
    }

    .hero-text { text-align: center; }

    .hero-text .wordmark { margin-left: auto; margin-right: auto; }

    .hero .lead { margin-left: auto; margin-right: auto; }

    .private { grid-template-columns: 1fr; }

    .private figure { min-height: 0; aspect-ratio: 16 / 10; }

    .private div { padding: 32px 24px; }

    .foot { justify-content: center; text-align: center; }

    .foot nav { justify-content: center; }
}
