:root {
  --blue: #2f6bff;
  --blue-700: #1f4ed8;
  --blue-50: #eef5ff;
  --ink: #0f172a;
  --muted: #667085;
  --line: #dce6f5;
  --panel: rgba(255, 255, 255, 0.78);
  --white: #ffffff;
  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;
  --violet: #7c3aed;
  --shadow: 0 24px 60px rgba(32, 83, 164, 0.15);
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f8ff;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.hidden {
  display: none !important;
}

.landing-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 255, 0.96) 38%, rgba(213, 230, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(47, 107, 255, 0.05) 0 1px, transparent 1px 110px);
}

.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(31, 78, 216, 0.14);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(47, 107, 255, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #344054;
  font-size: 14px;
}

.primary-button,
.ghost-button,
.dark-button,
.light-button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 750;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: white;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(47, 107, 255, 0.28);
}

.primary-button:hover,
.dark-button:hover,
.light-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.ghost-button {
  color: var(--blue);
  background: rgba(47, 107, 255, 0.08);
}

.dark-button {
  color: white;
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22);
}

.light-button {
  color: var(--blue);
  background: white;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 48px;
  width: min(1180px, calc(100% - 40px));
  min-height: 850px;
  margin: 0 auto;
  padding: 150px 0 96px;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 96px -70px 34px;
  z-index: 0;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(237, 246, 255, 0.44)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(47, 107, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow);
}

.hero-bg {
  display: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-heading span,
.web-value-copy span,
.modal-heading span,
.page-kicker {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 8px 0 18px;
  font-size: clamp(42px, 5.15vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-subtitle {
  width: min(640px, 100%);
  margin: 0 0 28px;
  color: #475467;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions.centered {
  justify-content: center;
}

.app-store-note {
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(520px, 100%);
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

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

.phone-frame {
  position: relative;
  width: 306px;
  height: 626px;
  padding: 7px;
  border: 5px solid #111827;
  border-radius: 44px;
  background: linear-gradient(145deg, #020617, #1e293b 54%, #020617);
  box-shadow:
    0 28px 80px rgba(24, 58, 126, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  animation: phone-float 7s ease-in-out infinite;
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #020617;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.float-card {
  position: absolute;
  width: 194px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 50px rgba(47, 107, 255, 0.16);
  backdrop-filter: blur(16px);
  animation: card-float 6.5s ease-in-out infinite;
}

.float-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 20px;
}

.float-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.card-kicker {
  color: var(--blue) !important;
  font-weight: 750;
}

.invoice-card {
  top: 80px;
  left: 4px;
  transform: rotate(-7deg);
}

.pay-card {
  right: -4px;
  bottom: 118px;
  transform: rotate(7deg);
  animation-delay: -1.4s;
}

.trip-card {
  right: 0;
  top: 150px;
  transform: rotate(4deg);
  animation-delay: -2s;
}

.zip-card {
  left: 4px;
  bottom: 58px;
  transform: rotate(-5deg);
  animation-delay: -3s;
}

.zip-card button {
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  color: white;
  background: var(--blue);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2,
.web-value-copy h2,
.footer-cta h2 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0;
}

.section-heading p,
.web-value-copy p,
.footer-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(220, 230, 245, 0.95);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 255, 0.36);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: white;
  font-weight: 850;
}

.feature-icon.blue { background: var(--blue); }
.feature-icon.violet { background: var(--violet); }
.feature-icon.amber { background: var(--yellow); }
.feature-icon.green { background: var(--green); }

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.web-value-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #344054;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.72);
}

.web-preview-card,
.records-panel,
.metric-grid article,
.detail-drawer,
.task-strip,
.modal-card {
  border: 1px solid rgba(220, 230, 245, 0.94);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.web-preview-card {
  padding: 24px;
  border-radius: 28px;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.preview-toolbar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.preview-toolbar button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: white;
  background: var(--blue);
}

.mini-table,
.records-table {
  width: 100%;
  border-collapse: collapse;
}

.mini-table th,
.mini-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.mini-table th {
  color: #667085;
  font-size: 13px;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.status.warning {
  color: #9a5b00;
  background: rgba(245, 158, 11, 0.15);
}

.status.pending {
  color: var(--blue);
  background: rgba(47, 107, 255, 0.12);
}

.status.success {
  color: #087a3a;
  background: rgba(34, 197, 94, 0.14);
}

.status.danger {
  color: #b42318;
  background: rgba(239, 68, 68, 0.12);
}

.export-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.export-steps div {
  padding: 14px;
  border-radius: 18px;
  background: var(--blue-50);
}

.export-steps strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 50%;
  color: white;
  background: var(--blue);
}

.footer-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 52px auto 40px;
  padding: 76px 24px;
  border-radius: 36px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #183b80);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.footer-cta img {
  width: 72px;
  height: 72px;
}

.footer-cta p,
.footer-cta small {
  color: rgba(255, 255, 255, 0.72);
}

.footer-cta small {
  display: block;
  margin-top: 28px;
}

.filing-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.filing-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.police-badge {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 5px;
  color: white;
  background: rgba(47, 107, 255, 0.34);
  font-size: 11px;
  font-weight: 900;
}

.workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: #f5f8ff;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.workspace-brand {
  margin-bottom: 28px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav button {
  border: 0;
  border-radius: 16px;
  padding: 13px 14px;
  color: #475467;
  font-weight: 750;
  text-align: left;
  background: transparent;
}

.side-nav button.active,
.side-nav button:hover {
  color: var(--blue);
  background: rgba(47, 107, 255, 0.1);
}

.pro-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, #1f4ed8, #0f172a);
}

.pro-card span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.pro-card strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
}

