/* TutorDesk landing. Converted from design/landing.dc.html by scripts/convert-dc.mjs. */

/* Fonts: packages/brand/fonts.css (OFL, see fonts/LICENSES.md). */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/caveat-cyrillic-ext.64ee40aaf4.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/caveat-cyrillic.7266cc4fd4.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/caveat-latin-ext.86a2717190.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/caveat-latin.4588c4b2b9.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 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-cyrillic-ext.919a7720ae.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-cyrillic.3170a883f1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin-ext.06bc9a8c17.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.e6d6d1d738.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 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-cyrillic-ext.d04439363e.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-cyrillic.d81372bae1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-ext.9dc38267bd.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.5d618c462b.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: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-cyrillic-ext.347c589d57.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-cyrillic.93bef303b8.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-latin-ext.27eccb1f89.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/manrope-latin.8bd97e6bbb.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;
}

/* Page styles from the design. */
html {
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: #f2ede6;
  color: #1a1715;
  font-family: Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
a {
  color: #1a1715;
}
a:hover {
  color: #3f6b5b;
}
summary::-webkit-details-marker {
  display: none;
}
details[open] summary span:last-child {
  transform: rotate(45deg);
}
input:focus {
  outline: 2px solid #1a1715;
  outline-offset: 1px;
}

/* Yandex Metrika <noscript> pixel: off-screen without an inline style (KI-11). */
.ym-pixel {
  position: absolute;
  left: -9999px;
}

/* States toggled by landing.js. */
[hidden] {
  display: none !important;
}

/* Form option buttons (were inline styles computed from component state). */
.opt {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #dcd4c9;
  background: #faf7f3;
  color: #1a1715;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.opt[aria-pressed='true'] {
  border: 1px solid #1a1715;
  background: #1a1715;
  color: #faf7f3;
}

/* CC-02 additions (not in the design bundle). */

/* Visible keyboard focus for links, buttons and FAQ items (inputs keep the design's outline). */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex='-1']:focus-visible {
  outline: 2px solid #1a1715;
  outline-offset: 2px;
}

/* Honeypot field: off-screen for people, but not display:none, so that bots still fill it. */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Personal data pages (consent.html, privacy.html): the landing's fonts, colours and column. */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 72px;
  font-size: 16px;
  line-height: 1.6;
}
.legal h1 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.08;
  text-wrap: balance;
}
.legal h2 {
  margin: 36px 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.legal p,
.legal ul {
  margin: 0 0 12px;
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 6px;
}
.legal-meta {
  color: #6e675f;
  font-size: 14px;
}

/* CC-02b: mock table (a) of "how it looks"; the general landing adds a subject column. */
.mock-table {
  min-width: 640px;
}
.mock-table-row {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1.3fr) 56px 176px;
}
.mock-table[data-columns='6'] {
  min-width: 760px;
}
.mock-table[data-columns='6'] .mock-table-row {
  grid-template-columns:
    minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1.3fr)
    56px 176px;
}

/* CC-02b: informational cookie notice (does not block Metrika), the landing's card style. */
.cookie-notice {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fdfbf8;
  border: 1px solid #e4ddd3;
  border-radius: 16px;
  box-shadow: 0 18px 40px -16px rgba(40, 30, 20, 0.35);
  font-size: 13px;
  line-height: 1.4;
  color: #1a1715;
}
.cookie-notice p {
  flex: 1;
  margin: 0;
}
.cookie-notice button {
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #1a1715;
  color: #faf7f3;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
