/* Dodai.ltd public homepage — clean contemporary */

:root {
  --brand-red: #c53030;
  --brand-deep-red: #991b1b;
  --brand-slate: #1e293b;
  --brand-muted: #64748b;
  --brand-border: #e2e8f0;
  --brand-cream: #f8fafc;
  --brand-white: #ffffff;
  --ink: #0f172a;
  --font-display: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --max: 72rem;
  /* Shared left/right page inset — header logo tracks this at all zoom levels */
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--brand-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-deep-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  /* Same side inset as section text; when viewport is wide, still caps at --max (unchanged) */
  width: min(calc(100% - 2 * var(--page-gutter)), var(--max));
  margin: 0.65rem auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-mark {
  flex-shrink: 0;
  padding: 0.35rem 0;
  z-index: 2;
}

.brand-mark img {
  width: clamp(6.75rem, 28vw, 10rem);
  height: auto;
}

/* Mobile menu button — visible below 900px */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0.65rem;
  border: 0;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(0.36rem) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-0.36rem) rotate(-45deg);
}

.site-nav {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  left: auto;
  min-width: min(18.5rem, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  padding: 0.65rem 0.75rem;
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header.nav-open .site-nav {
  display: flex;
}

.nav-link,
.header-cta {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.2s var(--ease);
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  white-space: normal;
  line-height: 1.25;
}

.nav-link:hover,
.header-cta:hover {
  color: var(--brand-red);
  border-bottom-color: transparent;
  background: rgba(197, 48, 48, 0.06);
}

@media (min-width: 900px) {
  .site-header {
    gap: 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 1.15rem;
    min-width: 0;
    max-width: none;
    padding: 0.7rem 1.35rem;
    background:
      radial-gradient(
        120% 140% at 50% 50%,
        rgba(248, 250, 252, 0.96) 0%,
        rgba(248, 250, 252, 0.88) 42%,
        rgba(248, 250, 252, 0.35) 72%,
        rgba(248, 250, 252, 0) 100%
      );
    border-radius: 999px;
    box-shadow: none;
    border: 0;
  }

  .nav-link,
  .header-cta {
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
  }

  .nav-link:hover,
  .header-cta:hover {
    border-bottom-color: var(--brand-red);
    background: transparent;
  }
}

/* Hero — compact under header with one-time slide background */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(20rem, 70vh, 28rem);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translateX(-108%);
  opacity: 0;
  will-change: transform, opacity;
  box-shadow: -18px 0 40px rgba(15, 23, 42, 0.22);
}

.hero-slide-label {
  position: absolute;
  right: clamp(0.75rem, 3vw, 2.25rem);
  bottom: clamp(0.75rem, 2.5vw, 1.75rem);
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 7vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 2px 18px rgba(15, 23, 42, 0.55),
    0 1px 2px rgba(15, 23, 42, 0.45);
  pointer-events: none;
  white-space: nowrap;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Final resting frame (no replay this session) */
.hero.hero-static .hero-slide:last-child,
.hero.hero-done .hero-slide:last-child {
  transform: translateX(0);
  opacity: 1;
  z-index: 1;
}

.hero.hero-static .hero-slide:not(:last-child),
.hero.hero-done .hero-slide:not(:last-child) {
  opacity: 0;
  transform: translateX(6%);
}

/* Play once: each slide enters L→R, holds, next overlaps slightly */
.hero.hero-play .hero-slide:nth-child(1) {
  animation: hero-slide-in 5.2s var(--ease) 0s both;
  z-index: 1;
}

.hero.hero-play .hero-slide:nth-child(2) {
  animation: hero-slide-in 5.2s var(--ease) 1.55s both;
  z-index: 2;
}

.hero.hero-play .hero-slide:nth-child(3) {
  animation: hero-slide-hold 5.2s var(--ease) 3.1s both;
  z-index: 3;
}

@keyframes hero-slide-in {
  0% {
    transform: translateX(-108%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  22% {
    transform: translateX(-4%);
    opacity: 1;
  }
  38% {
    transform: translateX(0);
    opacity: 1;
  }
  72% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(7%);
    opacity: 0.55;
  }
}

@keyframes hero-slide-hold {
  0% {
    transform: translateX(-108%);
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  26% {
    transform: translateX(-3%);
    opacity: 1;
  }
  40% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    linear-gradient(
      105deg,
      rgba(248, 250, 252, 0.94) 0%,
      rgba(248, 250, 252, 0.82) 34%,
      rgba(248, 250, 252, 0.42) 58%,
      rgba(15, 23, 42, 0.18) 100%
    ),
    radial-gradient(90% 70% at 90% 15%, rgba(197, 48, 48, 0.12), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2 * var(--page-gutter)), 40rem);
  margin: 0 auto 0 var(--page-gutter);
  padding: 4.75rem 0 2rem;
  max-width: var(--max);
  animation: rise-in 0.9s var(--ease) both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  max-width: 24ch;
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(0.98rem, 3.5vw, 1.05rem);
  color: var(--brand-muted);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

@media (min-width: 900px) {
  .hero {
    min-height: clamp(22rem, 48vw, 28rem);
  }

  .hero-content {
    width: min(calc(100% - 2 * var(--page-gutter)), 40rem);
    padding: 5.5rem 0 2.25rem;
  }

  .hero-slide-label {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-red);
  color: var(--brand-white);
  border: 1px solid var(--brand-red);
}

.btn-primary:hover {
  background: var(--brand-deep-red);
  border-color: var(--brand-deep-red);
  color: var(--brand-white);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-slate);
  border: 1px solid var(--brand-border);
}

.btn-ghost:hover {
  border-color: var(--brand-slate);
  color: var(--brand-slate);
}

/* Shared sections */

.about,
.what-we-do,
.usp-strip,
.great-for-smb,
.solution-examples,
.services,
.investors,
.contact-us,
.cta-band {
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-gutter);
  border-top: 1px solid var(--brand-border);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  animation: rise-in 0.8s var(--ease) 0.1s both;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: none;
  color: var(--brand-red);
}

.about h2,
.what-we-do h2,
.usp-strip h2,
.great-for-smb h2,
.solution-examples h2,
.services h2,
.investors h2,
.contact-us h2,
.cta-band h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--brand-slate);
  max-width: 36ch;
}

