@import url('../benrynote.css');

/* ── Header brand lockup ── */
.brand-calendarplus .brand-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  line-height: 1.15;
}

.brand-calendarplus .brand-lockup__main {
  font-size: 1.05rem;
  font-weight: 950;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.brand-calendarplus .brand-lockup__plus {
  color: var(--muted);
  font-weight: 900;
  font-size: 0.95rem;
}

.brand-calendarplus .brand-lockup__partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 950;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-calendarplus .brand-lockup__cp-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex-shrink: 0;
}

/* ── Hero: Calendar Plus visual ── */
.cp-hero {
  background:
    radial-gradient(circle at 8% 22%, rgba(18, 143, 232, .14), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 122, 26, .16), transparent 30%),
    linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
}

.cp-hero-visual {
  position: relative;
  min-height: 480px;
}

.cp-hero-visual__shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.cp-hero-visual.has-screenshot {
  min-height: auto;
  overflow: visible;
}

.cp-hero-visual.has-screenshot .cp-hero-visual__mock {
  display: none;
}

@media (min-width: 761px) {
  .cp-hero .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .cp-hero-visual.has-screenshot .cp-hero-visual__shot {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }
}

.cp-browser {
  position: absolute;
  inset: 20px 0 20px 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cp-browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #fbfdff;
  border-bottom: 1px solid var(--line);
}

.cp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
}

.cp-toolbar-title {
  font-weight: 950;
  color: var(--navy);
}

.cp-toolbar-nav {
  display: flex;
  gap: 6px;
}

.cp-toolbar-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-2);
  font-weight: 900;
  font-size: .68rem;
}

.cp-toolbar-pill.is-active {
  background: var(--blue);
  color: white;
}

.cp-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 280px;
  font-size: .72rem;
}

.cp-cal-head {
  padding: 8px 6px;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.cp-cal-cell {
  min-height: 72px;
  padding: 6px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.cp-cal-cell:nth-child(7n) {
  border-right: 0;
}

.cp-event {
  margin-top: 6px;
  padding: 5px 7px;
  border-radius: 8px;
  font-weight: 900;
  font-size: .65rem;
  line-height: 1.3;
  cursor: default;
}

.cp-event--visit {
  background: #dff1ff;
  color: var(--blue-2);
  box-shadow: 0 0 0 2px rgba(18, 143, 232, .35);
}

.cp-event--meeting {
  background: #fff0e4;
  color: var(--orange-2);
}

.cp-event--muted {
  background: #eef3f8;
  color: var(--muted);
}

.cp-hover-cursor {
  position: absolute;
  left: 38%;
  top: 58%;
  width: 18px;
  height: 18px;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
}

.cp-hover-cursor::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid var(--navy);
  transform: rotate(-20deg);
}

.cp-panel {
  position: absolute;
  right: 12px;
  top: 88px;
  width: 268px;
  background: white;
  border: 1px solid rgba(18, 143, 232, .28);
  border-radius: 18px;
  box-shadow: 0 22px 56px rgba(6, 58, 111, .22);
  overflow: hidden;
  z-index: 4;
}

.cp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: .75rem;
}

.cp-panel-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 950;
  color: var(--navy);
}

.cp-panel-logo img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.cp-panel-actions {
  display: flex;
  gap: 4px;
}

.cp-panel-btn {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #f8fbff;
  color: var(--muted);
  font-size: .62rem;
  display: grid;
  place-items: center;
}

.cp-panel-fields {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
  font-size: .68rem;
}

.cp-field-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.cp-field-row:last-child {
  margin-bottom: 0;
}

.cp-field-label {
  color: var(--muted);
  min-width: 52px;
  font-weight: 850;
}

.cp-field-value {
  color: var(--navy);
  font-weight: 900;
}

.cp-field-value.is-link {
  color: var(--blue-2);
  text-decoration: underline;
}

.cp-panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.cp-panel-tab {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: .72rem;
  font-weight: 950;
  color: var(--muted);
}

.cp-panel-tab.is-active {
  color: var(--orange-2);
  border-bottom: 3px solid var(--orange);
}

.cp-tab-count {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-2);
  font-size: .6rem;
  align-items: center;
  justify-content: center;
}

.cp-panel-body {
  padding: 10px 12px;
  max-height: 120px;
}

.cp-memo-item {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: .68rem;
}

.cp-memo-check {
  width: 14px;
  height: 14px;
  border: 2px solid var(--orange);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cp-memo-text strong {
  display: block;
  color: var(--navy);
  font-weight: 900;
}

.cp-memo-text small {
  color: var(--muted);
}

.cp-remind {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 900;
}

.cp-remind.is-today {
  background: #e6f7ee;
  color: #0c6b42;
}

.cp-remind.is-overdue {
  background: #ffe8ef;
  color: #c0365a;
}

.cp-panel-input {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: #f8fbff;
}

.cp-panel-input-dummy {
  flex: 1;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #a2afbb;
  font-size: .65rem;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.cp-panel-plus {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: .85rem;
}

.cp-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.cp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 850;
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(6, 58, 111, .05);
}

.cp-badge span {
  color: var(--blue-2);
  font-weight: 950;
}

/* ── Problem comparison ── */
.cp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cp-compare-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-soft);
}

