﻿/* Terevia V2 homepage rebuild from Figma desktop target. */
:root {
  --fh-parchment: #F3EDDF;
  --fh-parchment-soft: #F4EFE4;
  --fh-panel: #ECE5D6;
  --fh-surface: #FDFCF8;
  --fh-line: #DCD3C0;
  --fh-line-strong: #C5BAA5;
  --fh-ink: #23302A;
  --fh-ink-soft: #3C4A42;
  --fh-muted: #56645C;
  --fh-subtle: #A89A85;
  --fh-green: #1D4D3A;
  --fh-green-deep: #143528;
  --fh-dark: #0E0E07;
  --fh-max: 1440px;
  --fh-pad: 72px;
}

html, body, .tv-page { background: var(--fh-parchment); color: var(--fh-ink); overflow-x: clip; }
body { font-family: var(--tv-font-body); }

.tv-header { min-height: 72px !important; border-bottom: 1px solid rgba(220,211,192,.72) !important; background: rgba(236,229,214,.92) !important; box-shadow: none !important; }
.tv-header__inner { width: min(100%, var(--fh-max)) !important; max-width: var(--fh-max) !important; min-height: 72px !important; padding-inline: var(--fh-pad) !important; }
.tv-brand__name { color: var(--fh-ink) !important; font-size: 13px !important; font-weight: 700 !important; line-height: 17px !important; letter-spacing: 0 !important; }
.tv-brand__sub { color: var(--fh-muted) !important; font-family: var(--tv-font-body) !important; font-size: 11px !important; line-height: 13px !important; }
.tv-nav { gap: 32px !important; }
.tv-nav__link { color: var(--fh-ink) !important; font-size: 13px !important; font-weight: 500 !important; line-height: 17px !important; }
.tv-header .tv-button { min-height: 36px !important; padding-inline: 18px !important; font-size: 13px !important; }

.figma-home { background: var(--fh-parchment); color: var(--fh-ink); outline: none; }
.figma-hero { display: grid; grid-template-columns: minmax(0, 800px) minmax(0, 640px); width: min(100%, var(--fh-max)); min-height: 780px; margin-inline: auto; background: var(--fh-parchment); }
.figma-hero__copy { padding: 168px 80px 0 var(--fh-pad); }
.figma-eyebrow { margin: 0; color: var(--fh-green); font-family: var(--tv-font-display); font-size: 11px; font-weight: 600; line-height: 14px; letter-spacing: .12em; text-transform: uppercase; }
.figma-hero h1 { max-width: 640px; margin: 20px 0 0; color: #1A1814; font-family: var(--tv-font-editorial); font-size: clamp(4.25rem, 5vw, 72px); font-weight: 400; line-height: 1.01; letter-spacing: 0; }
.figma-hero__intro { max-width: 540px; margin: 20px 0 0; color: var(--fh-ink-soft); font-family: var(--tv-font-body); font-size: 18px; font-weight: 400; line-height: 1.68; }
.figma-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 40px; }
.figma-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font-family: var(--tv-font-display); font-size: 14px; font-weight: 600; line-height: 18px; text-decoration: none; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.figma-button:hover { transform: translateY(-1px); }
.figma-button--primary { background: var(--fh-green); color: var(--fh-panel); border-color: var(--fh-green); }
.figma-button--secondary { color: var(--fh-green); border-color: rgba(29,77,58,.22); background: transparent; }
.figma-button--light { background: var(--fh-panel); color: var(--fh-green-deep); border-color: var(--fh-panel); }
.figma-price-card--dark .figma-button--light,
.figma-price-card--featured .figma-button--light { color: var(--fh-green-deep) !important; }
.figma-button--outline-light { background: transparent; color: var(--fh-panel); border-color: rgba(236,229,214,.42); }
.figma-proof { display: flex; flex-wrap: wrap; gap: 28px; margin: 56px 0 0; padding: 0; list-style: none; }
.figma-proof li { display: flex; gap: 8px; align-items: center; color: var(--fh-muted); font-family: var(--tv-font-display); font-size: 14px; line-height: 18px; }
.figma-proof li::before { width: 6px; height: 6px; background: var(--fh-green); content: ''; flex: 0 0 auto; }
.figma-hero__photo { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; min-height: 780px; padding: 40px; overflow: hidden; background: var(--fh-parchment); }
.figma-hero__photo::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--fh-parchment) 0%, rgba(243,237,223,0) 12%); content: ''; pointer-events: none; }
.figma-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figma-record-label { position: relative; z-index: 2; width: 180px; min-height: 74px; padding: 12px 16px; border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(20,53,40,.15); }
.figma-record-label span { display: block; margin-bottom: 4px; color: var(--fh-green); font-family: var(--tv-font-display); font-size: 9px; font-weight: 600; line-height: 12px; letter-spacing: .12em; text-transform: uppercase; }
.figma-record-label strong { display: block; color: var(--fh-ink); font-family: var(--tv-font-display); font-size: 13px; font-weight: 700; line-height: 17px; }
.figma-record-label small { display: block; margin-top: 4px; color: var(--fh-muted); font-family: var(--tv-font-body); font-size: 11px; line-height: 13px; }

