/* The public pages (landing.html and the legal pages). Colours, fonts and radii are the tokens of base.css: nothing here writes a colour.
   base.css is written for a fixed app shell (a body that never scrolls), so the first rules give the page back its scroll. */

:root {
    --page-max: 1200px;
    --gutter: clamp(16px, 4vw, 48px);
    --section-pad: clamp(56px, 8vw, 104px);
    --title-size: clamp(34px, 4.4vw, 54px);
}

html {
    height: auto;
    overflow: visible;
    overscroll-behavior: auto;
}

body {
    display: block;
    height: auto;
    max-height: none;
    width: auto;
    min-height: 100vh;
    overflow: visible;
    overscroll-behavior: auto;
    line-height: 1.5;
}

a {
    color: var(--link);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
}

svg {
    flex: none;
}

.sprite {
    position: absolute;
    overflow: hidden;
}

.icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon--check {
    stroke-width: 2.4;
    color: var(--ok);
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-2);
}

.link-strong {
    display: inline-block;
    padding: 12px 6px;
    margin: -12px -6px;
    font-weight: 700;
}

/* Shapes: a circle is fine, a diamond needs a person. */

.shape-dot,
.shape-diamond {
    display: inline-block;
    flex: none;
}

.shape-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--header-ok);
}

.shape-dot--ok {
    width: 10px;
    height: 10px;
    background: var(--ok);
}

.shape-dot--bullet {
    margin-top: 7px;
}

.shape-diamond {
    width: 9px;
    height: 9px;
    background: var(--attention);
    transform: rotate(45deg);
}

.shape-diamond--fact {
    margin: 0 1px;
}

.shape-diamond--alert {
    width: 8px;
    height: 8px;
    margin-top: 5px;
}

/* The letter of a line: a circle in the colour the server gave it. */

[data-line="a"] { --line-color: var(--line-a); }
[data-line="b"] { --line-color: var(--line-b); }
[data-line="c"] { --line-color: var(--line-c); }
[data-line="d"] { --line-color: var(--line-d); }
[data-line="e"] { --line-color: var(--line-e); }
[data-line="f"] { --line-color: var(--line-f); }
[data-line="g"] { --line-color: var(--line-g); }
[data-line="h"] { --line-color: var(--line-h); }

.line-letter {
    --size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: var(--line-color);
    color: var(--on-line);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--letter, calc(var(--size) * 0.54));
    line-height: 1;
}

.line-letter--18 { --size: 18px; --letter: 11px; }
.line-letter--20 { --size: 20px; --letter: 12px; }
.line-letter--22 { --size: 22px; --letter: 12px; }
.line-letter--48 { --size: 48px; }
.line-letter--64 { --size: 64px; }

.line-letter--off {
    background: none;
    border: 1.5px dashed var(--border-strong);
    color: var(--text-3);
}

/* The first row of every section of the page */

.section {
    background: var(--ground);
}

.section--paper {
    background: var(--paper);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__inner {
    display: flex;
    flex-direction: column;
    gap: 44px;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: var(--section-pad) var(--gutter);
}

.section__inner--roomy {
    gap: clamp(48px, 6vw, 72px);
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 56px;
}

.section__title {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 480px;
    max-width: 660px;
    min-width: 0;
}

.section__title--wide {
    max-width: 700px;
}

/* Its flex-basis is a width in the section heads, a row; stacked directly in the section it would be a height. */
.section__inner > .section__title {
    flex: none;
}

.section__title h2,
.team-intro__text h2,
.pricing__intro h2,
.faq__head h2 {
    font-size: var(--title-size);
    line-height: 1;
    text-wrap: balance;
}

.section__lede {
    flex: 1 1 340px;
    max-width: 460px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-2);
    text-wrap: pretty;
}

.section__lede--flow {
    flex: none;
    max-width: 52ch;
}

/* Buttons and links that look like them */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-control);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}

.button--large {
    min-height: 52px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 700;
}

.button--block {
    display: flex;
}

.button--ink {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--on-ink);
}

.button--ink:hover {
    background: var(--text-2);
    border-color: var(--text-2);
}

.button--line {
    border-color: var(--border-strong);
    color: var(--ink);
    font-weight: 400;
}