.cp-compare-card.is-after {
  border-color: rgba(18, 143, 232, .32);
  background: linear-gradient(180deg, #fff, #f4fbff);
}

.cp-compare-label {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 950;
  margin-bottom: 14px;
}

.cp-compare-card:not(.is-after) .cp-compare-label {
  background: #eef3f8;
  color: var(--muted);
}

.cp-compare-card.is-after .cp-compare-label {
  background: var(--blue-soft);
  color: var(--blue-2);
}

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

.cp-compare-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--muted);
}

.cp-compare-list li::before {
  flex-shrink: 0;
  font-weight: 950;
}

.cp-compare-card:not(.is-after) .cp-compare-list li::before {
  content: "—";
  color: #b0bec8;
}

.cp-compare-card.is-after .cp-compare-list li::before {
  content: "✓";
  color: var(--orange-2);
}

/* ── Concept duo ── */
.cp-concept {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.cp-concept-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cp-concept-card h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 1.15rem;
}

.cp-concept-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.cp-concept-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.cp-concept-icon.is-cp img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.cp-concept-icon.is-cp {
  background: transparent;
  padding: 0;
}

.cp-concept-icon.is-bn {
  background: var(--orange-soft);
}

.cp-concept-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}

.cp-concept-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 28px rgba(6, 58, 111, .18);
}

.cp-note-box {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff8f2;
  border: 1px dashed rgba(243, 90, 36, .35);
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}

/* ── Feature blocks ── */
.cp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cp-feature-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cp-feature-visual {
  min-height: 200px;
  padding: 18px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 122, 26, .1), transparent 35%), linear-gradient(145deg, #fff, #f4fbff);
  position: relative;
}

.cp-feature-copy {
  padding: 20px 22px 24px;
}

.cp-feature-copy h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.cp-feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.cp-feature-tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-2);
  font-size: .68rem;
  font-weight: 950;
  margin-bottom: 10px;
}

/* mini mocks inside feature blocks */
.cp-mini-panel {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  background: white;
  border: 1px solid rgba(18, 143, 232, .22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(6, 58, 111, .12);
  font-size: .62rem;
}

.cp-mini-fields {
  padding: 8px 10px;
  background: #fbfdff;
  border-bottom: 1px solid var(--line);
}

.cp-mini-comment {
  padding: 8px 10px;
}

.cp-comment-meta {
  color: var(--muted);
  font-size: .58rem;
  margin-bottom: 3px;
}

.cp-comment-body {
  color: var(--navy);
  line-height: 1.4;
}

.cp-mention {
  color: var(--blue-2);
  font-weight: 850;
}

.cp-mini-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.cp-mini-tab {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  font-weight: 950;
  color: var(--muted);
}

.cp-mini-tab.is-active {
  color: var(--orange-2);
  border-bottom: 2px solid var(--orange);
}

/* ── Flow steps ── */
.cp-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cp-flow-step {
  position: relative;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cp-flow-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-2);
  font-weight: 950;
  font-size: 1.1rem;
  z-index: 1;
}

.cp-flow-step:last-child::after {
  display: none;
}

.cp-flow-no {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
  font-size: .65rem;
  font-weight: 950;
  margin-bottom: 10px;
}

.cp-flow-step h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: .95rem;
}

.cp-flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.cp-flow-icon {
  margin-top: 12px;
  height: 64px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

/* ── Setup ── */
.cp-setup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.cp-setup-steps {
  display: grid;
  gap: 14px;
}

.cp-setup-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cp-setup-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-2);
  font-weight: 950;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cp-setup-item h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: .95rem;
}

.cp-setup-item p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.cp-setup-visual {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cp-config-mock {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: .72rem;
}

.cp-config-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.cp-config-tab {
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 900;
}

.cp-config-tab.is-active {
  background: white;
  color: var(--orange-2);
  border: 1px solid var(--line);
}

.cp-config-body {
  padding: 14px;
}

.cp-config-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cp-config-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-size: .6rem;
}

.cp-config-fields {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdff;
  font-family: monospace;
  font-size: .65rem;
  color: var(--navy);
  line-height: 1.6;
}

/* ── Relation table ── */
.cp-relation-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-soft);
  font-size: .88rem;
}

.cp-relation-table th,
.cp-relation-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cp-relation-table th {
  background: #f8fbff;
  color: var(--navy);
  font-weight: 950;
  width: 28%;
}

.cp-relation-table td {
  color: var(--muted);
}

.cp-relation-table tr:last-child th,
.cp-relation-table tr:last-child td {
  border-bottom: 0;
}

.cp-relation-table .highlight {
  color: var(--blue-2);
  font-weight: 900;
}

/* ── Pricing teaser ── */
.cp-pricing-teaser {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cp-pricing-teaser h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.35rem;
}

.cp-pricing-teaser p {
  margin: 0;
  color: var(--muted);
}

.cp-pricing-badge {
  text-align: center;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange-soft), white);
  border: 1px solid rgba(255, 122, 26, .25);
}

