:root {
  color-scheme: light;
  --ink: #33213d;
  --subtle: #574b5c;
  --plum: #4b275e;
  --plum-dark: #3b1e4b;
  --paper: #fffaf3;
  --white: #fffdf9;
  --border: #e4d9e3;
  --lavender: #f0e8f7;
  --peach: #f9eae2;
  --cream: #f6eedb;
  --terracotta: #a84333;
  --focus: #8f3e30;
  --marca-1: #712941;
  --marca-2: #C96B56;
  --wordmark-rose: #9a3d63;
  --wordmark-lilac: #7652a2;
  --radius: 1.2rem;
  font: 100%/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.delas-header, #page-inicio {
  --plum: var(--marca-1);
  --plum-dark: color-mix(in srgb, var(--marca-1) 80%, var(--ink));
  --terracotta: color-mix(in srgb, var(--marca-2) 60%, var(--ink));
  --focus: var(--marca-1);
}
#page-inicio {
  --lavender: color-mix(in srgb, var(--marca-1) 9%, var(--white));
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
[hidden] { display: none !important; }
img { display: block; max-inline-size: 100%; block-size: auto; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.13; letter-spacing: -.032em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.shell { width: min(72rem, 100% - 4rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 1rem; top: -8rem; padding: .75rem; color: white; background: var(--plum-dark); }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--border); background: var(--white); }
.header-inner { min-height: 4.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .63rem; font-weight: 820; line-height: 1.03; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; width: 2.52rem; height: 2.52rem; place-items: center; background: var(--plum); color: #fff; border-radius: .75rem; font-size: 1.4rem; }
.brand.brand-delas { color: var(--wordmark-rose); font: italic 700 1.75rem/1.03 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.brand-delas .brand-plus, .footer-delas .brand-plus { margin-inline-end: .07em; color: var(--wordmark-lilac); font-style: normal; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.15rem; }
.primary-nav a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; text-decoration: none; font-size: .88rem; font-weight: 675; white-space: nowrap; }
.primary-nav a:hover, .primary-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .25rem; }
.primary-nav .nav-triage { color: var(--plum-dark); padding: .27rem .7rem; border: 1px solid var(--border); border-radius: 999px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5.3vw, 5.25rem); padding-block: clamp(2.8rem, 6vw, 5.2rem); }
.eyebrow { margin: 0 0 .75rem; color: var(--terracotta); font-size: .73rem; letter-spacing: .105em; font-weight: 820; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: .53rem; height: .53rem; margin-right: .33rem; border-radius: 50%; background: var(--terracotta); }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; margin-bottom: .85rem; }
.hero-kicker .eyebrow { margin: 0; }
.demo-badge { padding: .17rem .48rem; border: 1px solid #d9c9df; border-radius: 999px; color: var(--plum-dark); background: var(--lavender); font-size: .7rem; font-weight: 750; }
.hero h1 { font-size: clamp(2.5rem, 5.45vw, 4.7rem); font-weight: 830; letter-spacing: -.073em; line-height: 1.035; }
.hero em { display: block; color: var(--plum); font-style: normal; }
.hero-description { max-width: 32rem; margin: 1.35rem 0 1.55rem; color: var(--subtle); font-size: clamp(1rem, 1.65vw, 1.15rem); line-height: 1.65; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .7rem;
  width: fit-content;
  min-height: 2.8rem;
  border: 1px solid var(--plum);
  border-radius: .7rem;
  padding: .67rem 1.04rem;
  color: #fff;
  background: var(--plum);
  font-size: .91rem;
  font-weight: 730;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--plum-dark); }
