:root {
  --border: #dee2e6;
}

/* =========================================================
   FINY WORKSPACE
   Scoped to body.workspace-page
   ========================================================= */

   body.workspace-page {
     --ws-bg: #eef5e7;
     --ws-bg-soft: #f5f9ef;
     --ws-surface: #ffffff;
     --ws-surface-2: #f7fbf2;
     --ws-surface-3: #f1f7e8;
     --ws-border: #d7e4ca;
     --ws-border-strong: #c7d9b5;
     --ws-text: #143017;
     --ws-text-soft: #647564;
     --ws-dark: #003204;
     --ws-green: #7ac142;
     --ws-lime: #98c03c;
     --ws-yellow: #c5cf2d;
     --ws-shadow: 0 20px 50px rgba(0, 50, 4, 0.08);
     --ws-shadow-soft: 0 12px 28px rgba(0, 50, 4, 0.06);
     --ws-radius: 20px;
     --ws-radius-sm: 14px;

     background:
       radial-gradient(circle at top left, rgba(197, 207, 45, 0.14), transparent 18%),
       radial-gradient(circle at 85% 8%, rgba(122, 193, 66, 0.10), transparent 20%),
       linear-gradient(180deg, #f9fcf5 0%, #f3f8ec 38%, var(--ws-bg) 100%);
     color: var(--ws-text);
   }

body.workspace-page main.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

.workspace-page main.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 1440px;
}

.workspace-page .row.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.workspace-page #list-title,
.workspace-page #calendar-title {
  color: var(--ws-dark);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.workspace-page .hint {
  font-size: 0.82rem;
  color: var(--ws-text-soft);
}

/* Topbar */

.workspace-page header.border-bottom.bg-white {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(0, 50, 4, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(248,252,243,0.90) 100%) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 50, 4, 0.05);
}

.workspace-page header .container-fluid {
  max-width: 1440px;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.workspace-page header img {
  display: block;
}

.workspace-page .btn-plain {
  border: 1px solid var(--ws-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ws-text);
  border-radius: 12px;
  box-shadow: 0 2px 0 rgba(0, 50, 4, 0.02);
  transition: 0.18s ease;
}

.workspace-page .btn-plain:hover {
  background: var(--ws-surface-2);
  border-color: var(--ws-border-strong);
  transform: translateY(-1px);
}

.workspace-page .btn-outline-secondary {
  border-radius: 12px;
}

/* Sidebar */

@media (min-width: 992px) {
  .workspace-page aside {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
  }
}

.workspace-page .sidebar-card {
  border: 1px solid var(--ws-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(244,249,236,0.90) 100%);
  box-shadow: var(--ws-shadow);
  overflow: hidden;
}

.workspace-page .sidebar-card .card-body {
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(197, 207, 45, 0.08), transparent 20%);
}

.workspace-page .sidebar-card .text-uppercase {
  color: #6a7c68 !important;
  letter-spacing: 0.08em;
}

.workspace-page .sidebar-card .btn-link {
  font-weight: 600;
  color: var(--ws-text) !important;
}

.workspace-page .sidebar-card .btn-link:hover {
  color: #31561a !important;
}

.workspace-page .list-group {
  border-radius: 16px;
  overflow: hidden;
}

.workspace-page .sidebar-card .list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-color: #edf3e5;
  background: transparent;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  transition: background 0.18s ease;
}

.workspace-page .sidebar-card .list-group-item:hover {
  background: #f8fbf3;
}

.list-title-btn {
  flex: 1 1 auto;
  text-align: left;
  color: var(--ws-text) !important;
  font-weight: 600;
}

.row-actions {
  display: flex;
  gap: 6px;
}

.count-badge {
  font-size: 0.75rem;
  background: rgba(122, 193, 66, 0.12);
  color: #43681f;
  border: 1px solid rgba(122, 193, 66, 0.14);
}

.workspace-page .accordion-item {
  border: 1px solid #edf3e5;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
}

.workspace-page .accordion-button {
  background: #fbfdf8;
  color: var(--ws-text);
  font-weight: 700;
  box-shadow: none !important;
}

