On this page10
Part of the TFI PHP App. By Mohammad Javad Dastouri, full-stack and AI engineer.
A template that only stretches to fit is why so many websites feel wrong on a phone. In this platform, a phone layout and a desktop layout are two separate pieces of work.
At a glance
- Built-in designs
- 13
- Layouts per design
- Phone and desktop, built apart
- Themes
- Light and dark
- Direction
- Left-to-right and right-to-left
- Phone widths designed for
- 320 to 430 px
- Built-in designs
- 13
- Layouts per design
- Phone and desktop, built apart
- Themes
- Light and dark
- Direction
- Left-to-right and right-to-left
- Phone widths designed for
- 320 to 430 px
The decision
- Context
- Phones and desktops are used differently, and one stretched layout always favours one of them.
- Decision
- Build phone and desktop as separate layouts.
- Not chosen
- One responsive layout that rearranges itself. Less work, but every component becomes a compromise between two screens.
- Cost
- Every interactive component is built twice, every selector is written for both screens, and the stylesheets reach 22,654 lines.
- Result
- Phone and desktop can change independently, and a measuring tool checks sampled pages for sideways scrolling at 320 and 390 px.
- Context
- Phones and desktops are used differently, and one stretched layout always favours one of them.
- Decision
- Build phone and desktop as separate layouts.
- Not chosen
- One responsive layout that rearranges itself. Less work, but every component becomes a compromise between two screens.
- Cost
- Every interactive component is built twice, every selector is written for both screens, and the stylesheets reach 22,654 lines.
- Result
- Phone and desktop can change independently, and a measuring tool checks sampled pages for sideways scrolling at 320 and 390 px.
The designs
Interface families
iOS 26, One UI 9, Tonal, Ledger, Atelier and Razor Diagonal.
Mindfulness family
Still Sage, Warm Ember and Slate Dusk.
Full presentations
Penumbra, Waypoint, Exhale and Pegboard, each with its own page structure.
Interface families
iOS 26, One UI 9, Tonal, Ledger, Atelier and Razor Diagonal.
Mindfulness family
Still Sage, Warm Ember and Slate Dusk.
Full presentations
Penumbra, Waypoint, Exhale and Pegboard, each with its own page structure.
This site uses iOS 26. A site owner can copy any built-in design and adjust it on screen, without touching code.
One site, four designs
These are the first screens of one test site, with the same words and the same database. Only the design was changed, through signed previews.




Two trees, not one squeezed layout
Interactive parts have separate phone and desktop versions with their own classes, and each screen size hides the other. A phone gets thumb-sized controls and a bottom menu. A desktop gets full navigation and more on one screen.
Rules that hold for all 13
Fluid sizes
Spacing and type scale with the screen. Fixed pixel sizes are refused by the automatic checks.
Contrast
A palette is checked against WCAG 2.2 for both light and dark.
Both directions
The stylesheet uses logical sides only, so Arabic mirrors without a second stylesheet.
Tables on phones
A wide table becomes label and value cards.
Reduced motion
Sliders do not move for visitors who ask for less motion.
Fluid sizes
Spacing and type scale with the screen. Fixed pixel sizes are refused by the automatic checks.
Contrast
A palette is checked against WCAG 2.2 for both light and dark.
Both directions
The stylesheet uses logical sides only, so Arabic mirrors without a second stylesheet.
Tables on phones
A wide table becomes label and value cards.
Reduced motion
Sliders do not move for visitors who ask for less motion.
Switching safely
A design can be previewed through a signed link before anyone else sees it. The live site does not change until the owner chooses.
Containers inside the text
Articles can hold cards, grids and callouts built from the same components, so a writer gets a designed page without writing CSS.
AI that respects the design
When the admin uses AI for layout or styling, each design supplies its own written limits for phone and desktop, and the answer is checked against them.
Need an engineer who cares how it looks on a phone?
Tell me about your product. Next: how one switch changes a whole site's language.
- Section
- Web platforms and migration
- Updated
- November 9, 2026
- Reading time
- 3 min read
Hiring for this kind of work?
Tell me about the role and I will reply by email.
Discuss a role with me
