/*
Theme Name: LawRx Landing Page
Theme URI: https://lawrx.com
Author: Mecker
Description: A clean one-page landing page for LawRx, built for healthcare legal guidance.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: lawrx
*/

:root {
      --ink: #06101f;
      --navy: #07192e;
      --navy-deep: #020a15;
      --navy-soft: #0d263f;
      --blue: #4058ff;
      --blue-light: #7284ff;
      --blue-dark: #253fe6;
      --paper: #f6f8ff;
      --white: #ffffff;
      --muted: #6b7588;
      --line: rgba(9, 20, 39, 0.12);
      --line-light: rgba(255, 255, 255, 0.16);
      --shadow: 0 24px 80px rgba(2, 10, 21, 0.18);
      --radius-xl: 34px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --container: 1160px;
      --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: var(--font);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    .hero-wrap {
      position: relative;
      overflow: hidden;
      color: var(--white);
      background:
        radial-gradient(circle at 78% 18%, rgba(64, 88, 255, 0.33), transparent 28%),
        radial-gradient(circle at 8% 4%, rgba(73, 150, 255, 0.18), transparent 34%),
        linear-gradient(145deg, #020814 0%, #061b31 54%, #020814 100%);
    }

    .hero-wrap::before,
    .hero-wrap::after {
      position: absolute;
      content: "";
      pointer-events: none;
      border-radius: 999px;
      filter: blur(20px);
    }

    .hero-wrap::before {
      right: -220px;
      top: 190px;
      width: 520px;
      height: 520px;
      background: rgba(64, 88, 255, 0.15);
    }

    .hero-wrap::after {
      left: -240px;
      bottom: -260px;
      width: 560px;
      height: 560px;
      background: rgba(50, 112, 190, 0.12);
    }

    .container {
      width: min(calc(100% - 40px), var(--container));
      margin: 0 auto;
    }

    .site-header {
      position: relative;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
      padding: 26px 0;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: max-content;
      font-weight: 800;
      letter-spacing: -0.06em;
    }

    .brand-mark {
      display: grid;
      width: 44px;
      height: 44px;
      place-items: center;
      overflow: hidden;
      border-radius: 14px;
      background: var(--navy-deep);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    }

    .brand-mark img {
      width: 44px;
      height: 44px;
      object-fit: cover;
      transform: scale(1.12);
    }

	.brand-word {
		color: var(--white);
		font-size: 3rem;
		line-height: 1;
	}

    .brand-word span {
      color: var(--blue-light);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 28px;
      color: rgba(255, 255, 255, 0.76);
      font-size: 0.94rem;
      font-weight: 600;
    }

    .nav a {
      transition: color 180ms ease;
    }

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

    .header-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: max-content;
      padding: 12px 18px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: 999px;
      color: var(--white);
      font-size: 0.93rem;
      font-weight: 700;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(14px);
      transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }

    .header-link:hover {
      transform: translateY(-1px);
      border-color: rgba(255, 255, 255, 0.46);
      background: rgba(255, 255, 255, 0.1);
    }

    .hero {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.78fr);
      align-items: center;
      gap: 72px;
      padding: 76px 0 110px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 22px;
      color: rgba(255, 255, 255, 0.78);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      width: 32px;
      height: 2px;
      content: "";
      border-radius: 999px;
      background: var(--blue-light);
    }

	.hero h1 {
		max-width: 760px;
		margin: 0;
		font-size: clamp(3rem, 7vw, 6.9rem);
		line-height: 0.92;
		letter-spacing: -0.04em;
	}

    .hero h1 .accent {
      color: var(--blue-light);
    }

    .hero-copy {
      max-width: 750px;
    }

    .hero-copy > p:not(.eyebrow) {
      max-width: 650px;
      margin: 28px 0 0;
      color: rgba(255, 255, 255, 0.76);
      font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 36px;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 0 24px;
      border-radius: 999px;
      font-size: 0.98rem;
      font-weight: 800;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .button-primary {
      color: var(--white);
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      box-shadow: 0 20px 44px rgba(64, 88, 255, 0.34);
    }

    .button-primary:hover {
      box-shadow: 0 24px 54px rgba(64, 88, 255, 0.44);
    }

    .button-secondary {
      color: var(--white);
      border: 1px solid rgba(255, 255, 255, 0.22);
      background: rgba(255, 255, 255, 0.06);
    }

    .button-secondary:hover {
      border-color: rgba(255, 255, 255, 0.42);
      background: rgba(255, 255, 255, 0.11);
    }

    .signal-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      max-width: 700px;
      margin-top: 50px;
    }

    .signal {
      padding: 18px;
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.055);
      backdrop-filter: blur(16px);
    }

    .signal strong {
      display: block;
      color: var(--white);
      font-size: 1.02rem;
      line-height: 1.2;
    }

    .signal span {
      display: block;
      margin-top: 8px;
      color: rgba(255, 255, 255, 0.58);
      font-size: 0.91rem;
    }

    .hero-visual {
      position: relative;
      display: grid;
      justify-items: center;
    }

    .phone-frame {
      position: relative;
      width: min(100%, 360px);
      padding: 12px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 48px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
      box-shadow: 0 32px 110px rgba(0, 0, 0, 0.48);
    }

    .phone-screen {
      position: relative;
      overflow: hidden;
      border-radius: 38px;
      background: var(--navy-deep);
    }

    .phone-screen img {
      width: 100%;
      height: auto;
    }

    .phone-frame::before {
      position: absolute;
      top: 24px;
      left: 50%;
      width: 90px;
      height: 26px;
      content: "";
      transform: translateX(-50%);
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.7);
      z-index: 2;
    }

    .float-card {
      position: absolute;
      right: -30px;
      bottom: 78px;
      width: 220px;
      padding: 18px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 22px;
      color: var(--white);
      background: rgba(4, 15, 30, 0.72);
      backdrop-filter: blur(20px);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    }

    .float-card span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      margin-bottom: 12px;
      border-radius: 12px;
      color: var(--white);
      background: linear-gradient(135deg, var(--blue), var(--blue-light));
      font-weight: 900;
    }

    .float-card strong {
      display: block;
      font-size: 0.98rem;
      line-height: 1.25;
    }

    .float-card p {
      margin: 8px 0 0;
      color: rgba(255, 255, 255, 0.66);
      font-size: 0.88rem;
    }

    .section {
      padding: 96px 0;
    }

    .section-heading {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
      gap: 42px;
      align-items: end;
      margin-bottom: 42px;
    }

    .section-kicker {
      display: inline-flex;
      margin-bottom: 14px;
      color: var(--blue-dark);
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

	.section h2 {
		max-width: 760px;
		margin: 0;
		font-size: clamp(2.15rem, 4.2vw, 4.4rem);
		line-height: 0.98;
		letter-spacing: -0.03em;
	}

    .section-heading p {
      margin: 0;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .platform-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
    }

    .feature-card {
      position: relative;
      overflow: hidden;
      min-height: 260px;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: var(--white);
      box-shadow: 0 18px 54px rgba(9, 20, 39, 0.07);
    }

    .feature-card::after {
      position: absolute;
      right: -80px;
      bottom: -90px;
      width: 220px;
      height: 220px;
      content: "";
      border-radius: 999px;
      background: rgba(64, 88, 255, 0.08);
    }

    .feature-icon {
      display: grid;
      width: 48px;
      height: 48px;
      place-items: center;
      margin-bottom: 28px;
      border-radius: 16px;
      color: var(--white);
      background: linear-gradient(135deg, var(--navy), var(--blue));
    }

    .feature-icon svg {
      width: 22px;
      height: 22px;
    }

    .feature-card h3 {
      position: relative;
      z-index: 1;
      max-width: 440px;
      margin: 0;
      font-size: 1.55rem;
      line-height: 1.05;
      letter-spacing: -0.04em;
    }

    .feature-card p {
      position: relative;
      z-index: 1;
      max-width: 520px;
      margin: 16px 0 0;
      color: var(--muted);
    }

    .feature-card.large {
      grid-row: span 2;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: var(--white);
      background:
        radial-gradient(circle at 84% 16%, rgba(80, 101, 255, 0.45), transparent 28%),
        linear-gradient(145deg, var(--navy-deep), var(--navy-soft));
    }

    .feature-card.large p {
      color: rgba(255, 255, 255, 0.68);
    }

    .mini-logo {
      width: 92px;
      height: 92px;
      overflow: hidden;
      border-radius: 26px;
      background: #06101f;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    }

    .mini-logo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.12);
    }

    .risk-wrap {
      color: var(--white);
      background:
        radial-gradient(circle at 18% 10%, rgba(64, 88, 255, 0.25), transparent 30%),
        linear-gradient(145deg, #020814, #07192e 58%, #020814);
    }

    .risk-wrap .section-heading p {
      color: rgba(255, 255, 255, 0.68);
    }

    .risk-wrap .section-kicker {
      color: var(--blue-light);
    }

    .risk-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .risk-card {
      padding: 26px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.055);
      backdrop-filter: blur(18px);
    }

    .risk-card .number {
      display: inline-flex;
      width: 34px;
      height: 34px;
      align-items: center;
      justify-content: center;
      margin-bottom: 22px;
      border-radius: 999px;
      color: var(--white);
      background: rgba(64, 88, 255, 0.82);
      font-size: 0.85rem;
      font-weight: 900;
    }

    .risk-card h3 {
      margin: 0;
      font-size: 1.18rem;
      line-height: 1.22;
      letter-spacing: -0.025em;
    }

    .risk-card p {
      margin: 12px 0 0;
      color: rgba(255, 255, 255, 0.62);
      font-size: 0.96rem;
    }

    .workflow {
      display: grid;
      grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
      gap: 50px;
      align-items: end;
    }

    .workflow-media-column {
      display: grid;
      gap: 28px;
    }

    .workflow-heading h2 {
      max-width: 580px;
    }

    .workflow-copy-column {
      display: grid;
      align-self: end;
    }

    .workflow-panel {
      position: relative;
      overflow: hidden;
      min-height: 470px;
      padding: 34px;
      border-radius: var(--radius-xl);
      color: var(--white);
      background:
        linear-gradient(rgba(2, 8, 20, 0.08), rgba(2, 8, 20, 0.86)),
        url("assets/lawrx-opening-screen.jpg") center top / cover no-repeat;
      box-shadow: var(--shadow);
    }

    .workflow-panel::after {
      position: absolute;
      inset: 0;
      content: "";
      background: linear-gradient(0deg, rgba(2, 8, 20, 0.88), transparent 55%);
    }

    .workflow-panel-content {
      position: relative;
      z-index: 1;
      display: flex;
      min-height: 400px;
      flex-direction: column;
      justify-content: flex-end;
    }

    .workflow-panel strong {
      max-width: 360px;
      font-size: 2rem;
      line-height: 1.02;
      letter-spacing: -0.045em;
    }

    .workflow-panel p {
      max-width: 380px;
      margin: 14px 0 0;
      color: rgba(255, 255, 255, 0.68);
    }

    .steps {
      display: grid;
      gap: 16px;
    }

    .step {
      display: grid;
      grid-template-columns: 56px 1fr;
      gap: 18px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: var(--white);
      box-shadow: 0 16px 50px rgba(9, 20, 39, 0.06);
    }

    .step span {
      display: grid;
      width: 56px;
      height: 56px;
      place-items: center;
      border-radius: 18px;
      color: var(--white);
      background: linear-gradient(135deg, var(--navy), var(--blue));
      font-weight: 900;
    }

    .step h3 {
      margin: 0;
      font-size: 1.25rem;
      letter-spacing: -0.03em;
    }

    .step p {
      margin: 7px 0 0;
      color: var(--muted);
    }

    .topics {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 30px;
    }

    .topic {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 11px 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: #354258;
      background: rgba(255, 255, 255, 0.72);
      font-size: 0.92rem;
      font-weight: 700;
    }

    .topic::before {
      width: 8px;
      height: 8px;
      content: "";
      border-radius: 999px;
      background: var(--blue);
    }

    .contact-section {
      padding: 90px 0 38px;
      color: var(--white);
      background: var(--navy-deep);
    }

    .contact-card {
      position: relative;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr 0.75fr;
      gap: 42px;
      padding: 46px;
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: var(--radius-xl);
      background:
        radial-gradient(circle at 92% 0%, rgba(64, 88, 255, 0.28), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
      box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
    }

    .contact-card h2 {
      max-width: 720px;
      margin: 0;
      font-size: clamp(2rem, 4.6vw, 4.8rem);
      line-height: 0.98;
      letter-spacing: -0.07em;
    }

    .contact-card p {
      max-width: 630px;
      margin: 20px 0 0;
      color: rgba(255, 255, 255, 0.66);
      font-size: 1.05rem;
    }

    .contact-details {
      align-self: end;
      display: grid;
      gap: 14px;
    }

    .detail {
      padding: 22px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.055);
    }

    .detail span {
      display: block;
      margin-bottom: 7px;
      color: rgba(255, 255, 255, 0.46);
      font-size: 0.77rem;
      font-weight: 900;
      letter-spacing: 0.13em;
      text-transform: uppercase;
    }

    .detail strong,
    .detail a,
    .detail address {
      color: var(--white);
      font-style: normal;
      font-size: 1rem;
      font-weight: 700;
    }