.what-we-do h2 {
  max-width: 40ch;
}

.about h2 {
  max-width: 42ch;
}

.section-copy {
  margin: 0 0 1.1rem;
  max-width: 42rem;
  color: var(--brand-muted);
  font-size: 1.05rem;
}

.section-copy-tight {
  margin-bottom: 0;
}

.offer-lead {
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--brand-slate);
  font-weight: 500;
  font-size: 1.1rem;
  max-width: 40rem;
}

/* What we do */

.what-we-do {
  background: var(--brand-white);
}

.offer-groups {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .offer-groups {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.offer-group h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--brand-slate);
  max-width: 28ch;
}

.offer-group h3::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: 0.75rem;
  background: var(--brand-red);
}

.offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.offer-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--brand-slate);
  font-weight: 500;
  font-size: 1.02rem;
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--brand-red);
}

/* About */

.about {
  background: var(--brand-white);
}

/* Investors */

.investors {
  background: var(--brand-cream);
}

.investors h2 {
  max-width: 28ch;
}

.investor-equity {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  max-width: 40rem;
  color: var(--brand-slate);
  font-weight: 500;
}

.investor-equity strong {
  color: var(--brand-red);
  font-weight: 700;
}

/* Contact */

.contact-us {
  background: var(--brand-white);
}

/* USP — phone receive (legacy strip styles kept for any deep links) */

.usp-strip {
  background: #111111;
  border-top: none;
}

.usp-strip .eyebrow {
  color: #facc15;
}

.usp-strip h2 {
  color: #ffffff;
  max-width: 28ch;
}

.usp-strip .section-copy {
  color: #cbd5e1;
  max-width: 44rem;
}

.usp-strip .section-copy strong {
  color: #ffffff;
}

.usp-strip .btn-ghost {
  margin-top: 0.35rem;
  color: #ffffff;
  border-color: #64748b;
}

.usp-strip .btn-ghost:hover {
  border-color: #facc15;
  color: #facc15;
}

/* Designed for small business */

.great-for-smb {
  background: var(--brand-cream);
}

.great-for-smb h2 {
  max-width: 34ch;
}

.smb-usps {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .smb-usps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1100px) {
  .smb-usps {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.smb-usp h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-slate);
}

.smb-usp h3::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: 0.65rem;
  background: var(--brand-red);
}

