/* ============================================================================
   Nabo public site
   ========================================================================== */

:root {
  --brand: #6D5EF6;
  --brand-strong: #4F46E5;
  --teal: #0F9F90;
  --amber: #D98A06;
  --rose: #D83C6F;
  --ink: #12131A;
  --text: #303342;
  --muted: #687083;
  --line: #E6E8EF;
  --line-strong: #D8DBE7;
  --bg: #FFFFFF;
  --bg-soft: #F6F7FA;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --nav-bg: rgba(255, 255, 255, .86);
  --shadow-soft: 0 22px 70px rgba(27, 31, 43, .10);
  --shadow-tight: 0 10px 30px rgba(27, 31, 43, .08);
}

[data-theme="dark"] {
  --brand: #8B7CFF;
  --brand-strong: #A99DFF;
  --teal: #35C6B6;
  --amber: #F2B34B;
  --rose: #F06A98;
  --ink: #F5F7FB;
  --text: #DCE1ED;
  --muted: #A8B0C2;
  --line: #292D3A;
  --line-strong: #34394B;
  --bg: #101218;
  --bg-soft: #161923;
  --surface: #171A24;
  --surface-raised: #1D2130;
  --nav-bg: rgba(16, 18, 24, .86);
  --shadow-soft: 0 22px 70px rgba(0, 0, 0, .38);
  --shadow-tight: 0 10px 30px rgba(0, 0, 0, .28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(109, 94, 246, .08), transparent 360px),
    linear-gradient(90deg, rgba(15, 159, 144, .05), transparent 460px);
}

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

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

.wrap {
  width: min(1160px, calc(100vw - 40px));
  margin-inline: auto;
}

.svg {
  width: 1em;
  height: 1em;
  flex: none;
}

.material-symbols-rounded {
  display: inline-flex;
  vertical-align: middle;
  font-size: 1em;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* Header */

.site-header,
.nav-outer {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--nav-bg);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}

.logo {
  width: 32px;
  height: 32px;
  flex: none;
}

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

.nav-links a,
.login-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.login-link:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--line-strong);
  background: var(--bg-soft);
}

.nav-toggle {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(109, 94, 246, .24);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

.btn.is-disabled,
.login-link.is-disabled {
  cursor: default;
}

.btn.is-disabled,
.btn.is-disabled:hover {
  border-color: var(--line-strong);
  background: var(--bg-soft);
  color: var(--muted);
  box-shadow: none;
}

.login-link.is-disabled {
  color: var(--muted);
}

.coming-soon-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: min(420px, calc(100vw - 28px));
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: var(--shadow-tight);
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .18s ease, transform .18s ease;
}

.coming-soon-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: center;
  padding: 70px 0 56px;
}