.workspace-page .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, #fbfdf8 0%, #f3f8ea 100%);
  color: var(--ws-dark);
}

.workspace-page .accordion-body {
  background: #ffffff;
}

/* Main content */

.workspace-page #list-view,
.workspace-page #calendar-view {
  border: 1px solid var(--ws-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,252,243,0.92) 100%);
  box-shadow: var(--ws-shadow);
  padding: 1rem;
}

.workspace-page #new-task-form .form-control,
.workspace-page .form-control,
.workspace-page .form-select,
.workspace-page textarea {
  border-radius: 14px;
  border: 1px solid var(--ws-border);
  background: #fcfef9;
  color: var(--ws-text);
  box-shadow: none;
}

.workspace-page #new-task-form .form-control:focus,
.workspace-page .form-control:focus,
.workspace-page .form-select:focus,
.workspace-page textarea:focus {
  border-color: var(--ws-green);
  box-shadow: 0 0 0 4px rgba(122, 193, 66, 0.14);
  background: #ffffff;
}

.workspace-page #list-title,
.workspace-page #calendar-title {
  color: var(--ws-dark);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hint {
  font-size: 0.82rem;
  color: var(--ws-text-soft);
}

.meta-icons {
  color: var(--ws-text-soft);
  font-size: 0.84rem;
}

/* Task cards */

.workspace-page .task-card {
  border: 1px solid #dfead3;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcf5 100%);
  box-shadow: 0 10px 24px rgba(0, 50, 4, 0.05);
  transition: 0.18s ease;
}

.workspace-page .task-card:hover {
  border-color: #c8dbb4;
  box-shadow: 0 16px 30px rgba(0, 50, 4, 0.08);
  transform: translateY(-1px);
}

.task-card h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--ws-text);
}

.task-toggle {
  cursor: pointer;
}

.task-completed {
  opacity: 0.72;
}

.task-completed .meta-icons {
  opacity: 0.85;
}

/* Detail tabs */

.tab-panel {
  display: none;
}

.tab-panel.show {
  display: block;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(122, 193, 66, 0.14), rgba(197, 207, 45, 0.14));
  border-color: rgba(122, 193, 66, 0.16);
  color: #31561a;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.task-meta-link {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.task-meta-link:hover {
  text-decoration: underline;
}


/* Spaces */

.space-cats {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .space-cats {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (min-width: 1200px) {
  .space-cats {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

.space-cat {
  border: 1px solid #e6efda;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fbfdf8;
}

.space-cat-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6a7c68;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.space-cat-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.space-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.92rem;
}

#spaces-panel {
  background: #fff;
}

.btn-xs {
  padding: 0 4px;
  font-size: 0.7rem;
  line-height: 1;
}

.space-toggle .caret {
  display: inline-block;
  transition: transform 0.15s ease;
}

.space-toggle.open .caret {
  transform: rotate(180deg);
}

/* Dropdown actions */

.list-group-item .kebab {
  opacity: 0;
  transition: opacity 0.15s;
}

.list-group-item:hover .kebab,
.list-group-item:focus-within .kebab {
  opacity: 1;
}

.btn-kebab {
  padding: 2px 6px;
  line-height: 1;
}

.btn-kebab svg {
  display: block;
}

/* Calendar */

.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calendar-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf8 100%);
  border: 1px solid var(--ws-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--ws-shadow-soft);
}

.calendar-section-header {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf3e5;
}

.calendar-section-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  color: var(--ws-dark);
}

.calendar-section-sub {
  font-size: 0.86rem;
  color: var(--ws-text-soft);
  margin-top: 2px;
}

.calendar-section-body .task-card:last-child {
  margin-bottom: 0 !important;
}

/* Modal */

.workspace-page .modal-content {
  border: 1px solid var(--ws-border);
  border-radius: 22px;
  overflow: hidden;
}