.pro-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.pro-card button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--blue);
  font-weight: 850;
  background: white;
}

.dashboard {
  min-width: 0;
  padding: 30px;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.dashboard h1 {
  margin: 6px 0 0;
  font-size: 34px;
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-grid article {
  padding: 20px;
  border-radius: 22px;
}

.metric-grid span,
.metric-grid small {
  color: var(--muted);
}

.metric-grid strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 30px;
}

.task-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 18px 0;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
}

.task-strip button {
  min-height: 92px;
  border: 0;
  padding: 18px;
  text-align: left;
  background: white;
}

.task-strip span {
  color: #475467;
  font-weight: 750;
}

.task-strip strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--blue);
  font-size: 26px;
}

.task-strip small {
  color: var(--muted);
}

.records-panel {
  border-radius: 28px;
  overflow: hidden;
}

.records-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.records-toolbar h2 {
  margin: 0 0 4px;
}

.records-toolbar p {
  margin: 0;
  color: var(--muted);
}

.toolbar-controls {
  display: flex;
  gap: 10px;
}

.toolbar-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.toolbar-controls select,
.toolbar-controls input {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
}

.table-wrap {
  overflow-x: auto;
}

.records-table {
  min-width: 980px;
}

.records-table th,
.records-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.records-table th {
  color: #667085;
  font-size: 12px;
  letter-spacing: 0.03em;
  background: #f8fbff;
}

.records-table tbody tr:hover {
  background: #f8fbff;
}

.record-title {
  display: grid;
  gap: 3px;
}

.record-title small {
  color: var(--muted);
}

.material-pill {
  display: inline-flex;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 9px;
  color: #344054;
  background: #f2f6ff;
  font-size: 12px;
  font-weight: 750;
}

.row-action {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--blue);
  background: rgba(47, 107, 255, 0.1);
}

.detail-drawer {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 30;
  width: min(440px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 28px;
  padding: 20px;
  transform: translateX(calc(100% + 36px));
  transition: transform 0.22s ease;
}

.detail-drawer.open {
  transform: translateX(0);
}

.drawer-close,
.modal-close {
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--blue);
  background: rgba(47, 107, 255, 0.1);
}

.drawer-close {
  float: right;
}

.detail-header {
  padding-top: 44px;
}

.detail-header h2 {
  margin: 8px 0 4px;
  font-size: 28px;
}

.detail-amount {
  color: var(--red);
  font-size: 38px;
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.detail-grid div,
.attachment-card,
.next-action {
  padding: 14px;
  border-radius: 18px;
  background: #f5f8ff;
}

.detail-grid span,
.attachment-card span,
.next-action span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.detail-grid strong {
  display: block;
  margin-top: 6px;
}

.next-action {
  margin: 14px 0;
  border: 1px solid rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.1);
}

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

.attachment-card {
  min-height: 110px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.attachment-card img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(22px);
}