.button--line:hover {
    background: var(--selected);
}

.button--light {
    background: var(--header-text);
    border-color: var(--header-text);
    color: var(--header-bg);
    font-weight: 700;
}

.button--light:hover {
    background: var(--header-text-dim);
    border-color: var(--header-text-dim);
}

.button--ghost-dark {
    border-color: var(--header-line);
    color: var(--header-text);
    font-weight: 400;
}

.button--ghost-dark:hover {
    border-color: var(--header-text);
}

.button--large.button--ghost-dark {
    padding: 0 22px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.actions--center {
    align-items: center;
    gap: 12px 20px;
}

.actions__note {
    font-size: 15px;
    color: var(--text-2);
}

/* Bands that are dark in both modes */

.site-header,
.cta {
    --link: var(--header-link);
    background: var(--header-bg);
    color: var(--header-text);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 12px var(--gutter);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--header-text);
    text-decoration: none;
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 32px;
    border-radius: 16px 16px 16px 4px;
    background: var(--attention);
    color: var(--on-attention);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
}

.brand__mark--small {
    width: 26px;
    height: 24px;
    border-radius: 12px 12px 12px 3px;
    font-size: 19px;
}

.brand__text {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
}

.brand__by {
    font-size: 13px;
    color: var(--header-text-dim);
}

.site-nav {
    display: flex;
    gap: 4px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--header-text-dim);
    font-size: 15px;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--header-text);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hero */

.hero {
    display: flex;
    flex-direction: column;
    gap: clamp(36px, 5vw, 56px);
    max-width: var(--page-max);
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 7vw, 96px);
}

.hero__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 28px 56px;
}

.hero__headline {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1.4 1 520px;
    min-width: 0;
}

.hero__tag {
    display: flex;
    align-items: center;
    gap: 12px;
}

.line-stack {
    display: flex;
}

.line-stack .line-letter {
    --size: 30px;
    --letter: 14px;
    border: 2px solid var(--ground);
}

.line-stack .line-letter + .line-letter {
    margin-left: -7px;
}

.hero h1 {
    font-size: clamp(46px, 6.4vw, 84px);
    line-height: 0.94;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.hero__lead {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1 1 360px;
    min-width: 0;
}

.lede {
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.55;
    color: var(--text-2);
    text-wrap: pretty;
}

.assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 15px;
    color: var(--text-2);
}

.assurance__point {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
}

/* The product, drawn in HTML: a picture for people who see, nothing for those who do not */

.product {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
}

.product__bar {
    display: flex;
    align-items: stretch;
    gap: 18px;
    height: 48px;
    padding: 0 16px;
    background: var(--header-bg);
    color: var(--header-text);
}

.product__mark {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 26px;
    height: 24px;
    border-radius: 12px 12px 12px 3px;
    background: var(--attention);
    color: var(--on-attention);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    line-height: 1;
}

.product__tab {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--header-text-dim);
}

.product__tab.is-active {
    padding-top: 3px;
    border-bottom: 3px solid var(--attention);
    color: var(--header-text);
    font-weight: 700;
}

.product__live {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 13px;
    color: var(--header-text-dim);
}

.product__body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 560px;
}

.product-list {
    display: flex;
    flex-direction: column;
    width: 300px;
    background: var(--paper);
    border-right: 1px solid var(--border);
}

.product-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-row);
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border-radius: var(--radius-pill);
}

.chip--all {
    padding: 0 14px;
    background: var(--ink);
    color: var(--on-ink);
    font-size: 13px;
    font-weight: 700;
}

.chip--line {
    width: 40px;
    border: 1px solid var(--border-strong);
}

.chat-row {
    --row-bg: var(--paper);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-row);
}

.chat-row.is-selected {
    --row-bg: var(--selected);
    background: var(--selected);
}

.avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 42px;
    border-radius: 18px 18px 18px 4px;
    background: var(--tile);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
}

.chat-row.is-selected .avatar {
    background: var(--raised);
}

.avatar--header {
    width: 40px;
    height: 38px;
    font-size: 16px;
}

