/* TepatWaktu landing page
   Standalone, responsive, and dependency-free. */

:root {
  --teal-950: #07383e;
  --teal-900: #0a474e;
  --teal-800: #0d555c;
  --teal-700: #176b70;
  --teal-600: #278087;
  --teal-100: #dff0ef;
  --teal-50: #eff8f7;
  --orange-600: #e56f0b;
  --orange-500: #f2871c;
  --orange-100: #ffead2;
  --ink: #132c30;
  --muted: #5d7275;
  --surface: #ffffff;
  --surface-soft: #f6faf9;
  --line: #dce9e7;
  --success: #168265;
  --shadow-sm: 0 12px 35px rgba(9, 71, 78, 0.08);
  --shadow-lg: 0 30px 80px rgba(7, 56, 62, 0.16);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
  --header-height: 110px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(242, 135, 28, 0.45);
  outline-offset: 4px;
}

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

.section {
  position: relative;
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--teal-950);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(220, 233, 231, 0.85);
  box-shadow: 0 10px 34px rgba(7, 56, 62, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand img {
  height: 90px;
  width: auto;
}

.brand span span {
  color: var(--orange-600);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  padding: 10px 13px;
  color: #435e61;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.primary-nav a:hover {
  color: var(--teal-900);
  background: var(--teal-50);
}

.primary-nav .nav-emphasis {
  margin-left: 6px;
  padding-inline: 18px;
  color: white;
  background: var(--teal-800);
}

.primary-nav .nav-emphasis:hover {
  color: white;
  background: var(--teal-950);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 13px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--teal-900);
  border-radius: 20px;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero */
.hero {
  min-height: 820px;
  padding-top: 148px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(223, 240, 239, 0.9), transparent 30%),
    linear-gradient(180deg, #f9fcfb 0%, #ffffff 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 5.2vw, 5.5rem);
  line-height: 1.01;
  letter-spacing: -0.065em;
}

.hero-copy h1 span {
  display: block;
  color: var(--teal-700);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--teal-700);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  background: var(--orange-500);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(242, 135, 28, 0.13);
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 780;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    background-color 170ms ease;
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-700));
  box-shadow: 0 16px 32px rgba(13, 85, 92, 0.2);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(13, 85, 92, 0.26);
}

.button-quiet {
  color: var(--teal-900);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.button-quiet:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: var(--shadow-sm);
}

.hero-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.hero-principles > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.principle-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  color: var(--teal-800);
  background: var(--teal-100);
  border-radius: 11px;
  font-weight: 900;
}

.hero-principles p {
  margin: 0;
  line-height: 1.25;
}

.hero-principles strong,
.hero-principles small {
  display: block;
}

.hero-principles strong {
  font-size: 0.88rem;
}

.hero-principles small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

.phone-shell {
  position: relative;
  z-index: 3;
  width: min(100%, 344px);
  padding: 12px;
  color: var(--ink);
  background: #113f44;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 46px;
  box-shadow:
    0 36px 90px rgba(7, 56, 62, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(1.5deg);
}

.phone-shell::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 90px;
  height: 24px;
  background: #113f44;
  border-radius: 0 0 16px 16px;
  transform: translateX(-50%);
}

.phone-top {
  height: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2px 15px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.65rem;
  font-weight: 750;
}

.phone-screen {
  min-height: 546px;
  padding: 0;
  border-radius: 34px;
  overflow: hidden;
  background: #ffffff;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-900);
  font-size: 0.77rem;
  font-weight: 850;
}

.mini-brand img {
  height: 72px;
  width: auto;
}

.avatar-button {
  width: 35px;
  height: 35px;
  padding: 0;
  color: white;
  border: 0;
  background: var(--teal-800);
  border-radius: 50%;
  font-size: 0.67rem;
  font-weight: 800;
}

.app-greeting {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.phone-screen h2 {
  margin-bottom: 17px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 15px;
}

.status-label,
.status-card strong {
  display: block;
}

.status-label {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.62rem;
}

.status-card strong {
  font-size: 0.76rem;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  background: var(--orange-500);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.date-chip {
  padding: 5px 8px;
  color: var(--teal-700);
  background: var(--teal-50);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
}

.check-card {
  padding: 21px 16px 17px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 234, 210, 0.95), transparent 45%),
    white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(7, 56, 62, 0.07);
}

