/*
 * orkio.si/refund and /tr/refund (pen.dev "orkio.si/tr — İade ve iptal"). The nav, the sheet and the
 * closing come from blog.css; this file holds the page's own blocks: the hero with the 14-day figure,
 * the subscription lifecycle, the three refund cases, how a refund travels, and the two action cards.
 */
.rf-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding: 152px var(--gutter) 88px;
}
.rf-glow {
  position: absolute;
  z-index: -1;
  left: calc(50% + 120px);
  top: -180px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(61, 220, 132, 0.09), rgba(61, 220, 132, 0));
}
.rf-left {
  width: 640px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rf-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.rf-updated {
  margin: 0;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--nav-text);
}
.rf-note {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #6f7287;
}
.rf-note .i {
  font-size: 14px;
}
.rf-note a {
  color: var(--nav-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 203, 214, 0.4);
}
.rf-hero h1 {
  font-size: clamp(52px, 6.1vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.036em;
}
/* background-clip: text paints only inside the box; the extra bottom keeps descenders painted. */
.rf-hero h1 span:first-child {
  background: linear-gradient(90deg, #7e8197, #b9bccb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.rf-lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--dim);
}
.rf-big {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.rf-num {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.rf-num .n {
  font-size: 240px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -14px;
  background: linear-gradient(180deg, #f4f4f7, rgba(244, 244, 247, 0.2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rf-num .u {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.2;
}
.rf-cap {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: #3ddc84;
  text-align: right;
}

/* The lifecycle: one column per phase, a coloured segment over its milestone, widths as in the design. */
.rf-life {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 var(--gutter) 104px;
}
.rf-life-head,
.rf-track {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
.rf-life-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.rf-life-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.rf-life-head p {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: #6f7287;
}
.rf-track {
  margin-top: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 200fr 360fr 260fr 300fr 104fr;
  gap: 4px;
}
.rf-track li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.rf-seg {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rf-seg.s1 {
  border-radius: 14px 4px 4px 14px;
  background: #3ddc84;
  color: #05060c;
}
.rf-seg.s2 {
  background: rgba(159, 180, 255, 0.2);
  color: var(--nav-text);
}
.rf-seg.s3 {
  background: #6e86ff;
  color: #05060c;
}
.rf-seg.s4 {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}
.rf-seg.s5 {
  justify-content: center;
  border-radius: 4px 14px 14px 4px;
  background: rgba(196, 69, 58, 0.15);
  color: #fca5a5;
}
.rf-seg .i {
  font-size: 16px;
}
.rf-ms {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 0 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.rf-ms b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: var(--glow);
}
.rf-ms.m1 b {
  color: #3ddc84;
}
.rf-ms.m5 b {
  color: #fca5a5;
}
.rf-ms strong {
  font-size: 16px;
  font-weight: 500;
}
.rf-ms span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--dim);
}

/* The sheet: cases, delivery, then the two action cards. */
.sheet.rf-sheet {
  padding: 88px var(--sheet-pad) 100px;
}
.rf-in {
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.rf-k {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: #2f5bff;
}
.rf-cases {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.rf-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.rf-sec-head h2 {
  margin: 12px 0 0;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.6px;
}
.rf-rights {
  width: 320px;
  max-width: 100%;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}
.rf-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.rf-case {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--card-line);
  background: #fff;
}
.rf-case-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.rf-case h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: var(--text-2);
}
.rf-badge {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  font-size: 16px;
}
.rf-badge.ok {
  background: rgba(20, 160, 96, 0.1);
  color: #14a060;
}
.rf-badge.no {
  background: rgba(196, 69, 58, 0.08);
  color: #c4453a;
}
.rf-badge.time {
  background: rgba(47, 91, 255, 0.08);
  color: #2f5bff;
}
.rf-v {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.1px;
}
.rf-d {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}
.rf-exc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(20, 160, 96, 0.07);
}
.rf-exc b {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.2px;
  color: #14a060;
}
.rf-exc p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #0e5c37;
}
.rf-delivery {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.rf-del-text {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rf-del-text h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.4px;
}
.rf-flow {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.rf-node {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.rf-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--card-line);
  background: #fff;
  color: var(--text);
  font-size: 19px;
}
.rf-node.last .rf-ic {
  background: var(--text);
  color: #fff;
}
.rf-node b {
  font-size: 15px;
  font-weight: 600;
}
.rf-node small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  color: #8a8b92;
}
.rf-arrow {
  flex: 1;
  min-width: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  color: #a3a4ab;
}
.rf-arrow span {
  flex: 1;
  height: 1px;
  background: #cfcdc6;
}
.rf-arrow .i {
  font-size: 14px;
}
.rf-days {
  flex: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.rf-days b {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.6px;
}
.rf-days span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--text-2);
}
.rf-how {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.rf-cancel,
.rf-ask {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  border-radius: 20px;
}
.rf-cancel {
  background: #edebe6;
}
.rf-cancel .rf-k {
  color: var(--text-2);
}
.rf-ask {
  background: var(--text);
  color: var(--white);
}
.rf-ask .rf-k {
  color: var(--glow);
}
.rf-cancel h2,
.rf-ask h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.9px;
}
.rf-cancel .rf-d {
  font-size: 15px;
}
.rf-path {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #8a8b92;
}
.rf-path .i {
  font-size: 14px;
}
.rf-crumb {
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.rf-crumb.mono {
  font-family: var(--mono);
}
a.rf-crumb:hover {
  border-color: #c9c7c0;
}
.rf-crumb.on {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}
.rf-needs {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rf-needs li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
}
.rf-needs li .i {
  font-size: 16px;
  color: var(--glow);
}
.rf-needs li span {
  flex: 1;
  min-width: 0;
}
.rf-needs li small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2px;
  color: var(--dim);
}
.rf-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.rf-go .i {
  font-size: 15px;
  transition: transform 0.15s;
}
.rf-go:hover .i {
  transform: translateX(3px);
}

@media (max-width: 1180px) {
  .rf-num .n {
    font-size: 190px;
    letter-spacing: -10px;
  }
  .rf-delivery {
    gap: 40px;
  }
  .rf-del-text {
    flex-basis: 260px;
  }
}
@media (max-width: 900px) {
  .rf-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    padding-bottom: 64px;
  }
  .rf-big {
    align-items: flex-start;
  }
  .rf-cap {
    text-align: left;
  }
  .rf-life {
    padding-bottom: 72px;
  }
  .rf-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .rf-track li {
    gap: 12px;
  }
  .rf-seg,
  .rf-seg.s1,
  .rf-seg.s5 {
    justify-content: flex-start;
    height: 40px;
    border-radius: 10px;
  }
  .rf-ms {
    padding: 0 0 0 14px;
  }
  .rf-sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .rf-cards,
  .rf-how {
    grid-template-columns: minmax(0, 1fr);
  }
  .rf-delivery {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .rf-del-text {
    flex-basis: auto;
  }
  .rf-days {
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .rf-hero {
    padding: 124px 20px 48px;
    gap: 28px;
  }
  .rf-left {
    gap: 18px;
  }
  .rf-hero h1 {
    font-size: 52px;
    letter-spacing: -1.8px;
  }
  .rf-lead {
    font-size: 17px;
  }
  .rf-num .n {
    font-size: 140px;
    letter-spacing: -7px;
  }
  .rf-num .u {
    font-size: 30px;
  }
  .rf-cap {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
  .rf-life {
    padding: 0 20px 56px;
    gap: 22px;
  }
  .rf-life-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .rf-life-head h2 {
    font-size: 24px;
  }
  .rf-life-head p {
    font-size: 11px;
  }
  .sheet.rf-sheet {
    padding: 48px 16px 56px;
  }
  .rf-in {
    gap: 56px;
    padding: 0 4px;
  }
  .rf-sec-head h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .rf-case {
    padding: 22px;
  }
  .rf-v {
    font-size: 26px;
  }
  .rf-flow {
    gap: 6px;
  }
  .rf-node {
    flex: 0 1 auto;
    max-width: 96px;
  }
  .rf-node b {
    font-size: 13px;
  }
  .rf-node small {
    font-size: 10px;
  }
  .rf-ic {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
  .rf-arrow {
    min-width: 12px;
    height: 40px;
  }
  .rf-arrow .i {
    display: none;
  }
  .rf-cancel,
  .rf-ask {
    padding: 24px;
  }
  .rf-cancel h2,
  .rf-ask h2 {
    font-size: 24px;
  }
  .rf-needs li {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .rf-needs li small {
    flex-basis: 100%;
    padding-left: 28px;
  }
}
