/* Aplicación digital de los colores y diagonales de la página vigente. */
:root {
  --tn-night: #07182b;
  --tn-blue: #155a9c;
  --tn-orange: #f8a124;
  --tn-ink: #173452;
  --tn-paper: #f5f7fb;
  --tn-texture: repeating-linear-gradient(65deg, transparent 0 220px, #ffffff17 221px 222px, transparent 223px 250px);
  --tn-surface: var(--tn-texture), linear-gradient(115deg, #0d397b, #115eb0 65%, #0c3b7f);
}
.tn-site { margin: 0; color: var(--tn-ink); background: var(--tn-paper); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.tn-site *, .tn-reviewbar * { box-sizing: border-box; }
.tn-site a { color: inherit; text-decoration: none; }
.tn-site a:focus-visible, .tn-site button:focus-visible { outline: 3px solid var(--tn-orange); outline-offset: 5px; }
.tn-site img { display: block; max-width: 100%; }
.tn-site h1, .tn-site h2, .tn-site h3, .tn-site p { margin: 0; }
.tn-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.tn-reviewbar { padding: 9px 20px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; background: #07182b; color: #d8e8f9; font: 12px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.tn-reviewbar a { color: white; text-decoration: underline; text-underline-offset: 4px; }
.tn-head { background: var(--tn-surface); color: white; }
.tn-nav { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid #ffffff26; }
.tn-lockup { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tn-lockup .tn-emblem { width: 38px; height: 48px; object-fit: contain; }
.tn-lockup .tn-word { width: 140px; height: 52px; object-fit: contain; }
.tn-navlinks { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.tn-navlinks .tn-access { padding: 12px 16px; border: 1px solid #ffffff50; border-radius: 10px; }
.tn-eyebrow { display: block; font-size: 11px; line-height: 1.5; letter-spacing: .18em; font-weight: 750; text-transform: uppercase; }
.tn-head .tn-eyebrow { color: #ffca84; }
.tn-hero { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 60px; padding-block: 66px 80px; }
.tn-hero h1 { font-size: clamp(48px, 5.8vw, 78px); line-height: 1.04; letter-spacing: -.045em; margin: 23px 0 17px; font-weight: 650; }
.tn-hero h1 em, .tn-heading em { font-family: Georgia, serif; font-weight: 400; }
.tn-attribution { font-size: 13px; color: #d8e8f9; }
.tn-hero .tn-lead { color: white; font-size: 18px; line-height: 1.7; max-width: 540px; margin-top: 28px; }
.tn-hero .tn-support { color: #d5e6f8; font-size: 15px; line-height: 1.7; margin-top: 15px; max-width: 490px; }
.tn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tn-btn { min-height: 50px; padding: 15px 21px; border: 1px solid transparent; border-radius: 10px; display: inline-flex; gap: 25px; align-items: center; justify-content: space-between; font-size: 14px; line-height: 1.4; font-weight: 700; cursor: pointer; }
.tn-site .tn-btn-primary { background: var(--tn-orange); color: var(--tn-night); }
.tn-site .tn-btn-outline { border-color: #ffffff70; color: white; background: #ffffff09; }
.tn-site .tn-btn-blue { background: var(--tn-blue); color: white; }
.tn-photo { position: relative; margin: 0; min-width: 0; }
.tn-photo > img { width: 100%; height: 460px; object-fit: cover; border-radius: 140px 20px 20px 20px; }
.tn-photo figcaption { position: relative; margin: -62px 20px 0; padding: 23px 24px; border: 1px solid #ffffff3b; border-radius: 14px; background: #07182bee; color: white; font-size: 22px; line-height: 1.3; }
.tn-photo small { display: block; font-size: 11px; margin-top: 8px; color: #ffca84; letter-spacing: .07em; }
.tn-section { padding-block: 82px; }
.tn-section .tn-eyebrow { color: #9b570c; }
.tn-heading { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.15; margin-top: 16px !important; max-width: 780px; }
.tn-intro { max-width: 650px; line-height: 1.8; color: #526780; margin-top: 20px !important; }
.tn-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 38px; }
.tn-path { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: white; border: 1px solid #dce5ef; box-shadow: 0 12px 45px #102b4810; }
.tn-path-top { background: var(--tn-surface); color: white; padding: 32px; min-height: 180px; }
.tn-path:nth-child(2) .tn-path-top { background: var(--tn-texture), linear-gradient(120deg, #07182b, #123c63); }
.tn-path-top .tn-eyebrow { color: #ffca84; }
.tn-path h3 { font-size: 31px; letter-spacing: -.03em; margin-top: 15px; }
.tn-path-top p { margin-top: 12px; color: #d8e8f9; font-size: 14px; }
.tn-path-body { padding: 30px 32px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.tn-path-body > p { line-height: 1.75; color: #526780; }
.tn-path ul { padding: 0; margin: 22px 0 27px; list-style: none; width: 100%; }
.tn-path li { padding: 12px 0; border-bottom: 1px solid #e4eaf2; font-size: 14px; }
.tn-path li::before { content: '↗'; color: var(--tn-blue); padding-right: 12px; }
.tn-path-body .tn-btn { margin-top: auto; width: 100%; }
.tn-text-link { display: inline-block; margin-top: 18px; font-size: 14px; text-decoration: underline !important; text-underline-offset: 4px; }
.tn-family { background: white; border-block: 1px solid #e4eaf2; }
.tn-family-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 64px; align-items: center; }
.tn-family-grid img { aspect-ratio: 1.15; object-fit: cover; width: 100%; border-radius: 20px; }
.tn-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 46px; }
.tn-quotes blockquote { margin: 0; padding-left: 18px; border-left: 2px solid var(--tn-orange); font-size: 18px; line-height: 1.55; }
.tn-quotes cite { display: block; font-size: 12px; font-style: normal; color: #526780; margin-top: 10px; }
.tn-close { background: var(--tn-texture), linear-gradient(110deg, #07182b, #123c63); color: white; }
.tn-close .tn-eyebrow { color: #ffca84; }
.tn-close .tn-intro { color: #d8e8f9; }
.tn-footer { padding: 30px 0; background: #07182b; color: #cfdef0; }
.tn-footer .tn-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; line-height: 1.7; }
.tn-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.tn-digital-preview { border-radius: 20px; padding: 28px; border: 1px solid #ffffff45; background: #fffffffa; color: var(--tn-ink); box-shadow: 0 22px 60px #07182b45; }
.tn-digital-preview .tn-eyebrow { color: #9b570c; }
.tn-digital-preview h2 { font-size: 27px; margin: 24px 0 15px; }
.tn-digital-preview p { color: #526780; line-height: 1.65; }
.tn-mini-card { margin-top: 24px; padding: 22px; border-radius: 14px; border: 1px solid #dce5ef; background: var(--tn-paper); }
.tn-mini-card strong { display: block; margin-top: 12px; line-height: 1.5; }
.tn-mini-card small { color: #526780; }
/* Se cargan después de los estilos existentes. Solo superficies visuales. */
.obra-brand-stage { background-image: var(--tn-surface) !important; }
.obra-brand-stage::before, .obra-brand-stage::after { pointer-events: none; }
.obra-shell .obra-mast-hero { padding-block: 42px 68px; }
.obra-mast-hero h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.04em; }
.obra-mast-hero h1 span { color: white; font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.obra-eyebrow, .obra-signature { color: #ffca84; }
.obra-shell .obra-journey { background: var(--tn-texture), linear-gradient(110deg, #07182b, #123c63); color: white; }
.obra-shell .obra-journey p, .obra-shell .obra-journey small { color: #d8e8f9; }
.obra-shell .obra-journey .obra-day { color: var(--tn-ink); }
.obra-shell .obra-journey .obra-day small { color: #526780; }
.obra-shell .obra-content { max-width: 1240px; }
.obra-shell .obra-intro { border-inline-start: 3px solid var(--tn-orange); }
.obra-shell .obra-home-section > header h2 { color: var(--tn-ink); }
.obra-shell .obra-home-areas > button { border-radius: 16px; }
.top-account:not(.top-workspace) .account-header { background-image: var(--tn-surface); }
.top-account:not(.top-workspace) .account-story-shade { background: linear-gradient(0deg, #07182bf5, #07182b08 95%); }
.top-workspace .buddy-card[data-theme=light] { --buddy-header: #155a9c; --buddy-out: #155a9c; }
.top-workspace .buddy-card .buddy-header { background-image: var(--tn-texture); }
.tn-demo-shell { margin: 0; background: var(--tn-paper); }
.tn-demo-shell .tn-reviewbar { position: relative; z-index: 2; }
@media (max-width: 760px) {
  .tn-wrap { width: calc(100% - 36px); }
  .tn-nav { min-height: 80px; gap: 12px; flex-wrap: wrap; padding-block: 15px; }
  .tn-lockup .tn-emblem { width: 28px; height: 38px; }
  .tn-lockup .tn-word { width: 106px; height: 40px; }
  .tn-navlinks { gap: 14px; font-size: 12px; width: 100%; justify-content: space-between; }
  .tn-navlinks .tn-access { padding: 8px 12px; }
  .tn-hero { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 45px; }
  .tn-hero h1 { font-size: clamp(43px, 12vw, 66px); margin-top: 19px; }
  .tn-hero .tn-lead { font-size: 16px; }
  .tn-hero .tn-support { font-size: 14px; }
  .tn-actions .tn-btn { width: 100%; }
  .tn-photo > img { height: 310px; border-top-left-radius: 85px; }
  .tn-photo figcaption { font-size: 21px; margin-inline: 14px; }
  .tn-section { padding-block: 52px; }
  .tn-paths, .tn-family-grid, .tn-quotes { grid-template-columns: 1fr; gap: 22px; }
  .tn-path-top { padding: 26px; min-height: auto; }
  .tn-path-body { padding: 26px; }
  .tn-quotes { margin-top: 30px; gap: 28px; }
  .tn-family-grid img { max-height: 330px; }
  .tn-digital-preview { padding: 24px; }
  .obra-shell .obra-mast-hero { padding-block: 26px 66px; }
}
@media (prefers-reduced-motion: reduce) { .tn-site { scroll-behavior: auto; } }