.clock-illustration {
  width: 102px;
  height: 102px;
  display: grid;
  place-items: center;
  margin: 0 auto 11px;
  background: var(--teal-50);
  border-radius: 50%;
}

.clock-face {
  position: relative;
  width: 71px;
  height: 71px;
  border: 6px solid var(--teal-800);
  background: white;
  border-radius: 50%;
}

.clock-hand {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 3px;
  background: var(--teal-800);
  border-radius: 99px;
  transform-origin: 50% 100%;
}

.clock-hour {
  height: 20px;
  transform: translateX(-50%) rotate(35deg);
}

.clock-minute {
  height: 27px;
  transform: translateX(-50%) rotate(125deg);
}

.clock-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.check-card p {
  max-width: 220px;
  margin: 0 auto 13px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.mock-check-button {
  width: 100%;
  padding: 10px 14px;
  color: white;
  border: 0;
  background: var(--teal-800);
  border-radius: 12px;
  font-size: 0.73rem;
  font-weight: 800;
}

.app-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.app-summary div {
  padding: 11px 7px;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
}

.app-summary span,
.app-summary strong {
  display: block;
}

.app-summary span {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.57rem;
}

.app-summary strong {
  font-size: 0.72rem;
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 185px;
  padding: 12px 15px;
  border: 1px solid rgba(220, 233, 231, 0.8);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 17px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}

.floating-card-top {
  top: 80px;
  right: -10px;
}

.floating-card-bottom {
  bottom: 95px;
  left: -18px;
  animation-delay: -2.5s;
}

.floating-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  color: white;
  background: var(--teal-700);
  border-radius: 12px;
  font-weight: 900;
}

.floating-icon.orange {
  background: var(--orange-500);
}

.floating-card p {
  margin: 0;
  line-height: 1.25;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.77rem;
}

.floating-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.65rem;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(23, 107, 112, 0.14);
  border-radius: 50%;
}

.orbit-one {
  width: 530px;
  height: 530px;
}

.orbit-two {
  width: 440px;
  height: 440px;
  border-style: dashed;
  animation: spin 34s linear infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}

.hero-glow-one {
  top: 140px;
  right: -120px;
  width: 490px;
  height: 490px;
  background: rgba(39, 128, 135, 0.13);
}

.hero-glow-two {
  bottom: -140px;
  left: 28%;
  width: 360px;
  height: 360px;
  background: rgba(242, 135, 28, 0.09);
}

/* Empathy strip */
.empathy-strip {
  color: white;
  background: var(--teal-900);
  overflow: hidden;
}

.empathy-strip p {
  max-width: 940px;
  margin: 0 auto;
  padding: 38px 0;
  text-align: center;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.empathy-strip p span {
  color: var(--orange-500);
  font-size: 1.6em;
  line-height: 0;
}

/* Shared headings */
.soft-section {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

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

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 42px rgba(7, 56, 62, 0.045);
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    border-color 190ms ease;
}

.benefit-card:hover {
  border-color: #bddbd8;
  box-shadow: 0 24px 52px rgba(7, 56, 62, 0.1);
  transform: translateY(-6px);
}

.benefit-card.featured {
  color: white;
  border-color: transparent;
  background:
    radial-gradient(circle at 80% 10%, rgba(242, 135, 28, 0.25), transparent 30%),
    linear-gradient(150deg, var(--teal-900), var(--teal-700));
  box-shadow: 0 24px 58px rgba(7, 56, 62, 0.19);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 52px;
  color: var(--teal-800);
  background: var(--teal-100);
  border-radius: 17px;
}

.card-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured .card-icon {
  color: white;
  background: rgba(255, 255, 255, 0.13);
}

.benefit-card h3 {
  margin-bottom: 13px;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.featured p {
  color: rgba(255, 255, 255, 0.76);
}

/* Simulation */
.simulation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.78fr);
  justify-content: space-between;
  gap: 80px;
  align-items: center;
}

