/* lasimessenger.app (D-188 item 8): static, no script, nothing from anywhere
   else. The app's look, "aço e latão" (D-126): graphite and one brass
   accent, IBM Plex (fonts/, SIL OFL). Light and dark follow the device. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* The app's palettes (app/lib/src/theme.dart). */
:root {
  --ground: #f3f5f7;
  --surface: #ffffff;
  --surface-high: #e8ecf0;
  --line: #cfd7df;
  --text: #12161b;
  --muted: #4f5b67;
  --brass: #d4a84b;
  --on-brass: #1a1408;
  --brass-text: #7a5a12;
  --glow: rgba(212, 168, 75, 0.18);
  --radius: 18px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0d1014;
    --surface: #151a20;
    --surface-high: #1d242c;
    --line: #2c3640;
    --text: #e8ecef;
    --muted: #a3aeb9;
    --brass-text: #e2bc68;
    --glow: rgba(212, 168, 75, 0.12);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 17px/1.6 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brass-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 760px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ground);
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.emblem {
  width: 34px;
  height: 34px;
  flex: none;
}

.emblem .mark {
  fill: none;
  stroke: var(--brass);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px 26px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  white-space: nowrap;
}

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

.nav a.button {
  padding: 9px 20px;
  color: var(--on-brass);
}

/* Small screens: the links go into a <details> menu (no script). */
.menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.menu .panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.menu .panel a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}

.menu .panel a:hover {
  background: var(--surface-high);
}

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

  .menu {
    display: block;
  }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--on-brass);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--brass);
  transition: filter 0.15s ease;
}

.button:hover {
  filter: brightness(1.06);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.button.ghost:hover {
  border-color: var(--muted);
  filter: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brass-text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--brass-text);
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 32px;
}

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

/* Phones */

.phones {
  position: relative;
  height: 620px;
}

.phone {
  width: 260px;
  padding: 9px;
  border-radius: 40px;
  background: #05070a;
  border: 1px solid #2c3640;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.phone img {
  border-radius: 32px;
}

.phones .phone.front {
  position: absolute;
  top: 0;
  right: 4%;
  width: 272px;
}

.phones .phone.back {
  position: absolute;
  top: 74px;
  right: calc(4% + 196px);
  width: 236px;
  transform: rotate(-6deg);
}

@media (max-width: 960px) {
  .hero {
    padding-top: 48px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .phones {
    height: auto;
    margin-top: 8px;
  }

  .phones .phone.back {
    display: none;
  }

  .phones .phone.front {
    position: static;
    margin: 0 auto;
    width: min(272px, 78vw);
  }
}

/* Trust strip */

.pillars {
  padding: 28px 0 8px;
}

.pillars ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillars li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 500;
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .pillars ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .pillars ul {
    grid-template-columns: 1fr;
  }
}