.workspace-page .modal-header {
  background: linear-gradient(180deg, #fbfdf8 0%, #f5f9ef 100%);
  border-bottom: 1px solid #edf3e5;
}

.workspace-page .modal-body {
  background: #ffffff;
}

/* Badges */

.workspace-page .badge.text-bg-warning {
  background: rgba(197, 207, 45, 0.18) !important;
  color: #5d5c13 !important;
  border: 1px solid rgba(197, 207, 45, 0.2);
}

.workspace-page .badge.text-bg-danger {
  background: rgba(220, 53, 69, 0.12) !important;
  color: #9d2330 !important;
  border: 1px solid rgba(220, 53, 69, 0.16);
}
/* =========================================================
   FINY LANDING PAGE
   Scoped to body.landing-page so it does not break workspace
   ========================================================= */

body.landing-page {
  --finy-dark: #003204;
  --finy-green: #7ac142;
  --finy-lime: #98c03c;
  --finy-yellow: #c5cf2d;

  --landing-bg: #f7fbf2;
  --landing-bg-soft: #eef7df;
  --landing-surface: #ffffff;
  --landing-surface-2: #f6fbe9;
  --landing-text: #143017;
  --landing-text-soft: #567058;
  --landing-border: #d7e7c6;
  --landing-shadow: 0 18px 50px rgba(0, 50, 4, 0.10);
  --landing-shadow-soft: 0 10px 30px rgba(0, 50, 4, 0.08);
  --landing-radius: 24px;
  --landing-radius-sm: 16px;
  --landing-max: 1180px;

  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(197, 207, 45, 0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(122, 193, 66, 0.16), transparent 24%),
    linear-gradient(180deg, #fbfdf7 0%, #f4f9ec 100%);
  color: var(--landing-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.landing-page * {
  box-sizing: border-box;
}

.landing-page a {
  color: inherit;
  text-decoration: none;
}

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

.landing-container {
  width: min(var(--landing-max), calc(100% - 2rem));
  margin: 0 auto;
}

.landing-section {
  padding: 5rem 0;
}

.landing-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f7f21;
}

.landing-section-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--finy-dark);
}

.landing-section-copy {
  max-width: 760px;
  margin: 0;
  color: var(--landing-text-soft);
  font-size: 1.05rem;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.landing-btn-primary {
  background: linear-gradient(135deg, var(--finy-green), var(--finy-lime));
  color: #10260f;
  box-shadow: 0 12px 24px rgba(122, 193, 66, 0.28);
}

.landing-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(122, 193, 66, 0.34);
}

.landing-btn-secondary {
  background: #ffffff;
  color: var(--finy-dark);
  border-color: rgba(0, 50, 4, 0.10);
}

.landing-btn-secondary:hover {
  background: #f9fdf3;
  transform: translateY(-1px);
}

.landing-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(152, 192, 60, 0.14);
  border: 1px solid rgba(0, 50, 4, 0.08);
  color: var(--finy-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* NAVBAR */

.landing-navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(251, 253, 247, 0.88);
  border-bottom: 1px solid rgba(0, 50, 4, 0.06);
}

.landing-nav-inner {
  width: min(var(--landing-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--finy-dark);
}

.landing-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--finy-dark), #135f17);
  box-shadow: 0 8px 20px rgba(0, 50, 4, 0.18);
}

.landing-brand-mark::before {
  content: "";
  position: absolute;
  inset: 8px 10px 8px 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--finy-lime), var(--finy-yellow));
  clip-path: polygon(0 0, 100% 0, 58% 100%, 0 100%);
}

.landing-brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: 8px;
  top: 9px;
  border-radius: 50%;
  background: var(--finy-yellow);
  box-shadow: 0 0 0 4px rgba(197, 207, 45, 0.16);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--landing-text-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* HERO */

.landing-hero {
  padding: 4.5rem 0 4rem;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.landing-hero-copy h1 {
  margin: 1rem 0 1.1rem;
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
  color: var(--finy-dark);
}

.landing-hero-copy p {
  max-width: 640px;
  margin: 0 0 1.7rem;
  font-size: 1.12rem;
  color: var(--landing-text-soft);
}

.landing-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 2rem;
}

.landing-hero-point {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--landing-border);
  color: var(--finy-dark);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--landing-shadow-soft);
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.landing-hero-note {
  color: #5d735d;
  font-size: 0.95rem;
}

.landing-hero-visual {
  position: relative;
}