.figma-quote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 180px; background: var(--fh-parchment-soft); text-align: center; }
.figma-quote__line { width: 80px; height: 1px; background: var(--fh-line); }
.figma-quote blockquote { max-width: 800px; margin: 0; color: var(--fh-ink); font-family: var(--tv-font-editorial); font-size: 34px; font-style: italic; font-weight: 400; line-height: 1.12; }
.figma-quote p { margin: 0; color: var(--fh-muted); font-family: var(--tv-font-display); font-size: 12px; line-height: 16px; }

.figma-section { padding: 72px var(--fh-pad); }
.figma-section > * { width: min(100%, 1296px); margin-inline: auto; }
.figma-section__header { display: grid; gap: 16px; max-width: 680px; margin: 0 !important; }
.figma-section__header h2 { margin: 0; color: var(--fh-ink); font-family: var(--tv-font-display); font-size: clamp(2.25rem, 3vw, 40px); font-weight: 700; line-height: 1.06; letter-spacing: 0; }
.figma-section__header p:not(.figma-eyebrow) { max-width: 540px; margin: 0; color: var(--fh-muted); font-family: var(--tv-font-body); font-size: 16px; line-height: 1.6; }
.figma-section--receive { min-height: 640px; }
.figma-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; align-items: stretch; }
.figma-product-card { display: flex; flex-direction: column; min-height: 300px; padding: 30px 28px; border: 1px solid rgba(220,211,192,.9); border-radius: 12px; background: rgba(255,255,255,.82); }
.figma-product-card h3 { margin: 0 0 8px; color: var(--fh-ink); font-family: var(--tv-font-display); font-size: 17px; font-weight: 600; line-height: 22px; }
.figma-product-card p { margin: 0; color: var(--fh-ink-soft); font-size: 14px; line-height: 1.65; }
.figma-product-card a { margin-top: auto; padding-top: 22px; color: var(--fh-green); font-family: var(--tv-font-display); font-size: 13px; font-weight: 500; text-decoration: none; }
.figma-card-number { align-self: flex-end; margin-bottom: 16px; color: var(--fh-line); font-family: var(--tv-font-display); font-size: 11px; font-weight: 700; line-height: 14px; }
.figma-product-card--documentation { border-color: rgba(29,77,58,.28); }
.figma-mini-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--fh-ink-soft); font-size: 12px; line-height: 1.35; }
.figma-mini-list li::before { content: '\00B7  '; color: var(--fh-green); }