.icon {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sections */

.section {
  padding: 96px 0;
}

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

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wrap .kicker {
  margin: 0 0 12px;
  color: var(--brass-text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 10px;
}

.section-head p,
.feature p,
.muted {
  color: var(--muted);
}

/* Feature rows, text and phone side by side, alternating */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 40px 0;
}

.feature + .feature {
  border-top: 1px solid var(--line);
}

.feature.flip .feature-text {
  order: 2;
}

.feature-text h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

.feature-text p {
  font-size: 1.08rem;
  max-width: 32em;
}

.feature .phone {
  margin: 0 auto;
  width: 280px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.checks li {
  position: relative;
  padding-left: 30px;
  margin: 0 0 10px;
  color: var(--text);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature.flip .feature-text {
    order: 0;
  }
}

/* The relay diagram */

.diagram {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

.diagram .node {
  fill: var(--surface-high);
  stroke: var(--line);
  stroke-width: 1.5;
}

.diagram .relay {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2;
}

.diagram .wire {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.diagram .glyph {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagram .glyph.brass {
  stroke: var(--brass);
}

.diagram .label {
  fill: var(--muted);
  font: 500 13px "IBM Plex Sans", system-ui, sans-serif;
}

.diagram .label.strong {
  fill: var(--text);
  font-weight: 600;
}

.diagram .strike {
  stroke: #e0675c;
  stroke-width: 2.4;
  stroke-linecap: round;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.card .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  padding-left: 0;
  list-style: none;
  margin: 8px 0 20px;
}

.card ul li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 8px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}

.card .price {
  margin: auto 0 16px;
  padding-top: 8px;
  color: var(--text);
  font-weight: 600;
}

.card .button {
  align-self: flex-start;
}

.note {
  margin: 28px 0 0;
  max-width: 62em;
  color: var(--muted);
  font-size: 0.94rem;
}

/* What LaSi does not protect */

.limits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.limits .icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
}

.limits li {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--text);
}

@media (max-width: 960px) {
  .limits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .limits {
    grid-template-columns: 1fr;
  }
}

.audit {
  margin: 24px 0 0;
  color: var(--muted);
}

/* The verified seal */

.seal {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

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

.sample {
  display: inline-block;
  margin: 0 0 16px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-high);
  color: var(--muted);
  font-weight: 600;
}

.who strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
}

.who strong svg {
  width: 20px;
  height: 20px;
}

.badge-fill {
  fill: var(--brass);
}

.badge-tick {
  fill: none;
  stroke: var(--on-brass);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.who span {
  color: var(--muted);
  font-size: 0.92rem;
}

.registry {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-high);
  font-size: 0.92rem;
  color: var(--muted);
}

.registry b {
  color: var(--text);
  font-weight: 600;
}

.seal .price {
  margin: 20px 0 16px;
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 860px) {
  .seal {
    grid-template-columns: 1fr;
  }
}

/* Call to action band */

.band {
  padding: 88px 0;
  background: var(--brass);
  color: var(--on-brass);
  text-align: center;
}

.band h2 {
  margin-bottom: 12px;
}

.band p {
  margin: 0 auto 28px;
  max-width: 38em;
  font-size: 1.1rem;
}

.band .fine {
  margin: 22px auto 0;
  font-size: 0.92rem;
}

.band .button {
  background: var(--on-brass);
  color: #f4e9cc;
  border-color: var(--on-brass);
}

/* Footer */

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.site-footer .foot-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

.site-footer .tagline {
  margin: 14px 0 0;
  max-width: 22em;
}

.site-footer .legal {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .site-footer .cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The two hero phones float gently, out of step */

.phones .phone.front {
  animation: float 7s ease-in-out infinite;
}

.phones .phone.back {
  animation: float-tilted 8s ease-in-out -3s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes float-tilted {
  0%, 100% {
    transform: rotate(-6deg) translateY(0);
  }
  50% {
    transform: rotate(-6deg) translateY(-10px);
  }
}

/* On load, the hero text and phones come in once */

.hero .wrap > div:first-child {
  animation: intro 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .phones {
  animation: intro-phones 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}

@keyframes intro {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-phones {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* As the page scrolls, content rises into place and the screens grow
   slightly (CSS scroll-driven animations; browsers without them show the
   page as it is). */

@supports (animation-timeline: view()) {
  .section-head,
  .feature-text,
  .person,
  .card,
  .limits li,
  .seal > div,
  .band .wrap {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 90%;
  }

  .feature .phone,
  .diagram {
    animation: rise-grow linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-grow {
  from {
    opacity: 0.2;
    transform: translateY(70px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media print {
  *,
  *::before,
  *::after {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phones .phone.front,
  .phones .phone.back,
  .hero .wrap > div:first-child,
  .hero .phones,
  .section-head,
  .feature-text,
  .person,
  .card,
  .limits li,
  .pillars li,
  .seal > div,
  .band .wrap,
  .feature .phone,
  .diagram {
    animation: none;
  }
}

/* Who it is for */

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.person {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.person img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.person figcaption {
  padding: 22px 24px 26px;
}

.person figcaption p {
  margin: 0;
  color: var(--muted);
}

.photo-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .people {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Plain text pages (privacy, 404) */

.page {
  padding: 72px 0 96px;
}

.page h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0 0 28px;
}

.page p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* Skip link and focus */

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 8px 14px;
  background: var(--brass);
  color: var(--on-brass);
  border-radius: 8px;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.band a:focus-visible {
  outline-color: var(--on-brass);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