.landing-hero-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(0, 50, 4, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbe9 100%);
  box-shadow: 0 24px 60px rgba(0, 50, 4, 0.12);
}

.landing-hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(0, 50, 4, 0.07);
  background: rgba(255, 255, 255, 0.85);
}

.landing-dots {
  display: flex;
  gap: 0.45rem;
}

.landing-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d7e7c6;
}

.landing-dot:nth-child(1) {
  background: #dce7a9;
}

.landing-dot:nth-child(2) {
  background: #98c03c;
}

.landing-dot:nth-child(3) {
  background: #7ac142;
}

.landing-window-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--landing-text-soft);
}

.landing-hero-card-body {
  padding: 1.3rem;
}

.landing-ui-preview {
  display: grid;
  gap: 1rem;
}

.landing-ui-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.landing-ui-panel,
.landing-ui-sidepanel {
  border-radius: 18px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--landing-shadow-soft);
}

.landing-ui-title {
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--finy-dark);
}

.landing-ui-list {
  display: grid;
  gap: 0.7rem;
}

.landing-ui-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  background: #f9fdf3;
  border: 1px solid #e3efcf;
}

.landing-ui-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #8dbc52;
  flex: 0 0 auto;
}

.landing-ui-lines {
  flex: 1;
}

.landing-ui-line {
  height: 9px;
  border-radius: 999px;
  background: #dceac4;
  margin-bottom: 0.45rem;
}

.landing-ui-line.short {
  width: 62%;
  margin-bottom: 0;
}

.landing-ui-pill {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(122, 193, 66, 0.14);
  color: #3f651c;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0.1rem 0.25rem 0.1rem 0;
}

.landing-ui-bottom {
  border-radius: 18px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--landing-shadow-soft);
}

.landing-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.landing-day {
  min-height: 92px;
  padding: 0.7rem;
  border-radius: 14px;
  background: #f8fdf0;
  border: 1px solid #e3efcf;
}

.landing-day strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.84rem;
  color: var(--finy-dark);
}

.landing-day span {
  display: block;
  height: 8px;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  background: #d9e8bc;
}

.landing-day span:last-child {
  margin-bottom: 0;
}

.landing-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 1.5rem;
  border: 2px dashed rgba(0, 50, 4, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(238,247,223,0.95)),
    repeating-linear-gradient(
      -45deg,
      rgba(152,192,60,0.08),
      rgba(152,192,60,0.08) 12px,
      rgba(255,255,255,0.18) 12px,
      rgba(255,255,255,0.18) 24px
    );
  color: var(--finy-dark);
  text-align: center;
  box-shadow: var(--landing-shadow-soft);
}

.landing-photo-placeholder strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.landing-photo-placeholder span {
  display: block;
  color: var(--landing-text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* TRUST STRIP */

.landing-proof-strip {
  padding-top: 1rem;
}

.landing-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.landing-proof-card {
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--landing-border);
  background: rgba(255,255,255,0.75);
  box-shadow: var(--landing-shadow-soft);
}

.landing-proof-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
  color: var(--finy-dark);
}

.landing-proof-card p {
  margin: 0;
  color: var(--landing-text-soft);
  font-size: 0.95rem;
}

/* PROBLEM AND SOLUTION */

.landing-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.landing-panel {
  padding: 1.6rem;
  border-radius: 22px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  box-shadow: var(--landing-shadow-soft);
}

.landing-panel.problem {
  background: linear-gradient(180deg, #ffffff 0%, #fffef8 100%);
}

.landing-panel.solution {
  background: linear-gradient(180deg, #ffffff 0%, #f4fae7 100%);
}

.landing-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--finy-dark);
}

.landing-check-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-check-list li {
  display: flex;
  gap: 0.7rem;
  color: var(--landing-text-soft);
}

.landing-check-list li::before {
  content: "•";
  color: var(--finy-green);
  font-weight: 900;
}

/* FEATURES */

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.landing-feature-card {
  padding: 1.4rem;
  border-radius: 20px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  box-shadow: var(--landing-shadow-soft);
}

.landing-feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(122,193,66,0.18), rgba(197,207,45,0.20));
  border: 1px solid rgba(0, 50, 4, 0.08);
}