.detail a:hover {
	color: #7284ff;
}

    .footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 28px 0 0;
      color: rgba(255, 255, 255, 0.48);
      font-size: 0.92rem;
    }

    .footer .brand-word {
      color: rgba(255, 255, 255, 0.84);
    }

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

      .hero {
        grid-template-columns: 1fr;
        gap: 54px;
        padding-top: 48px;
      }

      .hero-copy {
        max-width: none;
      }

      .hero h1 {
        max-width: 780px;
      }

.hero-visual {
    justify-items: center;
}

      .float-card {
        right: auto;
        left: min(320px, 42vw);
      }

      .section-heading,
      .workflow,
      .contact-card {
        grid-template-columns: 1fr;
      }

      .platform-grid {
        grid-template-columns: 1fr;
      }

      .feature-card.large {
        min-height: 360px;
      }

      .risk-grid {
        grid-template-columns: 1fr;
      }

      .contact-details {
        align-self: stretch;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(calc(100% - 28px), var(--container));
      }

      .site-header {
        padding: 18px 0;
      }

      .brand-word {
        font-size: 1.08rem;
      }

      .header-link {
        padding: 10px 14px;
        font-size: 0.88rem;
      }

      .hero {
        padding: 46px 0 72px;
      }

      .hero h1 {
        font-size: clamp(2.65rem, 15vw, 4.5rem);
      }

      .hero-actions,
      .button {
        width: 100%;
      }

      .signal-row {
        grid-template-columns: 1fr;
        margin-top: 34px;
      }

      .phone-frame {
        width: min(100%, 320px);
      }

      .float-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: min(100%, 320px);
        margin-top: 16px;
      }

      .section {
        padding: 70px 0;
      }

      .section-heading {
        gap: 20px;
        margin-bottom: 28px;
      }

      .feature-card,
      .risk-card,
      .step {
        padding: 22px;
      }

      .step {
        grid-template-columns: 1fr;
      }

      .workflow-panel {
        min-height: 420px;
        padding: 24px;
      }

      .contact-section {
        padding-top: 70px;
      }

      .contact-card {
        padding: 28px;
        border-radius: 28px;
      }

      .footer {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
      }
    }
