/* Ira Therapy — styling for the standalone legal pages (privacy).
   The site itself is one big index.html with its CSS inline; a second,
   text-heavy page would have meant copying 59KB of layout it does not use, so
   the legal pages get their own sheet built from the SAME tokens and the same
   nav/footer rules. Change a colour here and in index.html together.

   The @font-face block is repeated rather than shared because index.html has no
   external stylesheet to hang it off. Both files point at the same six woff2
   files in fonts/, so nothing is downloaded twice. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream:        #f6f1e9;
  --cream-dark:   #ede5d8;
  --green-dark:   #2c4535;
  --green-darker: #213429;
  --green-mid:    #4a7560;
  --green-light:  #7aab90;
  --terracotta:   #c27050;
  --terra-light:  #e8b99e;
  --warm-grey:    #7a7269;
  --text:         #2a2218;
  --text-mid:     #5a5248;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font-family: 'DM Sans', sans-serif; font-weight: 300;
  font-size: 1rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* The whole page exists in both languages at once; one is hidden. Same
   mechanism as index.html so a choice made there carries over. */
html[data-lang="en"] [lang="ro"] { display: none !important; }
html[data-lang="ro"] [lang="en"] { display: none !important; }

nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(246,241,233,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44,69,53,0.08);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-logo { height: 54px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-back {
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-mid);
  text-decoration: none; border-bottom: 1px solid transparent;
}
.nav-back:hover { color: var(--green-dark); border-bottom-color: var(--green-mid); }
.lang-toggle {
  display: inline-flex; border: 1px solid rgba(44,69,53,0.25);
  border-radius: 2px; overflow: hidden;
}
.lang-btn {
  appearance: none; background: transparent; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; padding: 0.4rem 0.7rem; color: var(--text-mid);
}
.lang-btn + .lang-btn { border-left: 1px solid rgba(44,69,53,0.18); }
html[data-lang="en"] .lang-btn[data-l="en"],
html[data-lang="ro"] .lang-btn[data-l="ro"] { background: var(--green-dark); color: var(--cream); }

.legal-head { padding: 9rem 1.5rem 2.5rem; max-width: 780px; margin: 0 auto; }
.legal-eyebrow {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terracotta); margin: 0 0 0.75rem;
}
.legal-head h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.1; margin: 0;
  color: var(--green-darker);
}
.legal-sub { color: var(--text-mid); margin: 1rem 0 0; max-width: 60ch; }

main.legal { max-width: 780px; margin: 0 auto; padding: 0 1.5rem 5rem; }
.legal h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25;
  color: var(--green-darker);
  margin: 3rem 0 0; padding-top: 1.75rem;
  border-top: 1px solid rgba(44,69,53,0.14);
}
.legal h3 {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta);
  margin: 2rem 0 0;
}
.legal p, .legal li { margin: 1rem 0 0; }
.legal ul { margin: 1rem 0 0; padding-left: 1.15rem; }
.legal li { padding-left: 0.25rem; }
.legal strong { font-weight: 500; color: var(--green-darker); }
.legal a { color: var(--green-mid); text-underline-offset: 0.2em; }
.legal a:hover { color: var(--terracotta); }

.callout {
  margin-top: 1.5rem; padding: 1.1rem 1.3rem;
  background: var(--cream-dark); border-left: 3px solid var(--terracotta);
  border-radius: 2px;
}
.callout p:first-child { margin-top: 0; }

.legal table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: 0.94rem; }
.legal thead th {
  text-align: left; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--warm-grey);
  padding: 0 1rem 0.6rem 0; border-bottom: 1px solid rgba(44,69,53,0.18);
}
.legal tbody td {
  vertical-align: top; padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid rgba(44,69,53,0.09);
}
.legal tbody td:last-child { color: var(--text-mid); padding-right: 0; }

footer { background: var(--green-darker); color: rgba(246,241,233,0.45); padding: 2.5rem 1.5rem; font-size: 0.82rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: rgba(246,241,233,0.85); }
.footer-meta { font-size: 0.78rem; }
.footer-meta a { color: var(--terra-light); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  /* Two columns of prose in a phone width is unreadable, so the lawful-basis
     pair stacks and each basis is labelled where it sits. */
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal tbody tr { display: block; padding: 1rem 0; border-bottom: 1px solid rgba(44,69,53,0.09); }
  .legal tbody td { display: block; border-bottom: 0; padding: 0; }
  .legal tbody td:last-child { margin-top: 0.4rem; }
  .legal tbody td:last-child::before {
    content: attr(data-label) ': ';
    font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-grey);
  }
  .legal-head { padding-top: 7rem; }
}