.landing-feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: var(--finy-dark);
}

.landing-feature-card p {
  margin: 0;
  color: var(--landing-text-soft);
}

/* HOW IT WORKS */

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.landing-step {
  position: relative;
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  box-shadow: var(--landing-shadow-soft);
}

.landing-step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--finy-green), var(--finy-yellow));
  color: #10260f;
  font-weight: 900;
}

.landing-step h3 {
  margin: 0 0 0.65rem;
  color: var(--finy-dark);
}

.landing-step p {
  margin: 0;
  color: var(--landing-text-soft);
}

/* IMAGE BLOCKS */

.landing-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2rem;
}

.landing-media-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  box-shadow: var(--landing-shadow-soft);
}

.landing-media-card .landing-photo-placeholder {
  min-height: 320px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.landing-media-content {
  padding: 1.3rem;
}

.landing-media-content h3 {
  margin: 0 0 0.5rem;
  color: var(--finy-dark);
}

.landing-media-content p {
  margin: 0;
  color: var(--landing-text-soft);
}

/* CTA */

.landing-cta {
  position: relative;
  overflow: hidden;
}

.landing-cta-box {
  padding: 3rem 2rem;
  border-radius: 28px;
  border: 1px solid rgba(0, 50, 4, 0.08);
  background:
    radial-gradient(circle at top right, rgba(197,207,45,0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(122,193,66,0.16), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #eef7df 100%);
  box-shadow: 0 24px 60px rgba(0, 50, 4, 0.10);
  text-align: center;
}

.landing-cta-box h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--finy-dark);
}

.landing-cta-box p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: var(--landing-text-soft);
  font-size: 1.05rem;
}

.landing-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* FOOTER */

.landing-footer {
  padding: 2rem 0 3rem;
  color: var(--landing-text-soft);
}

.landing-footer-inner {
  width: min(var(--landing-max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(0, 50, 4, 0.08);
  padding-top: 1.2rem;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .landing-hero-grid,
  .landing-split,
  .landing-media-grid,
  .landing-ui-top {
    grid-template-columns: 1fr;
  }

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

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

  .landing-hero-copy h1 {
    max-width: 12ch;
  }
}

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

  .landing-hero {
    padding-top: 3rem;
  }

  .landing-proof-grid,
  .landing-feature-grid,
  .landing-steps,
  .landing-calendar {
    grid-template-columns: 1fr;
  }

  .landing-footer-inner {
    flex-direction: column;
  }

  .landing-cta-box {
    padding: 2.2rem 1.2rem;
  }

  .landing-photo-placeholder {
    min-height: 260px;
  }
}

.landing-logo {
  height: 72px;
  width: auto;
  display: block;
}

.finy-auth-logo {
  height: 72px;
  width: auto;
  display: block;
}

/* =========================================================
   LANDING PAGE SIMPLIFIED STORYBRAND VERSION
   ========================================================= */

.landing-hero-simple {
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

.landing-hero-grid-clean {
  align-items: center;
  gap: 2.5rem;
}

.landing-hero-lead {
  max-width: 640px;
  margin: 0 0 1.6rem;
  font-size: 1.14rem;
  line-height: 1.75;
  color: var(--landing-text-soft);
}

.landing-hero-image-card,
.landing-about-image-card,
.landing-storybrand-image {
  min-height: 520px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  box-shadow: var(--landing-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-hero-image-card img,
.landing-about-image-card img,
.landing-storybrand-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.landing-product-frame {
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 50, 4, 0.10);
  background: linear-gradient(180deg, #fdfefb 0%, #f5f9ef 100%);
  box-shadow: 0 28px 60px rgba(0, 50, 4, 0.14);
}

.landing-product-frame-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(0, 50, 4, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f6faef 100%);
}

.landing-product-dots {
  display: flex;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.landing-product-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: block;
}

.landing-product-dots span:nth-child(1) {
  background: #dce7a9;
}

.landing-product-dots span:nth-child(2) {
  background: #98c03c;
}

.landing-product-dots span:nth-child(3) {
  background: #7ac142;
}

.landing-product-bar {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--landing-text-soft);
  letter-spacing: 0.01em;
}

.landing-product-frame-body {
  position: relative;
  min-height: auto;
  overflow: hidden;
  background: #ecf3e4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.landing-product-frame-body img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
  border-radius: 0 0 20px 20px;
  }


.landing-hero-image-card img {
  object-fit: cover;
}

.landing-hero-image-card {
  min-height: 560px;
}

.landing-storybrand-grid {
  display: grid;
  gap: 2rem;
}

.landing-storybrand-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.6rem;
  align-items: center;
}

.landing-storybrand-card.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.landing-storybrand-card.reverse .landing-storybrand-image {
  order: 2;
}

.landing-storybrand-card.reverse .landing-storybrand-copy {
  order: 1;
}

.landing-storybrand-image {
  min-height: 420px;
}

.landing-app-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.8rem;
  align-items: center;
}

