/* Deepa site. Colours: blissmeet-mobile/src/theme.ts, styled after the admin dashboard
   (violet bars, Linen background, white cards with coloured strips). Font: DM Sans (OFL), self-hosted.
   Georgia only for the landing headline (Brandbook's alternative to HAL Timezone). */

@font-face { font-family: "DM Sans"; src: url(/assets/fonts/DMSans-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/assets/fonts/DMSans-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/assets/fonts/DMSans-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F2F2ED;       /* Linen / smeline-100: page background */
  --surface: #FFFFFF;  /* cards */
  --title: #111827;    /* black-900 */
  --text: #4B5563;     /* black-700 */
  --muted: #717680;    /* textTertiary */
  --line: #E9EAEB;     /* tabBarBorder: card borders */
  --brand: #592C5C;    /* violet-900: bars, buttons, links */
  --accent: #BA769A;   /* violet-500 / rosy */
  --pink: #EDC8E7;     /* violet-300 */
  --soft: #F8E9F5;     /* violet-200 */
  --offwhite: #F4F4E4; /* Brandbook off-white: text on violet */
  --danger: #D92D20;   /* dangerStrong */
  --link: var(--brand);
  --shadow: 0 1px 2px rgba(10, 13, 18, .05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1218; --surface: #251A22; --title: #F4F4E4; --text: #D8CFD6; --muted: #A99DA6;
    --line: #3A2D37; --soft: #33222E; --pink: #4A2E44; --link: #EDC8E7;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 "DM Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2, h3 { color: var(--title); font-weight: 600; line-height: 1.25; }
h1 { font-size: 30px; margin: 4px 0 6px; }
h2 { font-size: 21px; margin: 40px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
h3 { font-size: 17px; margin: 24px 0 4px; }
a { color: var(--link); }
strong { color: var(--title); font-weight: 600; }

/* Violet top bar, like the dashboard sidebar */
.site-header { background: var(--brand); }
.site-header .inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; min-height: 64px; display: flex; align-items: center; gap: 24px; }
.site-header .brand img { height: 28px; display: block; }
.site-header .links { display: flex; gap: 20px; margin-left: auto; }
.site-header .links a { color: var(--offwhite); text-decoration: none; font-size: 14px; font-weight: 500; opacity: .85; }
.site-header .links a:hover { opacity: 1; }
@media (max-width: 720px) { .site-header .links { display: none; } }

/* Language switch: one language visible at a time, English by default, Lithuanian at #lt (or any anchor inside it). */
section.lang { display: none; }
section.lang:target, section.lang:has(:target), body:not(:has(:target)) #en { display: block; }
nav.lang { display: flex; gap: 6px; justify-content: flex-end; margin-bottom: 16px; }
nav.lang a { color: var(--link); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 3px 12px; text-decoration: none; font-size: 13px; font-weight: 500; }
nav.lang a[aria-current] { background: var(--soft); border-color: var(--pink); }
.site-header nav.lang { margin: 0; }
.site-header nav.lang a { color: var(--offwhite); background: transparent; border-color: rgba(244, 244, 228, .35); }
.site-header nav.lang a[aria-current] { background: rgba(244, 244, 228, .16); border-color: rgba(244, 244, 228, .6); }
.site-header .links + nav.lang { margin-left: 0; }
.site-header .brand + nav.lang { margin-left: auto; }

/* Document pages (privacy, terms, delete-account): content on a white card */
main { max-width: 820px; margin: 28px auto 48px; padding: 32px 36px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
@media (max-width: 640px) { main { margin: 16px; padding: 20px 18px 24px; } }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.summary { background: var(--soft); border-radius: 12px; padding: 4px 20px; }
.summary li { margin: 6px 0; }
.toc { columns: 2; column-gap: 32px; padding-left: 20px; font-size: 15px; }
@media (max-width: 560px) { .toc { columns: 1; } }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
mark { background: var(--soft); color: inherit; padding: 0 3px; border-radius: 3px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.site-footer nav a { text-decoration: none; font-weight: 600; font-size: 16px; }
.site-footer p { margin: 4px 0; font-size: 12px; }

/* Cards and buttons (delete-account) */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 20px 0; box-shadow: var(--shadow); }
.card h2 { border: 0; padding: 0; margin-top: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
       border-radius: 8px; border: 0; font: 600 15px/1 "DM Sans", sans-serif; cursor: pointer; background: var(--brand); color: #FFFFFF; }
.btn-danger { background: var(--danger); }
.btn-ghost { background: var(--surface); color: var(--title); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn:disabled { opacity: .6; cursor: progress; }
.status { margin: 12px 0 0; }
.status.error { color: var(--danger); }
[hidden] { display: none !important; }

/* ── Landing ─────────────────────────────────────────────────────────────── */
.landing main { all: unset; display: block; flex: 1; }
/* Footer sits at the bottom of the viewport even when the content is shorter. */
.landing section.lang:target, .landing section.lang:has(:target), .landing:not(:has(:target)) #en {
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px 0 40px; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; } }
.hero > * { min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
        color: var(--brand); background: var(--soft); border: 1px solid var(--pink); }
@media (prefers-color-scheme: dark) { .chip { color: var(--link); } }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; margin: 20px 0 18px; letter-spacing: -.01em; }
.hero h1 em { color: var(--accent); }
.lead { font-size: 19px; line-height: 1.55; max-width: 30em; margin: 0 0 28px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; padding: 10px 18px; border-radius: 10px;
         background: var(--brand); color: #FFFFFF; line-height: 1.2; box-shadow: var(--shadow); }
.store small { font-size: 12px; opacity: .75; }
.store span { font-size: 17px; font-weight: 600; }
.hero-art { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--offwhite); aspect-ratio: 4 / 5; max-height: 560px; justify-self: end; width: 100%; }
@media (max-width: 860px) { .hero-art { aspect-ratio: 16 / 11; justify-self: stretch; } }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 16px 0 64px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.feature .body { padding: 20px 20px 18px; flex: 1; }
.feature h3 { margin: 14px 0 6px; font-size: 18px; }
.feature p { margin: 0; font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
@media (prefers-color-scheme: dark) { .icon { color: var(--link); } }
.icon svg { width: 22px; height: 22px; }
.strip { padding: 10px 20px; font-size: 14px; font-weight: 500; }
.strip-1 { background: var(--brand); color: #FFFFFF; }
.strip-2 { background: var(--accent); color: #FFFFFF; }
.strip-3 { background: #EDC8E7; color: #592C5C; } /* fixed in both themes: violet-300 + violet-900 */

.band { background: var(--brand); color: var(--offwhite); }
.band .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-start; justify-content: space-between; }
.band img { height: 26px; display: block; }
.band nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.band a { color: var(--offwhite); text-decoration: none; font-size: 17px; font-weight: 600; }
.band a:hover { text-decoration: underline; }
.band p { margin: 10px 0 0; font-size: 12px; line-height: 1.5; opacity: .6; }