.simulation-copy h2 {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.simulation-copy > p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.reassurance-list {
  display: grid;
  gap: 19px;
  margin-top: 36px;
}

.reassurance-list > div {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.reassurance-list > div > span {
  width: 38px;
  flex: 0 0 38px;
  padding-top: 3px;
  color: var(--orange-600);
  font-size: 0.76rem;
  font-weight: 850;
}

.reassurance-list p {
  margin: 0;
}

.reassurance-list strong,
.reassurance-list small {
  display: block;
}

.reassurance-list strong {
  margin-bottom: 2px;
}

.reassurance-list small {
  color: var(--muted);
  font-size: 0.88rem;
}

.demo-panel {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(223, 240, 239, 0.7), transparent 38%),
    white;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.demo-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 24px -20px -24px 20px;
  background: var(--teal-100);
  border-radius: 30px;
}

.demo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.demo-overline {
  display: block;
  margin-bottom: 7px;
  color: var(--orange-600);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.demo-head h3 {
  margin-bottom: 0;
  font-size: 1.36rem;
  letter-spacing: -0.03em;
}

.live-time {
  min-width: 88px;
  padding: 8px 10px;
  text-align: center;
  color: var(--teal-900);
  background: var(--teal-50);
  border-radius: 12px;
}

.live-time span,
.live-time small {
  display: block;
}

.live-time span {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.live-time small {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 18px;
  transition:
    background-color 220ms ease,
    border-color 220ms ease;
}

.demo-status[data-state="working"] {
  border-color: #b8ddd2;
  background: #eef9f5;
}

.demo-status[data-state="done"] {
  border-color: #f4d2aa;
  background: #fff8ef;
}

.demo-status-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 900;
}

.demo-status[data-state="working"] .demo-status-icon {
  color: var(--success);
  background: #d7f0e7;
}

.demo-status[data-state="done"] .demo-status-icon {
  color: var(--orange-600);
  background: var(--orange-100);
}

.demo-status span,
.demo-status strong {
  display: block;
}

.demo-status span {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.demo-status strong {
  font-size: 1rem;
}

.demo-location {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 17px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.demo-location svg {
  width: 23px;
  fill: none;
  stroke: var(--teal-700);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-location span,
.demo-location strong {
  display: block;
}

.demo-location div span {
  color: var(--muted);
  font-size: 0.7rem;
}

.demo-location strong {
  font-size: 0.86rem;
}

.location-ok {
  padding: 4px 9px;
  color: var(--success);
  background: #e2f4ed;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 850;
}

.demo-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 20px;
}

.demo-times div {
  padding: 14px 8px;
  text-align: center;
  background: var(--surface-soft);
  border-radius: 13px;
}

.demo-times span,
.demo-times strong {
  display: block;
}

.demo-times span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.demo-times strong {
  font-size: 0.95rem;
}

.attendance-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  color: white;
  border: 0;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-700));
  border-radius: 15px;
  box-shadow: 0 14px 28px rgba(13, 85, 92, 0.18);
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    background 170ms ease;
}

.attendance-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(13, 85, 92, 0.24);
}

.attendance-button[data-action="checkout"] {
  background: linear-gradient(135deg, #cf6105, var(--orange-500));
}

.attendance-button[disabled] {
  cursor: default;
  opacity: 0.74;
  transform: none;
}

.button-state-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--teal-800);
  background: white;
  border-radius: 50%;
  font-size: 0.75rem;
}

.demo-message {
  min-height: 42px;
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

.reset-demo {
  display: block;
  margin: 4px auto 0;
  padding: 4px 8px;
  color: var(--teal-700);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 780;
}

/* Role tabs */
.roles-section {
  color: white;
  background:
    radial-gradient(circle at 86% 12%, rgba(242, 135, 28, 0.18), transparent 25%),
    linear-gradient(145deg, var(--teal-950), var(--teal-800));
}

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

.roles-section .eyebrow {
  color: #9cdddc;
}

.role-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 30px;
  backdrop-filter: blur(12px);
}