.landing-app-shot-card {
  min-height: 540px;
  background: #0f1711;
}

.landing-app-showcase-copy .landing-check-list {
  margin-top: 1.25rem;
  margin-bottom: 1.4rem;
}

.landing-about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.landing-about-image-card {
  min-height: 560px;
}

.landing-contact-links {
  margin-top: 1.5rem;
}

.landing-contact-card {
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  box-shadow: var(--landing-shadow-soft);
}

.landing-contact-copy {
  margin-bottom: 1.5rem;
}

.landing-contact-form {
  margin: 0;
}

.landing-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.landing-form-group {
  margin-bottom: 1rem;
}

.landing-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--finy-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.landing-form-group input,
.landing-form-group textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--landing-border);
  background: #fcfef9;
  color: var(--landing-text);
  padding: 0.95rem 1rem;
  font: inherit;
  box-sizing: border-box;
}

.landing-form-group input:focus,
.landing-form-group textarea:focus {
  outline: none;
  border-color: var(--finy-green);
  box-shadow: 0 0 0 4px rgba(122, 193, 66, 0.14);
  background: #ffffff;
}

@media (max-width: 1100px) {
  .landing-storybrand-card,
  .landing-storybrand-card.reverse,
  .landing-app-showcase,
  .landing-about-grid {
    grid-template-columns: 1fr;
  }

  .landing-storybrand-card.reverse .landing-storybrand-image,
  .landing-storybrand-card.reverse .landing-storybrand-copy {
    order: initial;
  }

  .landing-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .landing-hero-image-card,
  .landing-storybrand-image,
  .landing-about-image-card,
  .landing-app-shot-card {
    min-height: 320px;
  }
  .landing-product-frame {
    min-height: 360px;
  }

  .landing-product-frame-body {
    min-height: 300px;
  }

  .landing-product-frame-body img {
    width: 145%;
    margin-bottom: -40px;
  }

}

.landing-hero-image-card:hover img,
.landing-storybrand-image:hover img {
  transform: scale(1.04);
}

/* ============================================
AUTH PAGES
============================================ */

.finy-auth-page {
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(197, 207, 45, 0.10), transparent 20%),
    radial-gradient(circle at bottom right, rgba(122, 193, 66, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbf4 0%, #eef5e7 100%);
}

.finy-auth-layout {
  max-width: 1220px;
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 460px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 50, 4, 0.08);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 50, 4, 0.10);
  backdrop-filter: blur(10px);
}

.finy-auth-side {
  position: relative;
  padding: 32px 40px 40px;
  background:
    radial-gradient(circle at top right, rgba(197, 207, 45, 0.16), transparent 24%),
    linear-gradient(135deg, #062b08 0%, #0a3a0d 48%, #114d12 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.finy-auth-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  width: fit-content;
}

.finy-auth-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #031f05, #135f17);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.finy-auth-logo-mark::before {
  content: "";
  position: absolute;
  inset: 9px 11px 9px 9px;
  border-radius: 10px;
  background: linear-gradient(180deg, #98c03c, #c5cf2d);
  clip-path: polygon(0 0, 100% 0, 58% 100%, 0 100%);
}

.finy-auth-logo-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 10px;
  right: 9px;
  border-radius: 999px;
  background: #d9e34d;
  box-shadow: 0 0 0 4px rgba(217, 227, 77, 0.16);
}