.hero h1 {
  margin: 0;
  color: transparent;
  background: linear-gradient(92deg, #7C3AED 0%, #4F46E5 52%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 76px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.16;
}

.hero-sub {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-actions {
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.store-badge:hover {
  border-color: rgba(124, 58, 237, .32);
  transform: translateY(-1px);
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.05;
}

.store-badge small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-badge strong {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 800;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.device-showcase {
  position: relative;
  min-width: 0;
  min-height: 610px;
  isolation: isolate;
}

.device-showcase::before {
  content: "";
  position: absolute;
  inset: 34px 0 0;
  z-index: -1;
  border-radius: 38px;
  background:
    linear-gradient(118deg, rgba(14, 165, 233, .12), transparent 34%),
    linear-gradient(248deg, rgba(124, 58, 237, .16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(246, 247, 250, .2));
}

.device {
  position: absolute;
  filter: drop-shadow(0 24px 38px rgba(20, 24, 39, .18));
}

.device-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .42);
  background: linear-gradient(145deg, #2B2D35, #07080C);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    0 22px 60px rgba(20, 24, 39, .16);
}

.tablet-device .device-shell {
  height: 100%;
  padding: 10px;
  border-radius: 28px;
}

.phone-device .device-shell {
  height: 100%;
  padding: 7px;
  border-radius: 34px;
}

.ipad-device {
  top: 0;
  left: 56px;
  z-index: 1;
  width: 500px;
  height: 314px;
}

.android-tablet-device {
  top: 164px;
  right: 0;
  z-index: 2;
  width: 415px;
  height: 256px;
}

.android-phone-device {
  top: 176px;
  left: 0;
  z-index: 4;
  width: 195px;
  height: 410px;
}

.iphone-device {
  top: 232px;
  right: 142px;
  z-index: 5;
  width: 185px;
  height: 382px;
}

.tablet-camera,
.phone-camera,
.iphone-notch {
  position: absolute;
  z-index: 3;
  background: #0A0B0F;
}

.tablet-camera {
  top: 5px;
  left: 50%;
  width: 30px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  opacity: .7;
}

.phone-camera {
  top: 14px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
}

.iphone-notch {
  top: 13px;
  left: 50%;
  width: 56px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
}

.tablet-app,
.phone-app {
  overflow: hidden;
  height: 100%;
  color: #1D2130;
  background:
    radial-gradient(circle at 14% 84%, rgba(14, 165, 233, .16), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(124, 58, 237, .14), transparent 28%),
    #FBFAFF;
}

.tablet-app {
  border-radius: 19px;
}

.phone-app {
  position: relative;
  border-radius: 27px;
}

.app-landscape {
  display: grid;
  grid-template-columns: 126px 1fr;
}

.app-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 12px;
  border-right: 1px solid #E7E8F1;
  background: rgba(245, 247, 252, .82);
}

.app-rail-brand,
.phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7C3AED;
  font-weight: 800;
}

.mini-logo {
  width: 23px;
  height: 23px;
  flex: none;
  border-radius: 7px;
  background: linear-gradient(145deg, #A78BFA, #7C3AED);
  clip-path: polygon(0 0, 48% 18%, 48% 100%, 0 78%, 0 0, 100% 0, 100% 78%, 54% 100%, 54% 18%);
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 12px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.rail-item i {
  color: currentColor;
  font-size: 15px;
}

.rail-item.active {
  background: rgba(124, 58, 237, .12);
  color: #7C3AED;
}

.tablet-workspace {
  min-width: 0;
  padding: 20px;
}

.app-topline,
.phone-status,
.calendar-head,
.phone-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.app-topline span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.app-topline strong {
  color: #191B23;
  font-size: 22px;
  line-height: 1.08;
}

.mock-avatar {
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(31, 41, 55, .14);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.stat-strip span,
.task-summary span {
  display: grid;
  gap: 3px;
  min-height: 70px;
  padding: 10px;
  border: 1px solid #EEF0F6;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
}

.stat-strip i,
.task-summary i,
.notes-grid i {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.stat-strip strong,
.task-summary strong {
  color: #171A23;
  font-size: 24px;
  line-height: 1;
}

.stat-strip small,
.task-summary small {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.tablet-card,
.calendar-note,
.tablet-search {
  border: 1px solid #E5E7EF;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
}

.tablet-card {
  margin-top: 16px;
  padding: 16px;
}

.pin-mark {
  color: #7C3AED;
  font-size: 11px;
  font-weight: 800;
}

.tablet-card strong,
.calendar-note strong {
  display: block;
  margin-top: 4px;
  color: #171A23;
  font-size: 16px;
}

.tablet-card p,
.calendar-note span {
  margin: 6px 0 0;
  color: #667085;
  font-size: 12px;
}

.tablet-search {
  margin-top: 12px;
  padding: 12px 14px;
  color: #667085;
  font-size: 13px;
}

.calendar-landscape {
  padding: 18px;
}

.calendar-head strong {
  color: #171A23;
  font-size: 21px;
}

.calendar-head span {
  color: #7C3AED;
  font-size: 13px;
  font-weight: 800;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 18px;
}

.week-grid span {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.week-grid b {
  min-height: 42px;
  border: 1px solid #EBEDF4;
  border-radius: 14px;
  background: rgba(255, 255, 255, .66);
}

.calendar-note {
  margin-top: 14px;
  padding: 13px;
}

.event-blue { background: rgba(59, 130, 246, .2) !important; }
.event-violet { background: rgba(124, 58, 237, .18) !important; }
.event-teal { background: rgba(20, 184, 166, .18) !important; }
.event-amber { background: rgba(245, 158, 11, .2) !important; }
.event-rose { background: rgba(244, 63, 94, .17) !important; }

.phone-status {
  height: 26px;
  padding: 0 14px;
  color: #515765;
  font-size: 10px;
  font-weight: 800;
}

.phone-brand {
  padding: 8px 14px 0;
}

.phone-brand strong {
  font-size: 24px;
  line-height: 1;
}

.phone-brand.compact strong {
  font-size: 20px;
}

.phone-brand .mock-avatar {
  width: 28px;
  height: 28px;
}

.phone-bell {
  margin-left: auto;
  color: #171A23;
  font-size: 18px;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 16px 12px 12px;
  padding: 0 7px 0 12px;
  border: 1px solid #E1E4EE;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.phone-search .material-symbols-rounded {
  font-size: 18px;
  color: #5F6677;
}

.phone-search em {
  flex: 1;
  overflow: hidden;
  font-style: normal;
  white-space: nowrap;
}

.phone-search b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #8B5CF6;
  color: #fff !important;
  font-size: 19px !important;
}

.filter-row {
  display: flex;
  gap: 8px;
  padding: 0 12px;
  overflow: hidden;
}

.filter-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 64px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #3E4351;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(31, 41, 55, .06);
}

.filter-row span.active {
  background: #7C3AED;
  color: #fff;
}

.filter-row i {
  font-size: 14px;
}

.filter-row .icon-only {
  min-width: 42px;
  padding: 0;
  border-radius: 999px;
}

.phone-title-row {
  padding: 16px 14px 10px;
}

.phone-title-row strong,
.task-phone h3 {
  margin: 0;
  color: #171A23;
  font-size: 19px;
  line-height: 1;
}

.phone-title-row span {
  color: #7C3AED;
  font-size: 12px;
  font-weight: 800;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 12px 76px;
}

.notes-grid article {
  min-height: 112px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 24px rgba(31, 41, 55, .06);
}

.notes-grid strong,
.notes-grid p,
.notes-grid span,
.task-card strong,
.task-card span {
  display: block;
}

.notes-grid strong {
  margin-top: 11px;
  color: #171A23;
  font-size: 12px;
}

.notes-grid p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 10px;
  line-height: 1.35;
}

.notes-grid span {
  margin-top: 10px;
  color: #7C3AED;
  font-size: 10px;
  font-weight: 800;
}

.note-violet { background: rgba(124, 58, 237, .15); }
.note-teal { background: rgba(16, 185, 129, .16); }
.note-amber { background: rgba(245, 158, 11, .16); }
.note-rose { background: rgba(244, 63, 94, .15); }
.note-blue { background: rgba(59, 130, 246, .15); }

.float-add {
  position: absolute;
  right: 18px;
  bottom: 78px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #A78BFA, #7C3AED);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 18px 30px rgba(124, 58, 237, .28);
}

.phone-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  min-height: 62px;
  padding: 8px 8px;
  border: 1px solid #E5E7EF;
  border-radius: 30px;
  background: rgba(255, 255, 255, .92);
  color: #667085;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 18px 28px rgba(31, 41, 55, .09);
}

.phone-nav span,
.phone-nav b {
  display: grid;
  min-width: 0;
  gap: 4px;
  justify-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.phone-nav i {
  font-size: 17px;
  color: currentColor;
}

.phone-nav b {
  position: relative;
  top: -11px;
  align-self: start;
  width: 46px;
  height: 46px;
  place-items: center;
  justify-self: center;
  border-radius: 999px;
  background: linear-gradient(145deg, #A78BFA, #7C3AED);
  color: #fff;
  font-size: 0;
  box-shadow: 0 8px 16px rgba(124, 58, 237, .26);
}

.phone-nav b i {
  font-size: 24px;
}

.phone-nav b small {
  display: none;
}

.phone-nav small {
  font-size: 7px;
  font-weight: 700;
}

.phone-nav .active {
  color: #7C3AED;
}

.task-phone h3 {
  padding: 16px 14px 0;
  font-size: 25px;
}

.task-sub {
  margin: 7px 14px 18px;
  color: #667085;
  font-size: 13px;
}

.filter-row.tasks span {
  min-width: 72px;
}

.task-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 18px 12px;
  overflow: hidden;
  border-radius: 20px;
  background: #E5E7EF;
}

.task-summary span {
  min-height: 62px;
  border: 0;
  border-radius: 0;
}

.task-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  margin: 10px 12px;
  padding: 10px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
}

.task-card i {
  width: 23px;
  height: 23px;
  flex: none;
  border: 2px solid #A4AABE;
  border-radius: 999px;
}

.task-card strong {
  color: #171A23;
  font-size: 12px;
}

.task-card span {
  margin-top: 5px;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
}

/* Sections */

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

.section-heading h2,
.split h2,
.download-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.12;
}

.section-heading p,
.split-copy p,
.download-band p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.workflow {
  padding: 30px 0 46px;
}

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

.workflow-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.step-num {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.workflow-card h3 {
  margin: 40px 0 8px;
  color: var(--ink);
  font-size: 21px;
}

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

.split {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 54px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: var(--teal);
}

.focus-panel {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.focus-row {
  display: grid;
  grid-template-columns: auto 100px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--bg-soft);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.dot.violet { background: var(--brand); }
.dot.teal { background: var(--teal); }
.dot.amber { background: var(--amber); }
.dot.rose { background: var(--rose); }

.focus-row strong {
  color: var(--ink);
  font-size: 15px;
}

.focus-row em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.download-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin: 34px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
}

.download-band h2,
.download-band p {
  color: inherit;
}

.download-band p {
  opacity: .74;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.store-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.store-link:hover {
  background: rgba(255, 255, 255, .14);
}

.store-link small,
.store-link strong {
  display: block;
}

.store-link small {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-link strong {
  font-size: 15px;
}

.store-symbol {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  position: relative;
}

.play-symbol::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 7px;
  width: 17px;
  height: 20px;
  background: linear-gradient(135deg, #22C55E 0 34%, #3B82F6 34% 62%, #F59E0B 62% 78%, #EF4444 78%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.apple-symbol::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 15px;
  height: 17px;
  border-radius: 7px 7px 8px 8px;
  background: #111827;
}

.apple-symbol::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 8px 0 8px 0;
  background: #111827;
  transform: rotate(-28deg);
}

/* Footer */

.site-footer {
  margin-top: 54px;
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-grid p {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* Legal pages */

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.legal {
  padding: 42px 0 18px;
}

.legal .legal-card {
  padding: 40px;
}

.legal h1 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.1;
}

.legal .updated {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 22px;
}

.legal h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.legal p,
.legal li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 10px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 10px;
}

.legal a {
  color: var(--brand-strong);
  font-weight: 700;
}

.legal .toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 8px;
}

.legal .toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px;
}

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

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.back-link:hover {
  color: var(--ink);
}

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

/* Responsive */

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .device-showcase {
    width: min(100%, 660px);
    margin-inline: auto;
  }

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

  .split,
  .download-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 58px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-tight);
  }

  .login-link {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 26px;
  }

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

  .device-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-height: 0;
    width: 100%;
  }

  .device-showcase::before {
    inset: -10px -8px;
  }

  .device {
    position: relative;
    inset: auto;
    width: 100%;
    filter: drop-shadow(0 14px 22px rgba(20, 24, 39, .15));
  }

  .tablet-device {
    grid-column: 1 / -1;
    height: auto;
  }

  .tablet-device .device-shell {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .phone-device {
    height: 392px;
  }

  .ipad-device,
  .android-tablet-device,
  .android-phone-device,
  .iphone-device {
    top: auto;
    right: auto;
    left: auto;
  }

  .app-landscape {
    grid-template-columns: 112px 1fr;
  }

  .app-rail {
    padding: 14px 10px;
  }

  .tablet-workspace {
    padding: 16px;
  }

  .android-tablet-device .device-shell {
    aspect-ratio: 16 / 9;
  }

  .workflow-card {
    min-height: 180px;
  }

  .focus-row {
    grid-template-columns: auto 1fr;
  }

  .focus-row em {
    grid-column: 2;
  }

  .download-band {
    padding: 22px;
  }

  .store-link {
    width: 100%;
  }

  .legal .legal-card {
    padding: 26px 20px;
  }

  .legal h1 {
    font-size: 34px;
  }
}

@media (max-width: 460px) {
  .nav-actions .btn-primary {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .device-showcase {
    grid-template-columns: 1fr;
  }

  .phone-device {
    width: min(100%, 232px);
    height: 452px;
    justify-self: center;
  }

  .app-rail {
    display: none;
  }

  .app-landscape {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    gap: 6px;
  }

  .stat-strip span,
  .task-summary span {
    min-height: 58px;
  }

  .week-grid b {
    min-height: 34px;
  }

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