.smb-usp p {
  margin: 0 0 1rem;
  color: var(--brand-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36rem;
}

.smb-usp p strong {
  color: var(--brand-slate);
  font-weight: 600;
}

.smb-usp .btn-ghost {
  margin-top: 0.15rem;
}

/* Solution examples */

.solution-examples {
  background: var(--brand-cream);
}

.solution-examples h2 {
  max-width: 36ch;
}

.examples-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.usp-strip-alt {
  background: #1e1e1e;
  border-top: 1px solid #333;
}

@media (min-width: 860px) {
  .examples-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .examples-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .examples-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .examples-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .examples-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1700px) {
  .examples-grid-4 {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* FirmOps / LedgerLine: native image aspect — fill the tile edge-to-edge */
.examples-grid-4 .example-frame-native img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

/* ReceiveScan / TapBooks: keep shared phone-tile framing */
.examples-grid-4 .example-frame-phone {
  aspect-ratio: 1024 / 806;
  display: flex;
  align-items: stretch;
  background: #f5f5f5;
}

.examples-grid-4 .example-frame-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.example-frame-mock {
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1.15rem 1.1rem;
  background:
    linear-gradient(165deg, #111111 0%, #1e1e1e 55%, #2a2a2a 100%);
  line-height: 1.35;
}

.example-mock-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #facc15;
}

.example-mock-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.example-mock-copy {
  font-size: 0.9rem;
  color: #94a3b8;
  max-width: 22rem;
}

.example h3 {
  margin: 1rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-slate);
}

.example h3::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: 0.65rem;
  background: var(--brand-red);
}

.example p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.98rem;
  max-width: 36rem;
  line-height: 1.5;
}

.example-frame {
  display: block;
  position: relative;
  border: 1px solid var(--brand-border);
  border-radius: 0.35rem;
  overflow: hidden;
  background: var(--brand-white);
  line-height: 0;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.25s var(--ease);
}

.example-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.25s var(--ease);
}

.example-frame:hover {
  transform: translateY(-4px) scale(1.01);
}

.example-frame:hover img {
  filter: brightness(0.86);
}

/* About */

.about {
  background: var(--brand-cream);
}

/* Services — three text blocks, not photo cards */

.services {
  background: var(--brand-cream);
}

.services-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.75rem;
}

.service-block {
  padding: 0;
  border: 0;
  background: transparent;
}

.service-block h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-slate);
}

.service-block h3::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: 0.75rem;
  background: var(--brand-red);
}

.service-block p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 1rem;
  max-width: 36rem;
}

@media (min-width: 800px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Contact us form */

.contact-us {
  background: var(--brand-cream);
}

.contact-us h2 {
  max-width: 28ch;
}

.contact-form {
  margin-top: 1.75rem;
  max-width: 36rem;
  display: grid;
  gap: 1.15rem;
}

.contact-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-field {
  display: grid;
  gap: 0.4rem;
}

.contact-field label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-slate);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--brand-border);
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--brand-white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.08);
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.5;
}

.contact-counter {
  margin: 0;
  font-size: 0.82rem;
  color: var(--brand-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 0.35rem;
}

.contact-actions .btn {
  border: 0;
  cursor: pointer;
}

.contact-actions .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.contact-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brand-muted);
}

.contact-status.is-ok {
  color: #15803d;
  font-weight: 600;
}

.contact-status.is-error {
  color: var(--brand-deep-red);
  font-weight: 600;
}

/* Mid-page CTA (legacy styles retained if reused) */

.cta-band {
  background: var(--brand-slate);
  border-top: none;
}

.cta-band h2 {
  color: var(--brand-white);
  max-width: 18ch;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.cta-copy p {
  margin: 0;
  max-width: 36rem;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.cta-band .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-slate);
}

@media (min-width: 720px) {
  .cta-inner {
    grid-template-columns: 1fr auto;
    gap: 2rem;
  }
}

/* Footer — full-bleed band; content matches page max width */

.site-footer {
  padding: clamp(2.5rem, 6vw, 4rem) var(--page-gutter);
  background: var(--brand-slate);
  color: #cbd5e1;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.footer-logo-link:hover {
  opacity: 0.92;
}

.footer-logo {
  width: 11rem;
  height: auto;
  margin: 0;
  padding: 0;
  display: block;
  background: transparent;
  border-radius: 0;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact a {
  color: #fecaca;
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal {
  margin: 0.5rem 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 1.25rem;
}

.footer-note {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.55;
}

.footer-note + .footer-note {
  margin-top: 0.55rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 48px, 48px 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .section-inner {
    animation: none !important;
  }

  .hero.hero-play .hero-slide {
    animation: none !important;
  }

  .hero.hero-play .hero-slide:last-child {
    transform: translateX(0);
    opacity: 1;
  }

  .hero.hero-play .hero-slide:not(:last-child) {
    opacity: 0;
  }
}