.avatar--team {
    width: 38px;
    height: 36px;
    border-radius: 16px 16px 16px 4px;
    font-size: 15px;
}

.avatar__line {
    position: absolute;
    right: -7px;
    bottom: -6px;
    box-sizing: content-box;
    border: 2px solid var(--row-bg);
}

.chat-row__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.chat-row__top,
.chat-row__bottom {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.chat-row__top {
    align-items: baseline;
}

.chat-row__bottom {
    align-items: center;
}

.chat-row__name,
.chat-row__preview {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-row__name {
    font-size: 15px;
}

.chat-row__preview {
    font-size: 13px;
    color: var(--text-2);
}

.chat-row__preview--read {
    color: var(--text-3);
}

.is-unread {
    font-weight: 700;
}

.chat-row__time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
}

.tag {
    flex: none;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.tag--advisor {
    background: var(--attention);
    color: var(--on-attention);
}

.tag--bot {
    padding: 1px 6px;
    border: 1px solid var(--border-strong);
    color: var(--text-2);
}

.pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: var(--on-ink);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1;
}

.product-thread {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--ground);
}

.thread-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}

.thread-header__who {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.thread-header__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
}

.thread-header__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-3);
    white-space: nowrap;
}

.segmented {
    display: inline-flex;
    flex: none;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: var(--radius-control);
    font-size: 13px;
}

.segmented__option {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    background: var(--paper);
}

.segmented__option.is-active {
    background: var(--ink);
    color: var(--on-ink);
    font-weight: 700;
}

.segmented--large {
    font-size: 14px;
}

.segmented--large .segmented__option {
    min-height: 40px;
    padding: 0 16px;
}

.thread-messages,
.thread-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding-left: clamp(12px, 3vw, 28px);
    padding-right: clamp(12px, 3vw, 28px);
}

.thread-messages {
    flex: 1;
    padding-top: 18px;
    padding-bottom: 18px;
}

.thread-footer {
    padding-bottom: 14px;
}

.date-chip {
    align-self: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--tile);
    color: var(--text-2);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
}

.bubble {
    max-width: min(78%, 56ch);
    padding: 8px 12px 6px;
    font-size: 15px;
    line-height: 1.45;
}

.bubble--in {
    align-self: flex-start;
    background: var(--raised);
    border: 1px solid var(--bubble-border);
    border-radius: var(--radius-bubble-in);
}

.bubble--bot {
    align-self: flex-end;
    background: var(--paper);
    border: 1.5px dashed var(--text-3);
    border-radius: var(--radius-bubble-out);
}

.bubble--out {
    align-self: flex-end;
    background: var(--sage);
    color: var(--sage-text);
    border-radius: var(--radius-bubble-out);
}

.bubble--demo {
    max-width: 88%;
}

.voice__demo .bubble--bot {
    background: var(--ground);
}

.bubble__label,
.ai-draft__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text-2);
}

.bubble__time {
    display: block;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
}

.bubble--out .bubble__time {
    color: var(--text-2);
}

.thread-event {
    align-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 13px;
    color: var(--text-2);
    text-align: center;
}

.thread-event__time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-3);
}

.ai-draft {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: flex-end;
    width: min(100%, 520px);
    padding: 10px 14px 12px;
    background: var(--paper);
    border: 1.5px dashed var(--text-3);
    border-radius: var(--radius-bubble-out);
}

.ai-draft--demo {
    align-self: auto;
    width: auto;
    background: var(--ground);
}

.ai-draft__label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-draft__text {
    font-size: 15px;
    line-height: 1.45;
}

.ai-draft__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 4px;
}

.ai-draft__note {
    font-size: 12px;
    color: var(--text-2);
}

.ai-draft__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ai-draft--demo .ai-draft__actions {
    padding-top: 4px;
}

.mini-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-control);
    font-size: 13px;
    white-space: nowrap;
}

.mini-button--ink {
    padding: 0 12px;
    background: var(--ink);
    border-color: var(--ink);
    color: var(--on-ink);
    font-weight: 700;
}

.mini-button--suggest {
    height: 34px;
    font-weight: 700;
    color: var(--ink);
}

.composer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.composer__box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 8px 0 14px;
    background: var(--raised);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-composer);
    color: var(--text-2);
}