.role-tabs {
  display: grid;
  align-content: start;
  gap: 9px;
}

.role-tab {
  padding: 20px;
  text-align: left;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid transparent;
  background: transparent;
  border-radius: 17px;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.role-tab:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.role-tab.active {
  color: var(--teal-950);
  border-color: rgba(255, 255, 255, 0.35);
  background: white;
}

.role-tab span,
.role-tab small {
  display: block;
}

.role-tab span {
  font-weight: 850;
}

.role-tab small {
  margin-top: 4px;
  opacity: 0.72;
  font-size: 0.75rem;
}

.role-panel {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 42px;
  color: var(--ink);
  background: white;
  border-radius: 23px;
  animation: panel-in 260ms ease both;
}

.role-visual {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 15%, var(--orange-100), transparent 34%),
    var(--teal-50);
  border-radius: 24px;
}

.role-emoji {
  font-size: 3rem;
}

.mini-notification,
.mini-dashboard,
.mini-insight {
  width: min(100%, 270px);
  padding: 17px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.mini-notification span,
.mini-notification strong,
.mini-insight span,
.mini-insight strong,
.mini-insight small {
  display: block;
}

.mini-notification span,
.mini-insight span {
  margin-bottom: 4px;
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 850;
}

.mini-notification strong,
.mini-insight strong {
  font-size: 0.83rem;
}

.mini-insight small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
}

.mini-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.mini-dashboard div {
  padding: 10px 5px;
  text-align: center;
  background: var(--surface-soft);
  border-radius: 10px;
}

.mini-dashboard span,
.mini-dashboard strong {
  display: block;
}

.mini-dashboard span {
  color: var(--muted);
  font-size: 0.57rem;
}

.mini-dashboard strong {
  margin-top: 3px;
  font-size: 1rem;
}

.role-label {
  display: block;
  margin-bottom: 13px;
  color: var(--orange-600);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.role-content h3 {
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.role-content p {
  color: var(--muted);
}

.role-content ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.role-content li {
  position: relative;
  padding-left: 26px;
  font-weight: 650;
}

.role-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

/* Process */
.process-section {
  background: var(--surface-soft);
}

.process-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.process-step {
  position: relative;
  min-height: 282px;
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(7, 56, 62, 0.045);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #bdd1d0;
  font-size: 0.78rem;
  font-weight: 900;
}

.step-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 54px;
  color: var(--teal-800);
  background: var(--teal-100);
  border-radius: 17px;
  font-size: 1.35rem;
  font-weight: 900;
}

.process-step:nth-of-type(2) .step-icon {
  color: var(--orange-600);
  background: var(--orange-100);
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.process-arrow {
  color: var(--orange-500);
  font-size: 1.5rem;
  font-weight: 900;
}

.privacy-note {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 28px;
  padding: 30px;
  color: white;
  background: var(--teal-900);
  border-radius: var(--radius-md);
}

.privacy-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--orange-500);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  font-size: 1.2rem;
}

.privacy-note h3 {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.privacy-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* FAQ */
.faq-section {
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(500px, 1fr);
  gap: 80px;
  align-items: start;
}

.faq-grid .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 35px);
  margin-bottom: 0;
}

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

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 3px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 780;
}

.accordion-item button span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  color: var(--teal-800);
  background: var(--teal-50);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 500;
  transition: transform 180ms ease, background-color 180ms ease;
}

.accordion-item button[aria-expanded="true"] span {
  color: white;
  background: var(--teal-800);
  transform: rotate(45deg);
}

.accordion-content {
  overflow: hidden;
}

.accordion-content p {
  max-width: 720px;
  margin: -5px 45px 24px 3px;
  color: var(--muted);
}

/* Closing */
.closing-section {
  padding: 30px 0 80px;
}

