/*
 ****************************************************************************************************************
 *
 * FILE NAME: icloudy-terms-conditions.css
 * FUNCTIONALITY: Defines the styles for the Terms and Conditions page, including the content card, text layout, and responsive behavior.
 *
 * HISTORY
 * =======
 *
 * VERSION DATE AUTHOR(S) DESCRIPTION
 ----------------------------------------------------------------------------------------------------------------
 * 1.0 24-APR-2026 Shrey Kevadia Initial version
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--panel);
}

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

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

svg {
  display: block;
  max-width: 100%;
}

.icloudy-terms-conditions-site-shell {
  min-height: 100vh;
}

.icloudy-terms-conditions-page {
  overflow-x: clip;
  overflow-y: visible;
  background: var(--panel);
}

.icloudy-terms-conditions-container-narrow {
  width: 100%;
  max-width: calc(920px + 32px);
  margin: 0 auto;
  padding: 0 16px;
}

.icloudy-terms-conditions-hero-section {
  padding: 136px 0 58px;
  background: var(--panel);
}

.icloudy-terms-conditions-centered-copy {
  display: grid;
  gap: 18px;
  text-align: center;
}

.icloudy-terms-conditions-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(2, 62, 138, 0.16);
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
}

.icloudy-terms-conditions-hero-title {
  margin: 0;
  font-size: clamp(2.45rem, 5.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
}

.icloudy-terms-conditions-gradient-text {
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.icloudy-terms-conditions-lead {
  margin: 0;
  color: var(--hero-title);
  font-size: 1.1rem;
  line-height: 1.75;
}

.icloudy-terms-conditions-content-section {
  padding: 34px 0 84px;
}

.icloudy-terms-conditions-content-card {
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  padding: 34px;
  margin: 0px 4px 0px 6px;
}

.icloudy-terms-conditions-legal-copy {
  display: grid;
  gap: 14px;
  color: var(--hero-title);
  font-size: 1rem;
  line-height: 1.78;
}

.icloudy-terms-conditions-legal-copy p {
  margin: 0;
}

.icloudy-terms-conditions-legal-copy a[href^="mailto:"] {
  color: #d62828;
}

.icloudy-terms-conditions-section-title {
  margin: 22px 0 0;
  color: var(--hero-title);
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  font-weight: 800;
  line-height: 1.06;
}

.icloudy-terms-conditions-section-title:first-child {
  margin-top: 0;
}

.icloudy-terms-conditions-subsection-title {
  margin: 8px 0 0;
  color: var(--hero-title);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.78;
}

@media (max-width: 640px) {
  .icloudy-terms-conditions-hero-section {
    padding: 118px 0 46px;
  }

  .icloudy-terms-conditions-content-section {
    padding: 24px 0 68px;
  }

  .icloudy-terms-conditions-content-card {
    padding: 24px;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .icloudy-terms-conditions-hero-section {
    padding: 92px 0 36px;
  }

  .icloudy-terms-conditions-content-section {
    padding: 20px 0 44px;
  }

  .icloudy-terms-conditions-content-card {
    padding: 22px;
  }
}