.modal-card {
  position: relative;
  width: min(860px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 30px;
  padding: 28px;
  animation: modal-in 0.18s ease;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.download-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
}

.download-left img {
  width: 92px;
  height: 92px;
}

.download-left h2,
.login-card h2,
.export-card h2,
.email-card h2 {
  margin: 16px 0 10px;
  font-size: 34px;
}

.download-left p,
.login-card p,
.export-card p,
.email-card p,
.modal-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.rating-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 14px;
  border-radius: 18px;
  background: var(--blue-50);
}

.download-right {
  display: grid;
  gap: 14px;
}

.qr-placeholder,
.qr-login .qr-grid {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px dashed rgba(47, 107, 255, 0.45);
  border-radius: 24px;
  color: var(--blue);
  font-weight: 800;
  background:
    linear-gradient(90deg, rgba(47, 107, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(47, 107, 255, 0.08) 1px, transparent 1px),
    white;
  background-size: 18px 18px;
}

.store-search {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.store-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(180deg, #21c6ff, var(--blue));
  font-weight: 900;
}

.store-search span {
  color: var(--muted);
  font-size: 12px;
}

.store-search strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
}

.search-symbol {
  width: 24px;
  height: 24px;
  border: 4px solid #667085;
  border-radius: 50%;
  position: relative;
}

.search-symbol::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -7px;
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: #667085;
  transform: rotate(45deg);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.login-card,
.email-card {
  width: min(520px, 100%);
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: #eef2f8;
}

.login-tabs button {
  border: 0;
  border-radius: 12px;
  padding: 11px;
  color: #475467;
  font-weight: 800;
  background: transparent;
}

.login-tabs button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.login-pane {
  display: none;
  margin-top: 18px;
}

.login-pane.active {
  display: grid;
  gap: 14px;
}

.login-pane label,
.email-card label {
  display: grid;
  gap: 8px;
  color: #475467;
  font-weight: 750;
}

.code-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.login-pane input,
.email-card input,
.email-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  color: var(--ink);
  background: #f8fbff;
}

.login-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.login-message.success {
  color: #087a3a;
}

.login-message.error {
  color: #b42318;
}

.qr-login {
  display: grid;
  gap: 12px;
  text-align: center;
}

.qr-login .qr-grid {
  min-height: 216px;
  padding: 16px;
}

.qr-code-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(300px, 100%);
  padding: 14px;
  border: 1px solid rgba(47, 107, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.qr-code-svg {
  width: min(208px, 100%);
  aspect-ratio: 1;
  border: 10px solid #fff;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
}

.qr-code-card strong {
  color: var(--ink);
}

.qr-code-card small {
  color: var(--muted);
  line-height: 1.5;
}

.export-card {
  width: min(720px, 100%);
}

.export-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.export-modes label {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  font-weight: 850;
}

.export-modes span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.export-preview {
  padding: 18px;
  border-radius: 20px;
  background: var(--blue-50);
}

.export-preview h3 {
  margin: 0 0 14px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.preview-grid div {
  padding: 14px;
  border-radius: 16px;
  background: white;
}

.preview-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.preview-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.footer-cta small a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.footer-cta small a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page {
  min-height: 100vh;
  padding: 104px 20px 42px;
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 107, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #f5f8ff 0%, #ffffff 44%, #f8fbff 100%);
}

.legal-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 230, 245, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(31, 78, 216, 0.12);
  backdrop-filter: blur(20px);
}

.legal-nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}

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

.legal-hero,
.legal-layout,
.legal-footer,
.contact-redirect {
  width: min(960px, 100%);
  margin: 0 auto;
}