.finy-auth-logo-text {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.finy-auth-side-content {
  max-width: 560px;
  margin-top: auto;
  margin-bottom: auto;
}

.finy-auth-eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.finy-auth-side-title {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.finy-auth-side-title span {
  display: block;
  color: #dce86f;
}

.finy-auth-side-copy {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.80);
}

.finy-auth-side-points {
  display: grid;
  gap: 14px;
}

.finy-auth-side-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
}

.finy-auth-side-point-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(152, 192, 60, 0.22);
  color: #e4ef8b;
  font-size: 0.88rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.finy-auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(250,253,246,0.96) 100%);
}

.finy-auth-card {
  width: 100%;
  max-width: 380px;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 50, 4, 0.08);
  box-shadow: 0 20px 50px rgba(0, 50, 4, 0.08);
}

.finy-auth-card-top {
  margin-bottom: 22px;
}

.finy-auth-title {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #082b0b;
}

.finy-auth-subtitle {
  margin: 0;
  color: #607560;
  line-height: 1.6;
}

.finy-auth-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff4f4;
  border: 1px solid #efcaca;
  color: #a12f2f;
  font-size: 0.95rem;
}

.finy-auth-form {
  margin: 0;
}

.finy-auth-field {
  margin-bottom: 16px;
}

.finy-auth-field label {
  display: block;
  margin-bottom: 8px;
  color: #173519;
  font-size: 0.92rem;
  font-weight: 700;
}

.finy-auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.finy-auth-inline-link {
  color: #43681f;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.finy-auth-inline-link:hover {
  color: #2f4c15;
  text-decoration: underline;
}

.finy-auth-field input {
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid #d8e4cd;
  background: #fcfef9;
  color: #143017;
  font-size: 0.98rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.finy-auth-field input::placeholder {
  color: #92a291;
}

.finy-auth-field input:focus {
  outline: none;
  border-color: #7ac142;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(122, 193, 66, 0.14);
}

.finy-auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 15px 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #7ac142, #98c03c);
  color: #10260f;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(122, 193, 66, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.finy-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(122, 193, 66, 0.30);
  filter: saturate(1.04);
}

.finy-auth-divider {
  position: relative;
  margin: 24px 0 18px;
  text-align: center;
}

.finy-auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #e2ead9;
}

.finy-auth-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #7a8b79;
  font-size: 0.88rem;
  font-weight: 600;
}

.finy-auth-secondary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #dbe6cf;
  background: #ffffff;
  color: #173519;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.finy-auth-secondary-btn:hover {
  background: #f9fcf4;
  border-color: #cfe0bc;
  transform: translateY(-1px);
}

@media (max-width: 1020px) {
  .finy-auth-layout {
    grid-template-columns: 1fr;
  }

  .finy-auth-side {
    min-height: 420px;
  }

  .finy-auth-main {
    padding-top: 0;
  }

  .finy-auth-card {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .finy-auth-page {
    padding: 12px;
  }

  .finy-auth-layout {
    min-height: auto;
    border-radius: 24px;
  }

  .finy-auth-side {
    padding: 24px;
    min-height: auto;
  }

  .finy-auth-side-title {
    font-size: 2.5rem;
  }

  .finy-auth-main {
    padding: 20px;
  }

  .finy-auth-card {
    padding: 24px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .finy-auth-side {
    display: none;
  }

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

  .finy-auth-main {
    padding: 16px;
  }

  .finy-auth-card {
    max-width: 100%;
  }
}

.finy-auth-field input[type="email"],
.finy-auth-field input[type="password"],
.finy-auth-field input[type="text"] {
  width: 100%;
  margin: 0;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid #d8e4cd;
  background: #fcfef9;
  color: #143017;
  font-size: 0.98rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.finy-auth-field input[type="email"]:focus,
.finy-auth-field input[type="password"]:focus,
.finy-auth-field input[type="text"]:focus {
  outline: none;
  border-color: #7ac142;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(122, 193, 66, 0.14);
}

.finy-auth-field ul.errorlist {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #a12f2f;
  font-size: 0.9rem;
}