.composer__placeholder {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    color: var(--text-3);
}

.composer__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 20px 20px 5px 20px;
    background: var(--attention);
    color: var(--on-attention);
}

.composer__send .icon {
    stroke-width: 2.2;
}

.sent-from {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-3);
}

.sent-from__alias {
    color: var(--text-2);
}

/* Líneas */

.line-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
}

.line-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.line-card--attention {
    border: 2px solid var(--attention);
}

.line-card__band {
    height: 10px;
    background: var(--line-color);
}

.line-card__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 24px 24px;
}

.line-card--attention .line-card__body {
    padding: 21px 23px 23px;
}

.line-card__who {
    display: flex;
    align-items: center;
    gap: 16px;
}

.line-card__name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.line-card__name h3 {
    font-size: 26px;
    line-height: 1.05;
}

.line-card__phone {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-2);
}

.facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-row);
    font-size: 14px;
}

.facts dt {
    color: var(--text-3);
}

.facts dd {
    display: flex;
    align-items: center;
    gap: 8px;
}

.line-alert {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    background: var(--attention-soft);
    border: 1px solid var(--attention-soft-border);
    border-radius: var(--radius-control);
    color: var(--attention-soft-text);
    font-size: 13px;
    line-height: 1.45;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 18px;
    padding: 26px 24px;
    background: var(--ground);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
}

.info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 48px;
    height: 46px;
    border-radius: 20px 20px 20px 5px;
    background: var(--tile);
    color: var(--ink);
}

.info-card__text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.info-card h3 {
    font-size: 23px;
    line-height: 1.1;
}

.info-card p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-2);
}

/* Bot, IA y personas */

.voices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 28px;
}

.voice {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.voice__demo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: 196px;
    padding: 22px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
}

.voice__demo--spaced {
    gap: 16px;
}

.voice__demo--spaced .segmented {
    align-self: flex-start;
}

.voice__demo .thread-event {
    gap: 8px;
}

.voice h3 {
    font-size: 25px;
    line-height: 1.1;
}

.voice p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-2);
}

/* Equipo */

.team-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 36px 64px;
}

.team-intro__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 380px;
    min-width: 0;
}

.team-table {
    flex: 1.3 1 520px;
    min-width: 0;
    overflow: hidden;
    background: var(--raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
}

.team-row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border-row);
}

.team-row:last-child {
    border-bottom: 0;
}

.team-row--head {
    min-height: 0;
    padding: 12px 18px;
    background: var(--paper);
    border-bottom-color: var(--border);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-2);
}

.team-row__person {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.team-row__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.team-row__you {
    font-weight: 400;
    color: var(--text-3);
}

.team-row__role {
    color: var(--text-2);
}

.team-row--head .team-row__role {
    color: inherit;
}

.team-row__lines {
    display: flex;
    gap: 6px;
    width: 88px;
}

.extras {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.extras h3 {
    margin-bottom: 12px;
}

.extras__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 0 40px;
}

.extra {
    display: flex;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}

.extra > .icon {
    margin-top: 2px;
}

.extra__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.extra h4 {
    font-size: 21px;
    line-height: 1.15;
}

.extra p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-2);
}

/* Empieza */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 20px;
    list-style: none;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 24px 28px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 52px;
    height: 50px;
    border-radius: 22px 22px 22px 5px;
    background: var(--ink);
    color: var(--on-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}

.step h3 {
    font-size: 25px;
    line-height: 1.1;
}

.step p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-2);
}

/* Precios */

.section__inner--pricing {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px 64px;
}

.pricing__intro {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1 1 380px;
    min-width: 0;
}

.promises {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
    list-style: none;
    font-size: 16px;
    line-height: 1.5;
}

.promises li {
    display: flex;
    gap: 12px;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 1 440px;
    min-width: 0;
    max-width: 580px;
    padding: clamp(24px, 4vw, 36px);
    background: var(--raised);
    border: 1px solid var(--border);
    border-radius: 28px 28px 28px 6px;
}

.plan__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plan__head h3 {
    font-size: 28px;
    line-height: 1;
}

.billing-switch {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: var(--radius-control);
}