.button.secondary { color: var(--plum-dark); background: var(--white); border-color: #cbb7cd; }
.button.secondary:hover { background: var(--lavender); }
.button:disabled, .button[aria-disabled="true"] { color: #5c5261; background: #eee9ef; border-color: #d6cbd9; cursor: default; }
.hero-art { margin: 0; overflow: hidden; border-radius: 1.45rem; border: 1px solid #ded1e7; background: var(--lavender); }
.hero-art img { width: 100%; }
.hero-art figcaption { display: flex; gap: .45rem; justify-content: center; align-items: center; padding: .57rem 1rem .66rem; border-top: 1px solid #ded1e7; font-size: .79rem; font-weight: 700; color: var(--plum-dark); }
.hero-art figcaption span { color: var(--terracotta); }
.journey-band { border-block: 1px solid var(--border); background: var(--white); }
.journeys { padding-block: clamp(2.2rem, 4.5vw, 3.6rem); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.4rem; }
.section-intro h2, .triage-callout h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); }
.section-intro > p { margin: 0; max-width: 20rem; color: var(--subtle); font-size: .91rem; }
.journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.journey-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid rgba(75, 39, 94, .12); border-radius: var(--radius); padding: clamp(1rem, 2.1vw, 1.45rem); text-decoration: none; }
.journey-card.lavender { background: var(--lavender); }
.journey-card.peach { background: var(--peach); }
.journey-card.cream { background: var(--cream); }
.journey-card.community { background: #eee3ee; }
.journey-card:hover { border-color: #8a6f91; }
.journey-icon { display: grid; width: 2.65rem; height: 2.65rem; margin-bottom: .85rem; place-items: center; border-radius: .73rem; background: var(--white); color: var(--plum-dark); }
.journey-icon svg { width: 1.43rem; height: 1.43rem; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.journey-title { display: block; font-size: clamp(1.12rem, 2.15vw, 1.4rem); line-height: 1.16; font-weight: 820; letter-spacing: -.038em; }
.journey-description { display: block; margin: .55rem 0 1.1rem; color: var(--subtle); font-size: .89rem; line-height: 1.53; }
.journey-action { display: flex; gap: .45rem; align-items: center; margin-top: auto; color: var(--plum-dark); font-size: .83rem; font-weight: 780; }
.journey-card:hover .journey-action { text-decoration: underline; text-underline-offset: .2rem; }
.triage-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding-block: 2.5rem; }
.callout-icon { display: grid; place-items: center; width: 3.7rem; height: 3.7rem; background: var(--lavender); border-radius: 50%; color: var(--plum); font-size: 1.6rem; }
.triage-callout h2 { font-size: 1.55rem; }
.triage-callout p:not(.eyebrow) { margin: .4rem 0 0; color: var(--subtle); }
.interior { padding-block: 2.4rem 3.5rem; }
.back-link, .text-link { display: inline-flex; gap: .35rem; align-items: center; min-height: 2.6rem; color: var(--plum-dark); font-size: .9rem; font-weight: 700; text-underline-offset: .21rem; }
.back-link { margin: 0 0 .9rem; }
.interior h1 { font-size: clamp(2rem, 5.8vw, 3.65rem); }
.page-lede { max-width: 49rem; margin: .85rem 0 1.65rem; color: var(--subtle); font-size: 1.06rem; }
.interior-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 1rem; }
.jobs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.panel { min-width: 0; padding: clamp(1rem, 2.4vw, 1.65rem); border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow-wrap: anywhere; }
.panel h2 { font-size: clamp(1.2rem, 2.25vw, 1.45rem); }
.form-panel { display: grid; gap: .95rem; }
.form-note, .panel > p:not(.eyebrow), .role-panel p { margin: 0; color: var(--subtle); font-size: .88rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
label { display: grid; gap: .3rem; font-size: .86rem; font-weight: 750; min-width: 0; }
input, select, textarea { min-width: 0; width: 100%; min-height: 2.7rem; padding: .52rem .63rem; color: var(--ink); background: #fff; border: 1px solid #a991ae; border-radius: .48rem; font-size: .96rem; font-weight: 470; }
input::placeholder, textarea::placeholder { color: #6d6170; }
textarea { resize: vertical; }
fieldset { min-width: 0; display: grid; gap: .75rem; margin: 0; padding: .65rem .8rem .85rem; border: 1px solid var(--border); border-radius: .62rem; }
legend { padding-inline: .3rem; color: var(--plum-dark); font-size: .84rem; font-weight: 750; }
.feedback { min-height: 0; margin: 0; color: var(--plum-dark); font-weight: 730; font-size: .9rem; }
.feedback:not(:empty) { padding: .65rem .8rem; border-left: 3px solid var(--plum); border-radius: .2rem; background: var(--lavender); }
.feedback.error:not(:empty) { border-color: var(--terracotta); background: var(--peach); }
.panel .notice.warning { margin: 0; padding: .6rem .7rem; border-radius: .5rem; color: #6e2e24; background: var(--peach); font-size: .85rem; }
.side-stack, .records { display: grid; gap: .85rem; }
.records { margin-top: .9rem; }
.record { padding: .82rem; border: 1px solid var(--border); border-radius: .7rem; background: #fff; }
.record h3 { margin: .28rem 0 .45rem; font-size: 1.03rem; }
.record p { margin: 0 0 .36rem; color: var(--subtle); font-size: .88rem; }
.record p:last-child { margin-bottom: 0; }
.record .button { margin-top: .5rem; }
.pill { display: inline-flex; width: fit-content; align-items: center; min-height: 1.55rem; padding: .12rem .48rem; border-radius: 99rem; color: var(--plum-dark); background: var(--lavender); font-size: .72rem; font-weight: 790; }
.pill.pending, .pill.cancelled { color: #702e23; background: var(--peach); }
.pill.confirmed, .pill.completed { color: #235242; background: #e0f0e8; }
.regulated-panel { background: #fcf1ea; }
.regulated-panel h2 { margin: .5rem 0; }
.regulated-panel > p + p { margin-top: .45rem; }
.regulated-panel .button { margin-top: .85rem; }
.info-panel { background: var(--lavender); }
.process-list { display: grid; gap: .75rem; margin: .9rem 0; padding-left: 1.35rem; }
.process-list li { padding-left: .17rem; }
.process-list span { display: block; color: var(--subtle); font-size: .88rem; }
.role-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem); gap: 1rem; align-items: center; margin-bottom: .85rem; background: var(--lavender); }
.role-panel p { margin: .35rem 0 0; }
.triage-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .85rem; margin-top: .85rem; }
.triage-card { display: grid; gap: .62rem; }
.triage-card p { margin: 0; }
.triage-card h3 { font-size: 1.14rem; }
.triage-card .private-block { padding: .55rem .66rem; border-radius: .45rem; color: var(--subtle); background: var(--lavender); font-size: .84rem; }
.private-block p { margin: .18rem 0; }
.card-controls { display: flex; flex-wrap: wrap; gap: .48rem; align-items: flex-end; }
.card-controls label { flex: 1 0 min(100%, 11rem); }
.card-controls .button { font-size: .83rem; }
.group-feedback:not(:empty) { margin-bottom: .85rem; }
.group-profile-note { padding: .68rem .85rem; border-radius: .55rem; background: var(--lavender); font-size: .92rem; }
.group-profile-note a { font-weight: 750; text-underline-offset: .2rem; }
.group-back { border: 0; padding: 0; background: transparent; text-decoration: underline; }
.group-summary { display: flex; align-items: start; justify-content: space-between; gap: .85rem 1.5rem; background: var(--lavender); }
.group-summary h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.group-summary p:not(.eyebrow) { margin: .55rem 0 0; color: var(--subtle); }
.group-summary .group-access-note { font-size: .87rem; }
.group-summary .button { flex: none; }
.group-private-grid { margin-top: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.group-space h3 { font-size: 1.3rem; }
.group-space > .form-note { margin-top: .45rem; }
.group-records { padding: 0; list-style: none; }
.group-records .record h4 { margin: 0 0 .4rem; font-size: 1rem; }
.group-records .record p { white-space: pre-line; }
.group-records .empty-record { color: var(--subtle); font-size: .88rem; }
.group-inline-form { border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 1rem; }
.group-inline-form h4 { margin: 0; }
.group-attendance[aria-pressed="true"] { background: var(--lavender); }
.profile-feedback:not(:empty) { margin: 0 0 .85rem; }
.profile-current-details { white-space: pre-line; }
.profile-identity { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.profile-identity > div { min-width: 0; overflow-wrap: anywhere; }
.profile-avatar { display: grid; flex: 0 0 auto; width: 3.75rem; aspect-ratio: 1; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 50%; color: var(--plum-dark); background: var(--white); font-size: 1.15rem; font-weight: 750; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar [data-avatar-preset] { display: grid; width: 100%; height: 100%; place-items: center; font-size: 1.85rem; }
.profile-avatar [data-avatar-preset="flor"] { color: #813c45; background: var(--peach); }
.profile-avatar [data-avatar-preset="lua"] { color: var(--plum-dark); background: var(--lavender); }
.profile-avatar [data-avatar-preset="estrela"] { color: #77481e; background: var(--cream); }
.profile-card-identity, .ride-owner { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.profile-card-identity .profile-avatar, .ride-owner .profile-avatar { width: 2rem; }
.profile-card-identity .profile-avatar [data-avatar-preset], .ride-owner .profile-avatar [data-avatar-preset] { font-size: 1.1rem; }
.profile-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); }
.route-link { margin: -1rem 0 1rem; }
.rides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ride-matches { margin-block: 1rem; }
.ride-thread { margin-top: 1rem; background: var(--paper); }
.ride-thread-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.ride-message-list { display: grid; gap: .55rem; max-height: 21rem; margin: .85rem 0; padding: 0; overflow-y: auto; list-style: none; }
.ride-message-list li { padding: .6rem .75rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--white); overflow-wrap: anywhere; white-space: pre-wrap; }
.ride-thread .form-panel { margin-block: .85rem; }
.profile-reputation-link { margin: 0 0 .85rem; }
.reputation-description, .reputation-form { margin-block: .65rem; }
.recognition-list { margin: .6rem 0 0; padding-inline-start: 1.1rem; }
.recognition-list li + li { margin-top: .38rem; }
.review-comments { display: grid; gap: .4rem; margin: .65rem 0 0; padding: 0; list-style: none; }
.review-comments li { border-inline-start: 2px solid var(--border); padding-inline-start: .65rem; white-space: pre-wrap; }
.credential-panel h2 { margin-bottom: .55rem; }
.credential-panel #credential-profile-note { margin-top: .85rem; }
.credential-panel #credential-active { margin-top: .85rem; }
.credential-summary { margin-bottom: .95rem; }
.credential-summary .pill { margin-bottom: .35rem; }
.credential-summary .button { margin-top: .45rem; }
.credential-panel input[type="file"] { padding: .45rem; }
.site-footer { border-top: 1px solid var(--border); background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.35rem; padding-block: .8rem; }
.footer-brand { font-weight: 790; }
.footer-brand span { color: var(--terracotta); }
.footer-delas { color: var(--wordmark-rose); font: italic 700 1.23rem/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.footer-inner p { margin: 0; color: var(--subtle); font-size: .82rem; }
@media (max-width: 52rem) {
  .shell { width: min(72rem, 100% - 2.5rem); }
  .hero { gap: 1.65rem; }
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary-nav { gap: .25rem .72rem; }
  .triage-callout { grid-template-columns: auto 1fr; }
  .triage-callout .button { grid-column: 2; }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { display: grid; gap: .5rem; min-height: 0; padding-block: .65rem .4rem; }
  .brand { gap: .5rem; }
  .brand br { display: none; }
  .brand-mark { width: 2.05rem; height: 2.05rem; font-size: 1.15rem; border-radius: .53rem; }
  .primary-nav { gap: .22rem .8rem; }
  .primary-nav a { min-height: 2.4rem; font-size: .83rem; }
  .primary-nav .nav-triage { padding: .2rem .48rem; }
  .hero { grid-template-columns: 1fr; gap: 1.3rem; padding-block: 2.25rem 1.7rem; }
  .hero h1 { max-width: 35rem; font-size: clamp(2.2rem, 10vw, 3.65rem); }
  .hero-description { margin-block: .9rem 1.1rem; }
  .hero-art { max-width: 36rem; }
  .section-intro { display: grid; gap: .55rem; }
  .journey-grid, .interior-grid, .jobs-grid, .triage-list { grid-template-columns: minmax(0, 1fr); }
  .group-summary { flex-wrap: wrap; }
  .journey-grid { gap: .65rem; }
  .journey-card { padding: 1.05rem; }
  .triage-callout { gap: .8rem; padding-block: 1.55rem; }
  .callout-icon { width: 2.45rem; height: 2.45rem; font-size: 1.13rem; }
  .interior { padding-block: 1.4rem 2rem; }
  .page-lede { font-size: .96rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .35rem; }
}
@media (max-width: 29rem) {
  .field-grid, .role-panel { grid-template-columns: minmax(0, 1fr); }
  .triage-callout { grid-template-columns: minmax(0, 1fr); }
  .triage-callout .button { grid-column: auto; }
}