.legal-hero {
  padding: 34px 36px;
  border: 1px solid rgba(220, 230, 245, 0.86);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.legal-hero span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.legal-hero h1 {
  margin: 10px 0;
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.legal-meta-item {
  min-width: 152px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.legal-meta-item span,
.legal-meta-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.legal-meta-item strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(31, 78, 216, 0.08);
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.4;
  border-top: 1px solid rgba(220, 230, 245, 0.72);
}

.legal-toc a:first-of-type {
  border-top: 0;
}

.legal-toc a:hover {
  color: var(--blue);
}

.legal-content {
  min-width: 0;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 16px 44px rgba(31, 78, 216, 0.08);
}

.legal-section {
  scroll-margin-top: 110px;
  padding: 24px 0;
  border-top: 1px solid rgba(220, 230, 245, 0.9);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.35;
}

.legal-section p {
  margin: 10px 0 0;
  color: #344054;
  font-size: 16px;
  line-height: 1.9;
}

.legal-footer {
  margin-top: 22px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0f172a;
  color: white;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.legal-footer a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.legal-footer .filing-links {
  justify-content: flex-start;
  margin: 0 0 10px;
}

.legal-footer small {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.contact-redirect {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.contact-redirect img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  filter: drop-shadow(0 12px 22px rgba(47, 107, 255, 0.2));
}

.contact-redirect h1 {
  margin: 18px 0 8px;
}

.contact-redirect p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-redirect a {
  color: var(--blue);
  font-weight: 800;
}

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

@keyframes card-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -14px; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1040px) {
  .hero-section,
  .web-value-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 136px;
  }

  .feature-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sidebar {
    position: static;
    height: auto;
  }

  .pro-card {
    position: static;
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    border-radius: 24px;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding: 118px 0 54px;
  }

  .hero-section::before {
    inset: 82px -12px 8px;
    border-radius: 28px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-stats,
  .feature-grid,
  .metric-grid,
  .task-strip,
  .download-card,
  .export-modes,
  .preview-grid {
    grid-template-columns: 1fr;
  }

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

  .float-card {
    width: 168px;
  }

  .invoice-card {
    left: -4px;
  }

  .trip-card {
    right: -4px;
  }

  .pay-card {
    right: -2px;
    bottom: 78px;
  }

  .zip-card {
    left: -4px;
    bottom: 18px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 58px 0;
  }

  .dashboard {
    padding: 18px;
  }

  .dashboard-topbar,
  .records-toolbar,
  .topbar-actions,
  .toolbar-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-card {
    padding: 22px;
    border-radius: 24px;
  }

  .legal-page {
    padding: 96px 14px 28px;
  }

  .legal-nav {
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  .legal-nav .ghost-button {
    padding: 10px 13px;
    white-space: nowrap;
  }

  .legal-nav nav {
    display: none;
  }

  .legal-hero {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .legal-hero p,
  .legal-section p {
    font-size: 15px;
    line-height: 1.85;
  }

  .legal-layout {
    display: block;
  }

  .legal-toc {
    position: static;
    margin-bottom: 14px;
    border-radius: 20px;
  }

  .legal-content {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .legal-section h2 {
    font-size: 21px;
  }

  .legal-footer {
    padding: 22px;
    border-radius: 22px;
  }
}

/* Web workspace refinement, aligned to the Figma Make direction. */
:root {
  --blue: #2f6bff;
  --blue-700: #1d5cf5;
  --blue-50: #ebf0ff;
  --ink: #1a1d23;
  --muted: #6b7280;
  --line: rgba(0, 0, 0, 0.08);
  --panel: #ffffff;
  --shadow: 0 14px 36px rgba(31, 78, 216, 0.08);
  --radius: 12px;
}

body {
  background: #f2f4f8;
  font-size: 14px;
}

.landing-page {
  background: linear-gradient(160deg, #eef5ff 0%, #f8faff 48%, #edf2ff 100%);
}

.site-nav {
  top: 14px;
  width: min(1120px, calc(100% - 28px));
  padding: 8px 10px;
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(31, 78, 216, 0.1);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand {
  gap: 8px;
  font-size: 15px;
}

.nav-links {
  gap: 10px;
  font-size: 13px;
}

.primary-button,
.ghost-button,
.dark-button,
.light-button {
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 650;
}

.primary-button {
  box-shadow: none;
}

.hero-section {
  width: min(1120px, calc(100% - 40px));
  min-height: 100svh;
  padding: 92px 0 48px;
  gap: 42px;
}

.hero-section::before {
  inset: 76px -28px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.14;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.62;
}

.app-store-note {
  margin: 12px 0 22px;
  font-size: 12px;
}

.hero-stats {
  max-width: 440px;
  gap: 10px;
}

.hero-stats div {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats strong {
  font-size: 18px;
}

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

.phone-frame {
  width: 238px;
  height: 486px;
  border-radius: 34px;
  border-width: 4px;
  box-shadow: 0 24px 64px rgba(24, 58, 126, 0.2);
}

.phone-frame img {
  border-radius: 26px;
}

.phone-notch {
  width: 72px;
  height: 18px;
}

.float-card {
  width: 170px;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.12);
}

.float-card strong {
  margin: 5px 0 3px;
  font-size: 15px;
}

.float-card span {
  font-size: 11px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  padding: 64px 0;
}

.section-heading h2,
.web-value-copy h2,
.footer-cta h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.section-heading p,
.web-value-copy p,
.footer-cta p {
  font-size: 15px;
}

.feature-grid {
  gap: 12px;
}

.feature-card {
  min-height: 188px;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.feature-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 10px;
}

.feature-card h3 {
  font-size: 16px;
}

.feature-card p {
  line-height: 1.62;
  font-size: 13px;
}

.web-preview-card {
  padding: 18px;
  border-radius: 16px;
}

.mini-table th,
.mini-table td {
  padding: 10px 8px;
  font-size: 13px;
}

.export-steps div {
  padding: 10px;
  border-radius: 12px;
}

.footer-cta {
  width: min(1120px, calc(100% - 40px));
  margin-top: 32px;
  padding: 44px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #183b80 58%, #1f4ed8 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.footer-cta img {
  width: 52px;
  height: 52px;
}

.footer-cta p,
.footer-cta small {
  color: rgba(255, 255, 255, 0.72);
}

.footer-cta small a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-cta .primary-button {
  background: #fff;
  color: var(--blue);
}

.footer-cta .light-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.workspace {
  grid-template-columns: 220px minmax(0, 1fr);
  background: #f2f4f8;
}

.sidebar {
  padding: 16px;
  background: #fff;
}

.workspace-brand {
  margin-bottom: 18px;
}

.side-nav {
  gap: 3px;
}

.side-nav button {
  min-height: 34px;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
}

.pro-card {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--blue);
}

.pro-card strong {
  margin-top: 9px;
  font-size: 15px;
}

.pro-card p {
  margin: 8px 0 12px;
  font-size: 12px;
}

.dashboard {
  padding: 22px;
}

.dashboard-topbar {
  margin-bottom: 16px;
}

.dashboard h1 {
  font-size: 22px;
}

.metric-grid {
  gap: 10px;
}

.metric-grid article {
  padding: 14px;
  border-radius: 12px;
}

.metric-grid strong {
  margin: 6px 0 2px;
  font-size: 22px;
}

.task-strip {
  margin: 12px 0;
  border-radius: 12px;
}

.task-strip button {
  min-height: 70px;
  padding: 12px;
}

.task-strip strong {
  margin: 4px 0 2px;
  font-size: 20px;
}

.records-panel,
.section-card,
.detail-drawer,
.modal-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.records-panel {
  border-radius: 14px;
}

.records-toolbar {
  padding: 14px 16px;
}

.records-toolbar h2,
.section-card h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.records-toolbar p,
.section-card p {
  font-size: 12px;
}

.toolbar-controls select,
.toolbar-controls input {
  min-height: 34px;
  border-radius: 9px;
  font-size: 13px;
}

.records-table {
  min-width: 900px;
  font-size: 13px;
}

.records-table th,
.records-table td {
  padding: 9px 10px;
}

.record-title strong {
  font-size: 13px;
}

.record-title small {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

.status,
.material-pill {
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 11px;
}

.status.neutral {
  color: #525866;
  background: #eef0f4;
}

.row-action {
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 12px;
}

.empty-row {
  padding: 28px !important;
  color: var(--muted);
  text-align: center !important;
}

.section-card {
  border-radius: 14px;
  padding: 18px;
}

.section-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.tight-head {
  margin-bottom: 10px;
}

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

.project-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #f8f9fb;
}

.project-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.project-card h3 {
  margin: 6px 0 4px;
  font-size: 15px;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.project-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.project-card dt {
  color: var(--muted);
  font-size: 11px;
}

.project-card dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.project-actions {
  display: flex;
  gap: 8px;
}

.disabled-button,
.disabled-button:hover {
  color: #8a94a6;
  background: #eef1f7;
  cursor: not-allowed;
  transform: none;
}

.editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.editor-form label,
.feedback-form label,
.preference-block label {
  display: grid;
  gap: 6px;
  color: #475467;
  font-size: 12px;
  font-weight: 650;
}

.editor-form input,
.editor-form select,
.editor-form textarea,
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 10px;
  color: var(--ink);
  background: #f8f9fb;
  font-size: 13px;
}

.wide-field {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.preference-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.preference-block {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #f8f9fb;
}

.preference-block h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.preference-block label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
}

.settings-tabs {
  display: grid;
  align-content: start;
  gap: 4px;
}

.settings-tabs button {
  border: 0;
  border-radius: 9px;
  padding: 9px 10px;
  color: var(--muted);
  text-align: left;
  background: transparent;
}

.settings-tabs button.active,
.settings-tabs button:hover {
  color: var(--blue);
  background: var(--blue-50);
}

.settings-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.settings-list div {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fb;
}

.settings-list span,
.settings-copy {
  color: var(--muted);
  font-size: 13px;
}

.feedback-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.enterprise-panel {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.enterprise-panel div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #f8f9fb;
}

.enterprise-panel span {
  color: var(--muted);
  font-size: 13px;
}

.mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 2px;
}

.plan-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.plan-compare > div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #f8f9fb;
}

.plan-compare .highlight-plan {
  border-color: rgba(47, 107, 255, 0.28);
  background: var(--blue-50);
}

.plan-compare strong,
.plan-compare span {
  display: block;
}

.plan-compare strong {
  font-size: 16px;
}

.plan-compare span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.plan-compare ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.plan-compare li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
}

.plan-compare li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.settings-callout {
  border: 1px solid rgba(47, 107, 255, 0.18);
  border-radius: 12px;
  padding: 12px;
  color: #1f4ed8;
  background: rgba(47, 107, 255, 0.08);
  font-size: 13px;
}

.detail-drawer {
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  width: auto;
  max-height: none;
  padding: 20px;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: rgba(15, 23, 42, 0.34);
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 0.18s ease;
}

.detail-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.drawer-close {
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-editor {
  width: min(760px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

.detail-header {
  padding-top: 0;
}

.compact-detail-header h2 {
  margin: 8px 0 2px;
  font-size: 20px;
}

.detail-amount {
  color: var(--red);
  font-size: 28px;
}

.attachment-editor {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #f8f9fb;
}

.attachment-list {
  display: grid;
  gap: 8px;
}

.attachment-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
}

.attachment-thumb {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  color: var(--blue);
  background: var(--blue-50);
  font-weight: 800;
}

.attachment-row strong,
.attachment-row small {
  display: block;
}

.attachment-row small {
  color: var(--muted);
  font-size: 12px;
}

.file-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 9px;
  padding: 8px 11px;
  color: white;
  background: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.split-actions {
  justify-content: space-between;
}

.split-actions > div {
  display: flex;
  gap: 8px;
}

.danger-button,
.text-danger {
  border: 0;
  border-radius: 9px;
  padding: 8px 12px;
  color: #b42318;
  background: rgba(239, 68, 68, 0.1);
  font-size: 13px;
  font-weight: 650;
}

.text-danger {
  padding: 6px 8px;
  background: transparent;
}

.selection-note {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.notice-card {
  width: min(420px, 100%);
}

.notice-card h2 {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .hero-section {
    min-height: auto;
    padding-top: 96px;
  }

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

  .sidebar {
    position: static;
    height: auto;
  }

  .side-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .pro-card {
    position: static;
    margin-top: 12px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    top: 10px;
    border-radius: 16px;
  }

  .hero-section {
    width: min(100% - 24px, 1120px);
    padding: 88px 0 28px;
  }

  .hero-section::before {
    inset: 68px -6px 6px;
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-subtitle {
    font-size: 14px;
  }

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

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

  .phone-frame {
    width: 178px;
    height: 364px;
  }

  .float-card {
    display: none;
  }

  .section {
    width: min(100% - 24px, 1120px);
    padding: 42px 0;
  }

  .feature-grid,
  .project-grid,
  .preference-layout,
  .plan-compare,
  .editor-form,
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard {
    padding: 14px;
  }

  .toolbar-controls {
    width: 100%;
  }

  .toolbar-controls > * {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-strip {
    grid-template-columns: 1fr;
  }

  .settings-list div {
    grid-template-columns: 1fr;
  }

  .attachment-row {
    grid-template-columns: 42px 1fr;
  }

  .attachment-row button {
    width: 100%;
  }

  .detail-editor {
    max-height: calc(100svh - 28px);
    padding: 14px;
  }
}