.figma-section--participation { background: var(--fh-panel); }
.figma-pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.figma-price-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 419px; padding: 28px 24px; border: 1px solid rgba(220,211,192,.85); border-radius: 14px; background: rgba(255,255,255,.7); }
.figma-price-card__label { margin: 0; color: var(--fh-muted); font-family: var(--tv-font-display); font-size: 11px; font-weight: 700; line-height: 14px; text-transform: uppercase; }
.figma-price { margin: 12px 0 0; color: var(--fh-green); font-family: var(--tv-font-display); font-size: 48px; font-weight: 700; line-height: .95; }
.figma-price-card__basis { margin: 2px 0 0; color: var(--fh-muted); font-size: 12px; line-height: 15px; }
.figma-price-card__billing { margin: 2px 0 0; color: var(--fh-subtle); font-size: 11px; line-height: 13px; }
.figma-price-card > p { color: var(--fh-ink-soft); font-size: 13px; line-height: 1.6; }
.figma-price-card ul { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.figma-price-card li { display: flex; gap: 8px; color: var(--fh-ink-soft); font-size: 13px; line-height: 16px; }
.figma-price-card li::before { width: 4px; height: 4px; margin-top: .45em; border-radius: 2px; background: var(--fh-green); content: ''; flex: 0 0 auto; }
.figma-price-card--featured, .figma-price-card--dark { background: var(--fh-green-deep); border-color: rgba(29,77,58,.5); }
.figma-price-card--featured *, .figma-price-card--dark * { color: var(--fh-panel) !important; }
.figma-price-card--featured li::before, .figma-price-card--dark li::before { background: var(--fh-panel); }
.figma-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.figma-process article { border-top: 1px solid var(--fh-line); padding-top: 16px; }
.figma-process span { color: var(--fh-green); font-family: var(--tv-font-display); font-size: 11px; font-weight: 700; }
.figma-process p { margin: 8px 0 0; color: var(--fh-ink-soft); font-size: 14px; line-height: 1.55; }

.figma-photo-break { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); gap: 72px; align-items: center; padding: 72px; background: var(--fh-green-deep); color: var(--fh-panel); }
.figma-photo-break__copy { max-width: 560px; }
.figma-photo-break .figma-eyebrow { color: #95D5B2; }
.figma-photo-break h2 { margin: 16px 0 0; color: var(--fh-panel); font-family: var(--tv-font-display); font-size: 40px; line-height: 1.08; }
.figma-photo-break p { color: rgba(236,229,214,.78); line-height: 1.65; }
.figma-photo-break__image { margin: 0; min-height: 320px; border-radius: 12px; overflow: hidden; }
.figma-photo-break__image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.figma-evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.figma-evidence-grid article { padding: 28px; border: 1px solid rgba(220,211,192,.9); border-radius: 12px; background: rgba(255,255,255,.72); }
.figma-evidence-grid h3 { margin: 0 0 8px; font-family: var(--tv-font-display); font-size: 17px; }
.figma-evidence-grid p { margin: 0; color: var(--fh-ink-soft); font-size: 14px; line-height: 1.6; }

.figma-faq-layout, .figma-contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.figma-faq { border: 1px solid var(--fh-line); border-radius: 12px; background: var(--fh-surface); overflow: hidden; }
.figma-faq .tv-faq__button { min-height: 64px; padding: 20px 24px; font-family: var(--tv-font-display); font-size: 15px; font-weight: 600; background: transparent; }
.figma-faq .tv-faq__panel { padding: 0 24px 24px; color: var(--fh-muted); font-size: 14px; line-height: 1.65; }
.figma-section--contact { background: var(--fh-panel); }
.figma-contact-grid .tv-form-card { border: 1px solid rgba(220,211,192,.9); border-radius: 12px; background: rgba(255,255,255,.78); box-shadow: none; }

.tv-footer { background: var(--fh-green-deep) !important; color: var(--fh-panel) !important; }
.tv-footer__inner, .tv-footer__meta { width: min(100% - 144px, 1296px) !important; max-width: 1296px !important; }

@media (max-width: 1100px) {
  :root { --fh-pad: 40px; }
  .tv-header__inner { padding-inline: var(--fh-pad) !important; }
  .figma-hero { grid-template-columns: 1fr; }
  .figma-hero__copy { padding: 112px var(--fh-pad) 48px; }
  .figma-hero__photo { min-height: 520px; }
  .figma-product-grid, .figma-pricing-grid, .figma-evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figma-photo-break, .figma-faq-layout, .figma-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --fh-pad: 24px; }
  .tv-header__inner { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; padding-inline: var(--fh-pad) !important; }
  .tv-menu-toggle { display: inline-flex !important; color: var(--fh-green-deep) !important; border-color: rgba(29,77,58,.22) !important; }
  .tv-nav { inset: 72px 0 auto 0 !important; width: 100% !important; max-width: 100vw !important; padding-inline: var(--fh-pad) !important; background: var(--fh-parchment) !important; }
  .figma-home, .figma-home * { max-width: 100%; box-sizing: border-box; }
  .figma-hero { width: 100%; min-height: 0; overflow: hidden; }
  .figma-hero__copy { padding: 64px var(--fh-pad) 32px; overflow: hidden; }
  .figma-hero h1 { max-width: 100%; font-size: clamp(3.55rem, 14vw, 4.05rem); line-height: .98; overflow-wrap: normal; }
  .figma-hero__intro { max-width: 100%; font-size: 16px; line-height: 1.58; }
  .figma-actions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .figma-button { width: 100%; min-width: 0; }
  .figma-hero__photo { min-height: 360px; padding: 18px; overflow: hidden; }
  .figma-record-label { width: min(180px, calc(100vw - 48px)); padding: 11px 14px; }
  .figma-record-label span { font-size: 8px; letter-spacing: .1em; }
  .figma-record-label strong { font-size: 12px; }
  .figma-record-label small { font-size: 10px; }
  .figma-quote { min-height: auto; padding: 48px 24px; overflow: hidden; }
  .figma-quote blockquote { max-width: 100%; font-size: clamp(1.85rem, 8vw, 2.35rem); line-height: 1.08; }
  .figma-section__header h2 { max-width: 100%; font-size: clamp(2.25rem, 10vw, 3rem); line-height: 1.05; }
  .figma-section, .figma-photo-break { padding: 56px 24px; }
  .figma-product-grid, .figma-pricing-grid, .figma-evidence-grid, .figma-process { grid-template-columns: 1fr; }
  .figma-product-grid { margin-top: 36px; }
  .figma-product-card { min-height: 0; padding: 28px 24px; }
  .figma-proof { display: grid; gap: 12px; }
  .tv-footer__inner, .tv-footer__meta { width: min(100% - 32px, 1296px) !important; }
}
