/* Layout of the public landing page. Shared account screens use turkiye.css. */
body[data-page="home"] .header {
  position: sticky;
  top: 14px;
  z-index: 15;
  width: min(1100px, calc(100% - 48px));
  height: 66px;
  margin: 14px auto 0;
  padding: 0 16px;
  border: 1px solid #fff9;
  border-radius: 17px;
  background: #f6f5f2ed;
  box-shadow: 0 5px 24px #18191b12;
  backdrop-filter: blur(16px);
}

body[data-page="home"] .header nav:not(.open) {
  gap: clamp(13px, 2vw, 26px);
}

.hero {
  margin-top: -80px;
  padding: 90px 0 25px;
  border-top: 0;
  background: radial-gradient(ellipse at 67% 0%, #f4d7d5, var(--bg) 75%);
}

.hero:before { content: none; }

.hero .hero-art {
  width: min(700px, calc(100% - 50px));
  height: clamp(176px, 22vw, 275px);
  margin: 0 auto;
  max-width: none;
  transform: none;
}

.hero-art .orbit {
  inset: 0 auto auto 50%;
  width: 275px;
  height: 235px;
  transform: translateX(-50%) rotate(-22deg);
}

.hero-art .hero-crescent {
  width: 225px;
  height: 225px;
  left: calc(50% - 130px);
  top: 8px;
}

.hero-art .hero-blade {
  width: 180px;
  height: 220px;
  left: calc(50% - 24px);
  top: 13px;
}

.hero-art .hero-star { left: calc(50% + 125px); top: 18px; }
.hero-art .floating-label.route { left: 8%; top: 41px; }
.hero-art .floating-label.secure { right: 2%; top: 155px; }
.hero-art .art-caption { right: 0; bottom: 12px; }
.hero-art:after { display: none; }

.hero-panel {
  --panel-inset: clamp(22px, 4.4vw, 57px);
  position: relative;
  z-index: 3;
  background: var(--bg);
  border: 1px solid #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px #51333112;
}

.hero-panel .hero-topline { padding: 24px var(--panel-inset) 0; }

.hero-panel .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 4vw, 60px);
  min-height: 0;
  padding: 38px var(--panel-inset) 36px;
}

.hero-panel h1 {
  margin: 0;
  font-size: clamp(48px, 6.1vw, 90px);
}

.hero-panel .hero-copy { padding: 0; }
.hero-panel .hero-buttons { flex-wrap: wrap; margin: 18px 0 10px; }
.hero-panel .hero-buttons .button { min-height: 46px; }

.hero-panel .hero-bottom {
  gap: 0;
  padding: 0;
  border-top: 0;
  background: var(--ink);
  color: #fff;
}

.hero-panel .hero-bottom > div {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px var(--panel-inset);
  border-right: 1px solid #ffffff20;
}

.hero-panel .hero-bottom > div:last-child { border-right: 0; }
.hero-panel .hero-bottom span { color: #d1d2ce; max-width: none; }

.plans-section .plans { grid-template-columns: 1fr; gap: 10px; }
.plans-section .plan { padding: clamp(18px, 2vw, 27px); }
.plans-section .plan-description { min-height: 0; }

.faq-heading { margin-bottom: 24px; }

.faq-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(var(--faq-count), minmax(0, auto));
  gap: 8px clamp(20px, 4vw, 56px);
}

.faq-question {
  grid-column: 1;
  grid-row: var(--faq-row);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 14px;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 750;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] { background: var(--soft); border-color: var(--red); }
.faq-number { color: #ae2630; font-size: 11px; }

.faq-answer {
  grid-column: 2;
  grid-row: 1 / span var(--faq-count);
  padding: clamp(22px, 4vw, 40px);
  border-radius: 20px;
  background: #eeede8;
}

.faq-answer h3 { font-size: clamp(21px, 2.8vw, 33px); margin: 12px 0; }
.faq-answer p { margin-bottom: 20px; }
.landing-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; z-index: 1; }
.landing-cta-actions .button { margin: 0; }
.landing-cta-actions .button.outline { background: var(--bg); }
.landing-cta-actions .button.outline:hover { background: #eeede8; }

@media (min-width: 851px) {
  .plans-section .plan {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(165px, 1.35fr) minmax(145px, .88fr) auto;
    grid-template-areas: "identity specs cost action";
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
  }
  .plan-identity { grid-area: identity; }
  .plan-identity .plan-top { align-items: flex-start; flex-direction: column; gap: 7px; }
  .plan .plan-specs {
    grid-area: specs;
    margin: 0;
    border: 0;
    padding: 0;
  }
  .plan-specs li { padding-bottom: 3px; align-items: baseline; }
  .plan-cost { grid-area: cost; }
  .plan-cost .price { font-size: clamp(28px, 3.2vw, 43px); margin-top: 3px; }
  .plan-cost .price .currency { font-size: 18px; }
  .plan-cost .plan-offer { margin-top: 0; }
  .plan-cost .plan-total { margin: 7px 0 0; min-height: 0; }
  .plan-cost .plan-saving { margin-bottom: 0; min-height: 0; }
  .plan .plan-offer:empty { display: none; }
  .plans-section .plan > .button {
    grid-area: action;
    width: auto;
    margin-top: 0;
    white-space: nowrap;
    padding-inline: 15px;
  }
}

@media (max-width: 850px) {
  body[data-page="home"] .header nav { top: calc(100% + 8px); }
  .hero-panel .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 23px; }
  .hero-panel h1 { font-size: clamp(38px, 8.1vw, 65px); }
  .hero-panel .hero-copy > p { max-width: 480px; }
  .hero-panel .hero-bottom > div:nth-child(-n+2) { border-bottom: 1px solid #ffffff20; }
  .hero-panel .hero-bottom > div:nth-child(even) { border-right: 0; }
  .hero-art .floating-label.secure { top: 106px; }
  .hero-art .art-caption { display: none; }
}

@media (max-width: 600px) {
  body[data-page="home"] .header {
    top: 8px;
    width: calc(100% - 22px);
    height: 59px;
    margin-top: 8px;
    padding-inline: 10px;
  }
  .hero { margin-top: -67px; padding-top: 72px; }
  .hero .hero-art { height: 155px; }
  .hero-art .orbit { width: 185px; height: 133px; top: 9px; }
  .hero-art .hero-crescent { width: 155px; height: 155px; left: calc(50% - 92px); top: 0; }
  .hero-art .hero-blade { width: 113px; height: 148px; left: calc(50% - 10px); top: 0; }
  .hero-art .hero-star { left: calc(50% + 81px); top: 13px; font-size: 27px; }
  .hero-art .floating-label { display: none; }
  .hero-panel { width: calc(100% - 22px); border-radius: 19px; }
  .hero-panel .hero-grid { padding-bottom: 24px; gap: 16px; }
  .hero-panel .hero-buttons { gap: 7px; }
  .hero-panel .hero-buttons .button { flex: 1 1 122px; }
  .hero-panel .hero-bottom > div { padding-block: 12px; }
  .faq-workbench { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .faq-question,
  .faq-answer { grid-column: auto; grid-row: auto; }
  .landing-cta-actions { margin-top: 20px; }
}