.closing-card {
  min-height: 320px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 48px;
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 135, 28, 0.35), transparent 28%),
    linear-gradient(135deg, var(--teal-950), var(--teal-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.closing-card img {
  height: 100px;
  width: auto;
}

.closing-label {
  display: block;
  margin-bottom: 10px;
  color: #9cdddc;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.closing-card h2 {
  max-width: 760px;
  margin-bottom: 13px;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.052em;
}

.closing-card p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.button-light {
  color: var(--teal-900);
  background: white;
  white-space: nowrap;
}

.button-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.16);
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.footer-brand img {
  height: 104px;
  width: auto;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-size: 0.86rem;
}

.footer-brand span,
.footer-inner > p {
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-inner > p {
  margin: 0;
  text-align: right;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(.2, .75, .2, 1),
    transform 700ms cubic-bezier(.2, .75, .2, 1);
}

.reveal-delay {
  transition-delay: 100ms;
}

.reveal-delay-two {
  transition-delay: 200ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 135, 28, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(242, 135, 28, 0); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 35px;
  }

  .floating-card-top {
    right: -25px;
  }

  .floating-card-bottom {
    left: -35px;
  }

  .benefit-card {
    padding: 26px;
  }

  .simulation-grid {
    gap: 50px;
  }

  .role-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .role-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px;
  }

  .role-visual {
    min-height: 210px;
  }

  .faq-grid {
    gap: 50px;
  }

  .closing-card {
    grid-template-columns: auto 1fr;
  }

  .closing-card .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 96px;
  }

  .section {
    padding: 88px 0;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: 90;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 3px;
    padding: 13px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 13px 14px;
  }

  .primary-nav .nav-emphasis {
    margin: 4px 0 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 125px;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-principles {
    justify-content: center;
  }

  .hero-visual {
    min-height: 590px;
  }

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

  .benefit-card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 35px;
  }

  .simulation-copy {
    text-align: center;
  }

  .simulation-copy > p {
    margin-inline: auto;
  }

  .reassurance-list {
    max-width: 620px;
    margin-inline: auto;
    text-align: left;
  }

  .demo-panel {
    width: min(100%, 570px);
    margin-inline: auto;
  }

  .role-layout {
    grid-template-columns: 1fr;
  }

  .role-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .role-tab {
    padding: 15px;
    text-align: center;
  }

  .role-tab small {
    display: none;
  }

  .role-panel {
    grid-template-columns: minmax(220px, 0.75fr) 1fr;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .process-step {
    min-height: auto;
  }

  .step-icon {
    margin-bottom: 38px;
  }

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

  .faq-grid .section-heading {
    position: static;
  }

  .closing-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .closing-card img {
    margin-inline: auto;
  }

  .closing-card .button {
    grid-column: auto;
    justify-self: center;
  }
}

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

  .section {
    padding: 72px 0;
  }

  .brand img {
    height: 76px;
    width: auto;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-principles {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 1fr;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  .hero-visual {
    min-height: 530px;
  }

  .phone-shell {
    width: 300px;
  }

  .phone-screen {
    min-height: 480px;
    padding: 0;
  }

  .floating-card {
    min-width: 160px;
    padding: 10px 12px;
  }

  .floating-card-top {
    top: 55px;
    right: -2px;
  }

  .floating-card-bottom {
    bottom: 44px;
    left: 0;
  }

  .orbit-one {
    width: 390px;
    height: 390px;
  }

  .orbit-two {
    width: 335px;
    height: 335px;
  }

  .empathy-strip p {
    padding: 31px 4px;
  }

  .section-heading h2,
  .simulation-copy h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .benefit-card {
    padding: 25px;
  }

  .demo-panel {
    padding: 22px;
  }

  .demo-head h3 {
    font-size: 1.15rem;
  }

  .demo-times {
    gap: 6px;
  }

  .role-layout {
    padding: 10px;
    border-radius: 22px;
  }

  .role-tabs {
    gap: 5px;
  }

  .role-tab {
    padding: 12px 8px;
    font-size: 0.78rem;
  }

  .role-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .role-visual {
    min-height: 190px;
    padding: 22px;
  }

  .privacy-note {
    grid-template-columns: 1fr;
  }

  .closing-card {
    padding: 34px 24px;
    border-radius: 27px;
  }

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

  .footer-inner > p {
    text-align: left;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