.billing-switch button {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    background: var(--raised);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.billing-switch button + button {
    border-left: 1px solid var(--ink);
}

.billing-switch button:focus-visible {
    outline-offset: -3px;
}

.billing-switch button[aria-pressed="true"] {
    background: var(--ink);
    color: var(--on-ink);
    font-weight: 700;
}

.plan__price {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan__amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
}

.plan__unit {
    font-size: 16px;
    color: var(--text-2);
}

.plan__note {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-2);
}

.plan__figure {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.6vw, 50px);
    line-height: 1.05;
    color: var(--ink);
}

.plan__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 12px 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-row);
    list-style: none;
    font-size: 15px;
    line-height: 1.45;
}

.plan__features li {
    display: flex;
    gap: 10px;
}

.plan__features .icon {
    margin-top: 1px;
}

.plan__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan__fineprint {
    font-size: 13px;
    color: var(--text-2);
    text-align: center;
}

.pricing__notes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    flex: 1 1 100%;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-2);
}

.pricing__meta {
    display: flex;
    gap: 12px;
    flex: 2 1 420px;
}

.pricing__meta .icon {
    margin-top: 2px;
    color: var(--ink);
}

.pricing__more {
    flex: 1 1 260px;
}

/* Preguntas */

.section__inner--faq {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px 64px;
}

.faq__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 280px;
}

.faq__list {
    flex: 2 1 520px;
    min-width: 0;
    border-top: 1px solid var(--border);
}

.faq__list details {
    border-bottom: 1px solid var(--border);
}

.faq__list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq__list summary::-webkit-details-marker {
    display: none;
}

details[open] .faq__chevron {
    transform: rotate(180deg);
}

.faq__list p {
    max-width: 64ch;
    padding-bottom: 22px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-2);
}

/* Cierre */

.cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px 56px;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: clamp(56px, 8vw, 96px) var(--gutter);
}

.cta__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 1 520px;
    min-width: 0;
}

.line-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cta h2 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.98;
    text-wrap: balance;
}

.cta__text p {
    max-width: 52ch;
    font-size: 17px;
    line-height: 1.55;
    color: var(--header-text-dim);
}

.site-footer {
    background: var(--ground);
    border-top: 1px solid var(--border);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 28px var(--gutter);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}

.site-footer__by {
    font-size: 13px;
    color: var(--text-2);
}

.site-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    color: var(--text-2);
    font-size: 14px;
}

.site-footer nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 700;
}

/* Legal pages (terminos.html, privacidad.html, eliminacion-de-datos.html): one column of text */

.legal {
    padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 104px);
}

.legal__column {
    max-width: 68ch;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.65;
}

.legal h1 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    text-wrap: balance;
}

.legal__updated {
    margin-top: 14px;
    font-size: 15px;
    color: var(--text-2);
}

.legal h2 {
    margin-top: 44px;
    font-size: 24px;
    line-height: 1.2;
}

.legal h3 {
    margin-top: 28px;
    font-size: 19px;
    line-height: 1.25;
}

.legal p,
.legal ul {
    margin-top: 14px;
}

.legal ul {
    padding-left: 1.3em;
}

.legal li + li {
    margin-top: 8px;
}

.legal a {
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.legal code {
    font-family: var(--font-mono);
    font-size: 0.9em;
}

@media (max-width: 900px) {
    .site-nav {
        display: none;
    }
}

@media (max-width: 760px) {
    .product-list {
        display: none;
    }
}

@media (max-width: 560px) {
    .hide-sm {
        display: none;
    }

    .thread-header {
        gap: 10px;
        padding: 10px 12px;
    }

    .thread-header__phone {
        font-size: 11px;
    }

    .segmented__option {
        padding: 7px 10px;
    }

    .team-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "person lines" "role lines";
        gap: 2px 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .team-row--head {
        grid-template-areas: "person lines";
    }

    .team-row--head .team-row__role {
        display: none;
    }

    .team-row__person {
        grid-area: person;
    }

    .team-row__role {
        grid-area: role;
        padding-left: 50px;
        font-size: 14px;
    }

    .team-row__lines {
        grid-area: lines;
    }
}