.cp-pricing-badge strong {
  display: block;
  color: var(--orange-2);
  font-size: 1.5rem;
  font-weight: 950;
  margin-bottom: 4px;
}

.cp-pricing-badge span {
  color: var(--muted);
  font-size: .85rem;
}

/* ── PC only notice ── */
.cp-pc-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8f2;
  border: 1px solid rgba(243, 90, 36, .22);
  font-size: .88rem;
  color: var(--muted);
}

.cp-pc-notice strong {
  color: var(--orange-2);
}

/* ── Any calendar view ── */
.cp-views-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.cp-views-copy h2 {
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.cp-views-copy p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 12px;
}

.cp-views-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cp-views-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-soft);
}

.cp-views-card-label {
  padding: 8px 12px;
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 950;
  color: var(--blue-2);
}

.cp-views-card-body {
  padding: 12px;
  min-height: 120px;
  position: relative;
  font-size: .62rem;
}

.cp-views-mini-cal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.cp-views-mini-cell {
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: .55rem;
}

.cp-views-mini-event {
  margin-top: 2px;
  padding: 2px 4px;
  border-radius: 4px;
  background: #dff1ff;
  color: var(--blue-2);
  font-weight: 900;
  font-size: .5rem;
}

.cp-views-mini-event.is-hot {
  box-shadow: 0 0 0 1px rgba(18, 143, 232, .4);
}

.cp-views-mini-resource {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.cp-views-res-name {
  padding: 6px 4px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 950;
  color: var(--navy);
  background: #fbfdff;
}

.cp-views-res-cell {
  padding: 4px;
  border-bottom: 1px solid var(--line);
  min-height: 28px;
}

.cp-views-shared-panel {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: white;
  border: 1px solid rgba(18, 143, 232, .28);
  box-shadow: 0 8px 20px rgba(6, 58, 111, .12);
  font-size: .58rem;
}

.cp-views-shared-panel strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.cp-official-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--blue-2);
  font-weight: 900;
  font-size: .88rem;
}

.cp-official-link:hover {
  text-decoration: underline;
}

/* resource mock (hero-adjacent use cases) */
.cp-resource-mock {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
  font-size: .68rem;
}

.cp-resource-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.cp-resource-axis {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--blue-2);
  font-weight: 900;
  font-size: .65rem;
}

.cp-resource-grid {
  display: grid;
  grid-template-columns: 72px repeat(5, 1fr);
}

.cp-resource-corner,
.cp-resource-time,
.cp-resource-name {
  padding: 7px 6px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
  background: #fbfdff;
}

.cp-resource-name {
  color: var(--navy);
  font-weight: 950;
  background: white;
}

.cp-resource-cell {
  min-height: 44px;
  padding: 4px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.cp-resource-event {
  padding: 4px 6px;
  border-radius: 6px;
  font-weight: 900;
  font-size: .6rem;
  line-height: 1.25;
}

.cp-resource-event.is-hot {
  background: #dff1ff;
  color: var(--blue-2);
  box-shadow: 0 0 0 2px rgba(18, 143, 232, .35);
}

.cp-resource-event.is-warm {
  background: #fff0e4;
  color: var(--orange-2);
}

.cp-resource-panel {
  position: absolute;
  right: 4px;
  top: -8px;
  width: 148px;
  padding: 8px;
  border-radius: 10px;
  background: white;
  border: 1px solid rgba(18, 143, 232, .28);
  box-shadow: 0 12px 28px rgba(6, 58, 111, .18);
  z-index: 2;
  font-size: .58rem;
}

.cp-resource-panel strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.cp-resource-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.cp-resource-example {
  padding: 16px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cp-resource-example-icon {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.cp-resource-example h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: .88rem;
}

.cp-resource-example p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

/* ── Responsive ── */
@media (max-width: 1040px) {
  .cp-views-section {
    grid-template-columns: 1fr;
  }

  .cp-resource-examples {
    grid-template-columns: 1fr;
  }
  .cp-concept {
    grid-template-columns: 1fr;
  }

  .cp-concept-connector {
    flex-direction: row;
    padding: 8px 0;
  }

  .cp-concept-arrow {
    transform: rotate(90deg);
  }

  .cp-features {
    grid-template-columns: 1fr;
  }

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

  .cp-flow-step::after {
    display: none;
  }

  .cp-setup {
    grid-template-columns: 1fr;
  }

  .cp-compare {
    grid-template-columns: 1fr;
  }

  .cp-pricing-teaser {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-calendarplus .brand-lockup {
    max-width: calc(100vw - 120px);
  }

  .brand-calendarplus .brand-lockup__partner {
    font-size: 0.82rem;
  }

  .cp-views-grid {
    grid-template-columns: 1fr;
  }

  .cp-hero-visual {
    min-height: 560px;
  }

  .cp-hero-visual.has-screenshot {
    min-height: auto;
  }

  .cp-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .cp-browser {
    position: relative;
    inset: auto;
  }

  .cp-flow-steps {
    grid-template-columns: 1fr;
  }

  .cp-relation-table th,
  .cp-relation-table td {
    display: block;
    width: 100%;
  }

  .cp-relation-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }
}
